src/views/qualityManagement/processInspection/index.vue
@@ -118,6 +118,10 @@ prop: "model", }, { label: "料号", prop: "materialCode", }, { label: "单位", prop: "unit", }, @@ -281,12 +285,7 @@ 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;