|
|
@ -303,10 +303,10 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
// 获取收货记录列表,用于判断扫描包装是否已被收货 |
|
|
|
getPurchaseReceiptJobDetailListByNmber(that.jobContent.requestNumber).then((res)=>{ |
|
|
|
console.log(res) |
|
|
|
this.receiptRecordList = res.data |
|
|
|
}) |
|
|
|
// getPurchaseReceiptJobDetailListByNmber(that.jobContent.requestNumber).then((res)=>{ |
|
|
|
// console.log(res) |
|
|
|
// this.receiptRecordList = res.data |
|
|
|
// }) |
|
|
|
// if (uni.getStorageSync('purchaseReceiptDetailPointParams')) { |
|
|
|
// const purchaseReceiptDetailPointParams = uni.getStorageSync( |
|
|
|
// 'purchaseReceiptDetailPointParams') |
|
|
@ -496,11 +496,11 @@ |
|
|
|
this.showMessage("批次【" + batch + "】不在列表中") |
|
|
|
} else { |
|
|
|
// 箱码是否已经扫描 |
|
|
|
var isHavePackingNumber1 =this.receiptRecordList.find(r => r.packingNumber == packingNumber); |
|
|
|
if(isHavePackingNumber1){ |
|
|
|
this.showMessage("箱码【" + packingNumber + "】已经生成任务"); |
|
|
|
return |
|
|
|
} |
|
|
|
// var isHavePackingNumber1 =this.receiptRecordList.find(r => r.packingNumber == packingNumber); |
|
|
|
// if(isHavePackingNumber1){ |
|
|
|
// this.showMessage("箱码【" + packingNumber + "】已经生成任务"); |
|
|
|
// return |
|
|
|
// } |
|
|
|
var isHavePackingNumber =this.packingNumberList.find(r => r.packingNumber == packingNumber); |
|
|
|
if(isHavePackingNumber){ |
|
|
|
this.showMessage("箱码【" + packingNumber + "】已经扫描"); |
|
|
|