From 141ca9e89cd352a9f532e88f62170c378f8e94a7 Mon Sep 17 00:00:00 2001 From: ruanqi Date: Fri, 17 Sep 2021 18:21:44 +0800 Subject: [PATCH] =?UTF-8?q?0907=E6=9B=B4=E6=96=B0:=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/production/dailyPlan.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/views/modules/production/dailyPlan.vue b/src/views/modules/production/dailyPlan.vue index 734a9fe..2077178 100644 --- a/src/views/modules/production/dailyPlan.vue +++ b/src/views/modules/production/dailyPlan.vue @@ -523,6 +523,12 @@ }) return false } + if (this.scheduledingsData.dayQty > 10 ) { + this.$alert('计划天数不可大于10天!', '错误', { + confirmButtonText: '确定' + }) + return false + } if (this.scheduledingsData.qty <= 0) { this.$alert('排产总数量必须大于0!', '错误', { confirmButtonText: '确定'