From b871e8ecbd729c6d79cd0ccee0427537a1d6fd7a Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 28 Jun 2024 14:15:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89console?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/business/business.ts | 9 --------- src/components/BasicForm/src/BasicForm.vue | 1 - 2 files changed, 10 deletions(-) diff --git a/src/api/wms/business/business.ts b/src/api/wms/business/business.ts index 2724d3120..fa9deea44 100644 --- a/src/api/wms/business/business.ts +++ b/src/api/wms/business/business.ts @@ -232,7 +232,6 @@ export const tableFormBlurVer = async (headerItem, val, row, index,routeName,for export const FormBlur = async (formField, val,routeName,formRef,detailData,formSchema,callback) => { let pageApi = ref() let params = ref() - console.log(1111,val) let setV = {} setV[formField] = '' if (val && isString(val)) { @@ -256,7 +255,6 @@ export const FormBlur = async (formField, val,routeName,formRef,detailData,formS ) { // 销售价格单 if (routeName == 'Saleprice') { - console.log(22222,formRef.formModel.customerCode) params.value = { customerCode: formRef.formModel.customerCode, itemCodes: val?.trim() @@ -377,7 +375,6 @@ export const FormBlur = async (formField, val,routeName,formRef,detailData,formS formRef.setValues(setV) return } - console.log(23232323) // emit('searchTableSuccess', formField, searchField, list.value, formRef.value, 'form') callback(searchField,list.value) }) @@ -430,7 +427,6 @@ export const getListByBottonInput = async (headerItem, val,row,routeName,formRef pageApi.value = getItemListByCodes } let searchCondition1 = headerItem.tableForm.searchCondition //获取data.ts参数信息 - console.log(98888,searchCondition1) // 循环参数设置参数为key:value格式 if (searchCondition1 && searchCondition1.length > 0) { for (let i = 0; i < searchCondition1.length; i++) { @@ -493,20 +489,15 @@ export const getListByBottonInput = async (headerItem, val,row,routeName,formRef } } } - console.log(788,params.value) await pageApi.value(params.value).then(async (res) => { list.value = res ? res : [] let arr1 = val.split(',').map(item=>item.trim()) - console.log(res) - console.log(arr1) if (arr1.length != res.length) { let arr2 = res.map((item) => item[field]) - console.log(arr2) let str = [ ...arr1.filter((item) => !arr2.includes(item)), ...arr2.filter((item) => !arr1.includes(item)) ].join(',') - console.log(str) message.alert('代码' + str + '没有找到对应数据') return } else { diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 2e94706f5..82c91d1c7 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -343,7 +343,6 @@ const route = useRoute() // 路由信息 const routeName = ref('') routeName.value = route.name const isExecute = ref(true)//如果走失去焦点的方法只有为true的时候才能进行保存 -console.log(44332322, routeName.value) // 列表-按钮 // const buttondata = [