From 769af99755563d948e758129c56fa716b1048b54 Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Sun, 2 Jun 2024 11:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E6=AC=A1=E6=97=B6=E9=97=B4=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/basicDataManage/orderManage/shift/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/wms/basicDataManage/orderManage/shift/index.vue b/src/views/wms/basicDataManage/orderManage/shift/index.vue index 4b8788693..50aef449e 100644 --- a/src/views/wms/basicDataManage/orderManage/shift/index.vue +++ b/src/views/wms/basicDataManage/orderManage/shift/index.vue @@ -165,12 +165,14 @@ const openForm = (type: string, row?: any) => { // form表单提交 const formsSuccess = async (formType,data) => { + console.log('endAtNextDay',data) var isHave =Shift.allSchemas.formSchema.some(function (item) { return item.field === 'beginTime' || item.field === 'entTime'; }); - if(isHave){ + + if(data['endAtNextDay']=='FALSE'&&isHave){ if(data.beginTime && data.entTime && data.beginTime >=data.entTime){ - message.error('开始时间要大于结束时间') + message.error('开始时间大于结束时间') return; } }