diff --git a/pages/purchaseReturn/record/returnRecord.vue b/pages/purchaseReturn/record/returnRecord.vue index 03d0ce9a..7275566d 100644 --- a/pages/purchaseReturn/record/returnRecord.vue +++ b/pages/purchaseReturn/record/returnRecord.vue @@ -221,7 +221,6 @@ }); if (this.detailSource.length > 0 && this.detailSource[0].subList.length > 0) { - console.log("提交参数", JSON.stringify(params)); //直接创建申请 if (this.fromType == "requestType") { @@ -239,12 +238,8 @@ this.showErrorMessage(error) }) } else { - //直接创建记录 - - //采购退货不用查询管理模式 - //获取管理模式,封装参数 - + //采购退货直接出库,不用查询管理模式 var params = this.setRecordParams(true) console.log("提交参数", JSON.stringify(params)); @@ -259,7 +254,6 @@ uni.hideLoading() this.showErrorMessage(error) }) - } } else { @@ -278,15 +272,9 @@ if (detail.scaned) { detail.itemCode = detail.itemCode; detail.inventoryStatus = detail.inventoryStatus; - - detail.fromPackingNumber = detail.packingNumber; - detail.toPackingNumber = detail.packingNumber;; - - detail.fromContainerNumber = detail.containerNumber; - detail.toContainerNumber = detail.containerNumber - - detail.fromBatch = detail.batch; - detail.toBatch = detail.batch; + detail.packingNumber = detail.packingNumber; + detail.containerNumber = detail.containerNumber; + detail.batch = detail.batch; detail.fromLocationCode = this.fromLocationCode; detail.toLocationCode = ''; //采购退货直接出库,目标库位为空