Browse Source

message.error('结束日期不能小于开始日期')

hella_online_20241107
yufei_wang 3 weeks ago
parent
commit
4e56e916e0
  1. 4
      src/views/wms/supplierManage/supplierApbalanceCalendar/index.vue

4
src/views/wms/supplierManage/supplierApbalanceCalendar/index.vue

@ -167,6 +167,10 @@ const openForm = (type: string, row?: any) => {
// form
const formsSuccess = async (formType,data) => {
if(endDay.value<beginDay.value){
message.error('结束日期不能小于开始日期')
return;
}
var isHave =SupplierApbalanceCalendar.allSchemas.formSchema.some(function (item) {
return item.field === 'activeTime' || item.field === 'expireTime';
});

Loading…
Cancel
Save