| | |
| | | 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> |
| | |
| | | show: false, |
| | | station: '', |
| | | stationNo: '', |
| | | focu:true, |
| | | selectorObj: [{ |
| | | cateName: '1å·ä¸æå£', |
| | | id: "W01001004" |
| | |
| | | if (len <= 4) { |
| | | this.barcode = this.barcode + ','; |
| | | } |
| | | else if(len < 5){ |
| | | else if(len < 5){ |
| | | this.barcode = this.barcode; |
| | | } |
| | | else { |
| | |
| | | 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('è¯·éæ©ä¸æå£ï¼') |
| | | return; |
| | | } |
| | | |