From 69d77f6dc7eb6a6dd853a895f2c28adb8840770f Mon Sep 17 00:00:00 2001 From: DouDou <877258667@qq.com> Date: Sun, 26 Jan 2025 16:10:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=85=B7=E7=9A=84=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/com_tool_property_show.vue | 10 ++++++---- .../tooling/components/orderProperties.vue | 17 +++++++---------- src/views/modules/tooling/manuf_tool.vue | 2 +- 3 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/views/modules/tooling/components/com_tool_property_show.vue b/src/views/modules/tooling/components/com_tool_property_show.vue index a8f4004..4dca897 100644 --- a/src/views/modules/tooling/components/com_tool_property_show.vue +++ b/src/views/modules/tooling/components/com_tool_property_show.vue @@ -25,7 +25,7 @@
@@ -48,6 +48,7 @@ export default { propertyType: 'TL', propertyNo: 'TL01', dataNo: '1001',//数据编码 + site: '', visible: false, showFlag: false, pageData: { @@ -63,14 +64,15 @@ export default { //初始化组件的参数 init(toolInfo, dataType) { - //区分工具和工具实例 + //设置site + this.site = toolInfo.site; if(dataType === 'TL'){ this.showFlag = false; this.dataNo = toolInfo.toolId; this.propertyNo = toolInfo.propertyNo; this.propertyType = 'TL'; this.titleCon = '工具属性维护'; - this.pageData.site = '*'; + this.pageData.site = toolInfo.site; this.pageData.toolId = toolInfo.toolId; this.pageData.toolInstance = ''; }else if(dataType === 'TLI'){ @@ -79,7 +81,7 @@ export default { this.propertyNo = toolInfo.propertyNo; this.propertyType = 'TLI'; this.titleCon = '工具实例属性维护'; - this.pageData.site = '*'; + this.pageData.site = toolInfo.site; this.pageData.toolId = toolInfo.toolId; this.pageData.toolInstance = toolInfo.toolInstance; } diff --git a/src/views/modules/tooling/components/orderProperties.vue b/src/views/modules/tooling/components/orderProperties.vue index 401273a..17cc210 100644 --- a/src/views/modules/tooling/components/orderProperties.vue +++ b/src/views/modules/tooling/components/orderProperties.vue @@ -74,10 +74,7 @@