Commit c459db12 authored by liudong1993's avatar liudong1993

销售财务单据列表修改

parent c7d5886f
......@@ -107,9 +107,11 @@
<tr>
<th width="100">单号</th>
<th width="200">费用类型</th>
<th width="400">交易方式</th>
<th width="350">交易方式</th>
<th width="150">同行转款</th>
<th width="150">应收</th>
<th width="150">实收</th>
<th width="150">平台税金</th>
<th width="150">交易日期</th>
<th width="">制单人员</th>
<th width="">当前状态</th>
......@@ -135,11 +137,17 @@
</template>
</td>
<td width="">
<p style="line-height:20px"><span>{{moneyFormat(item.PreferPrice)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.Money)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.PayMoney)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p>
</td>
<td width="">{{item.TradeDate}}</td>
<td width="">{{item.EmName}}</td>
<td width="">
......@@ -172,7 +180,7 @@
</td>
</tr>
<tr v-if="dataList.length===0">
<td colspan="9" class="noDataNotice">
<td colspan="10" class="noDataNotice">
<div>
<p class="iconfont icon-kong"></p>
<p class="text">{{`暂无数据`}}</p>
......@@ -185,9 +193,11 @@
<tr>
<th width="100">单号</th>
<th width="200">费用类型</th>
<th width="400">交易方式</th>
<th width="350">交易方式</th>
<th width="150">同行转款</th>
<th width="150">应付</th>
<th width="150">实收</th>
<th width="150">平台税金</th>
<th width="150">交易日期</th>
<th width="">制单人员</th>
<th width="">当前状态</th>
......@@ -213,11 +223,17 @@
</template>
</td>
<td width="">
<p style="line-height:20px"><span>{{moneyFormat(item.PreferPrice)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.Money)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.PayMoney)}}</span></p>
</td>
<td>
<p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p>
</td>
<td width="">{{item.TradeDate}}</td>
<td width="">{{item.EmName}}</td>
<td width="">
......@@ -250,7 +266,7 @@
</td>
</tr>
<tr v-if="dataListP.length===0">
<td colspan="9" class="noDataNotice">
<td colspan="10" class="noDataNotice">
<div>
<p class="iconfont icon-kong"></p>
<p class="text">{{`暂无数据`}}</p>
......@@ -356,8 +372,10 @@ export default {
this.allMoney = 0;
this.shiMoney = 0;
data.forEach(x=>{
this.allMoney += x.Money
this.shiMoney += x.PayMoney
this.allMoney += x.PreferPrice
if(x.PayMoney>0){
this.shiMoney += (x.PayMoney+x.Fee)
}
})
this.dataList = data;
this.getList(2)
......@@ -365,8 +383,10 @@ export default {
this.allMoneyP = 0;
this.shiMoneyP = 0;
data.forEach(x=>{
this.allMoneyP += x.Money
this.shiMoneyP += x.PayMoney
this.allMoneyP += x.PreferPrice
if(x.PayMoney>0){
this.shiMoneyP += (x.PayMoney+x.Fee)
}
})
this.dataListP = data;
this.loading = false;
......
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