Commit edc577d7 authored by 华国豪's avatar 华国豪 🙄

修复地接财务单据小数位问题,问券调查根据团号查询

parent 3b567153
...@@ -352,7 +352,7 @@ ...@@ -352,7 +352,7 @@
}) })
this.moneyObj = { this.moneyObj = {
benAllMoney: Math.round(benAllMoney * 100) / 100, benAllMoney: Math.round(benAllMoney * 100) / 100,
OriginalMoney: OriginalMoney, OriginalMoney: Math.round(OriginalMoney * 100) / 100,
} }
data.ChineseMoney = this.$commonUtils.changeMoneyToChinese(data.Merge.Money) data.ChineseMoney = this.$commonUtils.changeMoneyToChinese(data.Merge.Money)
data.WBChineseMoney = this.$commonUtils.changeMoneyToChinese(data.Merge.WBMoney) data.WBChineseMoney = this.$commonUtils.changeMoneyToChinese(data.Merge.WBMoney)
...@@ -362,7 +362,6 @@ ...@@ -362,7 +362,6 @@
this.GetDetail = data; this.GetDetail = data;
this.loading=false this.loading=false
this.$set(this.$data,"GetDetail",data); this.$set(this.$data,"GetDetail",data);
console.log(this.GetDetail)
} }
}, err => {}) }, err => {})
}, },
......
<template> <template>
<div class="Feedback"> <div class="Feedback">
<ul style="overflow: initial!important"> <div class="query-box">
<ul>
<li> <li>
<span> <span>
<em>线路</em> <em>团号</em>
</span> <el-input v-model="msg.TCNUM"></el-input>
<el-select filterable v-model="obj.LineID" value-key="LineID" @change="getLineTeamList"> </span>
<el-option label="不限" :value='{LineName:"不限",LineID:0}'></el-option> </li>
<el-option v-for="item in LineList" :label='item.LineName' :value='item' :key='item.LineID'></el-option> <li>
</el-select> <span>
</li> <em>线路</em>
<li> </span>
<span> <el-select filterable v-model="obj.LineID" value-key="LineID" @change="getLineTeamList">
<em>系列</em> <el-option label="不限" :value='{LineName:"不限",LineID:0}'></el-option>
</span> <el-option v-for="item in LineList" :label='item.LineName' :value='item' :key='item.LineID'></el-option>
<el-select filterable v-model="obj.LineteamId" value-key="LtID" @change="getLineLtID">
<el-option label="不限" :value='{LtName:"不限",LtID:0}'></el-option>
<el-option v-for="item in LineTeamList" :label='item.LtName' :value='item' :key='item.LtID'>
</el-option>
</el-select>
</li>
<li>
<span>
<em>只看有评分</em>
</span>
<el-select filterable class='multiple_input' v-model='msg.isScore' :placeholder="$t('pub.pleaseSel')">
<el-option label="不限" :value="0"></el-option>
<el-option label="是" :value="1"></el-option>
<el-option label="否" :value="-1"></el-option>
</el-select> </el-select>
</li> </li>
<li> <li>
<span> <span>
<em>发团时间</em> <em>系列</em>
</span> </span>
<el-date-picker <el-select filterable v-model="obj.LineteamId" value-key="LtID" @change="getLineLtID">
value-format="yyyy-MM-dd" <el-option label="不限" :value='{LtName:"不限",LtID:0}'></el-option>
:picker-options="pickerDisabled" <el-option v-for="item in LineTeamList" :label='item.LtName' :value='item' :key='item.LtID'>
size="small" </el-option>
v-model="dateList" </el-select>
type="daterange" </li>
range-separator="至" <li>
start-placeholder="开始日期" <span>
end-placeholder="结束日期"> <em>只看有评分</em>
</el-date-picker> </span>
</li> <el-select filterable class='multiple_input' v-model='msg.isScore' :placeholder="$t('pub.pleaseSel')">
<li> <el-option label="不限" :value="0"></el-option>
<input <el-option label="是" :value="1"></el-option>
type="button" <el-option label="否" :value="-1"></el-option>
class="hollowFixedBtn" </el-select>
value="查询" </li>
@click="resetPageIndex(),getList()" <li>
> <span>
<input type="button" @click="goUrl" class="normalBtn" value="旅客反馈分析"/> <em>发团时间</em>
</li> </span>
</ul> <el-date-picker
value-format="yyyy-MM-dd"
:picker-options="pickerDisabled"
size="small"
v-model="dateList"
type="daterange"
range-separator="至"
start-placeholder="开始日期"
end-placeholder="结束日期">
</el-date-picker>
</li>
<li>
<input
type="button"
class="hollowFixedBtn"
value="查询"
@click="resetPageIndex(),getList()"
>
<input type="button" @click="goUrl" class="normalBtn" value="旅客反馈分析"/>
</li>
</ul>
</div>
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading"> <table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr> <tr>
<th>发团日期</th> <th>发团日期</th>
...@@ -119,6 +126,7 @@ export default { ...@@ -119,6 +126,7 @@ export default {
msg:{ msg:{
pageSize:10, pageSize:10,
pageIndex:1, pageIndex:1,
TCNUM: '',
lineID:0, lineID:0,
LineteamId:0, LineteamId:0,
reStartDate:'', reStartDate:'',
......
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<tr v-for="(item,i) in dataList" :key="i"> <tr v-for="(item,i) in dataList" :key="i">
<td>{{item.start}}</td> <td>{{item.start}}</td>
<!-- <td>{{item.orderId}}</td> --> <!-- <td>{{item.orderId}}</td> -->
<td>{{item.tCNUM}}</td> <td @click='goUrl("RegistrationList", item.tcid,"报名清单")' class="go_regis">{{item.tCNUM}}</td>
<td>{{item.number}}</td> <td>{{item.number}}</td>
<td> <td>
<span v-if="fields.length>0"> <span v-if="fields.length>0">
...@@ -235,6 +235,16 @@ export default { ...@@ -235,6 +235,16 @@ export default {
this.GetSurveyShowList(); this.GetSurveyShowList();
}, },
methods:{ methods:{
goUrl(path, id, name) {
this.$router.push({
name: path,
query: {
id: id,
blank: 'y',
tab: name
}
})
},
getOrderID(id){ getOrderID(id){
this.ppList.map(x=>{ this.ppList.map(x=>{
if (id === x.GuestId){ if (id === x.GuestId){
...@@ -317,9 +327,6 @@ export default { ...@@ -317,9 +327,6 @@ export default {
chaKan(item){ chaKan(item){
this.$router.push({ name:'NewSurvey',query:{"TCID":item.tcid, "OrderId": item.orderId,blank: 'y'} }) this.$router.push({ name:'NewSurvey',query:{"TCID":item.tcid, "OrderId": item.orderId,blank: 'y'} })
}, },
goUrl(){
this.$router.push({ name:'FeedbackChart',query:{"msg":JSON.stringify(this.msg),blank: 'y'} })
},
getLineList() { getLineList() {
this.apipost("line_post_GetAllList_V2", {LineDirection: 0}, res => { this.apipost("line_post_GetAllList_V2", {LineDirection: 0}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -503,4 +510,8 @@ export default { ...@@ -503,4 +510,8 @@ export default {
.NewSurveyList #table td._name,.NewSurveyList .qianming label{ .NewSurveyList #table td._name,.NewSurveyList .qianming label{
color: #5d5d5d; color: #5d5d5d;
} }
.go_regis{
text-decoration: underline;
cursor: pointer;
}
</style> </style>
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