From 6a5e4d95f5aa305464c1d22dce322f3e4aaa582c Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Fri, 7 Feb 2025 13:27:26 +0800 Subject: [PATCH] =?UTF-8?q?2025-02-07=20=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/part/partCatalogInformation.vue | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/views/modules/part/partCatalogInformation.vue b/src/views/modules/part/partCatalogInformation.vue index 6d586fa..10e62e9 100644 --- a/src/views/modules/part/partCatalogInformation.vue +++ b/src/views/modules/part/partCatalogInformation.vue @@ -475,7 +475,7 @@ tempCodeNo: '', // 条件查询 searchData: { - site: '*', + site: this.$store.state.user.site, partNo: '', partDesc: '', page: 1, @@ -515,7 +515,7 @@ officialFlag: '' }, itemData: { - site: '*', + site: this.$store.state.user.site, partNo: '', propertiesItemNo: '', codeNo: '', @@ -1154,6 +1154,7 @@ updateItemValue () { this.loading = true let tempData = { + site: this.$store.state.user.site, updateBy: this.$store.state.user.name, itemList: JSON.parse(JSON.stringify(this.copyAttributeList)) } @@ -1190,7 +1191,7 @@ this.itemData.propertiesItemNo = '' this.itemData.itemDesc = '' let tempData = { - site: '*', + site: this.$store.state.user.site, partNo: this.partCurrentRow.partNo, codeNo: this.partCurrentRow.codeNo, recordType: 'MP' @@ -1227,7 +1228,7 @@ return } let inData = { - site: '*', + site: this.$store.state.user.site, partNo: this.partCurrentRow.partNo, codeNo: this.partCurrentRow.codeNo, codeDesc: this.partCurrentRow.codeDesc, @@ -1258,7 +1259,7 @@ return } let inData = { - site: '*', + site: this.$store.state.user.site, partNo: this.partCurrentRow.partNo, codeNo: this.partCurrentRow.codeNo, codeDesc: this.partCurrentRow.codeDesc, @@ -1299,6 +1300,7 @@ // 确认修改物料属性 commitItemValue () { let tempData = { + site: this.$store.state.user.site, updateBy: this.$store.state.user.name, itemList: JSON.parse(JSON.stringify(this.updatePartItemList)) } @@ -1362,7 +1364,7 @@ // 查询物料属性 getMasterPartItem () { let tempData = { - site: '*', + site: this.$store.state.user.site, partNo: this.partCurrentRow.partNo, codeNo: this.partCurrentRow.codeNo, recordType: 'MP', @@ -1408,7 +1410,7 @@ if (data && data.code === 0) { this.modalData = { flag: '1', - site: '*', + site: this.$store.state.user.site, title: '物料新增', partNo: data.partNo, partDesc: '', @@ -1445,7 +1447,7 @@ this.modalData = { flag: '2', title: '物料编辑', - site: '*', + site: this.$store.state.user.site, partNo: row.partNo, partDesc: row.partDesc, umId: row.umId,