From 88e279446a80bc3e45592939eeeede59228d580b Mon Sep 17 00:00:00 2001 From: A0010407 Date: Wed, 20 Sep 2023 15:48:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E5=A2=9E=E5=8A=A0=E9=99=84?= =?UTF-8?q?=E5=B1=9E=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/equipment/index.vue | 142 +++++++++++++++++++++++++++++- 1 file changed, 141 insertions(+), 1 deletion(-) diff --git a/src/views/wms/equipment/index.vue b/src/views/wms/equipment/index.vue index 47596a2e..f1b731cf 100644 --- a/src/views/wms/equipment/index.vue +++ b/src/views/wms/equipment/index.vue @@ -229,6 +229,137 @@ 取 消 + + + + + 主属性 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 附属属性 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -261,6 +392,7 @@ export default { title: "", // 是否显示弹出层 open: false, + queryOpen: false, // 查询参数 queryParams: { pageNum: 1, @@ -330,6 +462,11 @@ export default { this.open = false; this.reset(); }, + // 取消按钮 + queryCancel() { + this.queryOpen = false; + this.reset(); + }, // 表单重置 reset() { this.form = { @@ -406,9 +543,12 @@ export default { handleView(row){ this.reset(); const equipmentId = row.equipmentId || this.ids; + getWorkCenterList().then(response =>{ + console.log(this.options1); + }); getEquipment(equipmentId).then(response => { this.form = response.data; - this.open = true; + this.queryOpen = true; this.title = "查看设备信息"; this.optType = "view"; });