Browse Source

修改客户退货

agv
李俊城 4 months ago
parent
commit
4d96be6fc5
  1. 46
      fe/PDA/pages/record/productionReturn.vue
  2. 41
      fe/PDA/pages/record/productionReturnPack.vue

46
fe/PDA/pages/record/productionReturn.vue

@ -229,15 +229,15 @@
}]
},
Sorting: "",
SkipCount: (data.pageIndex-1)*data.pageSize,
SkipCount: (data.pageIndex - 1) * data.pageSize,
MaxResultCount: data.pageSize
}
return getCustomerList(params);
},
selectCheckbox(mode, resultData){
selectCheckbox(mode, resultData) {
console.log(mode, resultData)
this.customerCode =resultData.code
this.customerCode = resultData.code
},
getScanResult(result) {
@ -365,16 +365,52 @@
}
this.allDataList.forEach(res => {
var detail = {
recommendContainerCode: "",
recommendPackingCode: "",
recommendSupplierBatch: "",
recommendLot: "",
recommendToLocationCode: "",
recommendToLocationArea: "",
recommendToLocationGroup: "",
recommendToLocationErpCode: "",
recommendToWarehouseCode: "",
recommendQty: 33,
toContainerCode: "",
fromContainerCode: "",
handledContainerCode: "",
fromLot: "",
fromStatus: 2,
toStatus: 2,
fromLocationCode: "",
fromLocationArea: "",
fromLocationGroup: "",
fromLocationErpCode: "",
fromWarehouseCode: localStorage.warehouseCode,
itemCode: res.itemCode,
itemName: res.itemName,
itemDesc1: res.itemDesc1,
uom: res.uom,
qty: res.qty,
stdPackQty: res.stdPackQty,
fromPackingCode: "",
toPackingCode: "",
toLot: "",
supplierBatch: "",
toLocationCode: this.toLocationCode,
toLocationArea: this.toLocationInfo.areaCode,
toLocationGroup: this.toLocationInfo.locationGroupCode,
toLocationErpCode: this.toLocationInfo.erpLocationCode
toLocationErpCode: this.toLocationInfo.erpLocationCode,
toWarehouseCode: localStorage.warehouseCode,
handledPackingCode: "",
handledSupplierBatch: null,
handledLot: "",
handledToLocationCode: this.toLocationCode,
handledToLocationArea: this.toLocationInfo.areaCode,
handledToLocationGroup:this.toLocationInfo.locationGroupCode,
handledToLocationErpCode: this.toLocationInfo.erpLocationCode,
handledToWarehouseCode: localStorage.warehouseCode,
handledQty: res.qty
}
item.details.push(detail)
})

41
fe/PDA/pages/record/productionReturnPack.vue

@ -377,21 +377,54 @@
}
this.allDataList.forEach(res => {
var detail = {
recommendContainerCode: "",
recommendPackingCode: "",
recommendSupplierBatch: "",
recommendLot: "",
recommendToLocationCode: "",
recommendToLocationArea: "",
recommendToLocationGroup: "",
recommendToLocationErpCode: "",
recommendToWarehouseCode: "",
recommendQty: 33,
toContainerCode: "",
fromContainerCode: "",
handledContainerCode: "",
fromLot: "",
fromStatus: 2,
toStatus: 2,
fromLocationCode: "",
fromLocationArea: "",
fromLocationGroup: "",
fromLocationErpCode: "",
fromWarehouseCode: localStorage.warehouseCode,
itemCode: res.itemCode,
itemName: res.itemName,
itemDesc1: res.itemDesc1,
uom: res.uom,
qty: res.qty,
stdPackQty: res.stdPackQty,
fromPackingCode: res.packingCode,
toPackingCode: res.packingCode,
toLot: res.lot,
supplierBatch: "",
toLocationCode: this.toLocationCode,
toLocationArea: this.toLocationInfo.areaCode,
toLocationGroup: this.toLocationInfo.locationGroupCode,
toLocationErpCode: this.toLocationInfo.erpLocationCode,
recommendPackingCode: res.packingCode,
recommendLot: res.lot,
handledPackingCode: res.packingCode,
toWarehouseCode: localStorage.warehouseCode,
handledPackingCode:res.packingCode,
handledSupplierBatch: null,
handledLot: res.lot,
handledQty:res.qty
handledToLocationCode: this.toLocationCode,
handledToLocationArea: this.toLocationInfo.areaCode,
handledToLocationGroup:this.toLocationInfo.locationGroupCode,
handledToLocationErpCode: this.toLocationInfo.erpLocationCode,
handledToWarehouseCode: localStorage.warehouseCode,
handledQty: res.qty
}
item.details.push(detail)
})

Loading…
Cancel
Save