From 68ff03d96db6f01ac64893965a4b5961bf58e1c4 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Tue, 12 Dec 2023 17:04:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E6=A1=86=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/modules/taskmanage/CarryPoint.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/modules/taskmanage/CarryPoint.vue b/src/pages/modules/taskmanage/CarryPoint.vue index 43ec032..bc6dbf5 100644 --- a/src/pages/modules/taskmanage/CarryPoint.vue +++ b/src/pages/modules/taskmanage/CarryPoint.vue @@ -25,7 +25,7 @@ @toSure="toSureDialog" @toCancle="toCancle" > -
+
*{{ $t('carrypoint.pointcode') }}
@@ -210,7 +210,6 @@ export default { switch (type) { case '1': this.pointcode = '' - this.remark = '' this.unclick = true break } @@ -233,9 +232,9 @@ export default { this.visible = false }, inputChange1 (val) { - // this.pointcode = val - // 限制只能输入数字 - this.pointcode = val.replace(/[^\d]/g, '') + this.pointcode = val + // 限制只能输入数字,后端校验 + // this.pointcode = val.replace(/[^\d]/g, '') }, // 这个接口需要放到agv上去才行 async initData () { @@ -251,6 +250,8 @@ export default { if (res.code === '1') { this.toast(res.desc) this.selectObj = {} + this.$refs.child.active = false + this.$refs.child.disabled = false } else { this.toast(res.desc) }