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")) {