From f7b2ab226a027c4e2b78bf332664ad6a304bb6c2 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 26 六月 2024 14:25:12 +0800
Subject: [PATCH] 1
---
代码管理/太重PDA/pages/feeding/feeding.vue | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/feeding/feeding.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/feeding/feeding.vue"
index 4b54a7e..d3b4a09 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/feeding/feeding.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/feeding/feeding.vue"
@@ -4,7 +4,7 @@
class="login__info__item__input tn-flex tn-flex-direction-row tn-flex-nowrap tn-flex-col-center tn-flex-row-left">
<view class="login__info__item__input__content">
<input maxlength="500" :disabled="isfill" v-model="barcode" placeholder-class="input-placeholder"
- focus="true" @input="barcodeInput" placeholder="璇锋壂鎻忔潯鐮�" />
+ focus="focu" @input="barcodeInput" placeholder="璇蜂粠涓嬪線涓婃壂鎻忔潯鐮�" />
</view>
<button class="" size="mini" @click="clearSN" > 娓呯┖</button>
@@ -35,6 +35,7 @@
show: false,
station: '',
stationNo: '',
+ focu:true,
selectorObj: [{
cateName: '1鍙蜂笅鏂欏彛',
id: "W01001004"
@@ -55,7 +56,7 @@
if (len <= 4) {
this.barcode = this.barcode + ',';
}
- else if(len < 5){
+ else if(len < 5){
this.barcode = this.barcode;
}
else {
@@ -72,12 +73,17 @@
this.stationNo = x.id
},
clearSN:function(e){
+
this.barcode="";
this.isfill=false;
},
submit() {
if (this.barcode == '') {
- this.$t.message.toast('鏉$爜涓嶈兘涓虹┖')
+ this.$t.message.toast('鏉$爜涓嶈兘涓虹┖锛�')
+ return;
+ }
+ if(this.station==''){
+ this.$t.message.toast('璇烽�夋嫨涓嬫枡鍙o紒')
return;
}
--
Gitblit v1.9.3