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