| | |
| | | width: 120 |
| | | }, |
| | | { |
| | | label: "生产工单号", |
| | | prop: "workOrderNo", |
| | | width: 120 |
| | | }, |
| | | { |
| | | label: "工序", |
| | | prop: "process", |
| | | width: 230 |
| | |
| | | { |
| | | label: "单位", |
| | | prop: "unit", |
| | | }, |
| | | { |
| | | label: "合格数量", |
| | | prop: "qualifiedQuantity", |
| | | width: 100 |
| | | }, |
| | | { |
| | | label: "不良数量", |
| | | prop: "defectiveQuantity", |
| | | width: 100 |
| | | }, |
| | | { |
| | | label: "数量", |
| | |
| | | params.entryDate = undefined |
| | | qualityInspectListPage({...params, inspectType: 1}).then(res => { |
| | | tableLoading.value = false; |
| | | tableData.value = res.data.records |
| | | tableData.value = res.data.records.map(item => { |
| | | return { |
| | | ...item, |
| | | qualifiedQuantity: item.quantity - item.defectiveQuantity |
| | | }; |
| | | }); |
| | | page.total = res.data.total; |
| | | }).catch(err => { |
| | | tableLoading.value = false; |