| | |
| | | Barcode: code |
| | | } |
| | | }).then(ress => { |
| | | if (ress.status == 0) { |
| | | if (ress.data.tbBillList.length > 0) { |
| | | |
| | | if (ress.data.tbBillList[0].fsubmit === 1) { |
| | |
| | | '¤t=B' |
| | | }) |
| | | } else { |
| | | |
| | | uni.navigateTo({ |
| | | url: 'Add?id=' + ress.data.tbBillList[0].id + '&lotNo=' + ress.data |
| | | .tbBillList[0].lotNo + '&releaseNo=' + ress.data.tbBillList[0] |
| | | .releaseNo + |
| | | '¤t=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 + |
| | | // '¤t=A' |
| | | // }) |
| | | // } else { |
| | | |
| | | // } |
| | | // } |
| | | // }) |
| | | } |
| | | |
| | | } else { |
| | |
| | | //showScanError('提示:未查询到条码【' + res.result + '】相关单据内容') |
| | | //this.msg = '提示:未查询到条码【' + res.result + '】相关单据内容' |
| | | } |
| | | } else { |
| | | console.log(ress.data.message); |
| | | uni.showModal({ |
| | | title: '提示', |
| | | content: ress.message, |
| | | showCancel: false |
| | | }) |
| | | } |
| | | |
| | | }) |
| | | }, |
| | | |