diff --git a/src/views/modules/tooling/components/com_tool_info_add_update.vue b/src/views/modules/tooling/components/com_tool_info_add_update.vue index 9ff9f6f..4ddd6c0 100644 --- a/src/views/modules/tooling/components/com_tool_info_add_update.vue +++ b/src/views/modules/tooling/components/com_tool_info_add_update.vue @@ -327,7 +327,7 @@ export default { this.visible = true; //判断是否是新增 if(addFlag){ - this.pageData.site = this.$store.state.user.site; + this.pageData.site = toolInfo.site; this.titleCon = '工具新增'; this.pageData.toolId = ''; this.pageData.toolType = ''; @@ -372,7 +372,7 @@ export default { this.$nextTick(() => { let strVal = '' if(val === 1019 || val === 1023){ - let strCon = ' AND site = \'*\''; + let strCon = ' AND site = \''+ this.pageData.site+'\''; this.$refs.baseList.init(val, strVal, strCon) }else{ this.$refs.baseList.init(val, strVal) diff --git a/src/views/modules/tooling/components/com_tool_instance_add_update.vue b/src/views/modules/tooling/components/com_tool_instance_add_update.vue index 8ca64bb..30917d5 100644 --- a/src/views/modules/tooling/components/com_tool_instance_add_update.vue +++ b/src/views/modules/tooling/components/com_tool_instance_add_update.vue @@ -375,7 +375,7 @@ export default { this.$nextTick(() => { let strVal = '' if(val === 1020 || val === 1021 || val === 1022 || val === 1024){ - let strCon = ' AND site = \'*\''; + let strCon = ' AND site = \''+this.pageData.site+'\''; this.$refs.baseList.init(val, strVal, strCon) }else{ this.$refs.baseList.init(val, strVal) diff --git a/src/views/modules/tooling/components/orderProperties.vue b/src/views/modules/tooling/components/orderProperties.vue index 17cc210..21d78ab 100644 --- a/src/views/modules/tooling/components/orderProperties.vue +++ b/src/views/modules/tooling/components/orderProperties.vue @@ -284,7 +284,7 @@ export default { type: 'warning' }).then(() => { let params = { - site: '*', + site: this.site, partNo: this.orderNo, codeNo: this.codeNo, recordType: this.functionType,