spring
3 天以前 61449dbf92441b41e37c1d519e8662cca998ff6a
src/views/qualityManagement/finalInspection/index.vue
@@ -101,6 +101,11 @@
    width: 120
  },
  {
    label: "生产批号",
    prop: "batchNo",
    width: 140
  },
  {
    label: "检验员",
    prop: "checkName",
  },
@@ -286,7 +291,11 @@
  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;