Browse Source

修改前端修改延迟便次的loading

intex_online20250509
叶佳兴 2 months ago
parent
commit
0145a79ee8
  1. 6
      src/views/wms/supplierManage/supplierDeliMain/index.vue

6
src/views/wms/supplierManage/supplierDeliMain/index.vue

@ -315,6 +315,8 @@ const formsSuccess = async (formType: string, data: SupplierDeliMainApi.Supplier
}
if (data.activeTime == 0) data.activeTime = null
if (data.expireTime == 0) data.expireTime = null
try{
basicFormRef.value.formLoading = true
if (formType === 'create') {
await SupplierDeliMainApi.createSupplierDeliMain(data)
message.success(t('common.createSuccess'))
@ -324,6 +326,10 @@ const formsSuccess = async (formType: string, data: SupplierDeliMainApi.Supplier
}
basicFormRef.value.dialogVisible = false
getListExecute()
}finally{
basicFormRef.value.formLoading = false
}
}
/** 详情操作 */

Loading…
Cancel
Save