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) }