Commit 26324e90 authored by 吴春's avatar 吴春
parents d7e6c64a 9090910c
...@@ -1344,10 +1344,14 @@ export default { ...@@ -1344,10 +1344,14 @@ export default {
},null) },null)
}, },
jumpPlanPage(path, id){ jumpPlanPage(path, id){
this.$router.push({ this.apipost('dmcstatistics_post_GetTCIDsByOneTCID', {TCID: id}, res=>{
name: path, if(res.data.resultCode==1){
query: { id: id, isUpdate: false, blank: 'y'} this.$router.push({
}) name: path,
query: { id: res.data.data.TCIDs, isUpdate: false, blank: 'y'}
})
}
}, null)
}, },
jumpPage(path,id,type){ jumpPage(path,id,type){
if(type==1){ if(type==1){
......
...@@ -143,6 +143,18 @@ ...@@ -143,6 +143,18 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item label="提前还房天数">
<el-input-number v-model="msg2.BeforeDay" :precision="2" :min="0"
@keyup.native="checkInteger(msg2,'BeforeDay')" maxlength="10"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="免间数">
<el-input-number v-model="msg2.FreeRoomNum" :precision="2" :min="0"
@keyup.native="checkPrice(msg2,'FreeRoomNum')" maxlength="10"></el-input-number>
</el-form-item>
</el-col
<el-col :span="6"> <el-col :span="6">
<el-form-item label="标准间成本价"> <el-form-item label="标准间成本价">
<el-input-number v-model="msg2.CostPrice" :precision="2" :min="0" <el-input-number v-model="msg2.CostPrice" :precision="2" :min="0"
...@@ -355,17 +367,29 @@ ...@@ -355,17 +367,29 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item label="提前还房天数">
<el-input-number v-model="msg.BeforeDay" :precision="2" :min="0"
@keyup.native="checkInteger(msg,'BeforeDay')" maxlength="10"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="免间数">
<el-input-number v-model="msg.FreeRoomNum" :precision="2" :min="0"
@keyup.native="checkPrice(msg,'FreeRoomNum')" maxlength="10"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="标准间成本价"> <el-form-item label="标准间成本价">
<el-input-number v-model="msg.CostPrice" :precision="2" :min="0" <el-input-number v-model="msg.CostPrice" :precision="2" :min="0"
@keyup.native="checkPrice(msg2,'CostPrice')" maxlength="10"></el-input-number> @keyup.native="checkPrice(msg,'CostPrice')" maxlength="10"></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="散客价"> <el-form-item label="散客价">
<el-input-number v-model="msg.SanKePrice" :precision="2" :min="0" <el-input-number v-model="msg.SanKePrice" :precision="2" :min="0"
@keyup.native="checkPrice(msg2,'SanKePrice')" maxlength="10"></el-input-number> @keyup.native="checkPrice(msg,'SanKePrice')" maxlength="10"></el-input-number>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
...@@ -577,7 +601,9 @@ ...@@ -577,7 +601,9 @@
DateList: [], DateList: [],
SanKePrice: 0, //散客价 SanKePrice: 0, //散客价
BatchNumber: 1, //批次号 BatchNumber: 1, //批次号
TaxesPrice: 0 //税金 TaxesPrice: 0, //税金
BeforeDay:0,//提前还房天数
FreeRoomNum:0,//免间数
}, },
msg2: { msg2: {
Hotel: '0', Hotel: '0',
...@@ -607,7 +633,9 @@ ...@@ -607,7 +633,9 @@
DateList: [], DateList: [],
SanKePrice: 0, //散客价 SanKePrice: 0, //散客价
BatchNumber: 1, //批次号 BatchNumber: 1, //批次号
TaxesPrice: 0 //税金 TaxesPrice: 0, //税金
BeforeDay:0,//提前还房天数
FreeRoomNum:0,//免间数
}, },
rules: { rules: {
InventoryType: { InventoryType: {
...@@ -931,6 +959,8 @@ ...@@ -931,6 +959,8 @@
this.msg.SanKePrice = data.SanKePrice; this.msg.SanKePrice = data.SanKePrice;
this.msg.BatchNumber = data.BatchNumber; this.msg.BatchNumber = data.BatchNumber;
this.msg.TaxesPrice = data.TaxesPrice; this.msg.TaxesPrice = data.TaxesPrice;
this.msg.BeforeDay=data.BeforeDay;
this.msg.FreeRoomNum=data.FreeRoomNum;
} }
}) })
}, },
...@@ -1009,6 +1039,8 @@ ...@@ -1009,6 +1039,8 @@
this.msg.SanKePrice = 0; this.msg.SanKePrice = 0;
this.msg.BatchNumber = 1; this.msg.BatchNumber = 1;
this.msg.TaxesPrice=0; this.msg.TaxesPrice=0;
this.msg.BeforeDay=0;
this.msg.FreeRoomNum=0;
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
...@@ -1025,6 +1057,8 @@ ...@@ -1025,6 +1057,8 @@
this.msg2.SanKePrice = 0; this.msg2.SanKePrice = 0;
this.msg2.BatchNumber = 1; this.msg2.BatchNumber = 1;
this.msg2.TaxesPrice = 0; this.msg2.TaxesPrice = 0;
this.msg2.BeforeDay=0;
this.msg2.FreeRoomNum=0;
}, },
//批量删除 //批量删除
delete2Reset: function () { delete2Reset: function () {
...@@ -1039,6 +1073,8 @@ ...@@ -1039,6 +1073,8 @@
that.msg2.SanKePrice = 0; that.msg2.SanKePrice = 0;
that.msg2.BatchNumber = 1; that.msg2.BatchNumber = 1;
that.msg2.TaxesPrice = 0; that.msg2.TaxesPrice = 0;
that.msg2.BeforeDay=0;
that.msg2.FreeRoomNum=0;
} else { } else {
that.Error(res.data.message) that.Error(res.data.message)
} }
...@@ -1047,7 +1083,6 @@ ...@@ -1047,7 +1083,6 @@
}, },
// 页面编辑保存 // 页面编辑保存
edit2Save: function () { edit2Save: function () {
console.log("msg2",this.msg2);
this.$refs['hotelProductForm2'].validate((valid) => { this.$refs['hotelProductForm2'].validate((valid) => {
if (valid) { if (valid) {
this.apipost('dict_post_HotelOffer_SetNewHotelPrice', this.msg2, res => { this.apipost('dict_post_HotelOffer_SetNewHotelPrice', this.msg2, res => {
...@@ -1059,6 +1094,8 @@ ...@@ -1059,6 +1094,8 @@
this.msg2.SanKePrice = 0; this.msg2.SanKePrice = 0;
this.msg2.BatchNumber = 1; this.msg2.BatchNumber = 1;
this.msg2.TaxesPrice = 0; this.msg2.TaxesPrice = 0;
this.msg2.BeforeDay=0;
this.msg2.FreeRoomNum=0;
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
...@@ -1105,7 +1142,6 @@ ...@@ -1105,7 +1142,6 @@
this.initSupplier(); this.initSupplier();
} }
} }
</script> </script>
<style> <style>
......
...@@ -446,7 +446,7 @@ ...@@ -446,7 +446,7 @@
<table class="leaderReimbursementTable" border="0" cellspacing="1" cellpadding="0"> <table class="leaderReimbursementTable" border="0" cellspacing="1" cellpadding="0">
<tr> <tr>
<th>预付合计</th> <th>预付合计</th>
<th>团号</th> <th width="140">团号</th>
<th>实际领款</th> <th>实际领款</th>
<th>财务单号</th> <th>财务单号</th>
<th>操作</th> <th>操作</th>
...@@ -454,12 +454,12 @@ ...@@ -454,12 +454,12 @@
<tr v-for='(item, index) in nav' > <tr v-for='(item, index) in nav' >
<td rowspan="2" width="180" v-if="index===0">总金额: {{moneyFormat(TotalNav.reimburseTotalPrice.PlanPrice)}}</td> <td rowspan="2" width="180" v-if="index===0">总金额: {{moneyFormat(TotalNav.reimburseTotalPrice.PlanPrice)}}</td>
<td>{{item.TCNUMS}}</td> <td>{{item.TCNUMS}}</td>
<td> <td style="display: flex;align-items: center;padding: 5px 20px; height: 40px;">
<p v-if="item.LeaderGetPrice>0">已领款:{{moneyFormat(item.LeaderGetPrice)}}</p> <p style="padding-right: 20px;" v-if="item.LeaderGetPrice>0">已领款:<span style="color: red;">{{moneyFormat(item.LeaderGetPrice)}}</span></p>
<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>
<span v-for="(subItem, subIndex) in item.FinanceIds" class="cursorpointer text-decoration" @click="goFncUrl('FinancialDocumentsDetail', subItem)">{{subItem}}</span> <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>
</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)" />
......
This diff is collapsed.
...@@ -486,9 +486,9 @@ ...@@ -486,9 +486,9 @@
let orderObj = { let orderObj = {
OrderID: 0, OrderID: 0,
OrderSource: 4, OrderSource: 4,
Obj: {}, Obj: JSON.parse(this.$route.query.Obj),
SourceID: this.$route.query.id, SourceID: this.$route.query.id,
TCIDList: [], TCIDList: JSON.parse(this.$route.query.TCIDList),
isFromPassenger:true, isFromPassenger:true,
} }
this.$router.push({ this.$router.push({
......
...@@ -1551,7 +1551,7 @@ ...@@ -1551,7 +1551,7 @@
</div> </div>
</li> --> </li> -->
<li v-else-if="item.FinalPayment!=''"> <li v-else-if="item.FinalPayment!=''">
<div @click="goCustomList('PassengerList',item,'旅客名单')" :class="getClass(item.FinalPaymentStatus)"> <div @click="goCustomList('PassengerList',item, 5,'旅客名单')" :class="getClass(item.FinalPaymentStatus)">
<el-tooltip effect="dark" :content="item.FinalPayment" placement="top" popper-class="max-w250"> <el-tooltip effect="dark" :content="item.FinalPayment" placement="top" popper-class="max-w250">
<span></span> <span></span>
</el-tooltip> </el-tooltip>
...@@ -2556,14 +2556,18 @@ ...@@ -2556,14 +2556,18 @@
}); });
}, },
//跳转至旅客名单 //跳转至旅客名单
goCustomList(path, obj, title){ goCustomList(path, obj, type, title){
console.log(obj.TCIDList)
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
blank: 'y', blank: 'y',
isFromTk:true, isFromTk:true,
id: obj.ID, id: obj.ID,
TCIDList: obj.TCIDList, Obj: JSON.stringify({
Type: type
}),
TCIDList: JSON.stringify(obj.TCIDList),
companyIDList: obj.OutBranchIdList, companyIDList: obj.OutBranchIdList,
tab: title tab: title
} }
......
<template> <template>
<div class="flexOne"> <div class="flexOne">
<div class="query-box"> <div class="query-box">
<ul class="user_time_picker"> <ul class="user_time_picker">
<li> <li>
<input type="button" @click=" " class="hollowFixedBtn" value="查询"> <span>
<input type="button" @click="outerVisible = true,dialogTitle=$t('active.ad_addad'),resetInfo()" class="normalBtn" :value="$t('pub.addBtn')"> <em>等级名称</em>
<el-input v-model="msg.name" @keyup.enter.native="getList"></el-input>
</span>
</li>
<li>
<span>
<em>状态</em>
<el-select filterable v-model="msg.state">
<el-option label="不限" :value="-1"></el-option>
<el-option label="正常" :value="1"></el-option>
<el-option label="禁用" :value="0"></el-option>
</el-select>
</span>
</li>
<li>
<input type="button" @click="getList" class="hollowFixedBtn" value="查询">
<input type="button" @click="outerVisible = true,dialogTitle='新增等级',resetInfo()" class="normalBtn" :value="$t('pub.addBtn')">
</li> </li>
</ul> </ul>
</div> </div>
...@@ -13,27 +29,31 @@ ...@@ -13,27 +29,31 @@
<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>
<th>等级名称</th> <th>特权信息</th>
<th>积分</th> <th>交易金额要求</th>
<th>特权</th> <th>交易人头要求</th>
<th>升降级标准</th> <th>等级说明</th>
<th>星级有效期延长的条件</th> <th>状态</th>
<th>操作</th> <th>操作</th>
</tr> </tr>
<tr v-for="item in dataList"> <tr v-for="item in dataList">
<td>{{item.rank}}</td> <td>{{item.name}}</td>
<td>{{item.awardName}}</td> <td>
<td>{{item.awardCount}}</td> <span v-for="son in item.jurisdictionList">
<td>{{item.awardWinningCount}}</td> {{son.name}}
<td>223</td> </span>
<td>22</td> </td>
<td>{{item.tradeMoneyReq}}</td>
<td>{{item.tradePeopleReq}}</td>
<td>{{item.remark}}</td>
<td>{{item.state === 1 ? '正常' : '禁用'}}</td>
<td> <td>
<el-tooltip class="item" effect="dark" :content="$t('active.ld_editInfo')" placement="top"> <el-tooltip class="item" effect="dark" :content="$t('active.ld_editInfo')" placement="top">
<el-button <el-button
type="primary" type="primary"
icon="el-icon-edit" icon="el-icon-edit"
circle circle
@click="outerVisible=true,dialogTitle=$t('active.ld_editInfo'),updateData(item)" @click="outerVisible=true,dialogTitle='修改等级',updateData(item)"
></el-button> ></el-button>
</el-tooltip> </el-tooltip>
</td> </td>
...@@ -48,33 +68,32 @@ ...@@ -48,33 +68,32 @@
:title="dialogTitle" :title="dialogTitle"
: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="100px">
<table class="layerTable layerNoIcon"> <table class="layerTable layerNoIcon">
<tr> <tr>
<td> <td>
<el-form-item label="会员等级" prop="memberLevel"> <el-form-item label="等级名称" prop="name">
<el-input v-model="addMsg.memberLevel" class="w217" /> <el-input v-model="addMsg.name" class="w217" />
</el-form-item> </el-form-item>
</td> </td>
<td> <td>
<el-form-item label="等级名称" prop="memberName"> <el-form-item label=" 等级状态" prop="state">
<el-input v-model="addMsg.memberName" class="w217" /> <el-select filterable v-model="addMsg.state">
<el-option label="正常" :value="1"></el-option>
<el-option label="禁用" :value="0"></el-option>
</el-select>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
<td> <td>
<el-form-item label="积分" prop="integral"> <el-form-item label="交易金额要求" prop="tradeMoneyReq">
<el-input v-model="addMsg.integral" class="w217" /> <el-input v-model="addMsg.tradeMoneyReq" placeholder="0为无要求" class="w217" />
</el-form-item> </el-form-item>
</td> </td>
<td> <td>
<el-form-item label="特权" prop="privilege" > <el-form-item label="交易人头数要求" prop="tradePeopleReq" >
<el-select filterable v-model="addMsg.privilege" class="w217" > <el-input v-model="addMsg.tradePeopleReq" placeholder="0为无要求" class="w217" />
<el-option :label="$t('pub.unlimitedSel')" :value="0"></el-option>
<el-option v-for="item in awardRelationList" :label="item.couponsName" :value="item.couponId" :key="item.couponId"></el-option>
</el-select>
</el-form-item> </el-form-item>
</td> </td>
</tr> </tr>
...@@ -107,22 +126,23 @@ export default { ...@@ -107,22 +126,23 @@ export default {
return { return {
//请求 //请求
msg: { msg: {
lotteryId: '', state: -1,
name: '',
}, },
addMsg:{ addMsg:{
id:0, id:0,
memberLevel: '', name: '',
memberName: '', state: '',
integral: '', tradeMoneyReq: '',
privilege: '', tradePeopleReq: '',
standard: '', remark: '',
condition: '' jurisdictionList: []
}, },
rules:{ rules:{
memberLevel: [{ required: true, message: '请输入会员等级', trigger: "blur" }], memberLevel: [{ required: true, message: '请输入会员等级', trigger: "blur" }],
memberName: [{ required: true, message: '请输入等级名称', trigger: "blur" }], name: [{ required: true, message: '请输入等级名称', trigger: "blur" }],
integral: [{required: true, message: '请输入积分', trigger: "blur"}], tradeMoneyReq: [{required: true, message: '交易金额要求', trigger: "blur"}],
privilege: [{ required: true, message: '请选择特选', trigger: "change" }], tradePeopleReq: [{ required: true, message: '交易人头数要求', trigger: "change" }],
standard: [{ required: true, message: '请输入升降级标准', trigger: "blur" }], standard: [{ required: true, message: '请输入升降级标准', trigger: "blur" }],
condition: [{ required: true, message: '请输入星级有效期延长的条件', trigger: "blur" }], condition: [{ required: true, message: '请输入星级有效期延长的条件', trigger: "blur" }],
}, },
...@@ -134,8 +154,7 @@ export default { ...@@ -134,8 +154,7 @@ export default {
}; };
}, },
mounted() { mounted() {
this.msg.lotteryId = this.$route.query.lotteryId; this.getList();
// this.getList();
}, },
filters: { filters: {
}, },
...@@ -144,7 +163,7 @@ export default { ...@@ -144,7 +163,7 @@ export default {
//获取数据 //获取数据
getList() { getList() {
this.loading = true; this.loading = true;
this.apiJavaPost("/api/sell/lottery/getLotteryAwardList", this.msg, res => { this.apiJavaPost("/api/member/getmemberrate", this.msg, res => {
this.loading = false; this.loading = false;
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.dataList = res.data.data; this.dataList = res.data.data;
......
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
</div> </div>
</td> </td>
<td> <td>
<template v-for='(sitem,sindex) in item.ScenicStatisticsList'> <template v-for='(sitem,sindex) in item.DiningSummaryList'>
{{sitem.Remarks}} {{sitem.Remarks}}
</template> </template>
</td> </td>
......
...@@ -1170,7 +1170,16 @@ export default { ...@@ -1170,7 +1170,16 @@ export default {
meta: { meta: {
title: '购物报账' title: '购物报账'
}, },
}, { },
{
path: '/ShoppingReimbursement2', //分公司购物报账
name: 'ShoppingReimbursement2',
component: resolve => require(['@/components/ShoppingStore/ShoppingReimbursement2'], resolve),
meta: {
title: '分公司购物报账'
},
},
{
path: '/ShoppingReimbursementDetails', //购物报账 详情 path: '/ShoppingReimbursementDetails', //购物报账 详情
name: 'ShoppingReimbursementDetails', name: 'ShoppingReimbursementDetails',
component: resolve => require(['@/components/ShoppingStore/ShoppingReimbursementDetails'], resolve), component: resolve => require(['@/components/ShoppingStore/ShoppingReimbursementDetails'], resolve),
......
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