From f42541af20c1de006b1c85e67c96ad4bd40619b1 Mon Sep 17 00:00:00 2001 From: "YEJIAXING-PC\\lenovo" <591141169@qq.com> Date: Thu, 5 Sep 2024 13:49:48 +0800 Subject: [PATCH] =?UTF-8?q?Q2=E9=80=9A=E7=9F=A5=E5=8D=95=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=AE=8C=E5=96=84=20=20HL-5740?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/qms/inspectionQ2/index.vue | 71 +--------------------------- 1 file changed, 1 insertion(+), 70 deletions(-) diff --git a/src/views/qms/inspectionQ2/index.vue b/src/views/qms/inspectionQ2/index.vue index 5dc3edbb4..2f06c656f 100644 --- a/src/views/qms/inspectionQ2/index.vue +++ b/src/views/qms/inspectionQ2/index.vue @@ -258,6 +258,7 @@ const searchTableSuccess = (formField, searchField, val, formRef) => { setV['supplierCode'] = '' setV['supplierName'] = '' setV['itemName'] = '' + setV['purchaseReceiptNumber'] = '' setV['uom'] = val[0].supplierUom Q2Api.getEmail().then((res) => { @@ -414,76 +415,6 @@ const onChange = (field, e) => { } }) } - - // if (field == 'itemCode') { - // basicFormRef.value.formRef.formModel.supplierCode = '' - // basicFormRef.value.formRef.formModel.supplierName = '' - // basicFormRef.value.formRef.formModel.itemName = '' - - // Q2Api.getEmail().then((res) => { - // if (res) { - // basicFormRef.value.formRef.formModel.cashierEmail =res - // } - // }) - - // const supplieritemParams = { - // by: 'ASC', - // filters: [{ column: 'itemCode', action: '==', value: basicFormRef.value.formRef.formModel.itemCode }], - // pageNo: 1, - // pageSize: 500, - // sort: '' - // } - // supplieritemParams.isSearch = true - // SupplieritemApi.getSupplieritemPage(supplieritemParams).then((res) => { - // if (res.list?.length > 0) { - // basicFormRef.value.formRef.formModel.supplierCode = res.list[0].supplierCode - // basicFormRef.value.formRef.formModel.supplierName = res.list[0].supplierName - // Q2.allSchemas.formSchema.forEach((item) => { - // if (item.field == 'supplierCode') { - // item.componentProps.options = res.list - // } - // }) - // } - // }) - // const itembasicParams = { - // by: 'ASC', - // filters: [{ column: 'code', action: '==', value: basicFormRef.value.formRef.formModel.itemCode }], - // pageNo: 1, - // pageSize: 500, - // sort: '' - // } - - // itembasicParams.isSearch = true - // ItembasicApi.getItembasicPage(itembasicParams).then((res) => { - // if (res.list?.length > 0) { - // basicFormRef.value.formRef.formModel.itemName = res.list[0].name - // } - // }) - - // if (basicFormRef.value.formRef.formModel.lightItemCode == null) { - // basicFormRef.value.formRef.formModel.standardCostPrice = '' - // basicFormRef.value.formRef.formModel.lightQty = 0 - // basicFormRef.value.formRef.formModel.claimAmount= '' - // basicFormRef.value.formRef.formModel.otherClaimAmount = 0 - // basicFormRef.value.formRef.formModel.summaryAmount= 0 - // basicFormRef.value.formRef.formModel.disbursementAmount = 0 - // basicFormRef.value.formRef.formModel.remainingAmount = 0 - // const params2 = { - // by: 'ASC', - // filters: [{ column: 'itemCode', action: '==', value: basicFormRef.value.formRef.formModel.itemCode }], - // pageNo: 1, - // pageSize: 500, - // sort: '' - // } - // params2.isSearch = true - // StdcostpriceApi.getStdcostpricePage(params2).then((res) => { - // if (res.list?.length > 0) { - // priceObj.value = res.list[0] - // basicFormRef.value.formRef.formModel.standardCostPrice = priceObj.value.price - // } - // }) - // } - // } } // 字段设置 更新主列表字段