Commit 25f7a13b authored by 华国豪's avatar 华国豪 🙄

前端修改: 领队用款制单唯一入口,领队用款新增挂账信息,修改其他bug

parent c31aacf8
...@@ -64,6 +64,7 @@ const webpackConfig = merge(baseWebpackConfig, { ...@@ -64,6 +64,7 @@ const webpackConfig = merge(baseWebpackConfig, {
filename: config.build.index, filename: config.build.index,
template: 'index.html', template: 'index.html',
inject: true, inject: true,
hash: new Date().getTime(),
minify: { minify: {
removeComments: true, removeComments: true,
collapseWhitespace: true, collapseWhitespace: true,
......
...@@ -3,12 +3,11 @@ ...@@ -3,12 +3,11 @@
// see http://vuejs-templates.github.io/webpack for documentation. // see http://vuejs-templates.github.io/webpack for documentation.
const path = require('path') const path = require('path')
const version = '1.0.0.0'
module.exports = { module.exports = {
dev: { dev: {
// Paths // Paths
assetsSubDirectory: 'static', assetsSubDirectory: `static/${version}`,
assetsPublicPath: '/', assetsPublicPath: '/',
proxyTable: { proxyTable: {
// '/boundsearch': { // 矩形区域检索entity // '/boundsearch': { // 矩形区域检索entity
......
...@@ -53,6 +53,9 @@ ...@@ -53,6 +53,9 @@
._border_color_r{ ._border_color_r{
border-color: #c94052; border-color: #c94052;
} }
.font_color_b{
color: #106BAF !important;
}
._border_color_b{ ._border_color_b{
border-color: #106BAF; border-color: #106BAF;
} }
...@@ -255,7 +258,8 @@ ...@@ -255,7 +258,8 @@
</table> </table>
<div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length"> <div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length">
<template v-for="(item,index) in GetDetail.AuditSteps"> <template v-for="(item,index) in GetDetail.AuditSteps">
<p>{{item.AuditDescription}} <p>
<span class="font_color_b">{{item.AuditDescription}}</span>
<template v-if="item.AuditRecordList&&item.AuditRecordList.length!=0"> <template v-if="item.AuditRecordList&&item.AuditRecordList.length!=0">
<span class="_r_name" v-for="(s,si) in item.AuditRecordList" v-if="((item.Sort==0) || (item.Sort!=0&&s.AuditStatus==2))&&item.AuditRecordList.length" :class="item.Sort==0&&!isPrintPage?'_jump_page':''" @click="item.Sort==0&&!isPrintPage?jumpPage('enrollTotal',GetDetail.TCID,2):''">{{s.AuditName}} </span> <span class="_r_name" v-for="(s,si) in item.AuditRecordList" v-if="((item.Sort==0) || (item.Sort!=0&&s.AuditStatus==2))&&item.AuditRecordList.length" :class="item.Sort==0&&!isPrintPage?'_jump_page':''" @click="item.Sort==0&&!isPrintPage?jumpPage('enrollTotal',GetDetail.TCID,2):''">{{s.AuditName}} </span>
</template> </template>
......
...@@ -75,6 +75,13 @@ ...@@ -75,6 +75,13 @@
._p_time{ ._p_time{
top: 40px; top: 40px;
} }
.font_color_b{
color: #106BAF !important;
}
.font_color_r{
color: #c94052 !important;
}
</style> </style>
<template v-if="GetDetail.DetailList.length>0"> <template v-if="GetDetail.DetailList.length>0">
<div class="Receipt_box" :class="[GetDetail.Type==1 || GetDetail.Type==5?'':'color_blur',isPrintPage?'_PrintPageStyle':'']" :style="{width:width,backgroundColor:color}" @click.stop v-loading='loading'> <div class="Receipt_box" :class="[GetDetail.Type==1 || GetDetail.Type==5?'':'color_blur',isPrintPage?'_PrintPageStyle':'']" :style="{width:width,backgroundColor:color}" @click.stop v-loading='loading'>
...@@ -269,7 +276,8 @@ ...@@ -269,7 +276,8 @@
</table> </table>
<div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length"> <div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length">
<template v-for="(item,index) in GetDetail.AuditSteps"> <template v-for="(item,index) in GetDetail.AuditSteps">
<p>{{item.AuditDescription}} <p>
<span :class="[GetDetail.Type==1 || GetDetail.Type==5?'font_color_r':'font_color_b']">{{item.AuditDescription}}</span>
<template v-if="item.AuditRecordList&&item.AuditRecordList.length!=0"> <template v-if="item.AuditRecordList&&item.AuditRecordList.length!=0">
<span class="_r_name" v-for="(s,si) in item.AuditRecordList" v-if="((item.Sort==0) || (item.Sort!=0&&s.AuditStatus==2))&&item.AuditRecordList.length" :class="item.Sort==0&&!isPrintPage?'_jump_page':''" @click="item.Sort==0&&!isPrintPage?jumpPage('enrollTotal',GetDetail.TCID,2):''">{{s.AuditName}} </span> <span class="_r_name" v-for="(s,si) in item.AuditRecordList" v-if="((item.Sort==0) || (item.Sort!=0&&s.AuditStatus==2))&&item.AuditRecordList.length" :class="item.Sort==0&&!isPrintPage?'_jump_page':''" @click="item.Sort==0&&!isPrintPage?jumpPage('enrollTotal',GetDetail.TCID,2):''">{{s.AuditName}} </span>
</template> </template>
......
...@@ -66,6 +66,9 @@ ...@@ -66,6 +66,9 @@
background-color: white; background-color: white;
font-size: 12px; font-size: 12px;
} }
.font_color_r{
color: #c94052 !important;
}
</style> </style>
<template v-if="GetDetail.DetailList.length>0" > <template v-if="GetDetail.DetailList.length>0" >
<div class="Receipt_box" :class="[GetDetail.Type==1|| GetDetail.Type==5?'':'color_blur',isPrintPage?'_PrintPageStyle':'']" :style="{width:width,backgroundColor:color}" @click.stop v-loading='loading'> <div class="Receipt_box" :class="[GetDetail.Type==1|| GetDetail.Type==5?'':'color_blur',isPrintPage?'_PrintPageStyle':'']" :style="{width:width,backgroundColor:color}" @click.stop v-loading='loading'>
...@@ -233,7 +236,8 @@ ...@@ -233,7 +236,8 @@
</table> </table>
<div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length"> <div class="rb_top_row _r_mt10" v-if="GetDetail.AuditSteps&&GetDetail.AuditSteps.length">
<template v-for="(item,index) in GetDetail.AuditSteps"> <template v-for="(item,index) in GetDetail.AuditSteps">
<p>{{item.AuditDescription}} <p>
<span class="font_color_r">{{item.AuditDescription}}</span>
<template v-if="item.AuditRecordList&&item.AuditRecordList.length!=0"> <template v-if="item.AuditRecordList&&item.AuditRecordList.length!=0">
<span class="_r_name _no_border" v-for="(s,si) in item.AuditRecordList" v-if="((item.Sort==0) || (item.Sort!=0&&s.AuditStatus==2))&&item.AuditRecordList.length" :class="item.Sort==0&&!isPrintPage?'_jump_page':''" @click="item.Sort==0&&!isPrintPage?jumpPage('enrollTotal',GetDetail.TCID,2):''">{{s.AuditName}} </span> <span class="_r_name _no_border" v-for="(s,si) in item.AuditRecordList" v-if="((item.Sort==0) || (item.Sort!=0&&s.AuditStatus==2))&&item.AuditRecordList.length" :class="item.Sort==0&&!isPrintPage?'_jump_page':''" @click="item.Sort==0&&!isPrintPage?jumpPage('enrollTotal',GetDetail.TCID,2):''">{{s.AuditName}} </span>
</template> </template>
......
...@@ -277,7 +277,7 @@ ...@@ -277,7 +277,7 @@
<td>{{item.UseTimeStr}}</td> <td>{{item.UseTimeStr}}</td>
<td> <td>
<p style="height: 60px!important; display: flex;align-items: center; padding:0 20px;" v-for="subItem in item.DiningSummaryList"> <p style="height: 60px!important; display: flex;align-items: center; padding:0 20px;" v-for="subItem in item.DiningSummaryList">
{{subItem.DiningName}} {{subItem.RealName? subItem.RealName : subItem.DiningName}}
</p> </p>
</td> </td>
<td> <td>
...@@ -459,7 +459,7 @@ ...@@ -459,7 +459,7 @@
<el-input v-if="item.LeaderGetPrice < (TotalNav.reimburseTotalPrice.PlanPrice * 0.95)" class="w300" type="number" v-model="item.LeaderGetPriceT"></el-input> <el-input v-if="item.LeaderGetPrice < (TotalNav.reimburseTotalPrice.PlanPrice * 0.95)" class="w300" type="number" v-model="item.LeaderGetPriceT"></el-input>
</td> </td>
<td> <td>
<p v-for="(subItem, subIndex) in item.FinanceIds"><span class="cursorpointer text-decoration" @click="goFncUrl('FinancialDocumentsDetail', subItem)">{{subItem}}</span>&nbsp;&nbsp;<span class="cursorpointer text-decoration" @click="goFncUrl('Application', subItem)">申请书</span> &nbsp;&nbsp;<span class="cursorpointer text-decoration" @click="goFncUrl('DebitNote', subItem)">借支单</span></p> <p v-for="(subItem, subIndex) in item.FinanceIds"><span class="cursorpointer text-decoration" @click="goFncUrl('FinancialDocumentsDetail', subItem.FinanceId)">{{subItem.FinanceId}}</span>&nbsp;&nbsp;<span class="cursorpointer text-decoration" @click="goFncUrl('Application', subItem.FinanceId)" v-if="subItem.IsPublic === 4">申请书</span> &nbsp;&nbsp;<span class="cursorpointer text-decoration" @click="goFncUrl('DebitNote', subItem.FinanceId)">借支单</span></p>
</td> </td>
<td width="80" class="_zhidan"> <td width="80" class="_zhidan">
<input type="button" v-if="isUpdate=='true' && item.LeaderGetPrice < (TotalNav.reimburseTotalPrice.PlanPrice * 0.95)" value="制单" class="normalBtn" @click="goZhiDan(item)" /> <input type="button" v-if="isUpdate=='true' && item.LeaderGetPrice < (TotalNav.reimburseTotalPrice.PlanPrice * 0.95)" value="制单" class="normalBtn" @click="goZhiDan(item)" />
...@@ -687,6 +687,7 @@ ...@@ -687,6 +687,7 @@
return '晚餐' return '晚餐'
}, },
getNav(){ getNav(){
let _this = this
this.apipost('dmcstatistics_post_GetHotelStaticsByTCIDs',{TCIDs:this.$route.query.id},res=>{ this.apipost('dmcstatistics_post_GetHotelStaticsByTCIDs',{TCIDs:this.$route.query.id},res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
let nav = res.data.data let nav = res.data.data
...@@ -697,7 +698,7 @@ ...@@ -697,7 +698,7 @@
}) })
nav.forEach((x, i)=>{ nav.forEach((x, i)=>{
if (i === 0) { if (i === 0) {
x.LeaderGetPriceT = (this.TotalNav.reimburseTotalPrice.PlanPrice * 0.95) - num; x.LeaderGetPriceT = Math.floor(((_this.TotalNav.reimburseTotalPrice.PlanPrice * 0.95) - num) *100) / 100;
} else { } else {
x.LeaderGetPriceT = 0 x.LeaderGetPriceT = 0
} }
......
...@@ -784,6 +784,20 @@ ...@@ -784,6 +784,20 @@
<p v-if="item.VisaFileList.length!==0" v-for="(item2, index2) in item.VisaFileList" :key="index2"> <p v-if="item.VisaFileList.length!==0" v-for="(item2, index2) in item.VisaFileList" :key="index2">
<span style="cursor:pointer;text-decoration: underline;" @click="downloadFile(item2)">{{item2.Name}}</span> <span style="cursor:pointer;text-decoration: underline;" @click="downloadFile(item2)">{{item2.Name}}</span>
</p> </p>
<p>
<span>出票状态:</span>
<span class="fz16 fbold">
<el-tooltip class="item" effect="dark" content="全部出票" placement="top">
<span style="color: #4BCA81;" v-if="item.MakeInvoice==1"></span>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="未处理" placement="top">
<span style="color: #E95252" v-if="item.MakeInvoice=='-1'">x</span>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="已出中段/部分出票" placement="top">
<span style="color: #E95252" v-if="item.MakeInvoice=='0'">O</span>
</el-tooltip>
</span>
</p>
</div> </div>
<div class="d7"> <div class="d7">
<el-button-group style="display:block;"> <el-button-group style="display:block;">
......
...@@ -700,6 +700,20 @@ ...@@ -700,6 +700,20 @@
<span style="margin-left:10px;">{{$t('visa.v_tvisa')}}</span> <span style="margin-left:10px;">{{$t('visa.v_tvisa')}}</span>
{{item.GroupVisaNum}} {{item.GroupVisaNum}}
</p> </p>
<p>
<span>出票状态:</span>
<span class="fz16 fbold">
<el-tooltip class="item" effect="dark" content="全部出票" placement="top">
<span style="color: #4BCA81;" v-if="item.MakeInvoice==1"></span>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="未处理" placement="top">
<span style="color: #E95252" v-if="item.MakeInvoice=='-1'">x</span>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="已出中段/部分出票" placement="top">
<span style="color: #E95252" v-if="item.MakeInvoice=='0'">O</span>
</el-tooltip>
</span>
</p>
</div> </div>
</div> </div>
<div class="el-col"> <div class="el-col">
......
<style>
.height_auto.el-select .el-input{
height: auto
}
</style>
<template> <template>
<div class="flexOne"> <div class="flexOne">
<div class="query-box"> <div class="query-box">
...@@ -69,7 +75,7 @@ ...@@ -69,7 +75,7 @@
:visible.sync="outerVisible" :visible.sync="outerVisible"
center center
:before-close="closeChangeMachie"> :before-close="closeChangeMachie">
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="100px"> <el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="130px">
<table class="layerTable layerNoIcon"> <table class="layerTable layerNoIcon">
<tr> <tr>
<td> <td>
...@@ -99,15 +105,21 @@ ...@@ -99,15 +105,21 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<el-form-item label="升降级标准" prop="standard"> <el-form-item label="会员特权" prop="remark">
<el-input v-model="addMsg.standard" type="textarea"/> <el-select filterable multiple v-model='addMsg.jurisdictionListS' class="w217 height_auto">
<el-option v-for='item in jurisdictionsList'
:label='item.name'
:value='item.id'
:key='item.id'>
</el-option>
</el-select>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<el-form-item label="星级有效期延长的条件" prop="condition"> <el-form-item label="备注" prop="remark">
<el-input v-model="addMsg.condition" type="textarea"/> <el-input v-model="addMsg.remark" type="textarea"/>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
...@@ -132,34 +144,47 @@ export default { ...@@ -132,34 +144,47 @@ export default {
addMsg:{ addMsg:{
id:0, id:0,
name: '', name: '',
state: '', state: 1,
tradeMoneyReq: '', tradeMoneyReq: '',
tradePeopleReq: '', tradePeopleReq: '',
remark: '', remark: '',
jurisdictionList: [] jurisdictionList: [],
jurisdictionListS: [],
}, },
rules:{ rules:{
memberLevel: [{ required: true, message: '请输入会员等级', trigger: "blur" }], memberLevel: [{ required: true, message: '请输入会员等级', trigger: "blur" }],
name: [{ required: true, message: '请输入等级名称', trigger: "blur" }], name: [{ required: true, message: '请输入等级名称', trigger: "blur" }],
tradeMoneyReq: [{required: true, message: '交易金额要求', trigger: "blur"}], tradeMoneyReq: [{required: true, message: '交易金额要求', trigger: "blur"}],
tradePeopleReq: [{ required: true, message: '交易人头数要求', trigger: "change" }], tradePeopleReq: [{ required: true, message: '交易人头数要求', trigger: "blur" }],
standard: [{ required: true, message: '请输入升降级标准', trigger: "blur" }], remark: [{ required: true, message: '请输入备注', trigger: "blur" }],
condition: [{ required: true, message: '请输入星级有效期延长的条件', trigger: "blur" }], jurisdictionListS: [{ required: true, message: '请选择特权', trigger: "change" }],
}, },
loading:false, loading:false,
outerVisible:false, outerVisible:false,
dialogTitle:'', dialogTitle:'',
dataList:[], dataList:[],
awardRelationList:[], awardRelationList:[],
jurisdictionsList: [],
}; };
}, },
mounted() { mounted() {
this.getList(); this.getList();
this.getjurisdictions()
}, },
filters: { filters: {
}, },
methods: { methods: {
getjurisdictions: function () {
this.apiJavaPost("/api/member/getjurisdictions", this.msg, res => {
this.loading = false;
if (res.data.resultCode === 1) {
this.jurisdictionsList = res.data.data;
} else {
this.Error(res.data.message)
}
}, null);
},
//获取数据 //获取数据
getList() { getList() {
this.loading = true; this.loading = true;
...@@ -186,11 +211,14 @@ export default { ...@@ -186,11 +211,14 @@ export default {
}, },
//提交添加 //提交添加
addAward(){ addAward(){
this.addMsg.lotteryId = this.$route.query.lotteryId; this.addMsg.jurisdictionList = [];
if(this.addMsg.awardType==1||this.addMsg.awardType==2){ if (this.addMsg.jurisdictionListS.length < 1) return this.Error('请选择会员特权!')
this.addMsg.awardRelationId = 0; this.addMsg.jurisdictionListS.forEach(x=>{
} this.addMsg.jurisdictionList.push({
this.apiJavaPost("/api/sell/lottery/setLotteryAward", this.addMsg, res => { id: x
})
})
this.apiJavaPost("/api/member/save", this.addMsg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(res.data.message); this.Success(res.data.message);
this.outerVisible = false; this.outerVisible = false;
...@@ -202,44 +230,32 @@ export default { ...@@ -202,44 +230,32 @@ export default {
}, },
//修改信息 //修改信息
updateData(item){ updateData(item){
this.addMsg.id=item.id; this.outerVisible = true;
this.addMsg.lotteryId = item.lotteryId; this.apiJavaPost("/api/member/get", {id: item.id}, res => {
this.addMsg.awardName = item.awardName;
this.addMsg.awardType = item.awardType;
this.addMsg.awardRelationId = item.awardRelationId;
this.addMsg.awardCount = item.awardCount;
this.addMsg.awardStatus = item.awardStatus;
this.addMsg.rank = item.rank;
this.getAwardRelationId(3);
},
//根据奖项类型请求关联Id
getAwardRelationId(id){
let branchId = this.$route.query.branchId;
if(id==3){
let msg = {
couponId:this.addMsg.awardRelationId,
branchId:branchId
}
this.apiJavaPost("/api/sell/lottery/getCouponsList", msg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.awardRelationList = res.data.data; let msg = res.data.data;
let jurisdictionListS = [];
msg.jurisdictionList.forEach(x=>{
jurisdictionListS.push(x.id)
})
msg.jurisdictionListS = jurisdictionListS
this.addMsg = msg;
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
}, null); }, null);
}
}, },
//重置信息 //重置信息
resetInfo(){ resetInfo(){
var newMsg = { var newMsg = {
id:0, id:0,
lotteryId:0, name: '',
awardName:'', state: 1,
awardType:1, tradeMoneyReq: '',
awardRelationId:0, tradePeopleReq: '',
awardCount:'', remark: '',
awardStatus:1, jurisdictionList: [],
rank:'', jurisdictionListS: [],
} }
this.addMsg = newMsg; this.addMsg = newMsg;
}, },
......
This diff is collapsed.
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<div class="item" :class="{active:openMode==0}" @click="chosen(0)"> <div class="item" :class="{active:openMode==0}" @click="chosen(0)">
<img src='../../assets/img/chosen_two.png' /> <img src='../../assets/img/chosen_two.png' />
<p> <p>
单页面多标签模式(此模式适合电脑性能较低的用户) 多页面单标签模式(此模式适合电脑性能较低的用户)
</p> </p>
</div> </div>
</div> </div>
......
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