This commit is contained in:
shijing 2026-01-07 13:29:44 +08:00
parent 00b3af30c1
commit a75e43bc69
1 changed files with 6 additions and 2 deletions

View File

@ -87,12 +87,12 @@
{{ stateDict[scope.row.state] }}
</template>
</el-table-column>
<el-table-column label="批次号" min-width="90">
<el-table-column label="批次号" min-width="90" v-if="project_code=='bxerp'">
<template #default="scope">
<div v-for="item in scope.row.mioitems" :key="item.id">{{ item.batch }}</div>
</template>
</el-table-column>
<el-table-column label="物料名称" min-width="130">
<el-table-column label="物料名称" min-width="130" v-if="project_code=='bxerp'">
<template #default="scope">
<div v-for="item in scope.row.mioitems" :key="item.id" style="word-break: break-all;">{{item.material_name.split('|')[0]}}<span v-if="item.material_name.split('|')[1]!==''">|</span>{{ item.material_name.split('|')[1] }}</div>
</template>
@ -216,6 +216,7 @@ export default {
type__in: "do_in,do_out,pur_in",
materials__type: 20,
},
project_code:'',
form: {},
apiObj: this.$API.inm.mio.list,
selection: [],
@ -225,6 +226,9 @@ export default {
visibleDrawer: false,
};
},
mounted() {
this.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code;
},
methods: {
//
add(type) {