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; } }