From a0c8a2eb778d529f77a347cba7382acde0916742 Mon Sep 17 00:00:00 2001 From: lixiangyu <lixiangyu@xalxzn.com> Date: 星期一, 15 九月 2025 13:29:01 +0800 Subject: [PATCH] feat(cms): 重写了刀具报废新增逻辑, 从通过刀具信息选取刀具改为通过刀具库存里的数据获取刀具 修改库存id存入刀具id的错误 --- src/views/mes/modules/MesProductionWorkOrderEquipmentInspectionModal.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/views/mes/modules/MesProductionWorkOrderEquipmentInspectionModal.vue b/src/views/mes/modules/MesProductionWorkOrderEquipmentInspectionModal.vue index a13c5c0..2211b9e 100644 --- a/src/views/mes/modules/MesProductionWorkOrderEquipmentInspectionModal.vue +++ b/src/views/mes/modules/MesProductionWorkOrderEquipmentInspectionModal.vue @@ -189,6 +189,10 @@ this.$message.error("璇峰畬鎴愭墍鏈夊繀濉俊鎭悗鍐嶆彁浜わ紒") } else { let tableData = this.$refs.table.getTableData().fullData + if (!tableData || tableData.length === 0) { + this.$message.error("鐐规椤逛负绌猴紝鏃犳硶鎻愪氦锛�") + return + } const data = { ...this.model, workOrderId: this.workOrderId, -- Gitblit v1.9.3