Commit a7c1834f authored by youjie's avatar youjie

no message

parent 1b08ad76
...@@ -152,7 +152,9 @@ ...@@ -152,7 +152,9 @@
if (ActionMenuCode.indexOf('home_DCommissionZD') != -1) { if (ActionMenuCode.indexOf('home_DCommissionZD') != -1) {
this.cMaker = true; this.cMaker = true;
} }
if (ActionMenuCode.indexOf('home_CommissionSeeAll') != -1) {//是否有看所有人的权限 if (ActionMenuCode.indexOf('S_CheckBranchOrder') != -1
||ActionMenuCode.indexOf('S_CheckAllOrder')!=-1
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!=-1) {//是否有看所有人的权限
this.disabled = false; this.disabled = false;
}else{ }else{
this.disabled = true; this.disabled = true;
......
...@@ -164,8 +164,8 @@ ...@@ -164,8 +164,8 @@
<tr v-for="item in dataList"> <tr v-for="item in dataList">
<td>{{item.OutBranchName?item.OutBranchName:'-'}}</td> <td>{{item.OutBranchName?item.OutBranchName:'-'}}</td>
<td>{{item.OrderTypeName}}</td> <td>{{item.OrderTypeName}}</td>
<td><span class="cursor-p" style="color: #409EFF;" @click="clickUrl(item,1)">{{item.OrderId}}</span></td> <td><span class="cursor-p" :style="{'color': !disabled?'#409EFF':''}" @click="!disabled?clickUrl(item,1):''">{{item.OrderId}}</span></td>
<td><span class="cursor-p" style="color: #409EFF;" v-if="item.TCNUM" @click="goTuanDetails(item)">{{item.TCNUM}}({{item.TCID}})</span></td> <td><span class="cursor-p" :style="{'color': !disabled?'#409EFF':''}" v-if="item.TCNUM" @click="!disabled?goTuanDetails(item):''">{{item.TCNUM}}({{item.TCID}})</span></td>
<td>{{item.BranchName?item.BranchName:'-'}}</td> <td>{{item.BranchName?item.BranchName:'-'}}</td>
<td>{{item.DeptName?item.DeptName:'-'}}</td> <td>{{item.DeptName?item.DeptName:'-'}}</td>
<td>{{item.UserName}}</td> <td>{{item.UserName}}</td>
...@@ -173,6 +173,7 @@ ...@@ -173,6 +173,7 @@
<td>{{item.IsEurope==1?'是':'否'}}</td> <td>{{item.IsEurope==1?'是':'否'}}</td>
<td>{{item.PeopleNum}}</td> <td>{{item.PeopleNum}}</td>
<td>{{item.TCGuestNum}}</td> <td>{{item.TCGuestNum}}</td>
<!-- class="cursor-p" style="color: #409EFF;" @click="GenerateScale(item)" -->
<td>{{item.Way==1?'销售额':'利润比'}}</td> <td>{{item.Way==1?'销售额':'利润比'}}</td>
<td>{{item.Rate?item.Rate+'%':'-'}}</td> <td>{{item.Rate?item.Rate+'%':'-'}}</td>
<td>{{item.OrderProfit}}</td> <td>{{item.OrderProfit}}</td>
...@@ -201,7 +202,7 @@ ...@@ -201,7 +202,7 @@
</template> </template>
<script> <script>
import inAccordanceWith from "../ImpressionTicketing/inAccordanceWithDialog" import inAccordanceWith from "./inAccordanceWithDialog"
import moment from "moment" import moment from "moment"
export default { export default {
components:{ components:{
...@@ -285,12 +286,18 @@ ...@@ -285,12 +286,18 @@
} }
} }
this.msg.PeriodId = this.$route.query&&this.$route.query.PeriodId>0?Number(this.$route.query.PeriodId):-1 this.msg.PeriodId = this.$route.query&&this.$route.query.PeriodId>0?Number(this.$route.query.PeriodId):-1
this.msg.OrderId = this.$route.query&&this.$route.query.OrderId?this.$route.query.OrderId:''
this.msg.OutBranchId = this.$route.query&&this.$route.query.RB_Branch_Id>-1?Number(this.$route.query.RB_Branch_Id):Number(userInfo.RB_Branch_id) this.msg.OutBranchId = this.$route.query&&this.$route.query.RB_Branch_Id>-1?Number(this.$route.query.RB_Branch_Id):Number(userInfo.RB_Branch_id)
this.msg.UserId = this.$route.query&&this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId) this.msg.UserId = this.$route.query&&this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId)
if (ActionMenuCode.indexOf('home_CommissionSeeAll') != -1) {//是否有看所有人的权限 if (ActionMenuCode.indexOf('S_CheckBranchOrder') != -1
||ActionMenuCode.indexOf('S_CheckAllOrder')!=-1
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!=-1) {//是否有看所有人的权限
this.disabled = false; this.disabled = false;
}else{ }else{
this.disabled = true; this.disabled = true;
this.msg.OutBranchId = -1
this.msg.RB_Branch_Id = -1
this.msg.RB_Department_Id = -1
} }
this.getList() this.getList()
}, },
...@@ -478,9 +485,9 @@ ...@@ -478,9 +485,9 @@
window.open(href); window.open(href);
}, },
GenerateScale(item){ GenerateScale(item){
if(!item.WageReId){ // if(!item.WageReId){
return // return
} // }
this.objNew = item this.objNew = item
this.outerVisible = true this.outerVisible = true
}, },
......
...@@ -305,10 +305,15 @@ ...@@ -305,10 +305,15 @@
this.msg.OutBranchId = this.$route.query&&this.$route.query.RB_Branch_Id>-1?Number(this.$route.query.RB_Branch_Id):Number(userInfo.RB_Branch_id) this.msg.OutBranchId = this.$route.query&&this.$route.query.RB_Branch_Id>-1?Number(this.$route.query.RB_Branch_Id):Number(userInfo.RB_Branch_id)
this.msg.UserId = this.$route.query&&this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId) this.msg.UserId = this.$route.query&&this.$route.query.UserId?Number(this.$route.query.UserId):Number(userInfo.EmployeeId)
if (ActionMenuCode.indexOf('home_CommissionSeeAll') != -1) {//是否有看所有人的权限 if (ActionMenuCode.indexOf('S_CheckBranchOrder') != -1
||ActionMenuCode.indexOf('S_CheckAllOrder')!=-1
||ActionMenuCode.indexOf('F_Query_AllIncomPay')!=-1) {//是否有看所有人的权限
this.disabled = false; this.disabled = false;
}else{ }else{
this.disabled = true; this.disabled = true;
this.msg.OutBranchId = -1
this.msg.RB_Branch_Id = -1
this.msg.RB_Department_Id = -1
} }
this.getList() this.getList()
......
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