| | |
| | | prop: "model", |
| | | }, |
| | | { |
| | | label: "料号", |
| | | prop: "materialCode", |
| | | }, |
| | | { |
| | | label: "单位", |
| | | prop: "unit", |
| | | }, |
| | |
| | | prop: "quantity", |
| | | width: 100 |
| | | }, |
| | | { |
| | | label: "检测单位", |
| | | prop: "checkCompany", |
| | | width: 120 |
| | | }, |
| | | // { |
| | | // label: "检测单位", |
| | | // prop: "checkCompany", |
| | | // width: 120 |
| | | // }, |
| | | { |
| | | label: "检测结果", |
| | | prop: "checkResult", |
| | |
| | | params.entryDate = undefined |
| | | qualityInspectListPage({...params, inspectType: 1}).then(res => { |
| | | tableLoading.value = false; |
| | | tableData.value = res.data.records.map(item => { |
| | | return { |
| | | ...item, |
| | | qualifiedQuantity: item.quantity - item.defectiveQuantity |
| | | }; |
| | | }); |
| | | tableData.value = res.data.records |
| | | page.total = res.data.total; |
| | | }).catch(err => { |
| | | tableLoading.value = false; |