Browse Source

YT-1196WMS 标准成本价格单管理 新增时,提示重复后,页面一直加载,不刷新

intex
zhang_li 1 week ago
parent
commit
d57fbd74f7
  1. 7
      src/views/wms/basicDataManage/itemManage/stdcostprice/index.vue

7
src/views/wms/basicDataManage/itemManage/stdcostprice/index.vue

@ -206,7 +206,8 @@ const openForm = (type: string, row?: any) => {
}
// form
const formsSuccess = async (formType,data) => {
const formsSuccess = async (formType, data) => {
try{
var isHave =Stdcostprice.allSchemas.formSchema.some(function (item) {
return item.field === 'activeTime' || item.field === 'expireTime';
});
@ -233,6 +234,10 @@ const formsSuccess = async (formType,data) => {
}else{
buttonBaseClick('refresh',null)
}
} catch {
basicFormRef.value.formLoading = false
}
}
//

Loading…
Cancel
Save