src/views/qualityManagement/processInspection/index.vue
@@ -122,6 +122,16 @@
    prop: "unit",
  },
  {
    label: "合格数量",
    prop: "qualifiedQuantity",
    width: 100
  },
  {
    label: "不良数量",
    prop: "defectiveQuantity",
    width: 100
  },
  {
    label: "数量",
    prop: "quantity",
    width: 100
@@ -271,7 +281,12 @@
  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;