|
@ -213,6 +213,7 @@ const formsSuccess = async (formType,data) => { |
|
|
} |
|
|
} |
|
|
if(data.activeTime==0)data.activeTime = null; |
|
|
if(data.activeTime==0)data.activeTime = null; |
|
|
if(data.expireTime==0)data.expireTime = null; |
|
|
if(data.expireTime==0)data.expireTime = null; |
|
|
|
|
|
data.parentCode = data.parentCode === '' ? null : data.parentCode; |
|
|
basicFormRef.value.formLoading = true |
|
|
basicFormRef.value.formLoading = true |
|
|
if (formType === 'create') { |
|
|
if (formType === 'create') { |
|
|
await PackageunitApi.createPackageunit(data) |
|
|
await PackageunitApi.createPackageunit(data) |
|
|