Commit bf3e3f38 authored by liudong1993's avatar liudong1993
parents 3696bb7e 948cfd40
......@@ -87,7 +87,6 @@ export default {
let datas = []
let Stocklegend = {}
let Newobj={};
console.log(this.CostAnalysisData,'---------')
for(let index=0;index<this.incomeTitles.length;index++){
for(let i=0;i<this.MonthList.length;i++){
let filter = this.CostAnalysisData.filter(z=>{return z.Month==this.MonthList[i]})
......
This diff is collapsed.
......@@ -32,7 +32,7 @@
<div class="des">
<div class="Img"><img style="width:31px;height:36px" src="../../assets/img/saleRank/rt.png" alt=""></div>
<div>
<p style="color:#34BFA3;font-size:24px"><span style="font-size:28px;font-weight:600">{{datainfo.TotalGuestNum}}</span></p>
<p style="color:#34BFA3;font-size:24px"><span style="font-size:28px;font-weight:600" @click="getUrl()">{{datainfo.TotalGuestNum}}</span></p>
</div>
</div>
......@@ -196,6 +196,16 @@ export default {
},
methods: {
getUrl() {
this.$router.push({
name: "enrollTotal",
query: {
"CustomerId": this.customerId,
"CustomerName":this.datainfo.Contact,
blank: 'y'
}
})
},
goCoupons(id){
this.$router.push({
name: 'CouponsList',
......
......@@ -80,6 +80,19 @@
<treeselect class="w200 fl" :options="departmentList" @select="getEmployeeList" v-model="DepartmentId"
:placeholder="$t('pub.unlimitedSel')" :normalizer="normalizer" />
</li>
<li>
<span class="fl mt10">
<em><el-switch
style="display: block"
v-model="msg.fanYong"
active-text="特惠专案客户"
inactive-text=""
active-value="1"
inactive-value="0">
</el-switch></em>
</span>
</li>
<li style="float:right;padding-top:10px;color:#111111">{{$t('salesModule.JYETJ')}}{{datainfo.sumMoney}}</li>
<li>
<input type="button" class="hollowFixedBtn" :value="$t('ground.kehuditu')" @click="getMap()">
......@@ -445,6 +458,7 @@
rtsSort: '',
orderBy: 'TradeMoney desc',
ExceptionCount: 0,
fanYong:0,
},
RecipientMsg: {
CustomerIdArr: [],
......
......@@ -869,7 +869,7 @@
},
methods: {
GetCustomerListByKeyWord(query) {
GetCustomerListByKeyWord(query,Type) {
if (query !== '') {
// this.employeeMsg.KeyWord = query;
this.apipost(
......@@ -878,6 +878,7 @@
res => {
if (res.data.resultCode == 1) {
this.customerList = res.data.data;
if(this.customerList.length>0&&Type)this.msg.CustomerId = this.customerList[0].customerId
}
},
err => {}
......@@ -1191,6 +1192,7 @@
if (this.$route.query.OrderId) {
this.msg.tempOrderId = this.$route.query.OrderId
}
this.getCompany();
this.getCtlxList();
......@@ -1228,6 +1230,10 @@
this.msg.QStartDate = "";
this.msg.QEndDate = "";
}
if(this.$route.query.CustomerName){
this.GetCustomerListByKeyWord(this.$route.query.CustomerName,1);
}
this.getList();
},
};
......
......@@ -1512,12 +1512,21 @@ export default {
title: '餐厅套餐查询'
},
},
,
{
path: '/domesticRestaurantList', //国内餐厅列表
name: 'domesticRestaurantList',
component: resolve => require(['@/components/Restaurant/domesticRestaurantList'], resolve),
path: '/RestaurantPackage', //餐厅套餐查询
name: 'RestaurantPackage',
component: resolve => require(['@/components/Restaurant/RestaurantPackage'], resolve),
meta: {
title: '餐厅套餐查询'
},
},
{
path: '/restaurantRankingList', //餐厅使用排行
name: 'restaurantRankingList',
component: resolve => require(['@/components/Restaurant/restaurantRankingList'], resolve),
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