Commit b5506e08 authored by 李驰骋's avatar 李驰骋

排产列表添加可加工数量、已完成数量

parent e90ff147
...@@ -152,6 +152,8 @@ ...@@ -152,6 +152,8 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column label="排产数量" align="center" prop="quantity" /> <el-table-column label="排产数量" align="center" prop="quantity" />
<el-table-column label="可加工数量" align="center" prop="quantityWait"/>
<el-table-column label="已完成数量" align="center" prop="quantityQualify" />
<el-table-column <el-table-column
label="工作中心" label="工作中心"
align="center" align="center"
...@@ -476,7 +478,7 @@ export default { ...@@ -476,7 +478,7 @@ export default {
pageSize: 10, pageSize: 10,
taskCode: null, taskCode: null,
processName: null, processName: null,
statusArr: ['UN_ASSIGN'], statusArr: ['PREPARE'],
scheduleStartDate: null, scheduleStartDate: null,
scheduleEndDate: null, scheduleEndDate: null,
}, },
...@@ -571,6 +573,9 @@ export default { ...@@ -571,6 +573,9 @@ export default {
delete params.scheduleEndDate delete params.scheduleEndDate
const response = await getListData(params) const response = await getListData(params)
this.maintenanceList = response.rows; this.maintenanceList = response.rows;
this.maintenanceList.forEach(s=>{
s.quantityWait = (s.quantity-s.quantityQualify)|0;
})
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment