From c7bbdaab4503cc0e470623e87cca3b8a1840bff0 Mon Sep 17 00:00:00 2001 From: cuilei <ray_tsu1@163.com> Date: 星期二, 24 六月 2025 17:43:05 +0800 Subject: [PATCH] 设备管理-大修项修页面 --- src/views/system/modules/ProductionManager/ProductionModal.vue | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/views/system/modules/ProductionManager/ProductionModal.vue b/src/views/system/modules/ProductionManager/ProductionModal.vue index 7c76baf..3a93426 100644 --- a/src/views/system/modules/ProductionManager/ProductionModal.vue +++ b/src/views/system/modules/ProductionManager/ProductionModal.vue @@ -43,6 +43,12 @@ <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" + label="鏄惁MDC浣跨敤"> + <lx-switch checked-children='鏄�' un-checked-children='鍚�' v-model="model.mdcFlag"/> + </a-form-model-item> + <a-form-model-item + :labelCol="labelCol" + :wrapperCol="wrapperCol" label="鎺掑簭"> <a-input-number v-model="model.productionOrder"/> </a-form-model-item> @@ -115,14 +121,19 @@ }) }, add (depart) { + this.visible = true; + this.model = {} if(depart){ this.seen = false; this.dictDisabled = false; + this.model.parentId = depart.id; + this.model.mdcFlag = depart.mdcFlag; }else{ this.seen = true; this.dictDisabled = true; } - this.edit(depart); + // this.edit(depart); + this.loadTreeData(); }, edit (record) { this.visible = true; -- Gitblit v1.9.3