Commit d905a4d6 authored by 华国豪's avatar 华国豪 🙄
parents 1776c3c9 ed35ce19
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
"dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", "dev": "webpack-dev-server --inline --progress --config build/webpack.dev.conf.js",
"start": "npm run dev", "start": "npm run dev",
"lint": "eslint --ext .js,.vue src", "lint": "eslint --ext .js,.vue src",
"serve" : "node --max_old_space_size=4096 node_modules/.bin/vue-cli-service serve --open", "serve": "node --max_old_space_size=4096 node_modules/.bin/vue-cli-service serve --open",
"build": "node --max-old-space-size=4096 build/build.js" "build": "node --max-old-space-size=4096 build/build.js"
}, },
"dependencies": { "dependencies": {
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
"js-md5": "^0.7.3", "js-md5": "^0.7.3",
"jspdf": "^1.4.1", "jspdf": "^1.4.1",
"lrz": "^4.9.40", "lrz": "^4.9.40",
"moment": "^2.24.0",
"node-sass": "^4.11.0", "node-sass": "^4.11.0",
"pdfjs-dist": "^2.0.489", "pdfjs-dist": "^2.0.489",
"pinyin": "^2.8.3", "pinyin": "^2.8.3",
......
...@@ -514,6 +514,40 @@ ...@@ -514,6 +514,40 @@
</div> </div>
</div> </div>
</div> </div>
<template v-if="tuiDataList.length>0">
<div class="w890px">
<div class="_tit _tit2 w890px _border_bottom_none">
<p>
<span class="_text">原路退款</span>
<span class="_btn" v-if="tableShowTuikuan" @click="tableShowTuikuan=false">收起 <i class="iconfont icon-gengduo _rotate"></i> </span>
<span class="_btn" v-else @click="tableShowTuikuan=true">展开 <i class="iconfont icon-gengduo"></i> </span>
</p>
<div v-show="tableShowTuikuan" >
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="250">平台单号</th>
<th width="100">金额</th>
<th>支付方式</th>
<th>支付日期</th>
<th>状态</th>
<th>退款金额</th>
</tr>
<tr v-for="item in tuiDataList">
<td>{{item.Trade_Order}}</td>
<td>{{item.Money}}</td>
<td>{{item.PayWayName}}</td>
<td>{{item.Pay_Date}}</td>
<td>{{item.PayStatus}}</td>
<td>{{item.RefundMoney}}</td>
</tr>
</table>
<!-- <el-pagination background @current-change="handleCurrentChange" :current-page.sync="queryMsg.currentPage" :page-size="queryMsg.pageSize"
layout="total,prev, pager, next, jumper" :total="queryMsg.total"></el-pagination> -->
</div>
</div>
</div>
</template>
<div class="_process clearfix"> <div class="_process clearfix">
<!-- <el-popover <!-- <el-popover
popper-class="detailsIT_Journal" popper-class="detailsIT_Journal"
...@@ -774,6 +808,16 @@ export default { ...@@ -774,6 +808,16 @@ export default {
GetFinancLogList:[], GetFinancLogList:[],
LogLoading:false, LogLoading:false,
IsBoHui: false, IsBoHui: false,
tuiDataList:[],
tableShowTuikuan:false,
queryMsg:{
pageIndex:1,
pageSize:10,
FinanceId:'',
Type:2,
currentPage:1,
total: 0,
},
} }
},components:{ },components:{
'my-FlowChartModule': myFlowChartModule, 'my-FlowChartModule': myFlowChartModule,
...@@ -1154,14 +1198,27 @@ export default { ...@@ -1154,14 +1198,27 @@ export default {
Vue.component(this.name+this.z,this.componentTemp) Vue.component(this.name+this.z,this.componentTemp)
this.c=this.name+this.z this.c=this.name+this.z
}, },
//获取列表
getTuikuan(){
this.apipost('OnlinePay_get_GetOrderPayMoneyInfo',this.queryMsg,res=>{
if(res.data.resultCode==1){
this.tuiDataList = res.data.data.pageData;
this.queryMsg.total = res.data.data.count;
}else{
}
},err=>{})
},
},mounted(){ },mounted(){
// document.onkeydown = this.KeyDown // document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp // document.onkeyup = this.KeyUp
// document.oncontextmenu = function(){return false;} // document.oncontextmenu = function(){return false;}
this.Financial_post_GetDetail(this.ID) this.Financial_post_GetDetail(this.ID)
this.queryMsg.FinanceId = this.$route.query.id;
if(this.$route.query.Conditon){ if(this.$route.query.Conditon){
this.returnCode = this.$route.query.Conditon; this.returnCode = this.$route.query.Conditon;
} }
this.getTuikuan();
} }
} }
</script> </script>
...@@ -366,6 +366,7 @@ export default { ...@@ -366,6 +366,7 @@ export default {
}) })
this.currentMoney = this.currentMoney.toFixed(2); this.currentMoney = this.currentMoney.toFixed(2);
this.benMoney = this.benMoney.toFixed(2); this.benMoney = this.benMoney.toFixed(2);
this.$emit('headCallBack', this.currentMoney);
data.ChineseMoney = this.$commonUtils.changeMoneyToChinese(data.Money) data.ChineseMoney = this.$commonUtils.changeMoneyToChinese(data.Money)
data.ChinesePayMoney = this.$commonUtils.changeMoneyToChinese(data.PayMoney) data.ChinesePayMoney = this.$commonUtils.changeMoneyToChinese(data.PayMoney)
data.PayMoney = this.$commonUtils.addCommas(data.PayMoney.toFixed(2)) data.PayMoney = this.$commonUtils.addCommas(data.PayMoney.toFixed(2))
......
...@@ -99,6 +99,17 @@ ...@@ -99,6 +99,17 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35">
<el-form-item label="发团日期">
<el-date-picker class="h34"
@change="timeAddByTC"
v-model="productionDateByTC"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<ul> <ul>
...@@ -362,6 +373,8 @@ export default { ...@@ -362,6 +373,8 @@ export default {
ClientID:'', ClientID:'',
sTradeDate:'', sTradeDate:'',
eTradeDate:'', eTradeDate:'',
QStartDate:'',
QEndDate:'',
BankList:[], BankList:[],
Is_Cashier:-1, Is_Cashier:-1,
}, },
...@@ -379,6 +392,7 @@ export default { ...@@ -379,6 +392,7 @@ export default {
accountList:[], accountList:[],
accountListT:[], accountListT:[],
productionDate:[], productionDate:[],
productionDateByTC:[],
ClientAccountList:[], ClientAccountList:[],
RB_Branch_Id:null, RB_Branch_Id:null,
loading:false, loading:false,
...@@ -438,6 +452,7 @@ export default { ...@@ -438,6 +452,7 @@ export default {
this.msg.sTradeDate = this.$route.query.sTradeDate; this.msg.sTradeDate = this.$route.query.sTradeDate;
this.msg.eTradeDate = this.$route.query.eTradeDate; this.msg.eTradeDate = this.$route.query.eTradeDate;
this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate]; this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate];
this.productionDateByTC = [this.msg.QStartDate, this.msg.QEndDate];
this.getList(); this.getList();
this.BankAccount_post_GetCashAccountList("query"); this.BankAccount_post_GetCashAccountList("query");
} }
...@@ -773,6 +788,15 @@ export default { ...@@ -773,6 +788,15 @@ export default {
this.msg.sTradeDate = this.productionDate[0]; this.msg.sTradeDate = this.productionDate[0];
this.msg.eTradeDate = this.productionDate[1]; this.msg.eTradeDate = this.productionDate[1];
}, },
timeAddByTC(){ // 日期格式
if(!this.productionDateByTC){
this.msg.QStartDate = '';
this.msg.QEndDate = '';
return
}
this.msg.QStartDate = this.productionDateByTC[0];
this.msg.QEndDate = this.productionDateByTC[1];
},
bankaccount_post_GetList(){ // 获取银行账户 bankaccount_post_GetList(){ // 获取银行账户
this.AccountId = ''; this.AccountId = '';
let msg = { let msg = {
......
...@@ -93,6 +93,17 @@ ...@@ -93,6 +93,17 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35">
<el-form-item label="发团日期">
<el-date-picker class="h34"
@change="timeAddByTC"
v-model="productionDateByTC"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<ul> <ul>
...@@ -321,6 +332,8 @@ export default { ...@@ -321,6 +332,8 @@ export default {
ClientID:'', ClientID:'',
sTradeDate:'', sTradeDate:'',
eTradeDate:'', eTradeDate:'',
QStartDate:'',
QEndDate:'',
BankList:[], BankList:[],
Is_Cashier:-1, Is_Cashier:-1,
}, },
...@@ -333,6 +346,7 @@ export default { ...@@ -333,6 +346,7 @@ export default {
GetAccountType:[], GetAccountType:[],
accountList:[], accountList:[],
productionDate:[], productionDate:[],
productionDateByTC:[],
ClientAccountList:[], ClientAccountList:[],
loading:false, loading:false,
date:'', date:'',
...@@ -381,6 +395,7 @@ export default { ...@@ -381,6 +395,7 @@ export default {
this.msg.sTradeDate = this.$route.query.sTradeDate; this.msg.sTradeDate = this.$route.query.sTradeDate;
this.msg.eTradeDate = this.$route.query.eTradeDate; this.msg.eTradeDate = this.$route.query.eTradeDate;
this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate]; this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate];
this.productionDateByTC=[this.msg.QStartDate, this.msg.QEndDate];
this.getList(); this.getList();
this.bankaccount_post_GetListS("query"); this.bankaccount_post_GetListS("query");
} }
...@@ -418,6 +433,15 @@ export default { ...@@ -418,6 +433,15 @@ export default {
this.msg.sTradeDate = this.productionDate[0]; this.msg.sTradeDate = this.productionDate[0];
this.msg.eTradeDate = this.productionDate[1]; this.msg.eTradeDate = this.productionDate[1];
}, },
timeAddByTC(){ // 日期格式
if(!this.productionDateByTC){
this.msg.QStartDate = '';
this.msg.QEndDate = '';
return
}
this.msg.QStartDate = this.productionDateByTC[0];
this.msg.QEndDate = this.productionDateByTC[1];
},
bankaccount_post_GetList(){ // 获取银行账户 bankaccount_post_GetList(){ // 获取银行账户
this.AccountId = ''; this.AccountId = '';
this.apipost('bankaccount_post_GetList',{TypeId:this.accType}, res => { this.apipost('bankaccount_post_GetList',{TypeId:this.accType}, res => {
......
...@@ -90,6 +90,17 @@ ...@@ -90,6 +90,17 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35">
<el-form-item label="发团日期">
<el-date-picker class="h34"
@change="timeAddByTC"
v-model="productionDateByTC"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<ul> <ul>
...@@ -309,6 +320,8 @@ export default { ...@@ -309,6 +320,8 @@ export default {
ClientID:'', ClientID:'',
sTradeDate:'', sTradeDate:'',
eTradeDate:'', eTradeDate:'',
QStartDate:'',
QEndDate:'',
BankList:[], BankList:[],
Is_Cashier:-1, Is_Cashier:-1,
Status:-1, Status:-1,
...@@ -323,6 +336,7 @@ export default { ...@@ -323,6 +336,7 @@ export default {
GetAccountType:[], GetAccountType:[],
accountList:[], accountList:[],
productionDate:[], productionDate:[],
productionDateByTC:[],
ClientAccountList:[], ClientAccountList:[],
loading:false, loading:false,
RB_Branch_Id:null, RB_Branch_Id:null,
...@@ -372,6 +386,7 @@ export default { ...@@ -372,6 +386,7 @@ export default {
this.msg.sTradeDate = this.$route.query.sTradeDate; this.msg.sTradeDate = this.$route.query.sTradeDate;
this.msg.eTradeDate = this.$route.query.eTradeDate; this.msg.eTradeDate = this.$route.query.eTradeDate;
this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate]; this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate];
this.productionDateByTC = [this.msg.QStartDate, this.msg.QEndDate];
this.getList(); this.getList();
this.BankAccount_post_GetPlatformList("query"); this.BankAccount_post_GetPlatformList("query");
} }
...@@ -409,6 +424,15 @@ export default { ...@@ -409,6 +424,15 @@ export default {
this.msg.sTradeDate = this.productionDate[0]; this.msg.sTradeDate = this.productionDate[0];
this.msg.eTradeDate = this.productionDate[1]; this.msg.eTradeDate = this.productionDate[1];
}, },
timeAddByTC(){ // 日期格式
if(!this.productionDateByTC){
this.msg.QStartDate = '';
this.msg.QEndDate = '';
return
}
this.msg.QStartDate = this.productionDateByTC[0];
this.msg.QEndDate = this.productionDateByTC[1];
},
bankaccount_post_GetList(){ // 获取平台账户 bankaccount_post_GetList(){ // 获取平台账户
this.AccountId = ''; this.AccountId = '';
let msg = { let msg = {
......
...@@ -82,6 +82,17 @@ ...@@ -82,6 +82,17 @@
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8" :gutter="35">
<el-form-item label="发团日期">
<el-date-picker class="h34"
@change="timeAddByTC"
v-model="productionDateByTC"
type="daterange"
value-format="yyyy-MM-dd"
:range-separator="$t('restaurant.res_To')">
</el-date-picker>
</el-form-item>
</el-col>
</el-row> </el-row>
</el-form> </el-form>
<ul> <ul>
...@@ -339,6 +350,8 @@ export default { ...@@ -339,6 +350,8 @@ export default {
ClientID:'', ClientID:'',
sTradeDate:'', sTradeDate:'',
eTradeDate:'', eTradeDate:'',
QStartDate:'',
QEndDate:'',
BankList:[], BankList:[],
Is_Cashier:-1, Is_Cashier:-1,
}, },
...@@ -354,6 +367,7 @@ export default { ...@@ -354,6 +367,7 @@ export default {
GetAccountType:[], GetAccountType:[],
accountList:[], accountList:[],
productionDate:[], productionDate:[],
productionDateByTC:[],
ClientAccountList:[], ClientAccountList:[],
RB_Branch_Id:null, RB_Branch_Id:null,
loading:false, loading:false,
...@@ -402,6 +416,7 @@ export default { ...@@ -402,6 +416,7 @@ export default {
this.msg.sTradeDate = this.$route.query.sTradeDate; this.msg.sTradeDate = this.$route.query.sTradeDate;
this.msg.eTradeDate = this.$route.query.eTradeDate; this.msg.eTradeDate = this.$route.query.eTradeDate;
this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate]; this.productionDate = [this.msg.sTradeDate, this.msg.eTradeDate];
this.productionDateByTC = [this.msg.QStartDate, this.msg.QEndDate];
this.getList(); this.getList();
this.BankAccount_post_GetCashPoolList("query"); this.BankAccount_post_GetCashPoolList("query");
} }
...@@ -444,6 +459,15 @@ export default { ...@@ -444,6 +459,15 @@ export default {
this.msg.sTradeDate = this.productionDate[0]; this.msg.sTradeDate = this.productionDate[0];
this.msg.eTradeDate = this.productionDate[1]; this.msg.eTradeDate = this.productionDate[1];
}, },
timeAddByTC(){ // 日期格式
if(!this.productionDateByTC){
this.msg.QStartDate = '';
this.msg.QEndDate = '';
return
}
this.msg.QStartDate = this.productionDateByTC[0];
this.msg.QEndDate = this.productionDateByTC[1];
},
bankaccount_post_GetList(){ // 获取银行账户 bankaccount_post_GetList(){ // 获取银行账户
this.AccountId = ''; this.AccountId = '';
let msg = { let msg = {
......
<style>
</style>
<template>
<div class='flexOne'>
<div class="query-box">
<ul>
<li>
<span>
<em>订单号</em>
<el-input type="text" v-model="msg.OrderId" :placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<span>
<em>订单来源</em>
<el-select v-model="msg.OrderSource" filterable clearable>
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
<el-option v-for="item in orderList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</span>
</li>
<li>
<span><em>商务订单</em>
<el-input type="text" v-model="msg.Pay_Order" :placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<span><em>平台订单</em>
<el-input type="text" v-model="msg.Trade_Order" :placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<span>
<em>支付方式</em>
<el-select v-model="msg.Pay_Way" filterable clearable>
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
<el-option label="微信" :value="1"></el-option>
<el-option label="QQ" :value="2"></el-option>
<el-option label="支付宝" :value="3"></el-option>
<el-option label="银联" :value="4"></el-option>
</el-select>
</span>
</li>
<li>
<span><em>商户号</em>
<el-input type="text" v-model="msg.Mch_Id" :placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<span>
<em>类型</em>
<el-select v-model="msg.Type" filterable clearable>
<el-option label="收款" :value="1"></el-option>
<el-option label="退款" :value="2"></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>退款状态</em>
<el-select v-model="msg.RefundStatus" filterable clearable>
<el-option label="不限" :value="0"></el-option>
<el-option label="收款中" :value="1"></el-option>
<el-option label="退款成功" :value="2"></el-option>
<el-option label="退款失败" :value="3"></el-option>
<el-option label="转入代发" :value="4"></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>财务单据</em>
<el-input type="text" v-model="msg.FinanceId" :placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<span>
<em>日期</em>
<el-date-picker type="date" v-model="msg.StartTime"
:picker-options="pickerBeginDateBefore" value-format="yyyy-MM-dd" placeholder></el-date-picker>
<el-date-picker type="date" v-model="msg.EndTime"
:picker-options="pickerBeginDateAfter" value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span>
</li>
<li>
<span>
<em>退款日期</em>
<el-date-picker type="date" v-model="msg.RefundStartTime"
:picker-options="pickerBeginDateBefore" value-format="yyyy-MM-dd" placeholder></el-date-picker> -
<el-date-picker type="date" v-model="msg.RefundEndTime"
:picker-options="pickerBeginDateAfter" value-format="yyyy-MM-dd" placeholder></el-date-picker>
</span>
</li>
<li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="handleCurrentChange(),getList()" />
</li>
</ul>
</div>
<div class="cm_content">
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr>
<th width="250">平台单号</th>
<th width="100">金额</th>
<th>支付方式</th>
<th>支付日期</th>
<th>状态</th>
<th>退款金额</th>
</tr>
<tr v-for="item in dataList">
<td>{{item.Trade_Order}}</td>
<td>{{item.Money}}</td>
<td>{{item.PayWayName}}</td>
<td>{{item.Pay_Date}}</td>
<td>{{item.PayStatus}}</td>
<td>{{item.RefundMoney}}</td>
</tr>
</table>
<div class="noDataNotice" v-if="dataList.length<1">
<i class="iconfont icon-kong"></i>
<p>{{$t("active.ld_noData")}}</p>
</div>
</div>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.currentPage" :page-size="msg.pageSize"
layout="total,prev, pager, next, jumper" :total="msg.total"></el-pagination>
</div>
</template>
<script>
export default {
data(){
return{
msg:{
pageIndex:1,
pageSize:10,
OrderId:'',
OrderSource:0,
Pay_Order:'',
Trade_Order:'',
Pay_Way:0,
Mch_Id:'',
StartTime:'',
EndTime:'',
RefundStartTime:'',
RefundEndTime:'',
Type:2,
RefundStatus:0,
FinanceId:'',
currentPage:1,
total: 0,
},
loading:false,
orderList:[],
dataList:[],
pickerBeginDateBefore: {
disabledDate: time => {
let endTime = new Date(this.msg.EndTime)
return endTime.getTime() < time.getTime()
}
},
pickerBeginDateAfter: {
disabledDate: time => {
let startTime = new Date(this.msg.StartTime)
return startTime.getTime() >= time.getTime()
}
}
}
},
methods:{
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.getList();
},
getList(){ //获取列表
this.loading =true;
this.apipost('OnlinePay_get_GetOrderPayMoneyInfo',this.msg,res=>{
this.loading = false;
console.log(res,'res');
if(res.data.resultCode==1){
this.dataList = res.data.data.pageData;
this.msg.total = res.data.data.count;
}else{
this.Error(res.data.message);
}
},err=>{})
},
//订单来源
getOrderlist() {
this.apipost(
"order_post_GetOrderSource", {},
res => {
if (res.data.resultCode == 1) {
this.orderList = res.data.data;
}
},null);
},
},
mounted(){
this.getOrderlist();
this.getList();
}
}
</script>
...@@ -406,6 +406,7 @@ ...@@ -406,6 +406,7 @@
//1-只查询有库存的酒店 //1-只查询有库存的酒店
IsMoreThanZero:0, IsMoreThanZero:0,
Country: "651", Country: "651",
IsAllHotel:1,
sDate:obj.CheckInDateStr sDate:obj.CheckInDateStr
}, res => { }, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
......
...@@ -140,7 +140,7 @@ ...@@ -140,7 +140,7 @@
<th width="100">实收</th> <th width="100">实收</th>
<th width="100">平台税金</th> <th width="100">平台税金</th>
<th width="150">交易日期</th> <th width="150">交易日期</th>
<th width="150">旅客名单</th> <!-- <th width="150">旅客名单</th> -->
<th width="100">制单人员</th> <th width="100">制单人员</th>
<th width="120">当前状态</th> <th width="120">当前状态</th>
</tr> </tr>
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
<td width="">{{item.TradeDate}}</td> <td width="">{{item.TradeDate}}</td>
<!-- 旅客名单 --> <!-- 旅客名单 -->
<!-- <td width="">旅客名单</td> --> <!-- <td width="">旅客名单</td> -->
<td> <!-- <td>
<span v-if="item.GuestInfoList.length>0" > <span v-if="item.GuestInfoList.length>0" >
<el-popover class="item" effect="dark" placement="top-start" width="350" trigger="click"> <el-popover class="item" effect="dark" placement="top-start" width="350" trigger="click">
<span style="display:inline-block;cursor:pointer;margin:6px;word-break:break-all;" v-for="item2 in item.GuestInfoList" :key="item2.GuestId">{{item2.GuestName}} </span> <span style="display:inline-block;cursor:pointer;margin:6px;word-break:break-all;" v-for="item2 in item.GuestInfoList" :key="item2.GuestId">{{item2.GuestName}} </span>
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
</el-popover> </el-popover>
</span> </span>
<span v-if="item.GuestInfoList.length==0">暂无名单</span> <span v-if="item.GuestInfoList.length==0">暂无名单</span>
</td> </td> -->
<td width="">{{item.EmName}}</td> <td width="">{{item.EmName}}</td>
<td width=""> <td width="">
<i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i> <i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i>
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
<th width="100">实付</th> <th width="100">实付</th>
<th width="100">平台税金</th> <th width="100">平台税金</th>
<th width="150">交易日期</th> <th width="150">交易日期</th>
<th width="150">旅客名单</th> <!-- <th width="150">旅客名单</th> -->
<th width="100">制单人员</th> <th width="100">制单人员</th>
<th width="120">当前状态</th> <th width="120">当前状态</th>
</tr> </tr>
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
<p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p> <p style="line-height:20px"><span>{{moneyFormat(item.Fee)}}</span></p>
</td> </td>
<td width="">{{item.TradeDate}}</td> <td width="">{{item.TradeDate}}</td>
<td> <!-- <td>
<span v-if="item.GuestInfoList.length>0" > <span v-if="item.GuestInfoList.length>0" >
<el-popover class="item" effect="dark" placement="top-start" width="350" trigger="click"> <el-popover class="item" effect="dark" placement="top-start" width="350" trigger="click">
<span style="display:inline-block;cursor:pointer;margin:6px;word-break:break-all;" v-for="item2 in item.GuestInfoList" :key="item2.GuestId">{{item2.GuestName}} </span> <span style="display:inline-block;cursor:pointer;margin:6px;word-break:break-all;" v-for="item2 in item.GuestInfoList" :key="item2.GuestId">{{item2.GuestName}} </span>
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
</el-popover> </el-popover>
</span> </span>
<span v-if="item.GuestInfoList.length==0">暂无名单</span> <span v-if="item.GuestInfoList.length==0">暂无名单</span>
</td> </td> -->
<td width="">{{item.EmName}}</td> <td width="">{{item.EmName}}</td>
<td width=""> <td width="">
<i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i> <i v-if="item.Status==1" class="iconfont icon-daiqueren" style="color: #4BCA81"></i>
......
...@@ -193,6 +193,8 @@ ...@@ -193,6 +193,8 @@
<p>发团:{{item.startDate}}</p> <p>发团:{{item.startDate}}</p>
<p v-if='item.commissionMoney' style="color:red">提成:{{item.commissionMoney}}</p> <p v-if='item.commissionMoney' style="color:red">提成:{{item.commissionMoney}}</p>
<p v-else-if="item.latestCommissionMoney" style="color:red">提成:{{item.latestCommissionMoney}}</p> <p v-else-if="item.latestCommissionMoney" style="color:red">提成:{{item.latestCommissionMoney}}</p>
<div v-if="item.extraRewardMoney!=null&&item.extraRewardMoney>0">奖励金额:<span style="color:#e95252">{{item.extraRewardMoney}}</span></div>
<div v-if="item.extraDeductMoney!=null&&item.extraDeductMoney>0">扣除金额:<span style="color:#e95252">{{item.extraDeductMoney}}</span></div>
</td> </td>
<td> <td>
<p class="over_ellipsis" style="width: 150px;" :title="item.contactName">{{item.contactName}}</p> <p class="over_ellipsis" style="width: 150px;" :title="item.contactName">{{item.contactName}}</p>
......
...@@ -1739,6 +1739,8 @@ ...@@ -1739,6 +1739,8 @@
<div v-if="isUpdateOrder" @click='zhuanLoading = true,OPRemarkMsg.OrderId = item.orderId'>OP备注</div> <div v-if="isUpdateOrder" @click='zhuanLoading = true,OPRemarkMsg.OrderId = item.orderId'>OP备注</div>
<!-- v-if="item.isUpdateOrderCommission" --> <!-- v-if="item.isUpdateOrderCommission" -->
<div v-if="isUpdateOrderCommission" @click='TCMsg.OrderId = item.orderId, TCMsg.CommissionMinusRate = item.commissionMinusRate,TCMsg.LatestCommissionMoney=item.latestCommissionMoney, TiChengLoading = true'>修改提成</div> <div v-if="isUpdateOrderCommission" @click='TCMsg.OrderId = item.orderId, TCMsg.CommissionMinusRate = item.commissionMinusRate,TCMsg.LatestCommissionMoney=item.latestCommissionMoney, TiChengLoading = true'>修改提成</div>
<div v-if="isUpdateOrderCommission" @click='EwMsg.OrderId = item.orderId, EwMsg.ExtraRewardMoney = item.extraRewardMoney,EwMsg.ExtraDeductMoney=item.extraDeductMoney, OrderMoneyDialog = true'>设置额外金额</div>
<div v-if='item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0)' @click='goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId)'>申请发票</div> <div v-if='item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0)' @click='goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId)'>申请发票</div>
<div v-if="item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2')" @click='setChargeLoss(item)'> <div v-if="item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2')" @click='setChargeLoss(item)'>
<span v-if="item.isChargeLossOrders==1">恢复收损单</span> <span v-if="item.isChargeLossOrders==1">恢复收损单</span>
...@@ -2151,6 +2153,24 @@ ...@@ -2151,6 +2153,24 @@
<button class="hollowFixedBtn" @click="initTCMsg">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="initTCMsg">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog custom-class='w350' title="修改订单额外金额" :visible.sync="OrderMoneyDialog" center>
<el-form label-width="110px">
<el-form-item label="额外奖励金额:" class="w280">
<el-input placeholder="请输入" type="text" @keyup.native="checkPrice(EwMsg,'ExtraRewardMoney')" v-model="EwMsg.ExtraRewardMoney">
</el-input>
</el-form-item>
<el-form-item label="额外扣除金额:" class="w280">
<el-input placeholder="请输入" type="number" @keyup.native="checkPrice(EwMsg,'ExtraDeductMoney')" v-model="EwMsg.ExtraDeductMoney">
</el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="submitEWMsg">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" @click="OrderMoneyDialog=false">{{$t('pub.cancelBtn')}}</button>
</div>
</el-dialog>
</div> </div>
</template> </template>
...@@ -2176,6 +2196,12 @@ export default { ...@@ -2176,6 +2196,12 @@ export default {
OrderId: 0, OrderId: 0,
CommissionMinusRate: 0, CommissionMinusRate: 0,
LatestCommissionMoney: '', LatestCommissionMoney: '',
},
OrderMoneyDialog:false,
EwMsg:{
OrderId:0,
ExtraRewardMoney:'',
ExtraDeductMoney:''
}, },
checkedObj:{}, checkedObj:{},
positionId:0, positionId:0,
...@@ -2543,6 +2569,18 @@ export default { ...@@ -2543,6 +2569,18 @@ export default {
LatestCommissionMoney:'' LatestCommissionMoney:''
} }
}, },
//设置额外金额
submitEWMsg(){
this.apipost('sellorder_post_SetOrderExtraMoney', this.EwMsg, res=>{
if (res.data.resultCode == 1) {
this.Success(res.data.message)
this.getList()
this.OrderMoneyDialog = false
} else {
this.Error(res.data.message);
}
}, null)
},
TransferDocuments: function () { TransferDocuments: function () {
this.apipost('sellorder_get_SetOrderOPRemarks', this.OPRemarkMsg, res=>{ this.apipost('sellorder_get_SetOrderOPRemarks', this.OPRemarkMsg, res=>{
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -2934,13 +2972,10 @@ submitYSZEForm(){ ...@@ -2934,13 +2972,10 @@ submitYSZEForm(){
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.isAllowUpdate = res.data.data.IsUpdatePlatOrder; this.isAllowUpdate = res.data.data.IsUpdatePlatOrder;
let x = res.data.data.model; let x = res.data.data.model;
let modelPrice=res.data.data.modelPrice; let modelPrice=res.data.data.modelPrice;
this.addMsg = x; this.addMsg = x;
this.addObj = res.data.data.modelPrice; this.addObj = res.data.data.modelPrice;
this.addObj.OrderId=x.OrderId; this.addObj.OrderId=x.OrderId;
this.addObj.OpSetLossMoney=x.OpSetLossMoney; this.addObj.OpSetLossMoney=x.OpSetLossMoney;
......
...@@ -1616,6 +1616,7 @@ ...@@ -1616,6 +1616,7 @@
<div v-if="userId==1" @click="getSalerInfo(item)">修改业务员</div> <div v-if="userId==1" @click="getSalerInfo(item)">修改业务员</div>
<div @click='zhuanLoading = true,OPRemarkMsg.OrderId = item.OrderId'>OP备注</div> <div @click='zhuanLoading = true,OPRemarkMsg.OrderId = item.OrderId'>OP备注</div>
<div v-if="OrderDataList.IsUpdateOrderCommission" @click='TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate,TCMsg.LatestCommissionMoney=item.LatestCommissionMoney, TiChengLoading = true'>修改提成</div> <div v-if="OrderDataList.IsUpdateOrderCommission" @click='TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate,TCMsg.LatestCommissionMoney=item.LatestCommissionMoney, TiChengLoading = true'>修改提成</div>
<div v-if="OrderDataList.IsUpdateOrderCommission" @click='EwMsg.OrderId = item.OrderId, EwMsg.ExtraRewardMoney = item.ExtraRewardMoney,EwMsg.ExtraDeductMoney=item.ExtraDeductMoney, OrderMoneyDialog = true'>设置额外金额</div>
<div @click='deleteItem(item)'>删除</div> <div @click='deleteItem(item)'>删除</div>
</div> </div>
<el-button slot="reference" type="primary" style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;' <el-button slot="reference" type="primary" style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...@@ -1841,6 +1842,7 @@ ...@@ -1841,6 +1842,7 @@
<div @click="OrderLoading=true,OrderLossInfo(childItem)">订单收损</div> <div @click="OrderLoading=true,OrderLossInfo(childItem)">订单收损</div>
<div @click='zhuanLoading = true,OPRemarkMsg.OrderId = childItem.OrderId,OPRemarkMsg.OP_Remarks=childItem.OP_Remarks'>OP备注</div> <div @click='zhuanLoading = true,OPRemarkMsg.OrderId = childItem.OrderId,OPRemarkMsg.OP_Remarks=childItem.OP_Remarks'>OP备注</div>
<div v-if="OrderDataList.IsUpdateOrderCommission" @click='TCMsg.OrderId = childItem.OrderId, TCMsg.CommissionMinusRate = childItem.CommissionMinusRate,TCMsg.LatestCommissionMoney=childItem.LatestCommissionMoney, TiChengLoading = true'>修改提成</div> <div v-if="OrderDataList.IsUpdateOrderCommission" @click='TCMsg.OrderId = childItem.OrderId, TCMsg.CommissionMinusRate = childItem.CommissionMinusRate,TCMsg.LatestCommissionMoney=childItem.LatestCommissionMoney, TiChengLoading = true'>修改提成</div>
<div v-if="OrderDataList.IsUpdateOrderCommission" @click='EwMsg.OrderId = childItem.OrderId, EwMsg.ExtraRewardMoney = childItem.ExtraRewardMoney,EwMsg.ExtraDeductMoney=childItem.ExtraDeductMoney, OrderMoneyDialog = true'>设置额外金额</div>
<div v-if="childItem.OrderState=='1'||childItem.OrderState=='2'||childItem.OrderState=='3'" <div v-if="childItem.OrderState=='1'||childItem.OrderState=='2'||childItem.OrderState=='3'"
@click='deleteItem(childItem)'> @click='deleteItem(childItem)'>
删除 删除
...@@ -2114,6 +2116,8 @@ ...@@ -2114,6 +2116,8 @@
<div v-if="userId==1" @click="getSalerInfo(item)">修改业务员</div> <div v-if="userId==1" @click="getSalerInfo(item)">修改业务员</div>
<div @click='zhuanLoading = true,OPRemarkMsg.OrderId = item.OrderId,OPRemarkMsg.OP_Remarks=item.OP_Remarks'>OP备注</div> <div @click='zhuanLoading = true,OPRemarkMsg.OrderId = item.OrderId,OPRemarkMsg.OP_Remarks=item.OP_Remarks'>OP备注</div>
<div v-if="OrderDataList.IsUpdateOrderCommission" @click='TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate,TCMsg.LatestCommissionMoney=item.LatestCommissionMoney, TiChengLoading = true'>修改提成</div> <div v-if="OrderDataList.IsUpdateOrderCommission" @click='TCMsg.OrderId = item.OrderId, TCMsg.CommissionMinusRate = item.CommissionMinusRate,TCMsg.LatestCommissionMoney=item.LatestCommissionMoney, TiChengLoading = true'>修改提成</div>
<div v-if="OrderDataList.IsUpdateOrderCommission" @click='EwMsg.OrderId = item.OrderId, EwMsg.ExtraRewardMoney = item.ExtraRewardMoney,EwMsg.ExtraDeductMoney=item.ExtraDeductMoney, OrderMoneyDialog = true'>设置额外金额</div>
<div v-if="item.OrderState=='2'||item.OrderState=='3'" @click='deleteItem(item)'>删除</div> <div v-if="item.OrderState=='2'||item.OrderState=='3'" @click='deleteItem(item)'>删除</div>
</div> </div>
<el-button slot="reference" type="primary" style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;' <el-button slot="reference" type="primary" style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...@@ -2346,6 +2350,23 @@ ...@@ -2346,6 +2350,23 @@
</div> </div>
</el-dialog> </el-dialog>
<el-dialog custom-class='w350' title="修改订单额外金额" :visible.sync="OrderMoneyDialog" center>
<el-form label-width="110px">
<el-form-item label="额外奖励金额:" class="w280">
<el-input placeholder="请输入" type="text" @keyup.native="checkPrice(EwMsg,'ExtraRewardMoney')" v-model="EwMsg.ExtraRewardMoney">
</el-input>
</el-form-item>
<el-form-item label="额外扣除金额:" class="w280">
<el-input placeholder="请输入" type="number" @keyup.native="checkPrice(EwMsg,'ExtraDeductMoney')" v-model="EwMsg.ExtraDeductMoney">
</el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="submitEWMsg">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" @click="OrderMoneyDialog=false">{{$t('pub.cancelBtn')}}</button>
</div>
</el-dialog>
<el-dialog custom-class='passgenrDialog' title="航班列表" :visible.sync="outerVisible" center> <el-dialog custom-class='passgenrDialog' title="航班列表" :visible.sync="outerVisible" center>
<table border="0" cellspacing="0" cellpadding="0" class="singeRowTable"> <table border="0" cellspacing="0" cellpadding="0" class="singeRowTable">
...@@ -2461,6 +2482,12 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue"; ...@@ -2461,6 +2482,12 @@ import updateSalesMan from "../../commonPage/updateSalesMan.vue";
CommissionMinusRate: 0, CommissionMinusRate: 0,
LatestCommissionMoney:'' LatestCommissionMoney:''
}, },
OrderMoneyDialog:false,
EwMsg:{
OrderId:0,
ExtraRewardMoney:'',
ExtraDeductMoney:''
},
zhuanLoading: false, zhuanLoading: false,
notUpdate: true, notUpdate: true,
//是否显示操作按钮 //是否显示操作按钮
...@@ -3009,12 +3036,12 @@ submitYSZEForm(){ ...@@ -3009,12 +3036,12 @@ submitYSZEForm(){
submitTCMsg: function () { submitTCMsg: function () {
this.apipost('sellorder_post_SetOrderCommission', this.TCMsg, res=>{ this.apipost('sellorder_post_SetOrderCommission', this.TCMsg, res=>{
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.$message.success(res.data.message) this.Success(res.data.message)
this.getList() this.getList()
this.initTCMsg() this.initTCMsg()
this.TiChengLoading = false this.TiChengLoading = false
} else { } else {
this.$message.error(res.data.message); this.Error(res.data.message);
} }
}, null) }, null)
}, },
...@@ -3026,6 +3053,18 @@ submitYSZEForm(){ ...@@ -3026,6 +3053,18 @@ submitYSZEForm(){
LatestCommissionMoney:'' LatestCommissionMoney:''
} }
}, },
//设置额外金额
submitEWMsg(){
this.apipost('sellorder_post_SetOrderExtraMoney', this.EwMsg, res=>{
if (res.data.resultCode == 1) {
this.Success(res.data.message)
this.getList()
this.OrderMoneyDialog = false
} else {
this.Error(res.data.message);
}
}, null)
},
goUrlSFD: function (path, name, item) { goUrlSFD: function (path, name, item) {
let obj = JSON.parse(JSON.stringify(item)) let obj = JSON.parse(JSON.stringify(item))
obj.oP_Remarks = '' obj.oP_Remarks = ''
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
}, },
getWeekByDay(dayValue) { getWeekByDay(dayValue) {
var day = new Date(Date.parse(dayValue.replace(/-/g, '/'))); var day = new Date(Date.parse(dayValue.replace(/-/g, '/')));
var today = new Array(this.$t('adm.adm_Sunday'), this.$t('adm.adm_Monday'), this.$t('adm.adm_adm_Tuesday'), this.$t('adm.adm_Wednesday'), this.$t('adm.adm_Thursday'), this.$t('adm.adm_Friday'), this.$t('adm.adm_Saturday')); var today = new Array(this.$t('adm.adm_Sunday'), this.$t('adm.adm_Monday'), this.$t('adm.adm_Tuesday'), this.$t('adm.adm_Wednesday'), this.$t('adm.adm_Thursday'), this.$t('adm.adm_Friday'), this.$t('adm.adm_Saturday'));
return today[day.getDay()]; return today[day.getDay()];
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
<i class="iconfont icon-imessage_top" :class="[hasNewMsg>0&&!IM_bodyIsShow?'animation red':'',IM_bodyIsShow?'red':'']" @click="IM_bodyIsShow=!IM_bodyIsShow"></i> <i class="iconfont icon-imessage_top" :class="[hasNewMsg>0&&!IM_bodyIsShow?'animation red':'',IM_bodyIsShow?'red':'']" @click="IM_bodyIsShow=!IM_bodyIsShow"></i>
<!--<i class="iconfont icon-imessage_top" @click="togglebox($event)"></i>--> <!--<i class="iconfont icon-imessage_top" @click="togglebox($event)"></i>-->
</li> </li>
<li><i class="iconfont icon-help_top"></i></li> <li><i class="iconfont icon-banbengengxin" @click="goUrlLog()"></i></li>
<li> <li>
<el-dropdown trigger="click"> <el-dropdown trigger="click">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
...@@ -574,6 +574,18 @@ ...@@ -574,6 +574,18 @@
<div style="width: 100%; height: 50px;"></div> <div style="width: 100%; height: 50px;"></div>
</div> </div>
</div> </div>
<div class="logsBack" v-if="logsShow">
<div class="updateLogs">
<img src="../assets/img/logsImg.png" alt="" class="logsImg" />
<div class="logsTitle">
{{versionList[0].UpdateTitle}}版本更新
</div>
<div class="inlogs_Content" v-html="versionList[0].UpdateContent">
</div>
<input type="button" value="我知道了" class="normalBtn" style="margin:10px 0 0 155px;" @click="logsShow=false"/>
</div>
</div>
<div class="downmz" v-show="downmz"> <div class="downmz" v-show="downmz">
<div class="top_1"></div> <div class="top_1"></div>
<div style="text-align:center"> <div style="text-align:center">
...@@ -924,6 +936,9 @@ export default { ...@@ -924,6 +936,9 @@ export default {
displayNone: true, displayNone: true,
dialogTitle: "", dialogTitle: "",
outerVisible: false, outerVisible: false,
logsShow:false,
newVersion:'',
versionList:[],
msg: { msg: {
ParentId: 0, ParentId: 0,
MenuStatus: "", MenuStatus: "",
...@@ -1249,7 +1264,7 @@ export default { ...@@ -1249,7 +1264,7 @@ export default {
msglist() { msglist() {
let msgs = this.$store.state.currSessionMsgs; let msgs = this.$store.state.currSessionMsgs;
return msgs; return msgs;
} },
}, },
mounted() { mounted() {
let that = this; let that = this;
...@@ -1302,6 +1317,8 @@ export default { ...@@ -1302,6 +1317,8 @@ export default {
this.allPartMsg.RB_Group_Id = this.deleteMsg.groupId = this.likeMsg.groupId = this.addDynamicMsg.rB_GroupId = this.dynamicMsg.groupId = this.allPartMsg.RB_Group_Id = this.deleteMsg.groupId = this.likeMsg.groupId = this.addDynamicMsg.rB_GroupId = this.dynamicMsg.groupId =
UserInfo.RB_Group_id; UserInfo.RB_Group_id;
this.addDynamicMsg.rB_BranchId = UserInfo.RB_Branch_id; this.addDynamicMsg.rB_BranchId = UserInfo.RB_Branch_id;
//获取版本
this.getVersion();
this.getMenu(); this.getMenu();
this.setCheckMenu(); this.setCheckMenu();
...@@ -1382,6 +1399,34 @@ export default { ...@@ -1382,6 +1399,34 @@ export default {
} }
}, },
methods: { methods: {
//获取版本号
getVersion(){
let msg = {
pageIndex:1,
pageSize:5
}
this.apipost("sysrecord_get_GetPageList",msg,res => {
if (res.data.resultCode == 1) {
this.versionList = res.data.data.pageData;
if(this.versionList.length>0){
let oldVersion = localStorage.version;
this.newVersion = this.versionList[0].UpdateTitle;
if(this.newVersion!=oldVersion){
this.logsShow = true;
localStorage.version = this.newVersion;
}else{
this.logsShow = false;
}
}else{
this.logsShow = false;
}
} else {
//this.Error(res.data.message);
}
},err => {}
);
},
CloseZip(){ CloseZip(){
this.mazip=1; this.mazip=1;
localStorage.setItem("mazip",1); localStorage.setItem("mazip",1);
...@@ -3010,6 +3055,9 @@ export default { ...@@ -3010,6 +3055,9 @@ export default {
// this.$router.push({ path: url }); // this.$router.push({ path: url });
// } // }
}, },
goUrlLog(){
this.$router.push({ path: 'systemLogs', query:{} });
},
goUrlPayment() { goUrlPayment() {
let eid=this.getLocalStorage().EmployeeId; let eid=this.getLocalStorage().EmployeeId;
this.$router.push({ path: 'empBankAccount', query: { id: eid,type:10,blank:'y' } }); this.$router.push({ path: 'empBankAccount', query: { id: eid,type:10,blank:'y' } });
...@@ -4017,4 +4065,50 @@ export default { ...@@ -4017,4 +4065,50 @@ export default {
._more_dropdown._dropdown.el-dropdown-menu{ ._more_dropdown._dropdown.el-dropdown-menu{
top: 50px !important; top: 50px !important;
} }
.logsBack{
position: fixed;
z-index: 999;
background: rgba(0, 0, 0, 0.2);
width: 100%;
height: 100%;
left: 0;
top: 0;
}
.updateLogs{
position: absolute;
width:400px;
height:400px;
left:50%;
top:50%;
margin-left:-200px;
margin-top:-200px;
border-radius: 4px;
border:1px solid #DCDCDC;
z-index: 9999;
background-color: #fff;
}
.logsTitle{
width:100%;
padding:0 10px;
text-align: center;
color:#333333;
font-size:12px;
margin-top:10px;
font-weight: bold;
}
.inlogs_Content{
width:100%;
padding:0 15px;
height:260px;
overflow: auto;
margin-top:20px;
color:#666666;
font-size:12px;
}
.logsImg{
margin-top:-30px;
margin-left:155px;
}
</style> </style>
...@@ -328,7 +328,12 @@ ...@@ -328,7 +328,12 @@
cursor: default !important; cursor: default !important;
box-shadow: none !important; box-shadow: none !important;
} }
.lessPriceRule{
font-size:14px;
margin-left:40px;
text-decoration: underline;
cursor: pointer;
}
</style> </style>
<template> <template>
...@@ -429,6 +434,9 @@ ...@@ -429,6 +434,9 @@
<el-checkbox v-model="priceData.IsBookTeam" :true-label="CheckedVaule" v-if="PostConfig.LineId==14" <el-checkbox v-model="priceData.IsBookTeam" :true-label="CheckedVaule" v-if="PostConfig.LineId==14"
:false-label="UnCheckedVaule">订团 :false-label="UnCheckedVaule">订团
</el-checkbox> </el-checkbox>
<el-checkbox v-model="priceData.IsLessPrice" :true-label="CheckedVaule"
:false-label="UnCheckedVaule">可少价
</el-checkbox>
<input type="button" class="normalBtn" value="酒店使用情况" @click="outerVisible=true" v-if="PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0" /> <input type="button" class="normalBtn" value="酒店使用情况" @click="outerVisible=true" v-if="PostConfig.LineId==14 && priceData.PriceHotelList&&priceData.PriceHotelList.length>0" />
</div> </div>
<el-form-item prop="B2BMemberPrice"> <el-form-item prop="B2BMemberPrice">
...@@ -765,6 +773,9 @@ ...@@ -765,6 +773,9 @@
</el-form-item> </el-form-item>
</div> </div>
</div> </div>
<div class="TPright">
<span v-if="priceData.IsLessPrice==1" @click="getLessPriceInfo(),lessPriceVisible=true" class="lessPriceRule">少价规则</span>
</div>
</div> </div>
</el-form> </el-form>
</div> </div>
...@@ -782,9 +793,9 @@ ...@@ -782,9 +793,9 @@
<td> <td>
<div class="tp_divList" v-for="(subItem,index) in item.SubList"> <div class="tp_divList" v-for="(subItem,index) in item.SubList">
<div> <div>
{{index+1}}.{{subItem.HotelName}}&nbsp;&nbsp;<span {{index+1}}.{{subItem.HotelName}}&nbsp;&nbsp;<span v-if="subItem.UseCount>0 && item.SubList.length==1"><span style="color:green">本团使用库存:{{subItem.UseCount}}</span></span><span
style="color:#E95252;">库存:{{subItem.RemainingInventory}}</span>&nbsp;&nbsp; style="color:#E95252;">剩余库存:{{subItem.RemainingInventory}}</span>&nbsp;&nbsp;
<el-checkbox v-model="item.CheckList[index].CheckStatus" <el-checkbox v-if="item.SubList.length>1" v-model="item.CheckList[index].CheckStatus"
@change="changeHotelStatus(item,index),changeHotelList()"></el-checkbox> @change="changeHotelStatus(item,index),changeHotelList()"></el-checkbox>
</div> </div>
</div> </div>
...@@ -807,6 +818,35 @@ ...@@ -807,6 +818,35 @@
<button class="hollowFixedBtn" :class="{'disClick':!isSaved}" @click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" :class="{'disClick':!isSaved}" @click="cancelHotelUseDetail()">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog custom-class='Tp_hotelDialog' title="少价规则" :visible.sync="lessPriceVisible" center>
<table class="TphotelTable" border="0" cellspacing='1' v-if="lessPriceData.length>0">
<tr>
<th>所有人</th>
<th>部门主管</th>
<th>分公司总经理</th>
</tr>
<tr v-for="item in lessPriceData">
<td>
<span v-if="item.LessMoney!=null" style="margin-right:30px;">{{item.LessMoney}}元</span><span v-if="item.LessPercent!=null">{{item.LessPercent}}%</span>
</td>
<td>
<span v-if="item.DeptLessMoney!=null" style="margin-right:30px;">{{item.DeptLessMoney}}元</span><span v-if="item.DeptLessPercent!=null">{{item.DeptLessPercent}}%</span>
</td>
<td>
<span v-if="item.FilialeLessMoney!=null" style="margin-right:30px;">{{item.FilialeLessMoney}}元</span><span v-if="item.FilialeLessPercent!=null">{{item.FilialeLessPercent}}%</span>
</td>
</tr>
</table>
<div class="noData" v-else>
{{$t('system.content_noData')}}
</div>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="lessPriceVisible=false">{{$t('pub.cancelBtn')}}</button>
</div>
</el-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -896,7 +936,10 @@ ...@@ -896,7 +936,10 @@
let startTime = new Date(this.QFlightDateStart); let startTime = new Date(this.QFlightDateStart);
return startTime.getTime() >= time.getTime(); return startTime.getTime() >= time.getTime();
} }
} },
//少价规则
lessPriceVisible:false,
lessPriceData:[],
}; };
}, },
methods: { methods: {
...@@ -999,6 +1042,8 @@ ...@@ -999,6 +1042,8 @@
CanSellTicketNum: 2, CanSellTicketNum: 2,
//是否订团,0-不订,1需要订 //是否订团,0-不订,1需要订
IsBookTeam: 0, IsBookTeam: 0,
//少价,0-不少价,1少价
IsLessPrice: 0,
//是否重新生成行程数据 //是否重新生成行程数据
IsNew: false, IsNew: false,
//选中的酒店数组 //选中的酒店数组
...@@ -1516,6 +1561,24 @@ ...@@ -1516,6 +1561,24 @@
err => {} err => {}
); );
} }
},
//获取少价信息
getLessPriceInfo(){
let msg = {
RB_Branch_id:this.priceData.OutBranchId,
LineID:this.PostConfig.LineId,
LineTeamId:this.PostConfig.LineteamId
}
this.apipost("sell_get_GetNewTCIDLessprice", msg,res => {
console.log(res,'res');
if (res.data.resultCode == 1) {
this.lessPriceData = res.data.data;
}else{
this.Error(res.data.message);
}
},
err => {}
);
} }
}, },
mounted() { mounted() {
...@@ -1557,6 +1620,7 @@ ...@@ -1557,6 +1620,7 @@
this.DateArr.push(x.StartDate); this.DateArr.push(x.StartDate);
}); });
this.initCalendar(); this.initCalendar();
console.log(this.priceData,'pricedate');
}, },
deep: true deep: true
}, },
......
...@@ -117,10 +117,10 @@ export default { ...@@ -117,10 +117,10 @@ export default {
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
let domainUrl = ''; let domainUrl = '';
let locationName = window.location.hostname; let locationName = window.location.hostname;
domainUrl = "http://192.168.2.65:8025"; //214主域名 // domainUrl = "http://192.168.2.65:8025"; //214主域名
// domainUrl = "http://192.168.2.214:8082"; //214主域名 // domainUrl = "http://192.168.2.214:8082"; //214主域名
// domainUrl = "http://192.168.0.119:8082"; // domainUrl = "http://192.168.0.119:8082";
// domainUrl = "http://192.168.2.106:8082"; domainUrl = "http://192.168.2.106:8082";
if (locationName.indexOf('oytour') !== -1) { if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com"; domainUrl = "http://reborn.oytour.com";
} else if (locationName.indexOf('viitto') !== -1) { } else if (locationName.indexOf('viitto') !== -1) {
......
...@@ -2389,6 +2389,14 @@ export default { ...@@ -2389,6 +2389,14 @@ export default {
title: '应收应付查询' title: '应收应付查询'
}, },
}, },
{ //财务 财务单据 原路退款查询
path: '/refundQuery',
name: 'refundQuery',
component: resolve => require(['@/components/FinancialModule/refundQuery'], resolve),
meta: {
title: '原路退款查询'
},
},
{ //财务 财务单据 出纳工作台 { //财务 财务单据 出纳工作台
path: '/CashierWork', path: '/CashierWork',
name: 'CashierWork', name: 'CashierWork',
......
This diff is collapsed.
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