|
@ -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 = ''; //采购退货直接出库,目标库位为空 |
|
|