diff --git a/src/pages/customerReturn/job/returnJob.vue b/src/pages/customerReturn/job/returnJob.vue index c1ed7c28..c562ee51 100644 --- a/src/pages/customerReturn/job/returnJob.vue +++ b/src/pages/customerReturn/job/returnJob.vue @@ -153,6 +153,7 @@ filters: filters, pageNo: this.pageNo, pageSize: this.pageSize, + sorts:[{sort:"id",by:"DESC"}] } getCustomerReturnJobList(params).then(res => { uni.hideLoading(); diff --git a/src/pages/deliver/job/deliverDetail.vue b/src/pages/deliver/job/deliverDetail.vue index d96d1783..c43b5792 100644 --- a/src/pages/deliver/job/deliverDetail.vue +++ b/src/pages/deliver/job/deliverDetail.vue @@ -75,6 +75,7 @@ getRemoveOption, getCurrDateTime, getPackingNumberAndBatch, + deepCopyData } from '@/common/basic.js'; import { @@ -347,8 +348,9 @@ .ContainerNumber; record.toInventoryStatus = r .inventoryStatus; - record.toLocationCode = subItem - .toLocationCode; + // record.toLocationCode = subItem + // .toLocationCode; + record.toLocationCode = this.toLocationCode; record.supplierCode = r.supplierCode; //使用在途库不改变管理模式 @@ -369,9 +371,10 @@ } record.fromParentPackingNumber = r .parentPackingNumber; + subItem.toLocationCode = this.toLocationCode subItem.recordList.push(record); }) - subList.push(subItem); + subList.push(deepCopyData(subItem)); } }) }) diff --git a/src/pages/scrap/record/scrapRecord.vue b/src/pages/scrap/record/scrapRecord.vue index d515c83f..a5b8f7c9 100644 --- a/src/pages/scrap/record/scrapRecord.vue +++ b/src/pages/scrap/record/scrapRecord.vue @@ -9,7 +9,7 @@ 报废原因 : - +