src/views/qualityManagement/processInspection/index.vue
@@ -96,6 +96,11 @@
    width: 120
  },
  {
    label: "生产工单号",
    prop: "workOrderNo",
    width: 120
  },
  {
    label: "工序",
    prop: "process",
    width: 230
@@ -115,6 +120,16 @@
  {
    label: "单位",
    prop: "unit",
  },
  {
    label: "合格数量",
    prop: "qualifiedQuantity",
    width: 100
  },
  {
    label: "不良数量",
    prop: "defectiveQuantity",
    width: 100
  },
  {
    label: "数量",
@@ -266,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;