Browse Source

修改采购收货记录

wms3.0_pda
niexiting 11 months ago
parent
commit
1fb9d414fc
  1. 20
      pages/purchaseReturn/record/returnRecord.vue

20
pages/purchaseReturn/record/returnRecord.vue

@ -221,7 +221,6 @@
}); });
if (this.detailSource.length > 0 && this.detailSource[0].subList.length > 0) { if (this.detailSource.length > 0 && this.detailSource[0].subList.length > 0) {
console.log("提交参数", JSON.stringify(params)); console.log("提交参数", JSON.stringify(params));
// //
if (this.fromType == "requestType") { if (this.fromType == "requestType") {
@ -239,12 +238,8 @@
this.showErrorMessage(error) this.showErrorMessage(error)
}) })
} else { } else {
// //
//退
//退
//
var params = this.setRecordParams(true) var params = this.setRecordParams(true)
console.log("提交参数", JSON.stringify(params)); console.log("提交参数", JSON.stringify(params));
@ -259,7 +254,6 @@
uni.hideLoading() uni.hideLoading()
this.showErrorMessage(error) this.showErrorMessage(error)
}) })
} }
} else { } else {
@ -278,15 +272,9 @@
if (detail.scaned) { if (detail.scaned) {
detail.itemCode = detail.itemCode; detail.itemCode = detail.itemCode;
detail.inventoryStatus = detail.inventoryStatus; detail.inventoryStatus = detail.inventoryStatus;
detail.packingNumber = detail.packingNumber;
detail.fromPackingNumber = detail.packingNumber; detail.containerNumber = detail.containerNumber;
detail.toPackingNumber = detail.packingNumber;; detail.batch = detail.batch;
detail.fromContainerNumber = detail.containerNumber;
detail.toContainerNumber = detail.containerNumber
detail.fromBatch = detail.batch;
detail.toBatch = detail.batch;
detail.fromLocationCode = this.fromLocationCode; detail.fromLocationCode = this.fromLocationCode;
detail.toLocationCode = ''; //退 detail.toLocationCode = ''; //退

Loading…
Cancel
Save