From 1fb9d414fc915362217bad8bf376765adf61d93f Mon Sep 17 00:00:00 2001 From: niexiting <85552560@qq.com> Date: Tue, 19 Dec 2023 17:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD=E6=94=B6?= =?UTF-8?q?=E8=B4=A7=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/purchaseReturn/record/returnRecord.vue | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) 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 = ''; //采购退货直接出库,目标库位为空