From 18d2f40bbf40469b033de6f07ca8a8e3bc191132 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期六, 26 四月 2025 19:21:40 +0800 Subject: [PATCH] 优化代码 --- 项目代码/芜湖三一PDA/pages/stash/InEmpty.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/InEmpty.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/InEmpty.vue" index 2ff0857..401fa07 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/InEmpty.vue" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\350\212\234\346\271\226\344\270\211\344\270\200PDA/pages/stash/InEmpty.vue" @@ -7,7 +7,7 @@ @input="StationInput" /> </uni-forms-item> <uni-forms-item label="鎵樼洏鐮�:"> - <uni-easyinput type="text" placeholder="璇锋壂鎻忔墭鐩樼爜" ref='midInput' :focus="focus" v-model="barcode" + <uni-easyinput type="text" placeholder="璇锋壂鎻忔墭鐩樼爜" ref='midInput' :focus="focus1" v-model="barcode" @input="barcodeInput" /> </uni-forms-item> <uni-forms-item> @@ -25,6 +25,7 @@ data() { return { focus: false, + focus1: false, barcode: "", Station: "", address: "", @@ -55,6 +56,7 @@ this.$nextTick(function(x) { if (this.Station.length > 0) { this.focus = true; + this.focus1=true; } }) }, @@ -83,6 +85,7 @@ this.Station = ""; this.barcode = ""; this.focus = false; + this.focus1=false; } else { this.$refs.uToast.show({ title: res.message, -- Gitblit v1.9.3