Browse Source

页面加loading

intex_online20250311
叶佳兴 4 weeks ago
parent
commit
77c243b45e
  1. 3
      src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue

3
src/views/wms/basicDataManage/supplierManage/supplierAddressModelDeli/index.vue

@ -232,13 +232,16 @@ const formsSuccess = async (formType, dataParams) => {
data.model = data.modelShow.join(',')
delete data.shift
if (formType === 'create') {
basicFormRef.value.formLoading = true
await SupplierAddressModelDeliApi.createSupplierAddressModelDeli(data)
message.success(t('common.createSuccess'))
} else {
basicFormRef.value.formLoading = true
await SupplierAddressModelDeliApi.updateSupplierAddressModelDeli(data)
message.success(t('common.updateSuccess'))
}
basicFormRef.value.dialogVisible = false
basicFormRef.value.formLoading = false
getList()
}

Loading…
Cancel
Save