zjh
2025-07-25 d123ca35bb3ec4982af44aeb1ffffa8a3569a21b
pages/QC/LLJ/ScanCode.vue
@@ -63,6 +63,7 @@
                  Barcode: code
               }
            }).then(ress => { 
               if (ress.status == 0) {
               if (ress.data.tbBillList.length > 0) {
                  if (ress.data.tbBillList[0].fsubmit === 1) {
@@ -74,13 +75,30 @@
                           '&current=B'
                     })
                  } 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'
                     })
                        // uni.showModal({
                        //                title: '开始检验',
                        //                content: '开始检验将记录当前时间为开始检验时间,确定开始?',
                        //                success: function(res) {
                        //                if (res.confirm) {
                        //                   uni.navigateTo({
                        //                      url: 'Add?id=' + ress.data.tbBillList[0].id + '&lotNo=' + ress.data
                        //                         .tbBillList[0].lotNo + '&releaseNo=' + ress.data.tbBillList[0]
                        //                         .releaseNo +
                        //                         '&current=A'
                        //                   })
                        //                } else {
                        //                }
                        //             }
                        //          })
                  }
               } else {
@@ -92,6 +110,15 @@
                  //showScanError('提示:未查询到条码【' + res.result + '】相关单据内容')
                  //this.msg = '提示:未查询到条码【' + res.result + '】相关单据内容'
               }
               } else {
                  console.log(ress.data.message);
                  uni.showModal({
                     title: '提示',
                     content: ress.message,
                     showCancel: false
                  })
               }
            })
         },