fcx
5 天以前 dbfb045ad92072e880104e13fddb4dc7574499a1
pages/QC/LLJ/ScanCode.vue
@@ -31,6 +31,10 @@
      },
      mounted() {
         this.startScanAnimation()
         // 页面加载后延迟自动开始扫码,避免页面一闪而过
         setTimeout(() => {
            this.startScan()
         }, 500)
      },
      methods: {
         // 启动扫描线动画
@@ -72,14 +76,14 @@
                           url: 'Add?id=' + ress.data.tbBillList[0].id + '&lotNo=' + ress.data
                              .tbBillList[0].lotNo + '&releaseNo=' + ress.data.tbBillList[0]
                              .releaseNo +
                              '&current=B'
                              '&current=B&type=A'
                        })
                     } else {
                        uni.navigateTo({
                           url: 'Add?id=' + ress.data.tbBillList[0].id + '&lotNo=' + ress.data
                              .tbBillList[0].lotNo + '&releaseNo=' + ress.data.tbBillList[0]
                              .releaseNo +
                              '&current=A'
                              '&current=A&type=A'
                        })