Commit 5d293eac authored by 华国豪's avatar 华国豪 :rolling_eyes:

联运返佣

parent b6247b0f
...@@ -1758,7 +1758,10 @@ ...@@ -1758,7 +1758,10 @@
<tbody v-for="(childItem,childIndex) in subItem.List"> <tbody v-for="(childItem,childIndex) in subItem.List">
<tr> <tr>
<td rowspan="3" style="position:relative;"> <td rowspan="3" style="position:relative;">
<div v-if="childItem.IsReturnIntermodal==1 || childItem.IsIntermodal==1" class="order_union"></div> <div class="order_union">
<div v-if="childItem.IsReturnIntermodal==1 || childItem.IsIntermodal==1" class="fl"></div>
<div v-if="childItem.IsBackUnionMoney==0" class="fl">&nbsp;&nbsp;&nbsp;&nbsp;</div>
</div>
<p v-if="childItem.IsChargeLossOrders==1" style="color:red"></p> <p v-if="childItem.IsChargeLossOrders==1" style="color:red"></p>
<div class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="childItem.OrderId"> <div class="fbold over_ellipsis" style="width: 120px;cursor:pointer;" :title="childItem.OrderId">
{{childItem.OrderId}} {{childItem.OrderId}}
...@@ -1952,6 +1955,7 @@ ...@@ -1952,6 +1955,7 @@
@click='EwMsg.OrderId = childItem.OrderId, EwMsg.ExtraRewardMoney = childItem.ExtraRewardMoney,EwMsg.ExtraDeductMoney=childItem.ExtraDeductMoney, OrderMoneyDialog = true'> @click='EwMsg.OrderId = childItem.OrderId, EwMsg.ExtraRewardMoney = childItem.ExtraRewardMoney,EwMsg.ExtraDeductMoney=childItem.ExtraDeductMoney, OrderMoneyDialog = true'>
设置额外金额</div> 设置额外金额</div>
<div @click="lianyunFY(childItem)">联运返佣</div>
<div v-if="childItem.OrderState=='1'||childItem.OrderState=='2'||childItem.OrderState=='3'" <div v-if="childItem.OrderState=='1'||childItem.OrderState=='2'||childItem.OrderState=='3'"
@click='deleteItem(childItem)'> @click='deleteItem(childItem)'>
删除 删除
...@@ -2457,7 +2461,19 @@ ...@@ -2457,7 +2461,19 @@
<button class="hollowFixedBtn" @click="OrderLoading=false">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" @click="OrderLoading=false">{{$t('pub.cancelBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
<!-- 联运返佣弹窗 -->
<el-dialog custom-class='w350' title="联运返佣" :visible.sync="FyongLoading" center>
<!--zhaunMsg.TCNUM-->
<el-form label-width="110px">
<el-form-item label="是否返佣:" class="w280">
<el-switch v-model="IsBackStatus" :active-value="0" :inactive-value="1"></el-switch>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="normalBtn" type="primary" @click="FyongLossOk">{{$t('pub.saveBtn')}}</button>
<button class="hollowFixedBtn" @click="FyongLoading=false">{{$t('pub.cancelBtn')}}</button>
</div>
</el-dialog>
<el-dialog custom-class='w350' title="修改OP备注" :visible.sync="zhuanLoading" center :before-close="initOPRemarkMsg"> <el-dialog custom-class='w350' title="修改OP备注" :visible.sync="zhuanLoading" center :before-close="initOPRemarkMsg">
<!--zhaunMsg.TCNUM--> <!--zhaunMsg.TCNUM-->
<el-form label-width="110px"> <el-form label-width="110px">
...@@ -2664,6 +2680,7 @@ ...@@ -2664,6 +2680,7 @@
LatestCommissionMoney: '' LatestCommissionMoney: ''
}, },
OrderMoneyDialog: false, OrderMoneyDialog: false,
FyongLoading: false,
EwMsg: { EwMsg: {
OrderId: 0, OrderId: 0,
ExtraRewardMoney: '', ExtraRewardMoney: '',
...@@ -2762,6 +2779,7 @@ ...@@ -2762,6 +2779,7 @@
//订单归属【HK新加,报名清单页面修改使用】 //订单归属【HK新加,报名清单页面修改使用】
CreateBy: 0, CreateBy: 0,
}, },
IsBackStatus: 1,
//行程下载使用 //行程下载使用
travelControlTripLayerShow: false, travelControlTripLayerShow: false,
tripObj: { tripObj: {
...@@ -3022,6 +3040,7 @@ ...@@ -3022,6 +3040,7 @@
OrderUnitPrice: 0 OrderUnitPrice: 0
}, },
SuperiorPeople: [], SuperiorPeople: [],
lianyunFYId: 0,
}; };
}, },
components: { components: {
...@@ -3029,6 +3048,27 @@ ...@@ -3029,6 +3048,27 @@
updateSalesMan: updateSalesMan updateSalesMan: updateSalesMan
}, },
methods: { methods: {
FyongLossOk: function () {
let msg = {
OrderId: this.lianyunFYId,
IsBackStatus: this.IsBackStatus
}
this.apipost('sellorder_post_SetOrderUnionBackMoney', msg, res=>{
console.log(res)
if (res.data.resultCode === 1) {
this.$message.success(res.data.message)
this.getList()
} else {
this.$message.error(res.data.message)
}
}, null)
},
lianyunFY: function (item) {
console.log(item)
this.FyongLoading = true
this.IsBackStatus = item.IsBackUnionMoney
this.lianyunFYId = item.OrderId
},
goIisDetail: function (id) { // 跳转发票详情页面 goIisDetail: function (id) { // 跳转发票详情页面
this.$router.push({ this.$router.push({
name: 'invoicesManagerDetail', name: 'invoicesManagerDetail',
......
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