Commit 46ddef4e authored by 黄奎's avatar 黄奎
parents 464fd19e 43796637
...@@ -98,6 +98,7 @@ import moment from "moment" ...@@ -98,6 +98,7 @@ import moment from "moment"
Obj: {}, Obj: {},
SourceID: 0, SourceID: 0,
CostType: 112, CostType: 112,
SelectState:true,
} }
let id=[29,31]; let id=[29,31];
this.$router.push({ this.$router.push({
......
...@@ -310,7 +310,8 @@ ...@@ -310,7 +310,8 @@
<el-option v-for='item in GetCostTypeList' <el-option v-for='item in GetCostTypeList'
:label='item.Name' :label='item.Name'
:value='item.ID' :value='item.ID'
:key='item.ID'> :key='item.ID'
>
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
...@@ -342,11 +343,21 @@ ...@@ -342,11 +343,21 @@
<tr @keyup.enter="addList(1)"> <tr @keyup.enter="addList(1)">
<td > <td >
<el-select filterable v-model='detailList.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')" @change="getCostTypeName(detailList.CostTypeId), getRate(detailList.CostTypeId,detailList.CurrencyId,1),addList(1)" class=" _border_b_1"> <el-select v-if="!SelectState" filterable v-model='detailList.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')" @change="getCostTypeName(detailList.CostTypeId), getRate(detailList.CostTypeId,detailList.CurrencyId,1),addList(1)" class="_border_b_1">
<el-option v-for='item in GetCostTypeList' <el-option v-for='item in GetCostTypeList'
:label='item.Name' :label='item.Name'
:value='item.ID' :value='item.ID'
:key='item.ID'> :key='item.ID'
>
</el-option>
</el-select>
<el-select v-if="SelectState" filterable v-model='detailList.CostTypeId' ref='CostTypeId' :placeholder="$t('rule.qxzfyshuoming')" @change="getCostTypeName(detailList.CostTypeId), getRate(detailList.CostTypeId,detailList.CurrencyId,1),addList(1)" class="_border_b_1">
<el-option v-for='item in GetCostTypeList'
:label='item.Name'
:value='item.ID'
:key='item.ID'
:disabled="SelectDisablsed!=item.ID"
>
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
...@@ -649,6 +660,8 @@ export default { ...@@ -649,6 +660,8 @@ export default {
showDisable:false, showDisable:false,
editTemplateId:-1, editTemplateId:-1,
ZhuiJiaTK: false, ZhuiJiaTK: false,
SelectDisablsed:0,
SelectState:false,
} }
}, },
methods:{ methods:{
...@@ -1269,6 +1282,12 @@ export default { ...@@ -1269,6 +1282,12 @@ export default {
if (!JSON.parse(sessionStorage.getItem("saveGuestInfo"))){ if (!JSON.parse(sessionStorage.getItem("saveGuestInfo"))){
this.Description = this.orderObj.laRemark?this.orderObj.laRemark:''; this.Description = this.orderObj.laRemark?this.orderObj.laRemark:'';
} }
// 判断是否禁用费用说明
if(this.orderObj.SelectState){
this.SelectState=true;
this.SelectDisablsed=Number(this.orderObj.CostType)
}
if(this.orderObj.CurrencyId){ if(this.orderObj.CurrencyId){
this.detailList.CurrencyId=Number(this.orderObj.CurrencyId); this.detailList.CurrencyId=Number(this.orderObj.CurrencyId);
this.detailCurrDis=true; this.detailCurrDis=true;
......
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
<el-button type="primary" class="CM_look" @click="goUrl('AirticketCommissionDetail',item.ID)" <el-button type="primary" class="CM_look" @click="goUrl('AirticketCommissionDetail',item.ID)"
icon="iconfont icon-chakan" circle></el-button> icon="iconfont icon-chakan" circle></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="制单" placement="top">
<el-button type="primary" class="CM_look" @click="goUrlZD" icon="iconfont icon-caidan-fill" circle></el-button>
</el-tooltip>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -63,6 +66,26 @@ ...@@ -63,6 +66,26 @@
this.getList(); this.getList();
}, },
methods: { methods: {
goUrlZD(){
let orderObj = {
OrderID: 0,
OrderSource: 8,
Obj: {},
SourceID: 0,
CostType:194,
SelectState:true,
}
let id=[29,31];
this.$router.push({
name: 'ChoiceAddFinancialDocuments',
query: {
Type: 2,
templateID: JSON.stringify(id),
'blank': 'y',
'orderObj': JSON.stringify(orderObj)
}
})
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.PageIndex = val; this.msg.PageIndex = val;
this.getList(); this.getList();
......
...@@ -7,13 +7,14 @@ ...@@ -7,13 +7,14 @@
</style> </style>
<template> <template>
<div class="flexOne"> <div class="flexOne">
<!-- <div class="query-box"> <div class="query-box">
<ul> <ul>
<li> <li>
<input type="button" class="normalBtn" @click="generateTable" value="生成提成报表"/> <input type="button" class="normalBtn" @click="goUrlZD(195)" value="签证制单"/>
<input type="button" class="normalBtn" @click="goUrlZD(196)" value="地接制单"/>
</li> </li>
</ul> </ul>
</div> --> </div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th>期数</th> <th>期数</th>
...@@ -66,6 +67,26 @@ ...@@ -66,6 +67,26 @@
this.getList(); this.getList();
}, },
methods: { methods: {
goUrlZD(num){
let orderObj = {
OrderID: 0,
OrderSource: 8,
Obj: {},
SourceID: 0,
CostType: num,
SelectState:true,
}
let id=[29,31];
this.$router.push({
name: 'ChoiceAddFinancialDocuments',
query: {
Type: 2,
templateID: JSON.stringify(id),
'blank': 'y',
'orderObj': JSON.stringify(orderObj)
}
})
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.PageIndex = val; this.msg.PageIndex = val;
this.getList(); this.getList();
......
...@@ -28,13 +28,13 @@ ...@@ -28,13 +28,13 @@
padding:0 40px; padding:0 40px;
top:110px; top:110px;
text-align: left; text-align: left;
text-overflow: -o-ellipsis-lastline; word-break:break-all;
overflow: hidden; text-overflow:ellipsis;
text-overflow: ellipsis; display:-webkit-box;
display: -webkit-box; height:40px;
-webkit-line-clamp: 2; -webkit-box-orient:vertical!important;
line-clamp: 2; -webkit-line-clamp:2;
-webkit-box-orient: vertical; overflow:hidden;
color:#4E4E4C; color:#4E4E4C;
font-size:14px; font-size:14px;
} }
......
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