From 012297a0afcd81b6a424680171b5dd01b3136193 Mon Sep 17 00:00:00 2001 From: yuejiayang <146344614+YangLei105@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:11:40 +0800 Subject: [PATCH] =?UTF-8?q?2023.11.14=20=E5=95=86=E5=93=81=E7=BB=84?= =?UTF-8?q?=E7=9A=84=E5=A2=9E=E5=88=A0=E6=94=B9=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/part/partInformation.vue | 81 +++++++++++++---- .../modules/part/productGroupInformation.vue | 88 +++++++++++++++---- 2 files changed, 133 insertions(+), 36 deletions(-) diff --git a/src/views/modules/part/partInformation.vue b/src/views/modules/part/partInformation.vue index 29419c8..eb9434e 100644 --- a/src/views/modules/part/partInformation.vue +++ b/src/views/modules/part/partInformation.vue @@ -148,21 +148,21 @@ 商品组1 - + 商品组2 - + 商品组3 - + 商品组4 - + @@ -298,10 +298,14 @@ remark: '', supplierId: '', supplierName: '', - otherGroup1: '', - otherGroup2: '', - otherGroup3: '', - otherGroup4: '', + pGroupId1: '', + pGroupName1: '', + pGroupId2: '', + pGroupName2: '', + pGroupId3: '', + pGroupName3: '', + pGroupId4: '', + pGroupName4: '', erpPartNo: '', codeNo: '', codeDesc: '', @@ -449,7 +453,7 @@ serialNumber: '104001Table1OtherGroup1', tableId: '104001Table1', tableName: '材料信息表', - columnProp: 'otherGroup1', + columnProp: 'pGroupName1', headerAlign: 'center', align: 'center', columnLabel: '商品组1', @@ -467,7 +471,7 @@ serialNumber: '104001Table1OtherGroup2', tableId: '104001Table1', tableName: '材料信息表', - columnProp: 'otherGroup2', + columnProp: 'pGroupName2', headerAlign: 'center', align: 'center', columnLabel: '商品组2', @@ -485,7 +489,7 @@ serialNumber: '104001Table1OtherGroup3', tableId: '104001Table1', tableName: '材料信息表', - columnProp: 'otherGroup3', + columnProp: 'pGroupName3', headerAlign: 'center', align: 'center', columnLabel: '商品组3', @@ -503,7 +507,7 @@ serialNumber: '104001Table1OtherGroup4', tableId: '104001Table1', tableName: '材料信息表', - columnProp: 'otherGroup4', + columnProp: 'pGroupName4', headerAlign: 'center', align: 'center', columnLabel: '商品组4', @@ -867,10 +871,14 @@ remark: '', supplierId: '', supplierName: '', - otherGroup1: '', - otherGroup2: '', - otherGroup3: '', - otherGroup4: '', + pGroupId1: '', + pGroupName1: '', + pGroupId2: '', + pGroupName2: '', + pGroupId3: '', + pGroupName3: '', + pGroupId4: '', + pGroupName4: '', erpPartNo: '', codeNo: '', manufacturerId: '', @@ -1150,7 +1158,22 @@ } if (val === 110) { if(type === 1) { - strVal = this.modalData.otherGroup1 + strVal = this.modalData.pGroupId1 + } + } + if (val === 111) { + if(type === 1) { + strVal = this.modalData.pGroupId2 + } + } + if (val === 112) { + if(type === 1) { + strVal = this.modalData.pGroupId3 + } + } + if (val === 113) { + if(type === 1) { + strVal = this.modalData.pGroupId4 } } this.$refs.baseList.init(val, strVal) @@ -1179,6 +1202,30 @@ this.modalData.groupName = val.group_name } } + if (this.tagNo === 110) { + if(this.tagNo1 === 1) { + this.modalData.pGroupId1 = val.product_group_id + this.modalData.pGroupName1 = val.product_group_name + } + } + if (this.tagNo === 111) { + if(this.tagNo1 === 1) { + this.modalData.pGroupId2 = val.product_group_id + this.modalData.pGroupName2 = val.product_group_name + } + } + if (this.tagNo === 112) { + if(this.tagNo1 === 1) { + this.modalData.pGroupId3 = val.product_group_id + this.modalData.pGroupName3 = val.product_group_name + } + } + if (this.tagNo === 113) { + if(this.tagNo1 === 1) { + this.modalData.pGroupId4 = val.product_group_id + this.modalData.pGroupName4 = val.product_group_name + } + } }, // ======== 导出相关方法 ======== diff --git a/src/views/modules/part/productGroupInformation.vue b/src/views/modules/part/productGroupInformation.vue index 13bf14d..212859e 100644 --- a/src/views/modules/part/productGroupInformation.vue +++ b/src/views/modules/part/productGroupInformation.vue @@ -1,10 +1,10 @@