Commit f1864e5a authored by Mac's avatar Mac

修改

parent 74131d4f
......@@ -126,6 +126,7 @@
mounted() {
let userInfo = this.getLocalStorage();
let ActionMenuCode = userInfo.ActionMenuCode;
this.msg.OutBranchId = userInfo.RB_Branch_id
if (ActionMenuCode.indexOf('F_DCommissionSend') != -1) {
this.btnShow = true;
}
......@@ -238,7 +239,12 @@
YijianZD(item) {
let Money
if(this.msg.OutBranchId>0){
Money=item.BranchCommission
if(item.BranchCommission>0){
Money=item.BranchCommission
}else{
this.Error("公司提成为0,不能制单!")
return;
}
}else{
Money=item.SumPrice
}
......
......@@ -99,7 +99,6 @@
<th>公司</th>
<th>部门</th>
<th>销售</th>
<th>出团公司</th>
<th>团信息</th>
<th>订单号</th>
<th>人数</th>
......@@ -117,8 +116,13 @@
<td>{{item.BranchName}}</td>
<td>{{item.DeptName}}</td>
<td>{{item.UserName}}</td>
<td>{{item.OutBranchName}}</td>
<td style="cursor: pointer;text-decoration: underline;" @click="goTravel(item.TCID)">{{item.TCNUM}}({{item.TCID}})</td>
<td >
<div>{{item.OutBranchName}}</div>
<span style="cursor: pointer;text-decoration: underline;" @click="goTravel(item.TCID)">
{{item.TCNUM}}({{item.TCID}})
</span>
</td>
<td>{{item.OrderId}}</td>
<td>{{item.PeopleCount}}</td>
<td>{{item.CommissionMoney}}</td>
......
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