Browse Source

YT-450客户物料新增,有客户包装量、客户包装单位,点保存清空了,报错

intex_online20241111
zhang_li 1 month ago
parent
commit
16357a47bb
  1. 12
      src/components/BasicForm/src/BasicForm.vue

12
src/components/BasicForm/src/BasicForm.vue

@ -840,10 +840,6 @@ const submitForm = async () => {
const data = unref(formRef)?.formModel
if (!wsCache.get('ShowPackingNumber') ) {
data.packingNumber=''
data.packUnit=''
data.packQty=''
data.outPackUnit=''
data.inPackUnit=''
}
emit('submitForm', formType.value, data)
} finally {
@ -855,10 +851,6 @@ const submitForm = async () => {
const data = unref(formRef)?.formModel
if (!wsCache.get('ShowPackingNumber') ) {
data.packingNumber=''
data.packUnit=''
data.packQty=''
data.outPackUnit=''
data.inPackUnit=''
}
console.log(data);
@ -875,10 +867,6 @@ const submitForm = async () => {
//
if (!wsCache.get('ShowPackingNumber') ) {
data.packingNumber=''
data.packUnit=''
data.packQty=''
data.outPackUnit=''
data.inPackUnit=''
}
emit('success', formType.value, data)
} finally {

Loading…
Cancel
Save