Commit dccad4b6 authored by 黄媛媛's avatar 黄媛媛

11

parent e7e2b362
......@@ -120,6 +120,33 @@
</table>
</div>
</div>
<div v-if="ReceiptModel && ReceiptModel.Id>0 && LeaderState">
<div class="_tit">
<span class="_text">财务收据</span>
<div>
<span class="_btn" v-if="tableShow2" @click="tableShow2=false">收起 <i class="iconfont icon-gengduo _rotate"></i> </span>
<span class="_btn" v-else @click="tableShow2=true">展开 <i class="iconfont icon-gengduo"></i> </span>
</div>
</div>
<div v-show="tableShow2" class="sanjiao-box _padding_20_15">
<table border="1" class="czBillModule _border_color_b Receipt_table" bordercolor="#c94052" style="border-collapse:collapse;width: 100%;" v-loading='loading'>
<tr>
<th>ID</th>
<th>团号</th>
<th>账户</th>
<th>原币</th>
</tr>
<tr class="_color_b">
<td class="hover_text" @click="goDetailDoc(ReceiptModel.Id)" ><span>{{ReceiptModel.Id}}</span></td>
<td><span>{{ReceiptModel.TCNUM}}{{ReceiptModel.TCID}}</span></td>
<td>{{ReceiptModel.AccountName}}</td>
<td>{{ReceiptModel.WBMoney}}</td>
</tr>
</table>
</div>
</div>
<!-- 电商商品 -->
<div v-if="OtherType==9 && ECommerceGoodsModel.Id>0 && LeaderState">
<div class="_tit">
......@@ -168,6 +195,7 @@ export default {
LeaderRefundDetailList:[],
LeaderState:false,
ECommerceGoodsModel:{},
ReceiptModel:{},
}
},watch:{
......@@ -186,7 +214,9 @@ export default {
this.loading = false
if (res.data.resultCode == 1) {
let data=res.data.data;
console.log("data.ReceiptModel",data)
this.LeaderRefundDetailList=data.LeaderRefundDetailList;
this.ReceiptModel=data.ReceiptModel;
this.LeaderState=true;
this.OtherType=data.OtherType;
this.ReFinanceId=data.ReFinanceId;
......@@ -201,6 +231,9 @@ export default {
}, err => {})
},
goDetailDoc(id){
this.$router.push({ name: 'DocumentStatistics',query:{"id":id,blank:'y',tab:'单据详情'} })
},
goDetail(id){
this.$router.push({ name: 'FinancialDocumentsDetail',query:{"id":id,blank:'y',tab:'单据详情'} })
},
......
......@@ -938,6 +938,12 @@ export default {
this.loading = true;
this.msg.Description=this.Description;
console.log("czmsg",this.czmsg)
// 财务收据
if(this.czmsg && this.czmsg.ReFinanceId2){
this.msg.ReFinanceId2=this.czmsg.ReFinanceId2;
}
// 预付款冲抵 电商商品
if(this.czmsg){
this.msg.ReFinanceId=this.czmsg.ReFinanceId;
......
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