Commit f654874c authored by 黄奎's avatar 黄奎

前端调整

parent a57312e0
<template> <template>
<div class="domesticCommissionRule"> <div class="domesticCommissionRule">
<div class="query-box"> <div class="query-box">
<ul> <ul>
<li> <li>
<span> <span>
<em>{{$t('fnc.gzmingcheng')}}</em> <em>{{$t('fnc.gzmingcheng')}}</em>
<el-input type="text" v-model="msg.RuleName" @keyup.native.enter="handleCurrentChange(1)"> <el-input type="text" v-model="msg.RuleName" @keyup.native.enter="handleCurrentChange(1)">
</el-input> </el-input>
</span> </span>
</li> </li>
<li> <li>
<span style="display: flex;align-items: center;"> <span style="display: flex;align-items: center;">
<em>{{$t('advmanager.v_line')}}</em> <em>{{$t('advmanager.v_line')}}</em>
<el-select v-model="msg.LineId" size="mini" @change="handleCurrentChange(1)"> <el-select v-model="msg.LineId" size="mini" @change="handleCurrentChange(1)">
<el-option :label="$t('pub.pleaseSel')" :value="0"></el-option> <el-option :label="$t('pub.pleaseSel')" :value="0"></el-option>
<el-option v-for="(item,index) in LineList" :key="item.index" :label="item.LineName" :value="item.LineID"> <el-option v-for="(item,index) in LineList" :key="item.index" :label="item.LineName" :value="item.LineID">
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<input type="button" class="normalBtn" :value="$t('pub.addBtn')" @click="addNew"> <input type="button" class="normalBtn" :value="$t('pub.addBtn')" @click="addNew">
</li> </li>
</ul> </ul>
</div> </div>
<div class="commonContent"> <div class="commonContent">
<table v-loading="loading" class="singeRowTable" border="0" cellspacing="0" cellpadding="0"> <table v-loading="loading" class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<thead> <thead>
<tr> <tr>
<th>{{$t('fnc.gzmingcheng')}}</th> <th>{{$t('fnc.gzmingcheng')}}</th>
<th>{{$t('advmanager.v_line')}}</th> <th>{{$t('advmanager.v_line')}}</th>
<!-- <th>{{$t('advmanager.v_type')}}</th> --> <!-- <th>{{$t('advmanager.v_type')}}</th> -->
<!-- <th>{{$t('salesModule.Laiyuan')}}</th> --> <!-- <th>{{$t('salesModule.Laiyuan')}}</th> -->
<!-- <th>{{$t('objFill.v101.FinancialModule.tuandlxmc')}}</th> --> <!-- <th>{{$t('objFill.v101.FinancialModule.tuandlxmc')}}</th> -->
<!-- <th>{{$t('advmanager.v_type')}}</th> --> <!-- <th>{{$t('advmanager.v_type')}}</th> -->
<th>{{$t('objFill.v101.FinancialModule.jinebil')}}</th> <th>{{$t('objFill.v101.FinancialModule.jinebil')}}</th>
<th>{{$t('objFill.v101.FinancialModule.jietuanshr')}}</th> <th>{{$t('objFill.v101.FinancialModule.jietuanshr')}}</th>
<th>{{$t('objFill.v101.administrative.xiugairen')}}</th> <th>{{$t('objFill.v101.administrative.xiugairen')}}</th>
<th>{{$t('system.table_operation')}}</th> <th>{{$t('system.table_operation')}}</th>
</tr> </tr>
</thead> </thead>
<template v-for="(item,index) in DataList"> <template v-for="(item,index) in DataList">
<tr> <tr>
<td>{{item.RuleName}}</td> <td>{{item.RuleName}}</td>
<td> <td>
<el-tag style="margin: 0 3px;" size="mini" v-for="(x,i) in item.LineNameList" :key="i">{{x}}</el-tag> <el-tag style="margin: 0 3px;" size="mini" v-for="(x,i) in item.LineNameList" :key="i">{{x}}</el-tag>
</td> </td>
<td> <td>
<div class="tdOne">{{$t('visaT.sale')}}<span style="color: red;">{{item.SellRate}}</span>%</div> <div class="tdOne">{{$t('visaT.sale')}}<span style="color: red;">{{item.SellRate}}</span>%</div>
<div class="tdTwo">OP:<span style="color: red;">{{item.OPRate}}</span>%</div> <div class="tdTwo">OP:<span style="color: red;">{{item.OPRate}}</span>%</div>
</td> </td>
<td>{{item.AuditEmpName}}</td> <td>{{item.AuditEmpName}}</td>
<td> <td>
<div>{{item.UpdateBy}}</div> <div>{{item.UpdateBy}}</div>
<div>{{item.UpdateDate}}</div> <div>{{item.UpdateDate}}</div>
</td> </td>
<td> <td>
<el-button-group size='mini'> <el-button-group size='mini'>
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="el-icon-edit" <el-button type="primary" icon="el-icon-edit"
@click="isShowDIv = true,divTitle=$t('objFill.v101.FinancialModule.xiugtcgz'),getEdit(item)"> @click="isShowDIv = true,divTitle=$t('objFill.v101.FinancialModule.xiugtcgz'),getEdit(item)">
</el-button> </el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('system.table_delete')" placement="top-start">
<el-button type="danger" icon="el-icon-delete" @click="DeleteRules(item.Id)"> <el-button type="danger" icon="el-icon-delete" @click="DeleteRules(item.Id)">
</el-button> </el-button>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
</td> </td>
</tr>
</template>
<tr v-if="DataList.length==0">
<td colspan="10" align="center">{{$t('system.content_noData')}}</td>
</tr> </tr>
<tfoot> </template>
<tr> <tr v-if="DataList.length==0">
<td colspan="10"> <td colspan="10" align="center">{{$t('system.content_noData')}}</td>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.pageIndex" </tr>
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"> <tfoot>
</el-pagination> <tr>
</td> <td colspan="10">
</tr> <el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.pageIndex"
</tfoot> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
</el-pagination>
</td>
</tr>
</tfoot>
</table> </table>
</div> </div>
<el-dialog :title="$t('objFill.v101.FinancialModule.danxianfwtcgz')" :visible.sync="ruleVisible" width="800px"> <el-dialog :title="$t('objFill.v101.FinancialModule.danxianfwtcgz')" :visible.sync="ruleVisible" width="800px">
<el-form ref="addMsg" :model="addMsg" :rules="rules" label-width="110px"> <el-form ref="addMsg" :model="addMsg" :rules="rules" label-width="110px">
<el-form-item :label="$t('fnc.gzmingcheng')" prop="RuleName"> <el-form-item :label="$t('fnc.gzmingcheng')" prop="RuleName">
<el-input type="text" v-model="addMsg.RuleName"></el-input> <el-input type="text" v-model="addMsg.RuleName"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('advmanager.v_line')" prop="LineIds"> <el-form-item :label="$t('advmanager.v_line')" prop="LineIds">
<el-select v-model="addMsg.LineIds" multiple style="width: 100%;"> <el-select v-model="addMsg.LineIds" multiple style="width: 100%;">
<el-option v-for="(item,index) in LineList" :key="index" :label="item.LineName" :value="item.LineID"> <el-option v-for="(item,index) in LineList" :key="index" :label="item.LineName" :value="item.LineID">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item prop="SellRate" :label="$t('visaT.sale')"> <el-form-item prop="SellRate" :label="$t('visaT.sale')">
<el-input style="width: 170px;" type="Number" v-model="addMsg.SellRate" <el-input style="width: 170px;" type="Number" v-model="addMsg.SellRate"
@keyup.native="checkPrice(addMsg,'SellRate',true)"> @keyup.native="checkPrice(addMsg,'SellRate',true)">
<template slot="append">%</template> <template slot="append">%</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item prop="OPRate" label="OP"> <el-form-item prop="OPRate" label="OP">
<el-input style="width: 170px;" type="Number" v-model="addMsg.OPRate" <el-input style="width: 170px;" type="Number" v-model="addMsg.OPRate"
@keyup.native="checkPrice(addMsg,'OPRate',true)"> @keyup.native="checkPrice(addMsg,'OPRate',true)">
<template slot="append">%</template> <template slot="append">%</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('objFill.v101.FinancialModule.jietuanshr')" prop="AuditEmpId" > <el-form-item :label="$t('objFill.v101.FinancialModule.jietuanshr')" prop="AuditEmpId">
<el-select <el-select v-model="addMsg.AuditEmpId" filterable remote reserve-keyword :placeholder="$t('pub.pleaseImport')"
v-model="addMsg.AuditEmpId" :remote-method="remoteMethod" @change="getpersonnel">
filterable <el-option v-for="item in searchList" :key="item.empId" :label="item.name" :value="item.empId">
remote <span style="float: left">{{ item.name }}</span>
reserve-keyword <span style="float: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span>
:placeholder="$t('pub.pleaseImport')" </el-option>
:remote-method="remoteMethod" </el-select>
@change="getpersonnel"
>
<el-option
v-for="item in searchList"
:key="item.empId"
:label="item.name"
:value="item.empId">
<span style="float: left">{{ item.name }}</span>
<span style="float: right; color: #8492a6; font-size: 13px">{{ item.postName }}</span>
</el-option>
</el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button size="small" @click="ruleVisible = false,resetForm('addMsg')">{{$t('pub.cancelBtn')}}</el-button> <el-button size="small" @click="ruleVisible = false,resetForm('addMsg')">{{$t('pub.cancelBtn')}}</el-button>
<el-button size="small" type="danger" @click="RulesOk('addMsg')">{{$t('pub.sureBtn')}}</el-button> <el-button size="small" type="danger" @click="RulesOk('addMsg')">{{$t('pub.sureBtn')}}</el-button>
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
import Vue from "vue"; import Vue from "vue";
const addobj = { const addobj = {
Id: 0, Id: 0,
RuleName: '', RuleName: '',
LineIds: [], LineIds: [],
SellRate: '', SellRate: '',
OPRate: '', OPRate: '',
AuditEmpId: '' AuditEmpId: ''
} }
export default { export default {
data() { data() {
var checkVariable = (rule, value, callback) => { var checkVariable = (rule, value, callback) => {
if (value == null || value.length == 0) { if (value == null || value.length == 0) {
return callback(new Error(this.$t('objFill.v101.FinancialModule.ticblbnwk'))); return callback(new Error(this.$t('objFill.v101.FinancialModule.ticblbnwk')));
} }
let a = parseFloat(value); let a = parseFloat(value);
if (isNaN(a)) { if (isNaN(a)) {
callback(new Error(this.$t('objFill.v101.FinancialModule.ticblbxszs'))); callback(new Error(this.$t('objFill.v101.FinancialModule.ticblbxszs')));
} else { } else {
callback(); callback();
} }
}; };
return { return {
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
// RuleName: '', // RuleName: '',
// LineId: 0, // LineId: 0,
}, },
searchList:[],//人员 searchList: [], //人员
loading: false, //加载层 loading: false, //加载层
DataList: [], DataList: [],
total: 0, total: 0,
TeamListArr: [], //团队类型 TeamListArr: [], //团队类型
LineList: [], //线路 LineList: [], //线路
ruleVisible: false, //弹窗的显示 ruleVisible: false, //弹窗的显示
addMsg: Object.assign({}, addobj), addMsg: Object.assign({}, addobj),
rules: { rules: {
RuleName: [{ RuleName: [{
required: true, required: true,
message: this.$t('rule.qsrgzmingcheng'), message: this.$t('rule.qsrgzmingcheng'),
trigger: 'change' trigger: 'change'
}], }],
LineIds: [{ LineIds: [{
required: true, required: true,
message: this.$t('objFill.v101.dmc.qingxzlx'), message: this.$t('objFill.v101.dmc.qingxzlx'),
trigger: 'change' trigger: 'change'
}], }],
SellRate: [{ SellRate: [{
required: true, required: true,
message: this.$t('objFill.v101.FinancialModule.qingsrxstcbl'), message: this.$t('objFill.v101.FinancialModule.qingsrxstcbl'),
trigger: 'blur' trigger: 'blur'
}], }],
OPRate: [{ OPRate: [{
required: true, required: true,
message: this.$t('objFill.v101.FinancialModule.qingsroptcbl'), message: this.$t('objFill.v101.FinancialModule.qingsroptcbl'),
trigger: 'blur' trigger: 'blur'
}], }],
AuditEmpId: [{ AuditEmpId: [{
required: true, required: true,
message: this.$t('objFill.v101.FinancialModule.qingxzjtshr'), message: this.$t('objFill.v101.FinancialModule.qingxzjtshr'),
trigger: 'change' trigger: 'change'
}], }],
},
};
},
created() {
this.getList()
this.getTeamList()
this.getLineList()
},
methods: {
handleCurrentChange(val) {
//翻页功能按钮
this.msg.pageIndex = val;
this.getList();
},
getList() {
this.loading = true;
this.apipost(
"sellcommission_GetDxCommissionRuleList",
this.msg,
res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.DataList = res.data.data.pageData;
this.total = res.data.data.count;
}
}, },
}; err => {}
);
}, },
created() { //获取线路列表
this.getList() getLineList() {
this.getTeamList() this.apipost(
this.getLineList() "line_post_GetAllList", {},
res => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data;
}
}
);
}, },
methods: { getTeamList() { //获取团队类型的列表
handleCurrentChange(val) { this.apipost("travel_get_GetTravelPriceTeamTypeList", {}, res => {
//翻页功能按钮 if (res.data.resultCode == 1) {
this.msg.pageIndex = val; this.TeamListArr = res.data.data;
this.getList(); this.TeamListArr.forEach(x => {
}, x.disabled = false
getList() { })
this.loading = true; } else {
this.apipost( this.Error(res.data.message);
"sellcommission_GetDxCommissionRuleList",
this.msg,
res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.DataList = res.data.data.pageData;
this.total = res.data.data.count;
}
},
err => {}
);
},
//获取线路列表
getLineList() {
this.apipost(
"line_post_GetAllList", {},
res => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data;
}
} }
); },
}, err => {}
getTeamList() { //获取团队类型的列表 );
this.apipost("travel_get_GetTravelPriceTeamTypeList", {}, res => { },
getEdit(row) { //修改规则
let data = JSON.parse(JSON.stringify(row))
this.addMsg = Object.assign({}, addobj)
this.addMsg.Id = data.Id;
this.addMsg.RuleName = data.RuleName;
this.addMsg.LineIds = data.LineIds.split(',').map(Number);
this.addMsg.SellRate = data.SellRate;
this.addMsg.OPRate = data.OPRate;
this.addMsg.AuditEmpId = data.AuditEmpId;
this.ruleVisible = true;
this.remoteMethod(data.AuditEmpName)
},
DeleteRules(ID) { //删除规则
this.$confirm(this.$t('tips.shifoushanchu'), this.$t('tips.tips'), {
confirmButtonText: this.$t('pub.sureBtn'),
cancelButtonText: this.$t('pub.cancelBtn'),
type: "warning"
})
.then(() => {
this.apipost('sellcommission_DelDxCommissionRule', {
RuleId: ID
}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.TeamListArr = res.data.data; this.Success(res.data.message)
this.TeamListArr.forEach(x => { this.getList()
x.disabled = false
})
} else { } else {
this.Error(res.data.message); this.Error(res.data.message)
} }
},
err => {}
);
},
getEdit(row) { //修改规则
let data = JSON.parse(JSON.stringify(row))
this.addMsg = Object.assign({}, addobj)
this.addMsg.Id = data.Id;
this.addMsg.RuleName = data.RuleName;
this.addMsg.LineIds = data.LineIds.split(',').map(Number);
this.addMsg.SellRate = data.SellRate;
this.addMsg.OPRate = data.OPRate;
this.addMsg.AuditEmpId = data.AuditEmpId;
this.ruleVisible = true;
this.remoteMethod(data.AuditEmpName)
},
DeleteRules(ID) { //删除规则
this.$confirm(this.$t('tips.shifoushanchu'), this.$t('tips.tips'), {
confirmButtonText: this.$t('pub.sureBtn'),
cancelButtonText: this.$t('pub.cancelBtn'),
type: "warning"
}) })
.then(() => { })
this.apipost('sellcommission_DelDxCommissionRule', { .catch(() => {});
RuleId: ID },
}, res => { resetForm(formName) {
this.$refs[formName].resetFields();
},
addNew() { //新增
this.addMsg = {
Id: 0,
RuleName: '',
LineIds: [],
SellRate: '',
OPRate: '',
AuditEmpId: ''
}
this.ruleVisible = true;
this.resetForm('addMsg')
},
RulesOk(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
let LineIds = JSON.parse(JSON.stringify(this.addMsg.LineIds))
this.addMsg.LineIds = this.addMsg.LineIds.join(',')
this.apipost(
'sellcommission_SetDxCommissionRule', this.addMsg,
res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getList();
this.ruleVisible = false;
this.Success(res.data.message) this.Success(res.data.message)
this.getList()
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
}) },
}) err => {}
.catch(() => {}); )
},
resetForm(formName) {
this.$refs[formName].resetFields();
},
addNew() { //新增
this.addMsg = {
Id: 0,
RuleName: '',
LineIds: [],
SellRate: '',
OPRate: '',
AuditEmpId: ''
} }
this.ruleVisible = true; });
this.resetForm('addMsg') },
}, remoteMethod(query) { // 审核人模糊查询
RulesOk(formName) { if (query !== '') {
this.$refs[formName].validate((valid) => { this.apipost("admin_Get_Chat_All_SelectEmpName", {
if (valid) { EmName: query
let LineIds = JSON.parse(JSON.stringify(this.addMsg.LineIds)) }, res => {
this.addMsg.LineIds = this.addMsg.LineIds.join(',') if (res.data.resultCode == 1) {
this.apipost( this.searchList = res.data.data;
'sellcommission_SetDxCommissionRule', this.addMsg,
res => {
if (res.data.resultCode == 1) {
this.getList();
this.ruleVisible = false;
this.Success(res.data.message)
} else {
this.Error(res.data.message)
}
},
err => {}
)
}
});
},
remoteMethod(query) { // 审核人模糊查询
if (query !== '') {
this.apipost("admin_Get_Chat_All_SelectEmpName",{ EmName:query },res => {
if (res.data.resultCode == 1) {
this.searchList = res.data.data;
}
},err => {});
} else {
this.searchList = [];
}
},
getpersonnel(){
for(let i = 0;i<this.searchList.length;i++){
// let x = this.searchList[i]
// if(x.empId == this.addMsg.AuditEmpId){
// this.addMsg.TempTypeList[y].Name = x.name;
// break
// }
} }
} }, err => {});
} else {
this.searchList = [];
}
}, },
mounted() { getpersonnel() {
for (let i = 0; i < this.searchList.length; i++) {
// let x = this.searchList[i]
// if(x.empId == this.addMsg.AuditEmpId){
// this.addMsg.TempTypeList[y].Name = x.name;
// break
// }
}
} }
};
</script> },
<style scoped> mounted() {
/* .rule-box .el-select__tags{
}
};
</script>
<style scoped>
/* .rule-box .el-select__tags{
top: 100%; top: 100%;
} */ } */
.domesticCommissionRule .query-box input { .domesticCommissionRule .query-box input {
height: 34px !important; height: 34px !important;
} }
.tdOne{
border-bottom: 1px solid #eeeeee; .tdOne {
line-height: 25px; border-bottom: 1px solid #eeeeee;
} line-height: 25px;
.tdTwo{ }
line-height: 25px;
} .tdTwo {
line-height: 25px;
}
</style> </style>
...@@ -233,6 +233,7 @@ ...@@ -233,6 +233,7 @@
</div> </div>
</div> </div>
<el-dialog :title="commonTitle" :visible.sync="isShowDialog" width="1000px"> <el-dialog :title="commonTitle" :visible.sync="isShowDialog" width="1000px">
{{currentEditItem}}
<!--视频--> <!--视频-->
<plugvideodialog v-if="currentEditItem.Id=='white_label_video'" :plugData="currentEditItemData"></plugvideodialog> <plugvideodialog v-if="currentEditItem.Id=='white_label_video'" :plugData="currentEditItemData"></plugvideodialog>
<!--轮播图--> <!--轮播图-->
......
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
<el-input v-model='msg.CategoryName' class="permiss-input" :placeholder="$t('fnc.qsrneirong')"></el-input> <el-input v-model='msg.CategoryName' class="permiss-input" :placeholder="$t('fnc.qsrneirong')"></el-input>
</span> </span>
</li> </li>
<li> <li>
<span><em>{{$t('objFill.cengji')}}</em> <span><em>{{$t('objFill.cengji')}}</em>
<el-select v-model="msg.Level" :placeholder="$t('pub.pleaseSel')"> <el-select v-model="msg.Level" :placeholder="$t('pub.pleaseSel')">
...@@ -43,12 +42,11 @@ ...@@ -43,12 +42,11 @@
<input type="button" class="hollowFixedBtn" name="" id="" :value="$t('pub.searchBtn')" <input type="button" class="hollowFixedBtn" name="" id="" :value="$t('pub.searchBtn')"
@click="resetPageIndex(),getList()" /> @click="resetPageIndex(),getList()" />
<input type="button" <input type="button"
@click="outerVisible = true,dialogTitle=$t('objFill.v101.xinzengfl'),clearMessage(),getLineList(),getAllAreaTreeList(0),getLineTeamList();" @click="outerVisible = true,dialogTitle=$t('objFill.v101.xinzengfl'),clearMessage() ,getAllAreaTreeList(0),getLineTeamList();"
class="normalBtn" :value="$t('pub.addBtn')" /> class="normalBtn" :value="$t('pub.addBtn')" />
</li> </li>
</ul> </ul>
</div> </div>
<el-table :data="DataList" style="width:100%" v-loading='loading'> <el-table :data="DataList" style="width:100%" v-loading='loading'>
<el-table-column fixed :label="$t('ground.fenleimc')"> <el-table-column fixed :label="$t('ground.fenleimc')">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -85,23 +83,21 @@ ...@@ -85,23 +83,21 @@
<template slot-scope="scope"> <template slot-scope="scope">
<template v-if="scope.row.AreaList&&scope.row.AreaList.length>0"> <template v-if="scope.row.AreaList&&scope.row.AreaList.length>0">
<div> <div>
<span v-for="(file,fIndex) in scope.row.AreaList"> <span v-for="(file,fIndex) in scope.row.AreaList" :key="`d_`+scope.row.Id+`_a_`+fIndex">
{{file.Name}}{{(fIndex== (scope.row.AreaList.length-1)&&scope.row.AreaList.length>1)?"":","}} {{file.Name}}{{(fIndex== (scope.row.AreaList.length-1)&&scope.row.AreaList.length>1)?"":","}}
</span> </span>
</div> </div>
</template> </template>
<template v-if="scope.row.LineList&&scope.row.LineList.length>0"> <template v-if="scope.row.LineList&&scope.row.LineList.length>0">
<div> <div>
<span v-for="(file,fIndex) in scope.row.LineList"> <span v-for="(file,fIndex) in scope.row.LineList" :key="`d_`+scope.row.Id+`_l_`+fIndex">
{{file.Name}}{{(fIndex== (scope.row.LineList.length-1)&&scope.row.LineList.length>1)?"":","}} {{file.Name}}{{(fIndex== (scope.row.LineList.length-1)&&scope.row.LineList.length>1)?"":","}}
</span> </span>
</div> </div>
</template> </template>
<template v-if="scope.row.SeriesList&&scope.row.SeriesList.length>0"> <template v-if="scope.row.SeriesList&&scope.row.SeriesList.length>0">
<div> <div>
<span v-for="(file,fIndex) in scope.row.SeriesList"> <span v-for="(file,fIndex) in scope.row.SeriesList" :key="`d_`+scope.row.Id+`_s_`+fIndex">
{{file.Name}}{{(fIndex== (scope.row.SeriesList.length-1)&&scope.row.SeriesList.length>1)?"":","}} {{file.Name}}{{(fIndex== (scope.row.SeriesList.length-1)&&scope.row.SeriesList.length>1)?"":","}}
</span> </span>
</div> </div>
...@@ -116,7 +112,6 @@ ...@@ -116,7 +112,6 @@
</el-table-column> </el-table-column>
<el-table-column fixed :label="$t('objFill.v101.activity.col6.t8')"> <el-table-column fixed :label="$t('objFill.v101.activity.col6.t8')">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- style="width: 100px; height: 100px" -->
<el-image class="icon" :src="scope.row.Icon" :preview-src-list="[scope.row.Icon]"> </el-image> <el-image class="icon" :src="scope.row.Icon" :preview-src-list="[scope.row.Icon]"> </el-image>
</template> </template>
</el-table-column> </el-table-column>
...@@ -124,7 +119,6 @@ ...@@ -124,7 +119,6 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-image class="icon" :src="scope.row.BackgroundImage" :preview-src-list="[scope.row.BackgroundImage]"> <el-image class="icon" :src="scope.row.BackgroundImage" :preview-src-list="[scope.row.BackgroundImage]">
</el-image> </el-image>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column fixed :label="$t('admin.admin_status')"> <el-table-column fixed :label="$t('admin.admin_status')">
...@@ -149,11 +143,11 @@ ...@@ -149,11 +143,11 @@
</el-table> </el-table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size=msg.pageSize :total='total'> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total='total'>
</el-pagination> </el-pagination>
<el-dialog :title="dialogTitle" :visible.sync="outerVisible" center width="1000px" <el-dialog :title="dialogTitle" :visible.sync="outerVisible" center width="1000px"
:before-close="closeChangeMachie"> :before-close="closeChangeMachie" append-to-body>
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="120px"> <el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="120px">
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
...@@ -216,7 +210,7 @@ ...@@ -216,7 +210,7 @@
<template v-if="addMsg.Level==1"> <template v-if="addMsg.Level==1">
<el-form-item :label="$t('system.table_ssLine')"> <el-form-item :label="$t('system.table_ssLine')">
<el-select :disabled="addMsg.IsLock === 1" v-model="addMsg.LineIdList" multiple collapse-tags <el-select :disabled="addMsg.IsLock === 1" v-model="addMsg.LineIdList" multiple collapse-tags
:placeholder="$t('pub.pleaseSel')"> :placeholder="$t('pub.pleaseSel')" filterable>
<el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option>
<el-option v-for="item in queryCommonData.LineList" :label="item.LineName" :value="item.LineID" <el-option v-for="item in queryCommonData.LineList" :label="item.LineName" :value="item.LineID"
:key="item.LineID"></el-option> :key="item.LineID"></el-option>
...@@ -226,8 +220,8 @@ ...@@ -226,8 +220,8 @@
<template v-else> <template v-else>
<el-form-item :label="$t('active.ad_xlmc')"> <el-form-item :label="$t('active.ad_xlmc')">
<el-select :disabled="addMsg.IsLock === 1" v-model="addMsg.SeriesIdList" multiple collapse-tags <el-select :disabled="addMsg.IsLock === 1" v-model="addMsg.SeriesIdList" multiple collapse-tags
:placeholder="$t('pub.pleaseSel')"> :placeholder="$t('pub.pleaseSel')" filterable>
<el-option :label="$t('pub.unlimitedSel')" :value=queryCommonData.SelectDefaultValue></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="queryCommonData.SelectDefaultValue"></el-option>
<el-option v-for="item in queryCommonData.LineTeamList" :label="item.LtName" :value="item.LtID" <el-option v-for="item in queryCommonData.LineTeamList" :label="item.LtName" :value="item.LtID"
:key="item.LtID"></el-option> :key="item.LtID"></el-option>
</el-select> </el-select>
...@@ -248,7 +242,6 @@ ...@@ -248,7 +242,6 @@
</template> </template>
</el-col> </el-col>
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('objFill.v101.activity.col6.t8')"> <el-form-item :label="$t('objFill.v101.activity.col6.t8')">
...@@ -261,15 +254,12 @@ ...@@ -261,15 +254,12 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button> &nbsp; <button class="normalBtn" type="primary" @click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button> &nbsp;
<button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="outerVisible = false">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
...@@ -329,6 +319,7 @@ ...@@ -329,6 +319,7 @@
LineIdList: [], LineIdList: [],
SeriesIdList: [], SeriesIdList: [],
IsSelfGuidedTour: 0, IsSelfGuidedTour: 0,
LinkUrl:"",//页面地址
}, },
rules: { rules: {
CategoryName: [{ CategoryName: [{
...@@ -345,6 +336,7 @@ ...@@ -345,6 +336,7 @@
} }
}, },
mounted() { mounted() {
this.getLineList();
this.getList(); this.getList();
}, },
methods: { methods: {
...@@ -373,12 +365,8 @@ ...@@ -373,12 +365,8 @@
this.chooseCategroyArray = arr; this.chooseCategroyArray = arr;
this.showCategoryName = arrLabel; this.showCategoryName = arrLabel;
}, },
getLineList() { //获取线路列表 getLineList() { //获取线路列表
this.apipost( this.apipost("line_post_GetAllList", {},
"line_post_GetList", {
LineDirection: 2
},
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.queryCommonData.LineList = res.data.data; this.queryCommonData.LineList = res.data.data;
...@@ -457,7 +445,6 @@ ...@@ -457,7 +445,6 @@
this.addMsg.AreaIdList = []; this.addMsg.AreaIdList = [];
} else { } else {
this.getCateGoryList(); this.getCateGoryList();
} }
}, },
changeSelfGuidedTour() { changeSelfGuidedTour() {
...@@ -476,7 +463,6 @@ ...@@ -476,7 +463,6 @@
lineIds = this.cateGoryList[index].LineIds; lineIds = this.cateGoryList[index].LineIds;
} }
this.getLineTeamList(lineIds); this.getLineTeamList(lineIds);
} }
}, },
getCateGoryList() { getCateGoryList() {
...@@ -500,7 +486,6 @@ ...@@ -500,7 +486,6 @@
this.$message.error(this.$t('objFill.v101.qingxzfujifl')); this.$message.error(this.$t('objFill.v101.qingxzfujifl'));
return return
} }
let params = { let params = {
...this.addMsg ...this.addMsg
} }
...@@ -519,9 +504,7 @@ ...@@ -519,9 +504,7 @@
}) })
} }
params.AreaIds = tempCategory.substring(0, tempCategory.lastIndexOf(',')); params.AreaIds = tempCategory.substring(0, tempCategory.lastIndexOf(','));
// if(params.AreaList&&params.AreaList.length>0){
// params.AreaIds=params.AreaList.toString();
// }
this.apipost('ws_post_SetCategory', params, res => { this.apipost('ws_post_SetCategory', params, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.outerVisible = false; this.outerVisible = false;
...@@ -536,7 +519,6 @@ ...@@ -536,7 +519,6 @@
updateData({ updateData({
Id Id
}) { //修改 }) { //修改
this.getLineList();
this.apipost('ws_post_GetCategory', { this.apipost('ws_post_GetCategory', {
Id Id
...@@ -607,7 +589,6 @@ ...@@ -607,7 +589,6 @@
.ImageList.length > 0) { .ImageList.length > 0) {
this.$refs.BackgroundImage.ImageList = [] this.$refs.BackgroundImage.ImageList = []
} }
//this.$refs.tree.setCheckedKeys([]);
}, },
resetPageIndex() { resetPageIndex() {
this.msg.pageIndex = 1 this.msg.pageIndex = 1
...@@ -630,7 +611,6 @@ ...@@ -630,7 +611,6 @@
this.$refs[formName].resetFields(); this.$refs[formName].resetFields();
} }
} }
} }
</script> </script>
...@@ -300,6 +300,9 @@ ...@@ -300,6 +300,9 @@
if (chooseMenuObj) { if (chooseMenuObj) {
this.clickItem.SubName = chooseMenuObj.MenuName; this.clickItem.SubName = chooseMenuObj.MenuName;
this.clickItem.LinkUrl = chooseMenuObj.MenuUrl; this.clickItem.LinkUrl = chooseMenuObj.MenuUrl;
if (chooseMenuObj.ImgUrl && chooseMenuObj.ImgUrl != '') {
this.clickItem.FileUrl = chooseMenuObj.ImgUrl;
}
} }
this.$refs.chooseMenu.initMenuCheck(); this.$refs.chooseMenu.initMenuCheck();
}, },
......
...@@ -309,6 +309,9 @@ ...@@ -309,6 +309,9 @@
if (chooseMenuObj) { if (chooseMenuObj) {
this.clickItem.SubName = chooseMenuObj.MenuName; this.clickItem.SubName = chooseMenuObj.MenuName;
this.clickItem.LinkUrl = chooseMenuObj.MenuUrl; this.clickItem.LinkUrl = chooseMenuObj.MenuUrl;
if (chooseMenuObj.ImgUrl && chooseMenuObj.ImgUrl != '') {
this.clickItem.FileUrl = chooseMenuObj.ImgUrl;
}
} }
this.$refs.chooseMenu.initMenuCheck(); this.$refs.chooseMenu.initMenuCheck();
}, },
......
<style scoped> <style scoped>
.groupTourOrder_count{ .groupTourOrder_count {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
.groupTourOrder_count>div{
.groupTourOrder_count>div {
margin-right: 20px; margin-right: 20px;
} }
.groupTourOrder_count>div:last-child{
.groupTourOrder_count>div:last-child {
margin-right: 0; margin-right: 0;
} }
.groupTourOrder_count_item{
.groupTourOrder_count_item {
max-width: 500px; max-width: 500px;
} }
.groupTourOrder_count_item>p>span{
.groupTourOrder_count_item>p>span {
margin: 0; margin: 0;
} }
.color_red_order{
.color_red_order {
color: red; color: red;
} }
.HT_total{
.HT_total {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 5px 0; margin: 5px 0;
} }
.HT_total p{
.HT_total p {
width: 100%; width: 100%;
display: block; display: block;
} }
.HT_total p>span{
.HT_total p>span {
float: left; float: left;
display: inline-block; display: inline-block;
/* width: 25%; */ /* width: 25%; */
margin-right: 20px; margin-right: 20px;
} }
.HT_total p>span:last-child{
.HT_total p>span:last-child {
margin-right: 0; margin-right: 0;
} }
.TC_leftSearch>div{
padding: 5px 0;
}
.groupTourOrderByTuan_ico{
margin-left: 5px;
}
.groupTourOrderByTuan_ico>i{
display: inline-block;
margin: 0 5px 0 0;
width: 8px;
height: 8px;
border-radius: 2px;
vertical-align: middle;
}
.HotelWorkList .has-gutter tr th,
.el-table th.is-leaf {
background-color: #EAEAEA !important;
}
.HotelWorkList .HW_hotelDialog { .TC_leftSearch>div {
width: 900px; padding: 5px 0;
} }
.HotelWorkList .Hw_tableOne { .groupTourOrderByTuan_ico {
width: 100%; margin-left: 5px;
height: 40px; }
background-color: #EAEAEA;
}
.HotelWorkList .Hw_tableOne th { .groupTourOrderByTuan_ico>i {
text-align: center; display: inline-block;
} margin: 0 5px 0 0;
width: 8px;
height: 8px;
border-radius: 2px;
vertical-align: middle;
}
.HotelWorkList .HotelWorkInput .el-input { .HotelWorkList .has-gutter tr th,
width: 223px; .el-table th.is-leaf {
} background-color: #EAEAEA !important;
}
.HotelWorkList .HworkInput .el-input { .HotelWorkList .HW_hotelDialog {
width: 210px; width: 900px;
} }
/deep/.query-box li span>em{
min-width: 60px; .HotelWorkList .Hw_tableOne {
} width: 100%;
height: 40px;
background-color: #EAEAEA;
}
.HotelWorkList .Hw_tableOne th {
text-align: center;
}
.HotelWorkList .HotelWorkInput .el-input {
width: 223px;
}
</style> .HotelWorkList .HworkInput .el-input {
width: 210px;
<template> }
<div class="HotelWorkList">
<div class="query-box HotelWorkInput" style="border-bottom: none;"> /deep/.query-box li span>em {
<ul> min-width: 60px;
<li v-if="Title=='审核'"> }
<span>
<em>{{$t('fnc.shzhuangtai')}}</em> </style>
<el-select v-model='msg2.TicketStatus' class="w200" @change="msg2.papageIndex==1,GetList()">
<!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> --> <template>
<el-option v-for='item in TicketStatusList2' <div class="HotelWorkList">
:label='item.Name' <div class="query-box HotelWorkInput" style="border-bottom: none;">
:value='item.Id' <ul>
:key='item.Id'> <li v-if="Title=='审核'">
</el-option> <span>
</el-select> <em>{{$t('fnc.shzhuangtai')}}</em>
</span> <el-select v-model='msg2.TicketStatus' class="w200" @change="msg2.papageIndex==1,GetList()">
</li> <!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> -->
<li v-if="Title=='查看'"> <el-option v-for='item in TicketStatusList2' :label='item.Name' :value='item.Id' :key='item.Id'>
<span> </el-option>
<em>{{$t('fnc.shzhuangtai')}}</em> </el-select>
<el-select v-model='msg2.TicketStatus' class="w200" @change="msg2.papageIndex==1,GetList()"> </span>
<!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> --> </li>
<el-option v-for='item in TicketStatusList3' <li v-if="Title=='查看'">
:label='item.Name' <span>
:value='item.Id' <em>{{$t('fnc.shzhuangtai')}}</em>
:key='item.Id'> <el-select v-model='msg2.TicketStatus' class="w200" @change="msg2.papageIndex==1,GetList()">
</el-option> <!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> -->
</el-select> <el-option v-for='item in TicketStatusList3' :label='item.Name' :value='item.Id' :key='item.Id'>
</span> </el-option>
</li> </el-select>
<li v-if="Title=='申请'"> </span>
<span> </li>
<em>{{$t('salesModule.ApplyStatus')}}</em> <li v-if="Title=='申请'">
<el-select v-model='msg.TicketStatus' class="w200"> <span>
<!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> --> <em>{{$t('salesModule.ApplyStatus')}}</em>
<el-option v-for='item in TicketStatusList' <el-select v-model='msg.TicketStatus' class="w200">
:label='item.Name' <!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> -->
:value='item.Id' <el-option v-for='item in TicketStatusList' :label='item.Name' :value='item.Id' :key='item.Id'>
:key='item.Id'> </el-option>
</el-option> </el-select>
</el-select> </span>
</span> </li>
</li> <li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'">
<li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'"> <span><em>{{$t('MarketingActi.commName')}}</em>
<span><em>{{$t('MarketingActi.commName')}}</em> <el-input clearable type="" v-model="msg.ProductName" :placeholder="$t('ground.qingsrspmc')" class="w200" />
<el-input clearable type="" v-model="msg.ProductName" :placeholder="$t('ground.qingsrspmc')" class="w200"/> </span>
</span> </li>
</li> <li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'">
<li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'"> <span><em>{{$t('objFill.orderid')}}</em>
<span><em>{{$t('objFill.orderid')}}</em> <el-input clearable type="Number" @keyup.native="checkInteger(msg2,'OrderId')" v-model="msg.OrderId"
<el-input clearable type="Number" @keyup.native="checkInteger(msg2,'OrderId')" v-model="msg.OrderId" :placeholder="$t('objFill.v101.myOrdersAllType.qingsrddid')" class="w200"/> :placeholder="$t('objFill.v101.myOrdersAllType.qingsrddid')" class="w200" />
</span> </span>
</li> </li>
<li v-if="Title=='审核'"> <li v-if="Title=='审核'">
<span><em>{{$t('objFill.orderid')}}</em> <span><em>{{$t('objFill.orderid')}}</em>
<el-input clearable type="Number" @keyup.native="checkInteger(msg2,'OrderId')" v-model="msg2.OrderId" :placeholder="$t('objFill.v101.myOrdersAllType.qingsrddid')" class="w200"/> <el-input clearable type="Number" @keyup.native="checkInteger(msg2,'OrderId')" v-model="msg2.OrderId"
</span> :placeholder="$t('objFill.v101.myOrdersAllType.qingsrddid')" class="w200" />
</li> </span>
<li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'"> </li>
<span><em>{{$t('visa.v_tuanhao')}}</em> <li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'">
<el-input clearable type="" v-model="msg.TCNUM" :placeholder="$t('visa.v_shurutuanhao')" class="w200"/> <span><em>{{$t('visa.v_tuanhao')}}</em>
</span> <el-input clearable type="" v-model="msg.TCNUM" :placeholder="$t('visa.v_shurutuanhao')" class="w200" />
</li> </span>
<template v-if="Title=='审核'||Title=='查看'"> </li>
<li> <template v-if="Title=='审核'||Title=='查看'">
<span> <li>
<em>{{$t('sm.company')}}</em> <span>
<el-select filterable v-model='msg2.RB_Branch_Id' class="w200"> <em>{{$t('sm.company')}}</em>
<el-option value="-1" :label="$t('pub.unlimitedSel')"></el-option> <el-select filterable v-model='msg2.RB_Branch_Id' class="w200">
<el-option <el-option value="-1" :label="$t('pub.unlimitedSel')"></el-option>
v-for="item in companyList" <el-option v-for="item in companyList" :label='item.BName' :value='item.Id' :key='item.Id'></el-option>
:label='item.BName' </el-select>
:value='item.Id' </span>
:key='item.Id' </li>
></el-option> <li>
</el-select> <span>
</span> <em>{{$t('visa.v_yewuyuan')}}</em>
</li> <el-select filterable v-model='msg2.EnterId' class="w200">
<li> <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<span> <el-option v-for='item in EmployeeList' :label='item.EmName' :value='item.EmployeeId'
<em>{{$t('visa.v_yewuyuan')}}</em> :key='item.EmployeeId'>
<el-select filterable v-model='msg2.EnterId' class="w200"> </el-option>
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> </el-select>
<el-option v-for='item in EmployeeList' </span>
:label='item.EmName' </li>
:value='item.EmployeeId' <li>
:key='item.EmployeeId'> <span>
</el-option> <em>{{$t('Airticket.Air_StartTime')}}</em>
</el-select> <!-- <el-date-picker
</span>
</li>
<li>
<span>
<em>{{$t('Airticket.Air_StartTime')}}</em>
<!-- <el-date-picker
style="height: 34px;" style="height: 34px;"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
v-model="DatelistUse" v-model="DatelistUse"
...@@ -186,77 +186,69 @@ ...@@ -186,77 +186,69 @@
:start-placeholder="$t('OrderList.star')" :start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDatesUse"> :end-placeholder="$t('OrderList.end')" @change="getDatesUse">
</el-date-picker> --> </el-date-picker> -->
<StartDateLimit :clearable="false" :dateTime="DatelistUse" @change="(startDate,endDate)=>{DatelistUse=[startDate,endDate],getDatesUse()}" style="width: 210px;"></StartDateLimit> <StartDateLimit :clearable="false" :dateTime="DatelistUse"
</span> @change="(startDate,endDate)=>{DatelistUse=[startDate,endDate],getDatesUse()}" style="width: 210px;">
</li> </StartDateLimit>
</template> </span>
</li>
<li v-if="Title=='OP'"> </template>
<span>
<em>{{$t('visa.v_yewuyuan')}}</em> <li v-if="Title=='OP'">
<el-select filterable v-model='msg.EnterId' class="w200" clearable> <span>
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> <em>{{$t('visa.v_yewuyuan')}}</em>
<el-option v-for='item in EmployeeList' <el-select filterable v-model='msg.EnterId' class="w200" clearable>
:label='item.EmName' <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
:value='item.EmployeeId' <el-option v-for='item in EmployeeList' :label='item.EmName' :value='item.EmployeeId'
:key='item.EmployeeId'> :key='item.EmployeeId'>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li v-if="Title!='销售'&&Title!='申请'&&Title!='审核'&&Title!='查看'"> <li v-if="Title!='销售'&&Title!='申请'&&Title!='审核'&&Title!='查看'">
<span> <span>
<em>{{$t('objFill.yinliuren')}}</em> <em>{{$t('objFill.yinliuren')}}</em>
<el-select filterable v-model='msg.LureEmpId' class="w200" clearable> <el-select filterable v-model='msg.LureEmpId' class="w200" clearable>
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in EmployeeList' <el-option v-for='item in EmployeeList' :label='item.EmName' :value='item.EmployeeId'
:label='item.EmName' :key='item.EmployeeId'>
:value='item.EmployeeId' </el-option>
:key='item.EmployeeId'> </el-select>
</el-option> </span>
</el-select> </li>
</span> <li v-if="Title!='审核'&&Title!='查看'">
</li> <span>
<li v-if="Title!='审核'&&Title!='查看'"> <em>{{$t('active.cl_orderType')}}</em>
<span> <el-select v-model="msg.OrderType" class="w200 HworkInput">
<em>{{$t('active.cl_orderType')}}</em> <el-option v-for="item in OrderTypeList" :key="item.Id" :label="item.Name" :value="item.Id"></el-option>
<el-select v-model="msg.OrderType" class="w200 HworkInput"> </el-select>
<el-option v-for="item in OrderTypeList" :key="item.Id" :label="item.Name" :value="item.Id"></el-option> </span>
</el-select> </li>
</span>
</li>
<li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'">
<span>
<li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'"> <em>{{$t('hotel.hotel_OrderStates')}}</em>
<span> <el-select v-model='msg.OrderState' class="w200">
<em>{{$t('hotel.hotel_OrderStates')}}</em> <!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> -->
<el-select v-model='msg.OrderState' class="w200"> <el-option v-for='item in OrderStatusList' :label='item.Name' :value='item.Id' :key='item.Id'>
<!-- <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> --> </el-option>
<el-option v-for='item in OrderStatusList' </el-select>
:label='item.Name' </span>
:value='item.Id' </li>
:key='item.Id'> <li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'">
</el-option> <span>
</el-select> <em>{{$t('salesModule.PaymentStatus')}}</em>
</span> <el-select v-model='msg.Q_IsCollect' class="w200">
</li> <el-option v-for='item in QIsCollectList' :label='item.Name' :value='item.Id' :key='item.Id'>
<li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'"> </el-option>
<span> </el-select>
<em>{{$t('salesModule.PaymentStatus')}}</em> </span>
<el-select v-model='msg.Q_IsCollect' class="w200"> </li>
<el-option v-for='item in QIsCollectList'
:label='item.Name' <li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'">
:value='item.Id' <span>
:key='item.Id'> <em>{{$t('objFill.baomingshijian')}}</em>
</el-option> <!-- <el-date-picker
</el-select>
</span>
</li>
<li v-if="Title!='申请'&&Title!='审核'&&Title!='查看'">
<span>
<em>{{$t('objFill.baomingshijian')}}</em>
<!-- <el-date-picker
style="height: 34px;" style="height: 34px;"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
v-model="DatelistBM" v-model="DatelistBM"
...@@ -265,13 +257,14 @@ ...@@ -265,13 +257,14 @@
:start-placeholder="$t('OrderList.star')" :start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDatesBM"> :end-placeholder="$t('OrderList.end')" @change="getDatesBM">
</el-date-picker> --> </el-date-picker> -->
<StartDateLimit :clearable="false" :dateTime="DatelistBM" @change="(startDate,endDate)=>{msg.StartTime=startDate,msg.EndTime=endDate}"></StartDateLimit> <StartDateLimit :clearable="false" :dateTime="DatelistBM"
</span> @change="(startDate,endDate)=>{msg.StartTime=startDate,msg.EndTime=endDate}"></StartDateLimit>
</li> </span>
<li v-if="Title=='申请'"> </li>
<span> <li v-if="Title=='申请'">
<em>{{$t('Airticket.Air_StartTime')}}</em> <span>
<!-- <el-date-picker <em>{{$t('Airticket.Air_StartTime')}}</em>
<!-- <el-date-picker
style="height: 34px;" style="height: 34px;"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
v-model="DatelistUse" v-model="DatelistUse"
...@@ -280,34 +273,32 @@ ...@@ -280,34 +273,32 @@
:start-placeholder="$t('OrderList.star')" :start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDatesUse"> :end-placeholder="$t('OrderList.end')" @change="getDatesUse">
</el-date-picker> --> </el-date-picker> -->
<StartDateLimit :clearable="false" :dateTime="DatelistUse" @change="(startDate,endDate)=>{DatelistUse=[startDate,endDate],getDatesUse()}"></StartDateLimit> <StartDateLimit :clearable="false" :dateTime="DatelistUse"
</span> @change="(startDate,endDate)=>{DatelistUse=[startDate,endDate],getDatesUse()}"></StartDateLimit>
</li> </span>
<li style="line-height: 30px; padding-left: 30px;" v-if="Title!='申请'&&Title!='审核'&&Title!='查看'"> </li>
<el-popover width="350" trigger="click"> <li style="line-height: 30px; padding-left: 30px;" v-if="Title!='申请'&&Title!='审核'&&Title!='查看'">
<div class="groupSuperSearchLayer"> <el-popover width="350" trigger="click">
<p style="padding-bottom: 10px;">{{$t('objFill.v101.myOrdersAllType.dindgjcx')}}</p> <div class="groupSuperSearchLayer">
</div> <p style="padding-bottom: 10px;">{{$t('objFill.v101.myOrdersAllType.dindgjcx')}}</p>
<table class="groupSuperSearchLayerTable" border="0" cellspacing="0" cellpadding="0"> </div>
<tr> <table class="groupSuperSearchLayerTable" border="0" cellspacing="0" cellpadding="0">
<td style="padding: 5px 0"> <tr>
<span style="width: 100px;display: inline-block;">{{$t('advmanager.v_line')}}</span> <td style="padding: 5px 0">
<el-select v-model='msg.LineId' style="width: 210px;"> <span style="width: 100px;display: inline-block;">{{$t('advmanager.v_line')}}</span>
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> <el-select v-model='msg.LineId' style="width: 210px;">
<el-option v-for='item in LineList' <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
:label='item.LineName' <el-option v-for='item in LineList' :label='item.LineName' :value='item.LineID' :key='item.LineID'>
:value='item.LineID' </el-option>
:key='item.LineID'> </el-select>
</el-option> </td>
</el-select>
</td> </tr>
<tr>
</tr> <td style="padding: 5px 0">
<tr>
<td style="padding: 5px 0"> <span style="width: 100px;display: inline-block;">{{$t('hotel.hotel_StarDate')}}</span>
<!-- <el-date-picker
<span style="width: 100px;display: inline-block;">{{$t('hotel.hotel_StarDate')}}</span>
<!-- <el-date-picker
style="height: 34px;width: 210px;" style="height: 34px;width: 210px;"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
v-model="DatelistUse" v-model="DatelistUse"
...@@ -316,14 +307,16 @@ ...@@ -316,14 +307,16 @@
:start-placeholder="$t('OrderList.star')" :start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDatesUse"> :end-placeholder="$t('OrderList.end')" @change="getDatesUse">
</el-date-picker> --> </el-date-picker> -->
<StartDateLimit :clearable="false" :dateTime="DatelistUse" @change="(startDate,endDate)=>{DatelistUse=[startDate,endDate],getDatesUse()}" style="width: 210px;"></StartDateLimit> <StartDateLimit :clearable="false" :dateTime="DatelistUse"
</td> @change="(startDate,endDate)=>{DatelistUse=[startDate,endDate],getDatesUse()}"
style="width: 210px;"></StartDateLimit>
</tr> </td>
<tr>
<td style="padding: 5px 0"> </tr>
<span style="width: 100px;display: inline-block;">{{$t('objFill.wanjierq')}}</span> <tr>
<!-- <el-date-picker <td style="padding: 5px 0">
<span style="width: 100px;display: inline-block;">{{$t('objFill.wanjierq')}}</span>
<!-- <el-date-picker
style="height: 34px;width: 210px;" style="height: 34px;width: 210px;"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
v-model="Datelist" v-model="Datelist"
...@@ -332,324 +325,402 @@ ...@@ -332,324 +325,402 @@
:start-placeholder="$t('OrderList.star')" :start-placeholder="$t('OrderList.star')"
:end-placeholder="$t('OrderList.end')" @change="getDates"> :end-placeholder="$t('OrderList.end')" @change="getDates">
</el-date-picker> --> </el-date-picker> -->
<StartDateLimit :clearable="false" :dateTime="Datelist" @change="(startDate,endDate)=>{Datelist=[startDate,endDate],getDates()}" style="width: 210px;"></StartDateLimit> <StartDateLimit :clearable="false" :dateTime="Datelist"
</td> @change="(startDate,endDate)=>{Datelist=[startDate,endDate],getDates()}" style="width: 210px;">
</tr> </StartDateLimit>
<tr> </td>
<td style="padding: 5px 0"> </tr>
<span style="width: 100px;display: inline-block;">{{$t('objFill.tichenglx')}}</span> <tr>
<el-select v-model='msg.CommissionType' style="width: 210px;"> <td style="padding: 5px 0">
<el-option v-for='item in CommissionTypeList' <span style="width: 100px;display: inline-block;">{{$t('objFill.tichenglx')}}</span>
:label='item.Name' <el-select v-model='msg.CommissionType' style="width: 210px;">
:value='item.Id' <el-option v-for='item in CommissionTypeList' :label='item.Name' :value='item.Id' :key='item.Id'>
:key='item.Id'> </el-option>
</el-option> </el-select>
</el-select> </td>
</td> </tr>
</tr> <tr>
<tr> <td colspan="4">
<td colspan="4">
<input type="button" class="normalBtn" :value="$t('pub.searchBtn')"
@click="msg.pageIndex=1,currentPage=1,GetList();showWarningSearch=false" style="width: 310px!important;" />
</td>
</tr>
</table>
<span slot="reference" style="cursor: pointer;">{{$t('visa.v_gjchaxun')}}<i
class="el-icon-caret-bottom"></i></span>
</el-popover>
</li>
<li>
<input type="button" class="normalBtn" :value="$t('pub.searchBtn')" <input type="button" class="normalBtn" :value="$t('pub.searchBtn')"
@click.stop="search" /> @click="msg.pageIndex=1,currentPage=1,GetList();showWarningSearch=false"
<input v-if="pagesTitle=='销售'||pagesTitle=='OP'" type="button" class="hollowFixedBtn" :value="$t('visa.v_daochu')" @click="exportExcel"> style="width: 310px!important;" />
</li> </td>
</ul> </tr>
<span v-if="Title=='申请'" style="font-size:12px; color:red;padding:15px 0px 0px 0px;display:inline-block;">{{$t('objFill.v101.myOrdersAllType.zaicilbjzwp')}}</span> </table>
</div> <span slot="reference" style="cursor: pointer;">{{$t('visa.v_gjchaxun')}}<i
<!-- 统计版块 --> class="el-icon-caret-bottom"></i></span>
<div class="groupTourOrder_count" v-if="pagesTitle=='销售'||pagesTitle=='OP'"> </el-popover>
<div class="groupTourOrder_count_item HT_total" v-for="(item,index) in SummaryList"> </li>
<div> <li>
<span>{{item.CurrencyName}}</span> <input type="button" class="normalBtn" :value="$t('pub.searchBtn')" @click.stop="search" />
</div> <input v-if="pagesTitle=='销售'||pagesTitle=='OP'" type="button" class="hollowFixedBtn"
<p> :value="$t('visa.v_daochu')" @click="exportExcel">
<!-- groupTourOrder_count_green --> </li>
<span>{{$t('fnc.yingshou')}}: </ul>
{{item.Money.toFixed(2)}} <span v-if="Title=='申请'"
</span> style="font-size:12px; color:red;padding:15px 0px 0px 0px;display:inline-block;">{{$t('objFill.v101.myOrdersAllType.zaicilbjzwp')}}</span>
<span>{{$t('fnc.shishou')}}: </div>
{{item.Income.toFixed(2)}} <!-- 统计版块 -->
</span> <div class="groupTourOrder_count" v-if="pagesTitle=='销售'||pagesTitle=='OP'">
<span>{{$t('fnc.tuikuan')}}: <div class="groupTourOrder_count_item HT_total" v-for="(item,index) in SummaryList">
{{item.Refund.toFixed(2)}} <div>
</span> <span>{{item.CurrencyName}}</span>
<span>{{$t('fnc.shouxufei')}}: </div>
{{item.PlatformTax.toFixed(2)}} <p>
</span> <!-- groupTourOrder_count_green -->
<span>{{$t('objFill.yingshouxf')}}: <span>{{$t('fnc.yingshou')}}:
{{item.PreferTipAmount.toFixed(2)}} {{item.Money.toFixed(2)}}
</span> </span>
<span>{{$t('objFill.shishouxf')}}: <span>{{$t('fnc.shishou')}}:
{{item.IncomeTipAmount.toFixed(2)}} {{item.Income.toFixed(2)}}
</span> </span>
<span>{{$t('hotel.hotel_cost')}}: <span>{{$t('fnc.tuikuan')}}:
{{item.CostMoney.toFixed(2)}} {{item.Refund.toFixed(2)}}
</span> </span>
<span>{{$t('op.Tocollected')}}: <span>{{$t('fnc.shouxufei')}}:
<span :style="{'color': item.DueInMoney>0?'red':''}">{{item.DueInMoney.toFixed(2)}}</span> {{item.PlatformTax.toFixed(2)}}
</span> </span>
<span>{{$t('objFill.yuqilirun')}}: <span>{{$t('objFill.yingshouxf')}}:
<span :style="{'color': item.OrderProfit>0?'red':''}">{{item.OrderProfit.toFixed(2)}}</span> {{item.PreferTipAmount.toFixed(2)}}
</span> </span>
<span>{{$t('objFill.yuqixiaose')}}: <span>{{$t('objFill.shishouxf')}}:
{{item.OrderSalesMoney.toFixed(2)}} {{item.IncomeTipAmount.toFixed(2)}}
</span> </span>
<span>{{$t('objFill.baomingshu')}}: <span>{{$t('hotel.hotel_cost')}}:
<span style="color:#3a7cf7">{{item.GuestNum}}{{$t('hotel.hotel_people')}}</span> {{item.CostMoney.toFixed(2)}}
</span> </span>
</p> <span>{{$t('op.Tocollected')}}:
</div> <span :style="{'color': item.DueInMoney>0?'red':''}">{{item.DueInMoney.toFixed(2)}}</span>
</div> </span>
<OrderList :pagesTitle="Title" :OrderList="OrderList" <span>{{$t('objFill.yuqilirun')}}:
:msgObj="msg" <span :style="{'color': item.OrderProfit>0?'red':''}">{{item.OrderProfit.toFixed(2)}}</span>
:changePriceOuterVisible="changePriceOuterVisible" </span>
v-loading="loading" <span>{{$t('objFill.yuqixiaose')}}:
@success="msg.pageIndex=1,msg2.pageIndex=1,GetList()"> </OrderList> {{item.OrderSalesMoney.toFixed(2)}}
<div v-if="OrderList&&OrderList.length==0" style="text-align: center;padding: 100px;">{{$t('system.content_noData')}}</div> </span>
<el-pagination v-if="OrderList&&OrderList.length>0&&pagesTitle!='审核'&&pagesTitle!='查看'" background <span>{{$t('objFill.baomingshu')}}:
@current-change="handleCurrentChange" :current-page.sync="currentPage" <span style="color:#3a7cf7">{{item.GuestNum}}{{$t('hotel.hotel_people')}}</span>
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"> </span>
</el-pagination> </p>
<el-pagination v-if="OrderList&&OrderList.length>0&&(pagesTitle=='审核'||pagesTitle=='查看')" background
@current-change="handleCurrentChange2" :current-page.sync="currentPage2"
layout="total,prev, pager, next, jumper" :page-size="msg2.pageSize" :total=total2>
</el-pagination>
</div> </div>
</template> </div>
<script> <OrderList :pagesTitle="Title" :OrderList="OrderList" :msgObj="msg"
import OrderList from './OrderList.vue'; :changePriceOuterVisible="changePriceOuterVisible" v-loading="loading"
import StartDateLimit from '../../public/StartDateLimit.vue'; @success="msg.pageIndex=1,msg2.pageIndex=1,GetList()"> </OrderList>
export default { <div v-if="OrderList&&OrderList.length==0" style="text-align: center;padding: 100px;">
props:['pagesTitle','dataObj'], {{$t('system.content_noData')}}</div>
components: { OrderList,StartDateLimit }, <el-pagination v-if="OrderList&&OrderList.length>0&&pagesTitle!='审核'&&pagesTitle!='查看'" background
data() { @current-change="handleCurrentChange" :current-page.sync="currentPage" layout="total,prev, pager, next, jumper"
return { :page-size="msg.pageSize" :total="total">
companyList:[], </el-pagination>
getCompanyMsg:{ <el-pagination v-if="OrderList&&OrderList.length>0&&(pagesTitle=='审核'||pagesTitle=='查看')" background
RB_Group_Id:'0', @current-change="handleCurrentChange2" :current-page.sync="currentPage2" layout="total,prev, pager, next, jumper"
Status:'0', :page-size="msg2.pageSize" :total=total2>
}, </el-pagination>
total2:0,
currentPage2: 1, </div>
msg2:{ </template>
Q_IsCollect: '2',//收款状态 <script>
DepartSTime: '', //出发时间 import OrderList from './OrderList.vue';
DepartETime: '', import StartDateLimit from '../../public/StartDateLimit.vue';
EnterId: 0,//销售 export default {
RB_Branch_Id: '-1',//公司 props: ['pagesTitle', 'dataObj'],
OrderId: '', components: {
TicketStatus: '1',//审核状态 OrderList,
OrderType: '0', StartDateLimit
pageIndex: 1, },
pageSize: 15, data() {
IsSelectAll: 0, return {
}, companyList: [],
CommissionTypeList:[ getCompanyMsg: {
{Name: this.$t('pub.unlimitedSel'),Id:'-1'}, RB_Group_Id: '0',
{Name: this.$t('objFill.chujingtc'),Id:'1'}, Status: '0',
{Name: this.$t('objFill.guoneitc'),Id:'2'},
],
showWarningSearch: false,
TotalMsg: null,
MultipleChoiceList: [ //多选项目
{
Name: this.$t('active.cl_jipiao'),
Id: '1'
}, {
Name: this.$t('active.cl_qianzheng'),
Id: '2'
}, {
Name: this.$t('objFill.dijie'),
Id: '3'
}, {
Name: this.$t('restaurant.res_package'),
Id: '4'
}, {
Name: this.$t('active.cl_qita'),
Id: '5'
}
],
userInfo: {},
HotelList: [],
loading: false,
isShow: false,
outerVisible: false,
//订单列表
OrderList: [],
//默认高度
tableHeight: 0,
msg: {
pageIndex: 1,
pageSize: 15,
OrderId: "", //订单id
GuestId: 0, //客人id
EnterId: 0, //业务员id
OrderState: '1', //订单状态
Q_IsCollect: "0", //收款状态
StartTime: "",//报名开始日期
EndTime: "",//报名结束日期
FinishSTime: "",//完结开始时间
FinishETime: "",//完结结束时间
DepartSTime: "",//出发开始
DepartETime: "",//出发结束
TCNUM: "",//团号
ProductName: "",//商品名称
CustomerName: "",//客户名称
LureEmpId: 0,//引流人员
LineId: 0,//线路
TravelType: 0,//跟团类型 1跟团 2当地游
OrderType: "0",//订单类型
IsSelectCRM: 0,//1来源crm
IsMyOrder: 1,//1我的订单
CommissionType: '-1',//提成类型 1出境 2国内
TicketStatus: '0',//申请状态
},
total: 0,
currentPage: 1,
OrderTypeList:[],
OrderStateType:[
{Name: this.$t('objFill.pickup'),ID:'1'},
{Name: this.$t('objFill.send'),ID:'2'},
{Name: this.$t('objFill.baoche'),ID:'3'},
],
orderType:[
{Name: this.$t('OrderList.orderType.tour'),ID:'1'},
{Name: this.$t('OrderList.orderType.guest'),ID:'2'},
],
Datelist:'',
DatelistUse:'',
DatelistBM: [],
Title:'',
EmployeeList:[],
employeeMsg:{ // 员工
GroupId:'',
BranchId:-1,
DepartmentId:0,
PostId:0,
IsLeave:0,
},
OrderStatusList: [
{ Name: this.$t('pub.unlimitedSel'), Id: "0" },
{ Name: this.$t('pub.normalSel'), Id: "1" },
{ Name: this.$t('pub.cancelBtn'), Id: "2" },
],
QIsCollectList: [
{ Name: this.$t('pub.unlimitedSel'), Id: "0" },
{ Name: this.$t('objFill.yishouqian'), Id: "1" },
{ Name: this.$t('salesModule.NoCollect'), Id: "2" },
],
ticketingStatusList: [],
VisaList: [
{ Name: this.$t('pub.unlimitedSel'), Id: "0" },
{ Name: this.$t('objFill.weichuqian'), Id: "1" },
{ Name: this.$t('objFill.yichuqian'), Id: "2" },
],
LineList: [],
SummaryList: [],
TicketStatusList2: [
{ Name: this.$t('pub.unlimitedSel'), Id: "0" },
{ Name: this.$t('objFill.dsh'), Id: "1" },
{ Name: this.$t('fnc.ytongguo'), Id: "2" },
{ Name: this.$t('objFill.yibohui'), Id: "3" },
],
TicketStatusList3: [
{ Name: this.$t('pub.unlimitedSel'), Id: "5" },
{ Name: this.$t('objFill.dsh'), Id: "1" },
{ Name: this.$t('fnc.ytongguo'), Id: "2" },
{ Name: this.$t('objFill.yibohui'), Id: "3" },
],
TicketStatusList: [
{ Name: this.$t('pub.unlimitedSel'), Id: "0" },
{ Name: this.$t('objFill.daishenhe'), Id: "1" },
{ Name: this.$t('objFill.yishenqing'), Id: "2" },
// { Name: this.$t('objFill.yibohui'), Id: "3" },
],
changePriceOuterVisible: true,
};
}, },
watch: { total2: 0,
pagesTitle(val,oldval){ currentPage2: 1,
this.Title = val msg2: {
Q_IsCollect: '2', //收款状态
DepartSTime: '', //出发时间
DepartETime: '',
EnterId: 0, //销售
RB_Branch_Id: '-1', //公司
OrderId: '',
TicketStatus: '1', //审核状态
OrderType: '0',
pageIndex: 1,
pageSize: 15,
IsSelectAll: 0,
},
CommissionTypeList: [{
Name: this.$t('pub.unlimitedSel'),
Id: '-1'
}, },
dataObj:{ {
handler(val, oldVal) { Name: this.$t('objFill.chujingtc'),
this.msg.OrderType = String(val.tab) Id: '1'
this.msg.OrderId = val.OrderId },
this.msg2.OrderType = String(val.tab) {
this.msg2.OrderId = val.OrderId Name: this.$t('objFill.guoneitc'),
if(val.DepartSTime&&val.DepartSTime){ Id: '2'
this.msg.DepartSTime = val.DepartSTime; },
this.msg.DepartETime = val.DepartSTime; ],
this.msg2.DepartSTime = val.DepartSTime; showWarningSearch: false,
this.msg2.DepartETime = val.DepartSTime; TotalMsg: null,
this.DatelistUse = [this.msg.DepartSTime,this.msg.DepartETime] MultipleChoiceList: [ //多选项目
} {
this.GetList() Name: this.$t('active.cl_jipiao'),
}, Id: '1'
deep: true, }, {
Name: this.$t('active.cl_qianzheng'),
Id: '2'
}, {
Name: this.$t('objFill.dijie'),
Id: '3'
}, {
Name: this.$t('restaurant.res_package'),
Id: '4'
}, {
Name: this.$t('active.cl_qita'),
Id: '5'
} }
],
userInfo: {},
HotelList: [],
loading: false,
isShow: false,
outerVisible: false,
//订单列表
OrderList: [],
//默认高度
tableHeight: 0,
msg: {
pageIndex: 1,
pageSize: 15,
OrderId: "", //订单id
GuestId: 0, //客人id
EnterId: 0, //业务员id
OrderState: '1', //订单状态
Q_IsCollect: "0", //收款状态
StartTime: "", //报名开始日期
EndTime: "", //报名结束日期
FinishSTime: "", //完结开始时间
FinishETime: "", //完结结束时间
DepartSTime: "", //出发开始
DepartETime: "", //出发结束
TCNUM: "", //团号
ProductName: "", //商品名称
CustomerName: "", //客户名称
LureEmpId: 0, //引流人员
LineId: 0, //线路
TravelType: 0, //跟团类型 1跟团 2当地游
OrderType: "0", //订单类型
IsSelectCRM: 0, //1来源crm
IsMyOrder: 1, //1我的订单
CommissionType: '-1', //提成类型 1出境 2国内
TicketStatus: '0', //申请状态
}, },
methods: { total: 0,
search(){ currentPage: 1,
this.changePriceOuterVisible = false OrderTypeList: [],
if(this.dataObj&&this.dataObj.OrderId&&this.dataObj.DepartSTime&&this.dataObj.DepartETime){ OrderStateType: [{
this.msg.OrderId = 0 Name: this.$t('objFill.pickup'),
this.msg2.OrderId = 0 ID: '1'
this.msg2.OrderType = '0'
}
this.msg.pageIndex=1,
this.currentPage=1,
this.msg2.pageIndex=1,
this.currentPage2=1,
this.GetList()
}, },
// 公司 {
getCompany(){ Name: this.$t('objFill.send'),
this.apipost('admin_get_BranchGetList',{},res=>{ ID: '2'
if(res.data.resultCode==1){
this.companyList=res.data.data;
}else{}
},err=>{})
},
exportExcel() { //导出
if (!this.msg.StartTime || !this.msg.EndTime) {
this.$message.info(this.$t('objFill.qingxzksjssj'))
return;
}
let msg = JSON.parse(JSON.stringify(this.msg))
let userInfo = this.getLocalStorage();
msg.uid = userInfo.EmployeeId
var fileName = this.$t('objFill.dingdantjb')+".xls";
this.GetLocalFile("GuestOrder_post_GetDownLodGuestOrderStatisticsList", msg, fileName);
}, },
GetOrderTypeEnumList() { {
this.apipost("CarSingle_post_GetOrderTypeEnumList", {}, (res) => { Name: this.$t('objFill.baoche'),
if (res.data.resultCode == 1) { ID: '3'
this.OrderTypeList = res.data.data; },
let textName = this.$t('pub.unlimitedSel') ],
let data = { orderType: [{
Name: textName, Name: this.$t('OrderList.orderType.tour'),
Id: "0", ID: '1'
}; },
this.OrderTypeList.unshift(data); {
} else { Name: this.$t('OrderList.orderType.guest'),
this.$message.error(res.data.message); ID: '2'
} },
}); ],
Datelist: '',
DatelistUse: '',
DatelistBM: [],
Title: '',
EmployeeList: [],
employeeMsg: { // 员工
GroupId: '',
BranchId: -1,
DepartmentId: 0,
PostId: 0,
IsLeave: 0,
},
OrderStatusList: [{
Name: this.$t('pub.unlimitedSel'),
Id: "0"
},
{
Name: this.$t('pub.normalSel'),
Id: "1"
},
{
Name: this.$t('pub.cancelBtn'),
Id: "2"
},
],
QIsCollectList: [{
Name: this.$t('pub.unlimitedSel'),
Id: "0"
},
{
Name: this.$t('objFill.yishouqian'),
Id: "1"
},
{
Name: this.$t('salesModule.NoCollect'),
Id: "2"
},
],
ticketingStatusList: [],
VisaList: [{
Name: this.$t('pub.unlimitedSel'),
Id: "0"
},
{
Name: this.$t('objFill.weichuqian'),
Id: "1"
},
{
Name: this.$t('objFill.yichuqian'),
Id: "2"
},
],
LineList: [],
SummaryList: [],
TicketStatusList2: [{
Name: this.$t('pub.unlimitedSel'),
Id: "0"
},
{
Name: this.$t('objFill.dsh'),
Id: "1"
},
{
Name: this.$t('fnc.ytongguo'),
Id: "2"
},
{
Name: this.$t('objFill.yibohui'),
Id: "3"
},
],
TicketStatusList3: [{
Name: this.$t('pub.unlimitedSel'),
Id: "5"
},
{
Name: this.$t('objFill.dsh'),
Id: "1"
},
{
Name: this.$t('fnc.ytongguo'),
Id: "2"
},
{
Name: this.$t('objFill.yibohui'),
Id: "3"
},
],
TicketStatusList: [{
Name: this.$t('pub.unlimitedSel'),
Id: "0"
},
{
Name: this.$t('objFill.daishenhe'),
Id: "1"
},
{
Name: this.$t('objFill.yishenqing'),
Id: "2"
},
// { Name: this.$t('objFill.yibohui'), Id: "3" },
],
changePriceOuterVisible: true,
};
},
watch: {
pagesTitle(val, oldval) {
this.Title = val
},
dataObj: {
handler(val, oldVal) {
this.msg.OrderType = String(val.tab)
this.msg.OrderId = val.OrderId
this.msg2.OrderType = String(val.tab)
this.msg2.OrderId = val.OrderId
if (val.DepartSTime && val.DepartSTime) {
this.msg.DepartSTime = val.DepartSTime;
this.msg.DepartETime = val.DepartSTime;
this.msg2.DepartSTime = val.DepartSTime;
this.msg2.DepartETime = val.DepartSTime;
this.DatelistUse = [this.msg.DepartSTime, this.msg.DepartETime]
}
this.GetList()
}, },
getLineList() { deep: true,
}
},
methods: {
search() {
this.changePriceOuterVisible = false
if (this.dataObj && this.dataObj.OrderId && this.dataObj.DepartSTime && this.dataObj.DepartETime) {
this.msg.OrderId = 0
this.msg2.OrderId = 0
this.msg2.OrderType = '0'
}
this.msg.pageIndex = 1,
this.currentPage = 1,
this.msg2.pageIndex = 1,
this.currentPage2 = 1,
this.GetList()
},
// 公司
getCompany() {
this.apipost('admin_get_BranchGetList', {}, res => {
if (res.data.resultCode == 1) {
this.companyList = res.data.data;
} else {}
}, err => {})
},
exportExcel() { //导出
if (!this.msg.StartTime || !this.msg.EndTime) {
this.$message.info(this.$t('objFill.qingxzksjssj'))
return;
}
let msg = JSON.parse(JSON.stringify(this.msg))
let userInfo = this.getLocalStorage();
msg.uid = userInfo.EmployeeId
var fileName = this.$t('objFill.dingdantjb') + ".xls";
this.GetLocalFile("GuestOrder_post_GetDownLodGuestOrderStatisticsList", msg, fileName);
},
GetOrderTypeEnumList() {
this.apipost("CarSingle_post_GetOrderTypeEnumList", {}, (res) => {
if (res.data.resultCode == 1) {
this.OrderTypeList = res.data.data;
let textName = this.$t('pub.unlimitedSel')
let data = {
Name: textName,
Id: "0",
};
this.OrderTypeList.unshift(data);
} else {
this.$message.error(res.data.message);
}
});
},
getLineList() {
this.apipost( this.apipost(
"line_post_GetAllList", { "line_post_GetAllList", {
LineDirection: 0, LineDirection: 0,
...@@ -663,7 +734,7 @@ ...@@ -663,7 +734,7 @@
} }
); );
}, },
// 获取出票状态枚举 // 获取出票状态枚举
GetTicketStatusEnumList() { GetTicketStatusEnumList() {
this.crmapipost("/api/Order/GetTicketStatusEnumList", {}, (res) => { this.crmapipost("/api/Order/GetTicketStatusEnumList", {}, (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -673,7 +744,7 @@ ...@@ -673,7 +744,7 @@
} }
}); });
}, },
// 获取订单状态枚举 // 获取订单状态枚举
GetOrderStatusEnumList() { GetOrderStatusEnumList() {
this.crmapipost("/api/Order/GetOrderStatusEnumList", {}, (res) => { this.crmapipost("/api/Order/GetOrderStatusEnumList", {}, (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -683,229 +754,234 @@ ...@@ -683,229 +754,234 @@
} }
}); });
}, },
getEmployee() { //员工 getEmployee() { //员工
this.apipost('admin_get_EmployeeGetList', this.employeeMsg, res => { this.apipost('admin_get_EmployeeGetList', this.employeeMsg, res => {
if(res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.EmployeeList = res.data.data; this.EmployeeList = res.data.data;
} }
}, err => {}) }, err => {})
}, },
getDatesBM(){ getDatesBM() {
if(this.DatelistBM){ if (this.DatelistBM) {
this.msg.StartTime = this.DatelistBM[0]?this.DatelistBM[0]:'' this.msg.StartTime = this.DatelistBM[0] ? this.DatelistBM[0] : ''
this.msg.EndTime = this.DatelistBM[1]?this.DatelistBM[1]:'' this.msg.EndTime = this.DatelistBM[1] ? this.DatelistBM[1] : ''
}if(!this.DatelistBM){ }
this.msg.StartTime = '' if (!this.DatelistBM) {
this.msg.EndTime = '' this.msg.StartTime = ''
} this.msg.EndTime = ''
}, }
getDatesUse(){ },
if(this.DatelistUse){ getDatesUse() {
this.msg.DepartSTime = this.DatelistUse[0]?this.DatelistUse[0]:'' if (this.DatelistUse) {
this.msg.DepartETime = this.DatelistUse[1]?this.DatelistUse[1] :'' this.msg.DepartSTime = this.DatelistUse[0] ? this.DatelistUse[0] : ''
this.msg2.DepartSTime = this.DatelistUse[0]?this.DatelistUse[0] :'' this.msg.DepartETime = this.DatelistUse[1] ? this.DatelistUse[1] : ''
this.msg2.DepartETime = this.DatelistUse[1]?this.DatelistUse[1] :'' this.msg2.DepartSTime = this.DatelistUse[0] ? this.DatelistUse[0] : ''
}if(!this.DatelistUse){ this.msg2.DepartETime = this.DatelistUse[1] ? this.DatelistUse[1] : ''
this.msg.DepartSTime = '' }
this.msg.DepartETime = '' if (!this.DatelistUse) {
this.msg2.DepartSTime = '' this.msg.DepartSTime = ''
this.msg2.DepartETime = '' this.msg.DepartETime = ''
} this.msg2.DepartSTime = ''
}, this.msg2.DepartETime = ''
getDates(){ }
if(this.Datelist){ },
this.msg.FinishSTime = this.Datelist[0]?this.Datelist[0]:'' getDates() {
this.msg.FinishETime = this.Datelist[1]?this.Datelist[1]:'' if (this.Datelist) {
}if(!this.Datelist){ this.msg.FinishSTime = this.Datelist[0] ? this.Datelist[0] : ''
this.msg.FinishSTime = '' this.msg.FinishETime = this.Datelist[1] ? this.Datelist[1] : ''
this.msg.FinishETime = '' }
} if (!this.Datelist) {
}, this.msg.FinishSTime = ''
setEdate() { this.msg.FinishETime = ''
return this.addMoth(new Date().Format("yyyy-MM-dd"), 1) }
}, },
addMoth(d, m) { setEdate() {
let ds = d.split('-'), return this.addMoth(new Date().Format("yyyy-MM-dd"), 1)
_d = ds[2] - 0; },
let nextM = new Date(ds[0], ds[1] - 1 + m + 1, 0); addMoth(d, m) {
let max = nextM.getDate(); let ds = d.split('-'),
d = new Date(ds[0], ds[1] - 1 + m, _d > max ? max : _d); _d = ds[2] - 0;
return d.toLocaleDateString().match(/\d+/g).join('-') let nextM = new Date(ds[0], ds[1] - 1 + m + 1, 0);
}, let max = nextM.getDate();
getyMDOne(){ d = new Date(ds[0], ds[1] - 1 + m, _d > max ? max : _d);
let myDate = new Date() return d.toLocaleDateString().match(/\d+/g).join('-')
let myYear = myDate.getFullYear();//获取完整的年份(4位,1970-????) },
let myMonth = myDate.getMonth()+ 1;//获取当前月份(0-11,8代表1月) getyMDOne() {
let myToday = myDate.getDate(); //获取当前日(1-31) let myDate = new Date()
myMonth = myMonth > 9 ? myMonth : '0'+ myMonth let myYear = myDate.getFullYear(); //获取完整的年份(4位,1970-????)
myToday = myToday > 9 ? myToday : '0'+ myToday let myMonth = myDate.getMonth() + 1; //获取当前月份(0-11,8代表1月)
let nowDate = myYear +'-'+ myMonth +'-01' let myToday = myDate.getDate(); //获取当前日(1-31)
return nowDate myMonth = myMonth > 9 ? myMonth : '0' + myMonth
}, myToday = myToday > 9 ? myToday : '0' + myToday
getyMDTwo(){ let nowDate = myYear + '-' + myMonth + '-01'
let myDate = new Date() return nowDate
let myYear = myDate.getFullYear();//获取完整的年份(4位,1970-????) },
let myMonth = myDate.getMonth()+ 1;//获取当前月份(0-11,8代表1月) getyMDTwo() {
let myToday = myDate.getDate(); //获取当前日(1-31) let myDate = new Date()
myMonth = myMonth > 9 ? myMonth : '0'+ myMonth let myYear = myDate.getFullYear(); //获取完整的年份(4位,1970-????)
myToday = myToday > 9 ? myToday : '0'+ myToday let myMonth = myDate.getMonth() + 1; //获取当前月份(0-11,8代表1月)
let nowDate = myYear +'-'+ myMonth +'-'+ myToday let myToday = myDate.getDate(); //获取当前日(1-31)
return nowDate myMonth = myMonth > 9 ? myMonth : '0' + myMonth
}, myToday = myToday > 9 ? myToday : '0' + myToday
//获取酒店订单列表 let nowDate = myYear + '-' + myMonth + '-' + myToday
GetList() { return nowDate
this.loading = true },
let msgObj //获取酒店订单列表
let url = "CarSingle_post_GetGuestOrderStatisticsPageList" GetList() {
// 销售 OP this.loading = true
if(this.pagesTitle=='销售'){ let msgObj
this.msg.IsMyOrder = '1' let url = "CarSingle_post_GetGuestOrderStatisticsPageList"
this.msg.TicketStatus = '' // 销售 OP
}else if(this.pagesTitle=='申请'){ if (this.pagesTitle == '销售') {
url = "CarSingle_post_GetChangePriceOrderPageList" this.msg.IsMyOrder = '1'
this.msg.IsMyOrder = '1' this.msg.TicketStatus = ''
this.msg.Q_IsCollect = '2' } else if (this.pagesTitle == '申请') {
}else if(this.pagesTitle=='审核'||this.pagesTitle=='查看'){ url = "CarSingle_post_GetChangePriceOrderPageList"
url = "CarSingle_post_GetExaminePriceOrderPageList" this.msg.IsMyOrder = '1'
} else{ this.msg.Q_IsCollect = '2'
this.msg.TicketStatus = '' } else if (this.pagesTitle == '审核' || this.pagesTitle == '查看') {
this.msg.IsMyOrder = '0' url = "CarSingle_post_GetExaminePriceOrderPageList"
} } else {
msgObj = (this.pagesTitle=='审核'||this.pagesTitle=='查看')?this.msg2:this.msg this.msg.TicketStatus = ''
// if(this.pagesTitle=='查看'){ this.msg.IsMyOrder = '0'
// msgObj.TicketStatus=5; }
// } msgObj = (this.pagesTitle == '审核' || this.pagesTitle == '查看') ? this.msg2 : this.msg
this.apipost(url, msgObj, // if(this.pagesTitle=='查看'){
res => { // msgObj.TicketStatus=5;
if (res.data.resultCode == 1) { // }
this.changePriceOuterVisible = true this.apipost(url, msgObj,
// 数据统计 res => {
if(this.pagesTitle=='销售'||this.pagesTitle=='OP'){ if (res.data.resultCode == 1) {
this.getSummaryData() this.changePriceOuterVisible = true
} // 数据统计
let data = res.data.data.pageData if (this.pagesTitle == '销售' || this.pagesTitle == 'OP') {
this.OrderList = data; this.getSummaryData()
if(this.pagesTitle=='审核'||this.Title=='查看'){
this.total2 = res.data.data.count;
}else{
this.total = res.data.data.count;
}
// this.TotalMsg = res.data.data.StatModel
}else {
this.Error(res.data.message);
}
this.loading = false
},
err => {this.loading = false}
);
},
getSummaryData(){
this.apipost(
"CarSingle_post_GetGuestOrderStatistics",
this.msg,
(res) => {
if (res.data.resultCode == 1) {
let data = res.data.data;
this.SummaryList = data
} else {
this.$message.error(res.data.message);
}
} }
); let data = res.data.data.pageData
}, this.OrderList = data;
handleCurrentChange(val) { if (this.pagesTitle == '审核' || this.Title == '查看') {
this.msg.pageIndex = val; this.total2 = res.data.data.count;
this.GetList(); } else {
}, this.total = res.data.data.count;
handleCurrentChange2(val) { }
this.msg2.pageIndex = val; // this.TotalMsg = res.data.data.StatModel
this.GetList(); } else {
}, this.Error(res.data.message);
com_onresize() {
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
var contentsHeight = document.body.clientHeight;
var h = contentsHeight - 50 - 180 - 40;
if (h < 110) {
return;
} }
//设置table的行高 this.loading = false
this.tableHeight = h;
}, },
}, err => {
created() { this.loading = false
let userInfo=this.getLocalStorage();
this.employeeMsg.GroupId = userInfo.RB_Group_id; //集团ID
this.msg.EnterId = this.$route.query.EnterId?Number(this.$route.query.EnterId):0//userInfo.EmployeeId;
this.msg.LureEmpId = this.$route.query.LureEmpId?Number(this.$route.query.LureEmpId):0
if(this.pagesTitle=='销售'||this.pagesTitle=='OP'){
this.msg.StartTime = this.getBeforeDate(0, new Date())
this.msg.EndTime = this.getBeforeDate(0, new Date())
this.DatelistBM = [new Date(this.msg.StartTime),new Date()]
}else{
var now = new Date();
var month = now.getMonth()+1;//js获取到的是月份是 0-11 所以要加1
var year = now.getFullYear();
var nextMonthFirstDay = new Date([year,month ,1].join('-')).getTime();
var oneDay = 1000 * 24 * 60 * 60;
var monthLast = new Date(nextMonthFirstDay - oneDay).getDate()
if(!this.$route.query.DepartSTime&&!this.$route.query.DepartSTime){
this.msg.DepartSTime = '2023-04-01';
this.msg.DepartETime = [year,month,monthLast].join('-');
this.msg2.DepartSTime = '2023-04-01';
this.msg2.DepartETime = [year,month,monthLast].join('-');
}
this.DatelistUse = [this.msg.DepartSTime,this.msg.DepartETime]
this.msg.Q_IsCollect = '2'
}
if(this.$route.query.OrderId){
this.msg.OrderId=this.$route.query.OrderId
this.msg.StartTime = ''
this.msg.EndTime = ''
this.DatelistBM = []
this.msg.OrderState = '0'
}
if(this.$route.query.DepartSTime){
this.msg.DepartSTime=this.$route.query.DepartSTime
this.msg.DepartETime=this.$route.query.DepartETime
this.msg2.DepartSTime=this.$route.query.DepartSTime
this.msg2.DepartETime=this.$route.query.DepartETime
this.msg.CommissionType = this.$route.query.CommissionType
this.msg.StartTime = ''
this.msg.EndTime = ''
this.DatelistBM = []
this.DatelistUse = [this.msg.DepartSTime,this.msg.DepartETime]
this.msg.OrderState = '0'
} }
}, );
mounted() { },
this.Title = this.pagesTitle getSummaryData() {
if(this.Title=='OP'||this.Title=='审核'||this.Title=='查看'){ this.apipost(
this.getEmployee() "CarSingle_post_GetGuestOrderStatistics",
if(this.Title=='审核'||this.Title=='查看'){ this.msg,
this.getCompany() (res) => {
if (res.data.resultCode == 1) {
let data = res.data.data;
this.SummaryList = data
} else {
this.$message.error(res.data.message);
} }
} }
if(this.Title=='查看'){ );
this.msg2.TicketStatus = '5' },
this.msg2.IsSelectAll = 1 handleCurrentChange(val) {
} this.msg.pageIndex = val;
// this.GetOrderStatusEnumList()//订单状态 this.GetList();
// this.GetTicketStatusEnumList()//出票状态 },
this.GetOrderTypeEnumList() handleCurrentChange2(val) {
this.getLineList() this.msg2.pageIndex = val;
this.Datelist = this.getyMDOne() this.GetList();
this.userInfo = this.getLocalStorage(); },
this.GetList(); com_onresize() {
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
//自适应高度调节 var contentsHeight = document.body.clientHeight;
this.com_onresize(); var h = contentsHeight - 50 - 180 - 40;
window.onresize = () => { if (h < 110) {
this.com_onresize(); return;
} }
}, //设置table的行高
}; this.tableHeight = h;
},
},
created() {
let userInfo = this.getLocalStorage();
this.employeeMsg.GroupId = userInfo.RB_Group_id; //集团ID
this.msg.EnterId = this.$route.query.EnterId ? Number(this.$route.query.EnterId) : 0 //userInfo.EmployeeId;
this.msg.LureEmpId = this.$route.query.LureEmpId ? Number(this.$route.query.LureEmpId) : 0
if (this.pagesTitle == '销售' || this.pagesTitle == 'OP') {
this.msg.StartTime = this.getBeforeDate(0, new Date())
this.msg.EndTime = this.getBeforeDate(0, new Date())
this.DatelistBM = [new Date(this.msg.StartTime), new Date()]
} else {
var now = new Date();
var month = now.getMonth() + 1; //js获取到的是月份是 0-11 所以要加1
var year = now.getFullYear();
var nextMonthFirstDay = new Date([year, month, 1].join('-')).getTime();
var oneDay = 1000 * 24 * 60 * 60;
var monthLast = new Date(nextMonthFirstDay - oneDay).getDate()
if (!this.$route.query.DepartSTime && !this.$route.query.DepartSTime) {
this.msg.DepartSTime = '2023-04-01';
this.msg.DepartETime = [year, month, monthLast].join('-');
this.msg2.DepartSTime = '2023-04-01';
this.msg2.DepartETime = [year, month, monthLast].join('-');
}
this.DatelistUse = [this.msg.DepartSTime, this.msg.DepartETime]
this.msg.Q_IsCollect = '2'
}
if (this.$route.query.OrderId) {
this.msg.OrderId = this.$route.query.OrderId
this.msg.StartTime = ''
this.msg.EndTime = ''
this.DatelistBM = []
this.msg.OrderState = '0'
}
if (this.$route.query.DepartSTime) {
this.msg.DepartSTime = this.$route.query.DepartSTime
this.msg.DepartETime = this.$route.query.DepartETime
this.msg2.DepartSTime = this.$route.query.DepartSTime
this.msg2.DepartETime = this.$route.query.DepartETime
this.msg.CommissionType = this.$route.query.CommissionType
this.msg.StartTime = ''
this.msg.EndTime = ''
this.DatelistBM = []
this.DatelistUse = [this.msg.DepartSTime, this.msg.DepartETime]
this.msg.OrderState = '0'
}
},
mounted() {
this.Title = this.pagesTitle
if (this.Title == 'OP' || this.Title == '审核' || this.Title == '查看') {
this.getEmployee()
if (this.Title == '审核' || this.Title == '查看') {
this.getCompany()
}
}
if (this.Title == '查看') {
this.msg2.TicketStatus = '5'
this.msg2.IsSelectAll = 1
}
// this.GetOrderStatusEnumList()//订单状态
// this.GetTicketStatusEnumList()//出票状态
this.GetOrderTypeEnumList()
this.getLineList()
this.Datelist = this.getyMDOne()
this.userInfo = this.getLocalStorage();
this.GetList();
//自适应高度调节
this.com_onresize();
window.onresize = () => {
this.com_onresize();
}
},
};
</script> </script>
...@@ -5915,7 +5915,7 @@ export default { ...@@ -5915,7 +5915,7 @@ export default {
{ {
path: '/Classification', path: '/Classification',
name: 'Classification', name: 'Classification',
component: resolve => require(['@/components/WebSet/Classification'], resolve), component: resolve => require(['@/components/WebSet/classification'], resolve),
meta: { meta: {
title: '分类管理' title: '分类管理'
}, },
......
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