Browse Source

包装规格问题修复

hella_online_20240829
TengXF 4 months ago
parent
commit
53d6ecbf2d
  1. 1
      src/views/wms/basicDataManage/itemManage/packageunit/index.vue

1
src/views/wms/basicDataManage/itemManage/packageunit/index.vue

@ -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)

Loading…
Cancel
Save