|
|
@ -273,7 +273,7 @@ |
|
|
|
getPurchaseReceiptJobList(params).then(res => { |
|
|
|
uni.hideLoading(); |
|
|
|
if (res.data.list.length == 0) { |
|
|
|
that.showMessage('未查找到' + '【' + code + '】的收货任务'); |
|
|
|
that.showMessage('没有此单据' + '【' + code + '】的收货任务,请联系管理员'); |
|
|
|
} else if (res.data.list.length == 1) { |
|
|
|
that.openJobDetail(res.data.list[0]); |
|
|
|
} else { |
|
|
@ -460,7 +460,7 @@ |
|
|
|
this.selectItem(list[0], result.scanMessage.indexOf('ASN') > -1) |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.showMessage("未查找到任务\n" + "扫描[" + result.scanMessage + "]") |
|
|
|
this.showMessage("没有此单据收货任务,请联系管理员\n" + "扫描[" + result.scanMessage + "]") |
|
|
|
} |
|
|
|
}).catch(error => { |
|
|
|
this.showMessage(error + "\n扫描[" + result.scanMessage + "]") |
|
|
|