| | |
| | | width: 120 |
| | | }, |
| | | { |
| | | label: "生产批号", |
| | | prop: "batchNo", |
| | | width: 140 |
| | | }, |
| | | { |
| | | label: "检验员", |
| | | prop: "checkName", |
| | | }, |
| | |
| | | { |
| | | label: "规格型号", |
| | | prop: "model", |
| | | }, |
| | | { |
| | | label: "料号", |
| | | prop: "materialCode", |
| | | }, |
| | | { |
| | | label: "单位", |
| | |
| | | params.entryDate = undefined |
| | | qualityInspectListPage({...params, inspectType: 2}).then(res => { |
| | | tableLoading.value = false; |
| | | tableData.value = res.data.records |
| | | const records = res.data.records || []; |
| | | tableData.value = records.map((row) => ({ |
| | | ...row, |
| | | batchNo: row.batchNo ?? row.productionBatchNo ?? "", |
| | | })); |
| | | page.total = res.data.total; |
| | | }).catch(err => { |
| | | tableLoading.value = false; |