From c12f974803c6b3db6175e2d04d6661d3a8f5c41b Mon Sep 17 00:00:00 2001 From: gengby <858962040@qq.com> Date: Fri, 25 Nov 2022 11:14:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- acs/qd/src/views/acs/route/routeLine/index.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/acs/qd/src/views/acs/route/routeLine/index.vue b/acs/qd/src/views/acs/route/routeLine/index.vue index 6867ed3..6578a41 100644 --- a/acs/qd/src/views/acs/route/routeLine/index.vue +++ b/acs/qd/src/views/acs/route/routeLine/index.vue @@ -306,6 +306,11 @@ export default { [CRUD.HOOK.beforeRefresh]() { return true }, + [CRUD.HOOK.beforeToEdit](data) { + this.form.device_code = Array.of(data.form.device_code.split('').join('')) + this.form.next_device_code = Array.of(data.form.next_device_code.split('').join('')) + return true + }, // 改变状态 changeEnabled(data) { var msg = '停用'