diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 266b38258..909333405 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/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 {