优化
This commit is contained in:
@@ -165,7 +165,7 @@
|
|||||||
<el-table-column prop="workorder_type" label="计划类型" :formatter="workorder_typeFormat" min-width="120" />
|
<el-table-column prop="workorder_type" label="计划类型" :formatter="workorder_typeFormat" min-width="120" />
|
||||||
<el-table-column prop="material_code" label="物料编码" min-width="120"/>
|
<el-table-column prop="material_code" label="物料编码" min-width="120"/>
|
||||||
<el-table-column prop="old_mark" label="牌号" />
|
<el-table-column prop="old_mark" label="牌号" />
|
||||||
<el-table-column :formatter="seriesFormat" min-width="80" prop="mater_product_series" label="产品系列" />
|
<el-table-column :formatter="seriesFormat2" min-width="80" prop="mater_product_series" label="产品系列" />
|
||||||
<el-table-column prop="product_weight" label="生产重量(kg)" :formatter="crud.formatNum3" min-width="120" />
|
<el-table-column prop="product_weight" label="生产重量(kg)" :formatter="crud.formatNum3" min-width="120" />
|
||||||
<el-table-column prop="product_num" label="批数" width="80" />
|
<el-table-column prop="product_num" label="批数" width="80" />
|
||||||
<el-table-column prop="planend_date" label="计划结束日期" width="100" />
|
<el-table-column prop="planend_date" label="计划结束日期" width="100" />
|
||||||
@@ -303,6 +303,13 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
seriesFormat2(row) {
|
||||||
|
for (const item of this.XLList) {
|
||||||
|
if (item.id === row.mater_product_series) {
|
||||||
|
return item.name
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
save() {
|
save() {
|
||||||
if (this.crud.query.device_id === '' || this.crud.query.device_id === undefined) {
|
if (this.crud.query.device_id === '' || this.crud.query.device_id === undefined) {
|
||||||
this.crud.notify('请先选择关键设备!')
|
this.crud.notify('请先选择关键设备!')
|
||||||
|
|||||||
Reference in New Issue
Block a user