huminmin
4 天以前 70bb972b03c0036c3699bbc561b32c5ec3cc8aef
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;