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