From f34d79fe029f2857c77f27a5c33edb85900578b6 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 15 Dec 2023 11:23:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=87=E8=B4=AD=E9=80=80=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BasicForm/src/BasicForm.vue | 2 +- .../purchasereturn/purchasereturnRequestMain/index.vue | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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') {