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