Commit d9798306 authored by liudong1993's avatar liudong1993

1

parent a17a753a
...@@ -574,7 +574,8 @@ ...@@ -574,7 +574,8 @@
</template> </template>
</el-table> </el-table>
</div> </div>
<!-- <el-table :data="item.list" style="width:100%" border v-if="item.OrderStatus!=3">
<el-table :data="item.list" style="width:100%" border v-if="item.OrderStatus!=3">
<el-table-column label="实收" min-width="100"> <el-table-column label="实收" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.Income ? scope.row.Income : "-" }}</span> <span>{{ scope.row.Income ? scope.row.Income : "-" }}</span>
...@@ -597,7 +598,8 @@ ...@@ -597,7 +598,8 @@
<span>{{ scope.row.Refund ? scope.row.Refund : "-" }}</span> <span>{{ scope.row.Refund ? scope.row.Refund : "-" }}</span>
</template> </template>
</el-table-column> </el-table-column>
</el-table> --> </el-table>
<div class="row justify-sb mt mb20"> <div class="row justify-sb mt mb20">
<div class="column px15 bjFFF3E0 radius5 flex-g pa relative"> <div class="column px15 bjFFF3E0 radius5 flex-g pa relative">
<div class="fz12 row justify-sb"> <div class="fz12 row justify-sb">
......
...@@ -252,6 +252,12 @@ export default { ...@@ -252,6 +252,12 @@ export default {
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
let data = res.data.data.pageData let data = res.data.data.pageData
let addList = function(arr){
arr.forEach(x=>{
x.list = []
})
}
addList(data)
data.forEach((x) => { data.forEach((x) => {
x.Money = 0 x.Money = 0
x.DetailList.forEach((y) => { x.DetailList.forEach((y) => {
...@@ -260,6 +266,15 @@ export default { ...@@ -260,6 +266,15 @@ export default {
}) })
this.OrderList = data; this.OrderList = data;
this.OrderList.forEach(item=>{
let datas = {
Income: item.Income,
CostMoney: item.CostMoney,
PlatformTax: item.PlatformTax,
Refund: item.Refund
}
item.list.push(datas)
})
this.total = res.data.data.count; this.total = res.data.data.count;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment