diff --git a/src/pages/customerReturn/record/recordList.vue b/src/pages/customerReturn/record/recordList.vue
new file mode 100644
index 00000000..014bad61
--- /dev/null
+++ b/src/pages/customerReturn/record/recordList.vue
@@ -0,0 +1,342 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/customerReturn/record/recordListDetail.vue b/src/pages/customerReturn/record/recordListDetail.vue
new file mode 100644
index 00000000..58584d3c
--- /dev/null
+++ b/src/pages/customerReturn/record/recordListDetail.vue
@@ -0,0 +1,424 @@
+
+
+
+
+
+
+ 整单接收
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/customerReturn/record/returnRecord.vue b/src/pages/customerReturn/record/returnRecord.vue
index 2c07e751..6f332a0d 100644
--- a/src/pages/customerReturn/record/returnRecord.vue
+++ b/src/pages/customerReturn/record/returnRecord.vue
@@ -8,7 +8,11 @@
-
+
+
@@ -27,7 +31,9 @@
-
+
+
@@ -74,6 +80,7 @@ const toWarehouseCode = ref('')
const comMessageRef = ref()
const scanPopup = ref()
const scanLocationCode = ref()
+const toInventoryStatuses = ref('')
onLoad((option) => {
uni.setNavigationBarTitle({
title: option.title
@@ -84,6 +91,7 @@ onLoad((option) => {
businessType.value = res.businessType
fromLocationAreaTypeList.value = res.fromLocationAreaTypeList
toLocationAreaTypeList.value = res.toLocationAreaTypeList
+ toInventoryStatuses.value = res.toInventoryStatuses
showFromLocationPopup()
} else {
showErrorMessage(res.message)
@@ -107,7 +115,7 @@ const getScanResult = (result) => {
if (item == undefined) {
const itemp = createItemInfo(balance, pack)
const newDetail = createDetailInfo(balance, pack) //
-
+ newDetail.packingNumber = pack.number
itemp.subList.push(newDetail)
detailSource.value.push(itemp)
} else {
@@ -120,7 +128,7 @@ const getScanResult = (result) => {
const newDetail = createDetailInfo(balance, pack)
item.subList.push(newDetail)
} else if (detail.scaned == true) {
- showErrorMessage(`箱码[${balance.packingNumber}批次[${balance.batch}]已经在列表中`)
+ showErrorMessage(`箱码[${balance.packingNumber}批次[${balance.batch}]重复扫描`)
}
}
handleCalcHandleQty()
@@ -188,7 +196,7 @@ const commit = () => {
.then((res) => {
uni.hideLoading()
if (res.data) {
- showCommitSuccessMessage(`提交成功
生成客户退货记录
${res.data}`)
+ showCommitSuccessMessage(`提交成功\n生成客户退货记录\n${res.data}`)
} else {
showErrorMessage(`提交失败[${res.msg}]`)
}
@@ -247,7 +255,7 @@ const setParams = () => {
submitItem.itemDesc2 = detail.package.itemDesc2
submitItem.inventoryStatus = detail.inventoryStatus
- submitItem.toInventoryStatus = detail.inventoryStatus
+ submitItem.toInventoryStatus = toInventoryStatuses.value
submitItem.fromPackingNumber = info.packingNumber
submitItem.toPackingNumber = info.packingNumber
@@ -280,12 +288,6 @@ const showMessage = (message) => {
}
})
}
-const showErrorMessage = (message) => {
- comMessageRef.value.showErrorMessage(message, (res) => {
- if (res) {
- }
- })
-}
const showScanMessage = (message) => {
comMessageRef.value.showScanMessage(message)