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

修改签证

parent bc28a2a3
......@@ -118,6 +118,8 @@
<li>
<button class="hollowFixedBtn" @click="getList()">查询</button>
<button class="hollowFixedBtn" @click="goUrlCb">查看成本</button>
</li>
</ul>
</div>
......@@ -324,6 +326,7 @@ export default {
EditMsg:{
TotalPrice:0,
},
cbId:0,
}
},methods:{
goIisDetail: function (id) { // 跳转发票详情页面
......@@ -354,6 +357,10 @@ export default {
this.EditMsg.OrderId=item.Id;
this.EditMsg.TotalPrice=item.TotalPrice;
},
goUrlCb(item){
this.$router.push({ name: 'saleOrderSettlement',query:{"id":this.cbId,"seeDes":true,blank:'y',tab:'签证详情'} })
},
goUrlVisaList(obj){
if(obj.VisaPlanIdStr=="" || obj.VisaPlanIdStr==null){
this.$router.push({ name: 'visaList2',query:{"visaPlanId":obj.VisaPlanId,blank:'y',tab:'签证详情'} })
......@@ -433,7 +440,9 @@ export default {
} else {
this.nameShow = false
}
this.msg.Pid=this.$route.query.id
this.msg.Pid=this.$route.query.id;
this.cbId=this.$route.query.id;
this.msg.EmId=this.$route.query.EmId===undefined?'-1':this.$route.query.EmId
this.isShow=this.$route.query.isShow===undefined?'0':this.$route.query.isShow
this.getList()
......
......@@ -24,7 +24,7 @@
<div class="fl meta mg0">
成本
</div>
<input type="button" class="normalBtn fr" value="新增单据" @click="goUrl()"/>
<input v-if="seeDes" type="button" class="normalBtn fr" value="新增单据" @click="goUrl()"/>
</div>
<table class="saleOrderSettlementTable" border="0" cellspacing="0" cellpadding="0">
<tr>
......@@ -183,7 +183,7 @@
<div class="fl meta mg0">
提成核算
</div>
<input type="button" class="normalBtn fr" value="全部发放" @click="grantTicheng()"/>
<input v-if="seeDes" type="button" class="normalBtn fr" value="全部发放" @click="grantTicheng()"/>
</div>
<table class="saleOrderSettlementTable" border="0" cellspacing="0" cellpadding="0">
<tr>
......@@ -237,7 +237,8 @@
collectTotal:0,
payList:[],
collectList:[],
tichengList:[],
tichengList:[],
seeDes:true,
}
},
methods:{
......@@ -358,10 +359,13 @@
},
mounted(){
this.PayMsg.TCID=this.CollectMsg.TCID=Number(this.$route.query.id)
this.getPayList()
this.getTicheng()
this.getCollectList()
this.PayMsg.TCID=this.CollectMsg.TCID=Number(this.$route.query.id)
if(this.$route.query.seeDes){
this.seeDes=false;
}
this.getPayList()
this.getTicheng()
this.getCollectList()
}
}
</script>
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