From 0b45c34cee6b938d47e3e6713fa0fb43bc2c1c91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=89=E6=BA=90?= <1976974459@qq.com> Date: Mon, 17 Jul 2023 11:41:49 +0800 Subject: [PATCH] =?UTF-8?q?2023-07-17=20=E8=AE=BE=E5=A4=87=E5=92=8C?= =?UTF-8?q?=E8=B4=A8=E9=87=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/qc/qcPartAttribute.vue | 63 +++++++++++------------- 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/src/views/modules/qc/qcPartAttribute.vue b/src/views/modules/qc/qcPartAttribute.vue index 0b1c896..9397aa3 100644 --- a/src/views/modules/qc/qcPartAttribute.vue +++ b/src/views/modules/qc/qcPartAttribute.vue @@ -112,15 +112,15 @@ - - - 供应商编码: - - - - - - + + + + + + + + + @@ -799,20 +799,20 @@ trigger: 'change' } ], - supplierNoType:[ - { - required: true, - message: ' ', - trigger: 'change' - } - ], - supplierDescType:[ - { - required: true, - message: ' ', - trigger: 'change' - } - ], + // supplierNoType:[ + // { + // required: true, + // message: ' ', + // trigger: 'change' + // } + // ], + // supplierDescType:[ + // { + // required: true, + // message: ' ', + // trigger: 'change' + // } + // ], // operationType:[ // { // required: true, @@ -953,12 +953,8 @@ strVal = this.tempProgrammeRow.samplingProgrammeNo this.$refs.baseList.init(val, strVal) } - if (val === 1054) { - strVal = this.modalData.resourceId - this.$refs.baseList.init(val, strVal) - } - if (val === 1055) { - strVal = this.modalData.operation + if (val === 1056) { + strVal = this.modalData.supplierNo this.$refs.baseList.init(val, strVal) } }) @@ -977,12 +973,9 @@ this.tempProgrammeRow.samplingProgrammeNo = val.sampling_programme_no this.tempProgrammeRow.samplingProgrammeDesc = val.sampling_programme_desc } - if (this.tagNo === 1054) { - this.modalData.resourceId = val.resource_id - this.modalData.resourceDesc = val.resource_desc - } - if (this.tagNo === 1055) { - this.modalData.operation = val.operation_desc + if (this.tagNo === 1056) { + this.modalData.supplierNo = val.supplier_id + this.modalData.supplierDesc = val.supplier_name } }, // 获取数据列表