From 01cc9373c3e68ac80bd3eae7cb31259b858cbf62 Mon Sep 17 00:00:00 2001 From: Rui_Li <877258667@qq.com> Date: Fri, 7 Feb 2025 17:54:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E4=B8=9A=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/tooling/components/com_tool_info_add_update.vue | 4 ++-- .../tooling/components/com_tool_instance_add_update.vue | 2 +- src/views/modules/tooling/components/orderProperties.vue | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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,