Commit a5fe41a7 authored by 黄奎's avatar 黄奎

页面修改

parent 85e506b0
...@@ -117,7 +117,8 @@ ...@@ -117,7 +117,8 @@
<span><em>{{ $t("scen.sc_ftTime") }}</em> <span><em>{{ $t("scen.sc_ftTime") }}</em>
<!-- <el-date-picker v-model="msg.QStartDate" @change="dataDuiQ()" class="w135" value-format="yyyy-MM-dd" <!-- <el-date-picker v-model="msg.QStartDate" @change="dataDuiQ()" class="w135" value-format="yyyy-MM-dd"
type="date"></el-date-picker> --> type="date"></el-date-picker> -->
<DateLimit :clearable="false" :StartGroupDate="msg.QStartDate" :EndGroupDate="msg.QEndDate" @change="(date)=> {msg.QStartDate = date,dataDuiQ()}"></DateLimit> <DateLimit :clearable="false" :StartGroupDate="msg.QStartDate" :EndGroupDate="msg.QEndDate"
@change="(date)=> {msg.QStartDate = date,dataDuiQ()}"></DateLimit>
- -
<el-date-picker v-model="msg.QEndDate" @change="dataDuiQ()" class="w135" value-format="yyyy-MM-dd" <el-date-picker v-model="msg.QEndDate" @change="dataDuiQ()" class="w135" value-format="yyyy-MM-dd"
type="date" :picker-options="pickerBeginDateAfter"></el-date-picker> type="date" :picker-options="pickerBeginDateAfter"></el-date-picker>
...@@ -127,7 +128,8 @@ ...@@ -127,7 +128,8 @@
<span><em>{{ $t("fnc.bmriqi") }}</em> <span><em>{{ $t("fnc.bmriqi") }}</em>
<!-- <el-date-picker v-model="msg.CStartDate" @change="dataDui()" class="w135" value-format="yyyy-MM-dd" <!-- <el-date-picker v-model="msg.CStartDate" @change="dataDui()" class="w135" value-format="yyyy-MM-dd"
type="date"></el-date-picker> --> type="date"></el-date-picker> -->
<DateLimit :clearable="true" :StartGroupDate="msg.CStartDate" :EndGroupDate="msg.CEndDate" @change="(date)=> {msg.CStartDate = date,dataDuiQ()}"></DateLimit> <DateLimit :clearable="true" :StartGroupDate="msg.CStartDate" :EndGroupDate="msg.CEndDate"
@change="(date)=> {msg.CStartDate = date,dataDuiQ()}"></DateLimit>
- -
<el-date-picker v-model="msg.CEndDate" @change="dataDui()" class="w135" value-format="yyyy-MM-dd" <el-date-picker v-model="msg.CEndDate" @change="dataDui()" class="w135" value-format="yyyy-MM-dd"
type="date" :picker-options="pickerCEndDate" :placeholder="$t('admin.admin_choDate')"></el-date-picker> type="date" :picker-options="pickerCEndDate" :placeholder="$t('admin.admin_choDate')"></el-date-picker>
...@@ -135,14 +137,15 @@ ...@@ -135,14 +137,15 @@
</li> </li>
<li> <li>
<span><em>{{ $t("fnc.khxinxi") }}</em> <span><em>{{ $t("fnc.khxinxi") }}</em>
<el-select v-model="msg.CustomerId" class="w150" filterable remote reserve-keyword :placeholder="$t('pub.PleaseKeyWords')" <el-select v-model="msg.CustomerId" class="w150" filterable remote reserve-keyword
:remote-method="GetCustomerListByKeyWord"> :placeholder="$t('pub.PleaseKeyWords')" :remote-method="GetCustomerListByKeyWord">
<el-option :label="$t('pub.unlimitedSel')" value="0"></el-option> <el-option :label="$t('pub.unlimitedSel')" value="0"></el-option>
<el-option v-for="item in customerList" :label="item.customerName" :value="item.customerId" :key="item.customerId"> <el-option v-for="item in customerList" :label="item.customerName" :value="item.customerId"
:key="item.customerId">
<div> <div>
<span>{{`${item.customerName}`}}</span> <span>{{`${item.customerName}`}}</span>
<span style="margin-left: 15px;"> <span style="margin-left: 15px;">
<el-tag size="mini" >({{item.contact}}{{item.contactNumber}})</el-tag> <el-tag size="mini">({{item.contact}}{{item.contactNumber}})</el-tag>
</span> </span>
</div> </div>
</el-option> </el-option>
...@@ -368,7 +371,9 @@ ...@@ -368,7 +371,9 @@
</p> </p>
<p v-if="item.lureEmpName">{{$t('objFill.yinliuren')}}:{{ item.lureEmpName }}</p> <p v-if="item.lureEmpName">{{$t('objFill.yinliuren')}}:{{ item.lureEmpName }}</p>
<p>{{ $t("hotel.hotel_StartTeam") }}:{{ item.startDate }}</p> <p>{{ $t("hotel.hotel_StartTeam") }}:{{ item.startDate }}</p>
<p v-if="item.teamType==1||item.teamType==2">{{item.status==1?$t('objFill.weijietuan'):(item.status==2?$t('objFill.yijietuan'):(item.status==5?$t('objFill.daijietuansh'):""))}}{{item.status==2?item.outGroupAuditDate:""}}</p> <p v-if="item.teamType==1||item.teamType==2">
{{item.status==1?$t('objFill.weijietuan'):(item.status==2?$t('objFill.yijietuan'):(item.status==5?$t('objFill.daijietuansh'):""))}}{{item.status==2?item.outGroupAuditDate:""}}
</p>
<p v-if="item.tradeWay == 1">{{ item.platformOrder }}</p> <p v-if="item.tradeWay == 1">{{ item.platformOrder }}</p>
<!-- <p v-if="item.commissionMoney" style="color: red;"> <!-- <p v-if="item.commissionMoney" style="color: red;">
{{ $t("salesModule.CommissionNum") }}:{{ item.commissionMoney }} {{ $t("salesModule.CommissionNum") }}:{{ item.commissionMoney }}
...@@ -459,7 +464,8 @@ ...@@ -459,7 +464,8 @@
<span v-if="item.dueInMoney == 0" style="cursor: pointer">{{ <span v-if="item.dueInMoney == 0" style="cursor: pointer">{{
moneyFormatN(item.income) moneyFormatN(item.income)
}}</span> }}</span>
<span v-if="item.dueInMoney != 0" style="cursor: pointer; color: #e95252">{{ moneyFormatN(item.income) }}</span> <span v-if="item.dueInMoney != 0"
style="cursor: pointer; color: #e95252">{{ moneyFormatN(item.income) }}</span>
</td> </td>
<!-- 优惠 --> <!-- 优惠 -->
<td> <td>
...@@ -562,7 +568,8 @@ ...@@ -562,7 +568,8 @@
<td>{{ moneyFormatN(item.zaiTuMoney) }}</td> <td>{{ moneyFormatN(item.zaiTuMoney) }}</td>
<td>{{ moneyFormatN(item.cashReceiptsMoney) }}</td> <td>{{ moneyFormatN(item.cashReceiptsMoney) }}</td>
<td> <td>
<span :class="{ color_red_order: item.dueInMoney !== item.preferPrice }">{{ moneyFormatN(item.dueInMoney) }}</span> <span
:class="{ color_red_order: item.dueInMoney !== item.preferPrice }">{{ moneyFormatN(item.dueInMoney) }}</span>
</td> </td>
<td v-if="item.isChargeLossOrders == 1" class="fz12" style="color: #e95252"> <td v-if="item.isChargeLossOrders == 1" class="fz12" style="color: #e95252">
{{ $t("fnc.shousun") }} {{ $t("fnc.shousun") }}
...@@ -648,8 +655,10 @@ ...@@ -648,8 +655,10 @@
<template v-for="(uItem,uIndex) in item.orderUnionFlightList"> <template v-for="(uItem,uIndex) in item.orderUnionFlightList">
<div v-if="(uItem.flightName&&uItem.flightName.id)||(uItem.backFlightName&&uItem.backFlightName.id)" <div v-if="(uItem.flightName&&uItem.flightName.id)||(uItem.backFlightName&&uItem.backFlightName.id)"
:key="uIndex"> :key="uIndex">
{{$t('objFill.liangyunxx')}}<span style="color: red">{{$t('objFill.yipeilianyun')}}{{uItem.configNum}}人,{{uItem.airticketUnionNotes}} {{$t('objFill.liangyunxx')}}<span
<span v-if="uItem.isSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span v-else>{{$t('visa.v_zanding')}}</span> style="color: red">{{$t('objFill.yipeilianyun')}}{{uItem.configNum}}人,{{uItem.airticketUnionNotes}}
<span v-if="uItem.isSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span
v-else>{{$t('visa.v_zanding')}}</span>
</span> </span>
<template v-if="uItem.flightName&&uItem.flightName.id"> <template v-if="uItem.flightName&&uItem.flightName.id">
<br /> <br />
...@@ -685,7 +694,8 @@ ...@@ -685,7 +694,8 @@
</template> </template>
<template v-else> <template v-else>
<span class="font-color-red" v-if="item.orderspecialofferState === -1">{{$t('visa.v_jujue')}}</span> <span class="font-color-red" v-if="item.orderspecialofferState === -1">{{$t('visa.v_jujue')}}</span>
<span class="font-color-org" v-if="item.orderspecialofferState === 0">{{$t('objFill.shengpizhong')}}</span> <span class="font-color-org"
v-if="item.orderspecialofferState === 0">{{$t('objFill.shengpizhong')}}</span>
<span class="font-color-green" v-if="item.orderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span> <span class="font-color-green" v-if="item.orderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span>
</template> </template>
</div> </div>
...@@ -821,8 +831,8 @@ ...@@ -821,8 +831,8 @@
IsCollectMoney: 0, IsCollectMoney: 0,
IsUseCoupon: "0", IsUseCoupon: "0",
IsUseRedEnvelopeMoney: "0", IsUseRedEnvelopeMoney: "0",
CustomerId:"0", CustomerId: "0",
isNormal:0, isNormal: 0,
}, },
employeeMsg: { employeeMsg: {
RB_Group_id: "0", RB_Group_id: "0",
...@@ -881,11 +891,11 @@ ...@@ -881,11 +891,11 @@
userId: 0, userId: 0,
//修改订单业务员1-有权限 //修改订单业务员1-有权限
isEditOrderCreate: 0, isEditOrderCreate: 0,
customerList:[] customerList: []
}; };
}, },
'$route': { '$route': {
handler (val, oldVal) { handler(val, oldVal) {
// crm自动登陆传过来的参数 // crm自动登陆传过来的参数
if (this.$route.query.crmOrderObj) { if (this.$route.query.crmOrderObj) {
let crmOrderObj = JSON.parse(this.$route.query.crmOrderObj) let crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
...@@ -913,6 +923,12 @@ ...@@ -913,6 +923,12 @@
this.$route.query.EmployeeId === undefined ? this.$route.query.EmployeeId === undefined ?
"-1" : "-1" :
this.$route.query.EmployeeId; this.$route.query.EmployeeId;
this.msg.RB_Department_Id =
this.$route.query.RB_Department_Id === undefined ?
"-1" :
this.$route.query.RB_Department_Id;
this.msg.QStartDate = this.msg.QStartDate =
this.$route.query.starTime === undefined ? this.$route.query.starTime === undefined ?
"" : "" :
...@@ -932,20 +948,20 @@ ...@@ -932,20 +948,20 @@
this.msg.QStartDate = ""; this.msg.QStartDate = "";
this.msg.QEndDate = ""; this.msg.QEndDate = "";
} }
if(this.$route.query.CStartDate||this.$route.query.CEndDate){ if (this.$route.query.CStartDate || this.$route.query.CEndDate) {
this.msg.QStartDate = ""; this.msg.QStartDate = "";
this.msg.QEndDate = ""; this.msg.QEndDate = "";
this.msg.CStartDate = this.$route.query.CStartDate this.msg.CStartDate = this.$route.query.CStartDate
this.msg.CEndDate = this.$route.query.CEndDate this.msg.CEndDate = this.$route.query.CEndDate
if(this.$route.query.discount) this.msg.IsUseCoupon = this.$route.query.discount if (this.$route.query.discount) this.msg.IsUseCoupon = this.$route.query.discount
} }
if(this.$route.query.BranchId>=-1){ if (this.$route.query.BranchId >= -1) {
this.msg.BranchId = this.$route.query.BranchId this.msg.BranchId = this.$route.query.BranchId
} }
if(this.$route.query.isNormal) this.msg.isNormal =this.$route.query.isNormal if (this.$route.query.isNormal) this.msg.isNormal = this.$route.query.isNormal
if(this.$route.query.CustomerName){ if (this.$route.query.CustomerName) {
this.GetCustomerListByKeyWord(this.$route.query.CustomerName,1); this.GetCustomerListByKeyWord(this.$route.query.CustomerName, 1);
if(this.$route.query.CustomerId){ if (this.$route.query.CustomerId) {
this.msg.CustomerId = parseInt(this.$route.query.CustomerId); this.msg.CustomerId = parseInt(this.$route.query.CustomerId);
} }
...@@ -961,8 +977,9 @@ ...@@ -961,8 +977,9 @@
if (query !== '') { if (query !== '') {
// this.employeeMsg.KeyWord = query; // this.employeeMsg.KeyWord = query;
this.apipost( this.apipost(
"app_get_GetCustomerListByKeyWord", "app_get_GetCustomerListByKeyWord", {
{KeyWord:query}, KeyWord: query
},
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.customerList = res.data.data; this.customerList = res.data.data;
...@@ -1063,7 +1080,7 @@ ...@@ -1063,7 +1080,7 @@
if ( if (
new Date(this.msg.QStartDate).getTime() > new Date(this.msg.QStartDate).getTime() >
new Date(this.msg.QEndDate).getTime() && new Date(this.msg.QEndDate).getTime() &&
this.msg.QEndDate !== ""&&this.msg.QEndDate !=null this.msg.QEndDate !== "" && this.msg.QEndDate != null
) { ) {
this.$message.error(this.$t('objFill.jieshurqibnxyksrq')); this.$message.error(this.$t('objFill.jieshurqibnxyksrq'));
this.msg.QEndDate = ""; this.msg.QEndDate = "";
...@@ -1161,6 +1178,7 @@ ...@@ -1161,6 +1178,7 @@
this.getCompanyMsg, this.getCompanyMsg,
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log("admin_get_BranchGetList",res.data);
this.companyList = res.data.data; this.companyList = res.data.data;
} else {} } else {}
}, },
...@@ -1282,7 +1300,6 @@ ...@@ -1282,7 +1300,6 @@
} }
this.getCompany(); this.getCompany();
this.getCtlxList(); this.getCtlxList();
this.getEmployee(); this.getEmployee();
this.getLineList(); this.getLineList();
...@@ -1299,6 +1316,12 @@ ...@@ -1299,6 +1316,12 @@
this.$route.query.EmployeeId === undefined ? this.$route.query.EmployeeId === undefined ?
"-1" : "-1" :
this.$route.query.EmployeeId; this.$route.query.EmployeeId;
this.msg.RB_Department_Id =
this.$route.query.RB_Department_Id === undefined ?
"-1" :
this.$route.query.RB_Department_Id;
this.msg.QStartDate = this.msg.QStartDate =
this.$route.query.starTime === undefined ? this.$route.query.starTime === undefined ?
"" : "" :
...@@ -1318,22 +1341,21 @@ ...@@ -1318,22 +1341,21 @@
this.msg.QStartDate = ""; this.msg.QStartDate = "";
this.msg.QEndDate = ""; this.msg.QEndDate = "";
} }
if(this.$route.query.CStartDate||this.$route.query.CEndDate){ if (this.$route.query.CStartDate || this.$route.query.CEndDate) {
this.msg.QStartDate = ""; this.msg.QStartDate = "";
this.msg.QEndDate = ""; this.msg.QEndDate = "";
this.msg.CStartDate = this.$route.query.CStartDate this.msg.CStartDate = this.$route.query.CStartDate
this.msg.CEndDate = this.$route.query.CEndDate this.msg.CEndDate = this.$route.query.CEndDate
if(this.$route.query.discount) this.msg.IsUseCoupon = this.$route.query.discount if (this.$route.query.discount) this.msg.IsUseCoupon = this.$route.query.discount
} }
if(this.$route.query.BranchId>=-1){ if (this.$route.query.BranchId &&this.$route.query.BranchId >= -1) {
this.msg.BranchId = this.$route.query.BranchId this.msg.BranchId = Number(this.$route.query.BranchId);
} }
if(this.$route.query.isNormal) this.msg.isNormal =this.$route.query.isNormal if (this.$route.query.isNormal) this.msg.isNormal = this.$route.query.isNormal
if(this.$route.query.CustomerName){ if (this.$route.query.CustomerName) {
this.GetCustomerListByKeyWord(this.$route.query.CustomerName,1); this.GetCustomerListByKeyWord(this.$route.query.CustomerName, 1);
if(this.$route.query.CustomerId){ if (this.$route.query.CustomerId) {
this.msg.CustomerId = parseInt(this.$route.query.CustomerId); this.msg.CustomerId = parseInt(this.$route.query.CustomerId);
} }
} }
this.getList(); this.getList();
......
...@@ -930,7 +930,7 @@ export default { ...@@ -930,7 +930,7 @@ export default {
CEndDate: this.parameters.dateRange[1], CEndDate: this.parameters.dateRange[1],
BranchId: this.parameters.branchId, BranchId: this.parameters.branchId,
RB_Department_Id:this.parameters.RB_Department_Id, RB_Department_Id:this.parameters.RB_Department_Id,
CreateBy:this.parameters.empId, EmployeeId:this.parameters.empId,
isNormal: 1, isNormal: 1,
blank: "y", blank: "y",
} }
...@@ -939,7 +939,7 @@ export default { ...@@ -939,7 +939,7 @@ export default {
CStartDate: this.parameters.dateRange[0], CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1], CEndDate: this.parameters.dateRange[1],
RB_Department_Id:this.parameters.RB_Department_Id, RB_Department_Id:this.parameters.RB_Department_Id,
CreateBy:this.parameters.empId, EmployeeId:this.parameters.empId,
isNormal: 1, isNormal: 1,
blank: "y", blank: "y",
} }
...@@ -948,7 +948,7 @@ export default { ...@@ -948,7 +948,7 @@ export default {
CStartDate: this.parameters.dateRange[0], CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1], CEndDate: this.parameters.dateRange[1],
RB_Department_Id:this.parameters.RB_Department_Id, RB_Department_Id:this.parameters.RB_Department_Id,
CreateBy:this.parameters.empId, EmployeeId:this.parameters.empId,
isNormal: 1, isNormal: 1,
blank: "y", blank: "y",
} }
...@@ -957,7 +957,7 @@ export default { ...@@ -957,7 +957,7 @@ export default {
CStartDate: this.parameters.dateRange[0], CStartDate: this.parameters.dateRange[0],
CEndDate: this.parameters.dateRange[1], CEndDate: this.parameters.dateRange[1],
RB_Department_Id:this.parameters.RB_Department_Id, RB_Department_Id:this.parameters.RB_Department_Id,
CreateBy:this.parameters.empId, EmployeeId:this.parameters.empId,
discount: 1, discount: 1,
isNormal: 1, isNormal: 1,
blank: "y", blank: "y",
......
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