From b04eabe2ab3093f56a70d7af6aef19a2c081ece0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Wed, 11 Nov 2026 13:45:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AB=E5=8C=96=E6=8A=A5=E5=B7=A5=E6=A8=A1?= =?UTF-8?q?=E6=95=B0=E5=BF=85=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/production/generateReport.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/views/modules/production/generateReport.vue b/src/views/modules/production/generateReport.vue index a3732e2..1cc96b5 100644 --- a/src/views/modules/production/generateReport.vue +++ b/src/views/modules/production/generateReport.vue @@ -903,6 +903,17 @@ }) return } + // 硫化产品报工必须填写生产模数 - rqrq + var orderPartNo = (this.saveHeaderData.partNo || '').toUpperCase() + if (orderPartNo.indexOf('SP') === 0) { + var moldCount = this.moQty + if (moldCount === null || moldCount === undefined || String(moldCount).trim() === '' || Number(moldCount) === 0 || isNaN(Number(moldCount))) { + this.$alert('硫化生产必须填写生产模数!', '错误信息', { + confirmButtonText: '确定' + }) + return + } + } if(this.moQty==null||this.moQty==''){ this.saveHeaderData.moldQty=0 }else {