|
@@ -836,25 +836,25 @@ export default {
|
|
|
return k
|
|
|
})
|
|
|
delete this.formData.orders
|
|
|
- })
|
|
|
- }
|
|
|
- if (this.detailsId && this.moduleType === 2) {
|
|
|
- getListCostBillV2({
|
|
|
- pageNum: 1,
|
|
|
- pageSize: -1,
|
|
|
- params: [
|
|
|
- {
|
|
|
- param: 'order_code',
|
|
|
- compare: '=',
|
|
|
- value: this.jiaxianOrderId
|
|
|
- }
|
|
|
- ]
|
|
|
- }).then(res => {
|
|
|
- res.data.records.forEach(item => {
|
|
|
- item.sums1 = ['orderHasSendQty', 'subsidyCoefficient', 'unloadUpstairsCoefficient', 'coefficient']
|
|
|
- item.sums2 = ['cost', 'unitPrice', 'totalCost', 'allowanceCost']
|
|
|
- })
|
|
|
- this.logisticsData = res.data.records
|
|
|
+ if (this.detailsId && this.moduleType === 2) {
|
|
|
+ getListCostBillV2({
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: -1,
|
|
|
+ params: [
|
|
|
+ {
|
|
|
+ param: 'order_code',
|
|
|
+ compare: '=',
|
|
|
+ value: this.formData.jiaxianOrderId
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }).then(res => {
|
|
|
+ res.data.records.forEach(item => {
|
|
|
+ item.sums1 = ['orderHasSendQty', 'subsidyCoefficient', 'unloadUpstairsCoefficient', 'coefficient']
|
|
|
+ item.sums2 = ['cost', 'unitPrice', 'totalCost', 'allowanceCost']
|
|
|
+ })
|
|
|
+ this.logisticsData = res.data.records
|
|
|
+ })
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
},
|