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

修改签证

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