fix:玻纤物料显示追踪方式
This commit is contained in:
parent
6efc502ccf
commit
94ec97c7ef
|
@ -107,6 +107,12 @@
|
||||||
width="80"
|
width="80"
|
||||||
>
|
>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="追踪方式" prop="tracking" v-if="project_code=='bxerp'">
|
||||||
|
<template #default="scope">
|
||||||
|
<el-tag v-if="scope.row.tracking == 10">批次</el-tag>
|
||||||
|
<el-tag v-else>单个</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="总库存" prop="count">
|
<el-table-column label="总库存" prop="count">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="安全库存" prop="count_safe">
|
<el-table-column label="安全库存" prop="count_safe">
|
||||||
|
@ -216,6 +222,7 @@ export default {
|
||||||
30: "主要原料",
|
30: "主要原料",
|
||||||
40: "辅助材料",
|
40: "辅助材料",
|
||||||
},
|
},
|
||||||
|
project_code:"",
|
||||||
materialId: "",
|
materialId: "",
|
||||||
materialName: "",
|
materialName: "",
|
||||||
showHidden: false,
|
showHidden: false,
|
||||||
|
@ -226,6 +233,7 @@ export default {
|
||||||
this.apiObj = this.$API.mtm.material.list;
|
this.apiObj = this.$API.mtm.material.list;
|
||||||
this.$refs.table.queryData(this.query);
|
this.$refs.table.queryData(this.query);
|
||||||
this.materialTemplate = this.materialTemplate+"?t=" + new Date().getTime();
|
this.materialTemplate = this.materialTemplate+"?t=" + new Date().getTime();
|
||||||
|
this.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
rowClick(row) {
|
rowClick(row) {
|
||||||
|
|
Loading…
Reference in New Issue