Browse Source

YT-834WMS 客户月台 新增时,应该校验代码不能一样

intex
zhang_li 3 days ago
parent
commit
900d9eb0da
  1. 6
      src/views/wms/basicDataManage/customerManage/customerdock/index.vue

6
src/views/wms/basicDataManage/customerManage/customerdock/index.vue

@ -214,6 +214,7 @@ const openForm = (type: string, row?: any) => {
// form
const formsSuccess = async (formType,data) => {
try {
var isHave =Customerdock.allSchemas.formSchema.some(function (item) {
return item.field === 'activeTime' || item.field === 'expireTime';
});
@ -233,13 +234,16 @@ const formsSuccess = async (formType,data) => {
await CustomerdockApi.updateCustomerdock(data)
message.success(t('common.updateSuccess'))
}
basicFormRef.value.formLoading = false
basicFormRef.value.dialogVisible = false
if (formType === 'create') {
getList()
}else{
buttonBaseClick('refresh',null)
}
} catch {
basicFormRef.value.formLoading = false
}
}
//

Loading…
Cancel
Save