From baac26c58637f737ca90231b24568e395cace503 Mon Sep 17 00:00:00 2001 From: yewj Date: Sat, 14 Sep 2024 19:41:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../basic/workplace/addBusTypeDialog.vue | 12 ++++++------ src/views/collect/DealOrder.vue | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/src/views/basic/workplace/addBusTypeDialog.vue b/src/views/basic/workplace/addBusTypeDialog.vue index 9af06b8f..e20f0ef2 100644 --- a/src/views/basic/workplace/addBusTypeDialog.vue +++ b/src/views/basic/workplace/addBusTypeDialog.vue @@ -64,8 +64,8 @@ - - + @@ -75,7 +75,7 @@ - + @@ -498,17 +498,17 @@ export default { this.formData.checkInsert = 2 } }, - changeShipper(){ + changeShipper() { if (this.formData.shipper == 1) { this.formData.consignee = 1 } else { this.formData.consignee = 2 } }, - changeConsignee(){ + changeConsignee() { if (this.formData.consignee == 1) { this.formData.shipper = 1 - } else if(this.formData.consignee == 2) { + } else if (this.formData.consignee == 2) { this.formData.shipper = 2 } } diff --git a/src/views/collect/DealOrder.vue b/src/views/collect/DealOrder.vue index 7dc0cc40..e4dd99b2 100644 --- a/src/views/collect/DealOrder.vue +++ b/src/views/collect/DealOrder.vue @@ -176,6 +176,10 @@ style="margin-left: 15px" > + + ALT+29 + { + this.focus = true; + input.selectionStart = input.selectionEnd = start + textToInsert.length; + this.$refs.inputRef.focus(); + }); + } + , + parseString(str) { // 1. 判断是否以 "MA" 开头 if (str.startsWith("MA")) {