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,