|
|
@ -81,6 +81,7 @@ |
|
|
|
import { |
|
|
|
showConfirmMsg, |
|
|
|
goHome, |
|
|
|
getCurrDateTime |
|
|
|
} from '@/common/basic.js'; |
|
|
|
|
|
|
|
import { |
|
|
@ -204,13 +205,13 @@ |
|
|
|
//赋值 |
|
|
|
that.receiptJob.completeUserId = localStorage.getItem('userId') |
|
|
|
that.receiptJob.completeUserName = localStorage.getItem('userName_CN') |
|
|
|
that.receiptJob.completeTime = new Date() |
|
|
|
that.receiptJob.completeTime = getCurrDateTime() |
|
|
|
|
|
|
|
that.receiptJob.details.forEach(r => { |
|
|
|
r.handledToLocationCode = r.recommendToLocationCode; |
|
|
|
r.worker = localStorage.userName_CN ==""?localStorage.userName:localStorage.userName_CN |
|
|
|
if (r.purchaseReceiptInspectStatus == 1) { |
|
|
|
r.handledArriveDate = new Date(); // |
|
|
|
r.handledArriveDate = getCurrDateTime(); // |
|
|
|
r.purchaseReceiptInspectStatus = 4; //未收货 |
|
|
|
r.handledQty = 0; |
|
|
|
// r.handledUom = r.recommendUom; |
|
|
|