#
whycq
2022-04-25 b3eccf66e62a7b6c5668ad128f3e764f79ec4bc9
pages/basics/offline.vue
@@ -135,6 +135,7 @@
         return {
            barcode: '',
            barcodeFocus:true,
            focus:false,
            matList:[{barcode:'92992929292'}],
            matNo:'',
            mat:null,
@@ -150,7 +151,7 @@
            msgType: 'success',
            messageText: '这是一条成功提示',
            
            focus:false
         }
      },
      mounted(){
@@ -296,7 +297,10 @@
                        that.addMatList(that.mat)
                        that.initAnfme()
                        that.matNo = '',
                        console.log(that.focus)
                        that.focus = false;
                        that.$nextTick(function() {
                           that.focus = true;
                        });
                     } else {
                        that.messageToggle('warn')
                        that.messageText = '请重新扫码 \ 输入'