From f02cf09eb0c6933dd5ccc4dac6c6c09c3b5f3d3c Mon Sep 17 00:00:00 2001 From: zhaowei <zhaowei> Date: 星期一, 25 八月 2025 15:17:03 +0800 Subject: [PATCH] 1、根据最新设计方案调整设备管理模块点击弹窗样式 2、mdc公司级首页设备管理模块与点击功能联调 --- src/views/spare/modules/sparePartOutbound/SparePartOutboundModal.vue | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/views/spare/modules/sparePartOutbound/SparePartOutboundModal.vue b/src/views/spare/modules/sparePartOutbound/SparePartOutboundModal.vue index 65cdd60..35300de 100644 --- a/src/views/spare/modules/sparePartOutbound/SparePartOutboundModal.vue +++ b/src/views/spare/modules/sparePartOutbound/SparePartOutboundModal.vue @@ -20,7 +20,7 @@ > <a-input placeholder="璇疯緭鐢宠鍗曠紪鐮�" - :disabled="disableSubmit" + :disabled="true" v-decorator="['num', validatorRules.num]" /> </a-form-item> @@ -313,6 +313,7 @@ add: "/spare/sparePartOutbound/add", loadOptions: '/sys/sysDepart/loadDepartTreeOptions', getSysDeparts: "/eam/equipment/getSysDeparts", + getNum: '/eam/sysIdentity/getNumNew', edit: "/spare/sparePartOutbound/edit", }, @@ -401,6 +402,13 @@ this.codeDisable = true; } else { this.codeDisable = false; + this.$nextTick(() => { + getAction(this.url.getNum, { type: 'SparePartOutbound', length: '4' }).then((res) => { + if (res.success) { + this.form.setFieldsValue({ num: res.message }); + } + }) + }); } }, initOptions() { -- Gitblit v1.9.3