diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 02609d66a..9497abdd2 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -233,7 +233,6 @@ const formRef = ref() // 表单 Ref const formSchema = ref(props.formAllSchemas?.formSchema) const tableAllSchemas = ref(props.tableAllSchemas) const tableFormRules = ref(props.tableFormRules) -console.log('fromeWhere', props.fromeWhere) // 列表-按钮 const buttondata = [ @@ -396,6 +395,7 @@ const submitForm = async () => { // 主子表——提交请求 try { const data = unref(formRef)?.formModel + console.log('data',data) emit('submitForm', formType.value, data) } finally { } diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue index 5d51e2646..1ac78c3be 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMain/index.vue @@ -127,7 +127,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => nextTick(() => { if (type == 'tableForm') { // 明细查询页赋值 - console.log(val[0]) row[formField] = val[0][searchField] row['poNumber'] = val[0]['poNumber'] row['poLine'] = val[0]['poLine'] @@ -174,7 +173,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row) => }) .then((res) => { if (res) tableData.value = res - console.log(PurchasereturnRequestDetail.allSchemas.tableFormColumns) tableData.value.forEach((item) => { item.batch = item.toBatch item.packingNumber = item.toPackingNumber @@ -451,7 +449,6 @@ const handleAddTable = () => { // 删除明细 const handleDeleteTable = (item, index,formRef) => { tableData.value.splice(index, 1) - console.log(item) if (tableData.value.length == 0) { isShowButton.value = true nextTick(() => { @@ -468,6 +465,7 @@ const handleDeleteTable = (item, index,formRef) => { // 主子数据 提交 const submitForm = async (formType, data) => { + console.log(formType) data.subList = tableData.value // 拼接子表数据参数 try { if (formType === 'create') {