From e74242e9f270404ac3717aeee59e1ab17815eb50 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期三, 27 八月 2025 12:06:25 +0800 Subject: [PATCH] 安灯工单:产线多选修改为单选/设备管理模块迁移: 设备台账/设备履历/故障报修/维修工单/保养标准/点检工单/精度参数维护/工艺参数维护/设备附件管理/故障原因维护 (二维码库添加) 设备台账:设备编码重复校验 、自定义控件引用、权限控制 --- src/views/cms/modules/CuttingInboundModal.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/cms/modules/CuttingInboundModal.vue b/src/views/cms/modules/CuttingInboundModal.vue index 1c508c2..5d11427 100644 --- a/src/views/cms/modules/CuttingInboundModal.vue +++ b/src/views/cms/modules/CuttingInboundModal.vue @@ -60,9 +60,9 @@ </a-row> </a-form> </a-spin> - <a-button type="primary" :style="{ marginBottom: '8px' }" @click="selectTooling()" - >閫夋嫨鍒�鍏�</a-button - > + <a-button type="primary" :style="{ marginBottom: '8px' }" @click="selectTooling()"> + 閫夋嫨鍒�鍏� + </a-button> <a-table ref="table" bordered @@ -265,6 +265,13 @@ this.$message.error('璇峰厛閫夋嫨鍏ュ簱鍒�鍏�') return } + // 鏍¢獙鍏ュ簱鏁伴噺鏄惁濉啓 + for(let i=0; i<this.dataSource.length; i++) { + if (!this.dataSource[i].receiveNumber || this.dataSource[i].receiveNumber <= 0) { + this.$message.error(`蹇呴』濉啓鍏ュ簱鏁伴噺`) + return + } + } const that = this // 瑙﹀彂琛ㄥ崟楠岃瘉 this.form.validateFields((err, values) => { -- Gitblit v1.9.3