Commit a4558029 authored by youjie's avatar youjie

简易报表、签证订单op查询

parent 56bbef61
...@@ -911,9 +911,10 @@ export default { ...@@ -911,9 +911,10 @@ export default {
} }
if(rowIndex<15){ if(rowIndex<15){
if(BranchId == 1245){ // if(BranchId == 1245){
that.$router.push({ name: "TeamRevenueReport",query:{"StartTime":startDate,"EndTime":endDate,BranchId:BranchId,OutBranchId:BranchId,StandardCurrencyId,blank:'y',tab:"营收报表"} }) // that.$router.push({ name: "TeamRevenueReport",query:{"StartTime":startDate,"EndTime":endDate,BranchId:BranchId,OutBranchId:BranchId,StandardCurrencyId,blank:'y',tab:"营收报表"} })
}else if(rowData.ZhaiYao=="联运收入"){ // }
if(rowData.ZhaiYao=="联运收入"){
that.goUrl("CombinedRevenueReport",startDate,endDate,BranchId,"联运收入") that.goUrl("CombinedRevenueReport",startDate,endDate,BranchId,"联运收入")
} }
// 跳转到应收团款查询 // 跳转到应收团款查询
......
...@@ -24,13 +24,13 @@ ...@@ -24,13 +24,13 @@
</div> </div>
</el-dialog> </el-dialog>
</template> </template>
<script> <script>
export default { export default {
props: ["Type","isShowCorrelation","CorrelationObj"], props: ["Type","isShowCorrelation","CorrelationObj"],
components: { components: {
}, },
data() { data() {
return { return {
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
this.Title = '关联OP' this.Title = '关联OP'
} }
}, },
deep:true, deep:true,
}, },
isShowCorrelation:{ isShowCorrelation:{
handler(newValue,onldValue) { handler(newValue,onldValue) {
...@@ -104,14 +104,13 @@ ...@@ -104,14 +104,13 @@
} }
if(this.CorrelationObj.TypeNum==1){ if(this.CorrelationObj.TypeNum==1){
url = 'dict_post_SetCustomerOrderOP' url = 'dict_post_SetCustomerOrderOP'
} }else if(this.CorrelationObj.TypeNum===2){
if(this.CorrelationObj.TypeNum===2){
url = 'ticket_post_SetTicketOrderOP' url = 'ticket_post_SetTicketOrderOP'
} }else if(this.CorrelationObj.TypeNum===3){
if(this.CorrelationObj.TypeNum===3){
url = 'CarSingle_post_SetCarOrderOP' url = 'CarSingle_post_SetCarOrderOP'
} }else if(this.CorrelationObj.TypeNum===7){//签证op
if(this.CorrelationObj.TypeNum===4){ url = ''
}else if(this.CorrelationObj.TypeNum===4){
msg = { msg = {
OrderId: this.msg.OrderId, OrderId: this.msg.OrderId,
Money: this.msg.Money Money: this.msg.Money
...@@ -155,11 +154,11 @@ ...@@ -155,11 +154,11 @@
this.isShow = false this.isShow = false
this.$emit('close') this.$emit('close')
}, },
} }
} }
</script> </script>
<style> <style>
</style> </style>
\ No newline at end of file
...@@ -358,6 +358,19 @@ ...@@ -358,6 +358,19 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li>
<span>
<em>OP</em>
<el-select filterable v-model='msg.OpEmpId'>
<el-option :value="0" label="不限"></el-option>
<el-option v-for='item in EmployeeList'
:label='item.EmName'
:value='item.EmployeeId'
:key='item.EmployeeId'>
</el-option>
</el-select>
</span>
</li>
<li v-if="pagesTitle!='销售'"> <li v-if="pagesTitle!='销售'">
<span> <span>
<em>公司</em> <em>公司</em>
...@@ -529,6 +542,7 @@ ...@@ -529,6 +542,7 @@
RB_Branch_Id: -1, RB_Branch_Id: -1,
OrderId: 0, OrderId: 0,
IsFinish: '0', IsFinish: '0',
OpEmpId: 0,
}, },
addMsg: { addMsg: {
Id: 0, Id: 0,
......
...@@ -582,6 +582,7 @@ ...@@ -582,6 +582,7 @@
</template> </template>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="OP" prop="opEmName" min-width="100" style="background:#EAEAEA"></el-table-column>
<el-table-column label="出发日期" min-width="100" style="background:#EAEAEA"> <el-table-column label="出发日期" min-width="100" style="background:#EAEAEA">
<template slot-scope="scope"> <template slot-scope="scope">
<template> <template>
...@@ -767,6 +768,13 @@ ...@@ -767,6 +768,13 @@
v-if="scope.row.VisaPlanIdStr!=''&&pagesTitle!='销售'"> v-if="scope.row.VisaPlanIdStr!=''&&pagesTitle!='销售'">
<span class="c059FF6">签证详情</span> <span class="c059FF6">签证详情</span>
</div> </div>
<!-- <div
v-if="pagesTitle=='OP'"
class="row-c cursor-pointer radius5 change py5"
@click="clickCorrelation(item, 1)"
>
<span class="c059FF6">编辑关联OP</span>
</div> -->
<div class="row-c cursor-pointer radius5 change py5" @click="getDetail(scope.row,false)" <div class="row-c cursor-pointer radius5 change py5" @click="getDetail(scope.row,false)"
v-if="scope.row.income<=0&&(scope.row.visaOrderStatus==1||scope.row.visaOrderStatus==3)&&scope.row.visaStatus==1&&pagesTitle=='销售'"> v-if="scope.row.income<=0&&(scope.row.visaOrderStatus==1||scope.row.visaOrderStatus==3)&&scope.row.visaStatus==1&&pagesTitle=='销售'">
<span class="c059FF6">{{$t('system.table_edit')}}订单</span> <span class="c059FF6">{{$t('system.table_edit')}}订单</span>
...@@ -1056,6 +1064,10 @@ export default { ...@@ -1056,6 +1064,10 @@ export default {
} }
}, },
methods: { methods: {
clickCorrelation(item,){
this.CorrelationObj = JSON.parse(JSON.stringify(item));
this.CorrelationObj.TypeNum = 7;
},
DetailsOfRoyalty(){ DetailsOfRoyalty(){
}, },
......
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