Browse Source

修改客户退货任务

hella_online_20240821
lijuncheng 3 months ago
parent
commit
e3ace2ec11
  1. 18
      src/common/balance.js
  2. 9
      src/pages/customerReturn/record/returnRecord.vue

18
src/common/balance.js

@ -345,12 +345,6 @@ export function byBatch(label, locationCode, fromInventoryStatuses, callback) {
action: "in", action: "in",
value: status value: status
}) })
filters.push({
column: "inventoryStatus",
action: "in",
value: status
})
} }
var params = { var params = {
@ -424,12 +418,6 @@ export function byQuantity(label, locationCode, fromInventoryStatuses, callback)
action: "in", action: "in",
value: status value: status
}) })
filters.push({
column: "inventoryStatus",
action: "in",
value: status
})
} }
var params = { var params = {
@ -485,12 +473,6 @@ export function byUniqueId(label, locationCode, fromInventoryStatuses, callback)
action: "in", action: "in",
value: status value: status
}) })
filters.push({
column: "inventoryStatus",
action: "in",
value: status
})
} }
var params = { var params = {

9
src/pages/customerReturn/record/returnRecord.vue

@ -33,7 +33,10 @@
<win-scan-button @goScan='openScanPopup'></win-scan-button> <win-scan-button @goScan='openScanPopup'></win-scan-button>
</view> </view>
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult' headerType="HPQ,HMQ"> <win-scan-pack-and-location ref="scanPopup"
@getResult='getScanResult'
headerType="HPQ,HMQ"
:balanceFromInventoryStatuses="true">
</win-scan-pack-and-location> </win-scan-pack-and-location>
<comMessage ref="comMessage"></comMessage> <comMessage ref="comMessage"></comMessage>
<win-scan-location ref="scanLocationCode" title="来源库位" @getLocation='getLocation' <win-scan-location ref="scanLocationCode" title="来源库位" @getLocation='getLocation'
@ -155,7 +158,7 @@
var itemp = createItemInfo(balance, pack); var itemp = createItemInfo(balance, pack);
let newDetail = createDetailInfo(balance, pack); // let newDetail = createDetailInfo(balance, pack); //
newDetail.packingNumber =pack.number
itemp.subList.push(newDetail); itemp.subList.push(newDetail);
this.detailSource.push(itemp) this.detailSource.push(itemp)
} else { } else {
@ -332,7 +335,7 @@
submitItem.itemDesc1 = detail.package.itemDesc1; submitItem.itemDesc1 = detail.package.itemDesc1;
submitItem.itemDesc2 = detail.package.itemDesc2; submitItem.itemDesc2 = detail.package.itemDesc2;
submitItem.inventoryStatus = detail.inventoryStatus; submitItem.inventoryStatus = this.toInventoryStatuses;
submitItem.toInventoryStatus = this.toInventoryStatuses; submitItem.toInventoryStatus = this.toInventoryStatuses;
submitItem.fromPackingNumber = info.packingNumber; submitItem.fromPackingNumber = info.packingNumber;

Loading…
Cancel
Save