From 0d2379bd74fa9f4c53bb59dc712c0725ff3a52d1 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Sat, 17 Aug 2024 10:56:20 +0800
Subject: [PATCH] =?UTF-8?q?2024-08-17=20iqc=E8=B4=A3=E4=BB=BB=E4=BA=BA?=
=?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/qc/IQCResultEntry.vue | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/views/modules/qc/IQCResultEntry.vue b/src/views/modules/qc/IQCResultEntry.vue
index 929e029..0d7c31e 100644
--- a/src/views/modules/qc/IQCResultEntry.vue
+++ b/src/views/modules/qc/IQCResultEntry.vue
@@ -61,7 +61,7 @@
- 供应商编码
+ 供应商编码
@@ -284,9 +284,10 @@
- 责任人
- 责任人
-
+ 责任人(供应商)
+ 责任人(供应商)
+
+
明细导入
@@ -897,6 +898,7 @@
updateBy: this.$store.state.user.name,
},
tagNo:'',
+ tagType: '',
searchData: {
site: '',
userName: this.$store.state.user.name,
@@ -2837,6 +2839,7 @@
// 获取基础数据列表S
getBaseList (val,type) {
this.tagNo = val
+ this.tagType = type
this.$nextTick(() => {
let strVal = ''
let conSql = ''
@@ -2852,10 +2855,14 @@
strVal = this.searchData.warehouseId
this.$refs.baseList.init(val, strVal)
}
- if (val === 509) {
+ if (val === 509 && type === 1) {
strVal = this.searchData.supplierNo
this.$refs.baseList.init(val, strVal)
}
+ if (val === 509 && type === 2) {
+ strVal = this.detailData.responsiblePerson
+ this.$refs.baseList.init(val, strVal)
+ }
if (val === 207) {
strVal = this.changeData.samplingProgrammeNo
conSql = " and bu_no = '" + this.changeData.buNo + "'"
@@ -2882,9 +2889,12 @@
if (this.tagNo === 508) {
this.searchData.warehouseId = val.WareHouseID
}
- if (this.tagNo === 509) {
+ if (this.tagNo === 509 && this.tagType === 1) {
this.searchData.supplierNo = val.SupplierID
}
+ if (this.tagNo === 509 && this.tagType === 2) {
+ this.detailData.responsiblePerson = val.SupplierID
+ }
if (this.tagNo === 207) {
this.changeData.samplingProgrammeNo = val.sampling_programme_no
this.changeData.samplingProgrammeDesc = val.sampling_programme_desc