Commit f483a328 authored by 黄媛媛's avatar 黄媛媛

恢复收损单

parent fea5fce4
......@@ -268,6 +268,7 @@ export default {
.catch(() => {});
},
addRule(){
this.PlaceShow=false;
this.ruleVisible=true;
this.form={
BranchId:"",
......@@ -285,7 +286,6 @@ export default {
}
},
SetRules(item){
console.log("item",item.LtIdList)
this.ruleVisible=true;
this.form={
......@@ -306,7 +306,6 @@ export default {
}
this.form.LtIdList=item.LtIdList;
this.PlaceShow=true;
console.log("this.form",this.form)
this.departmentMsg.RB_Branch_Id=item.BranchId;
this.getLineTeamList();
......
......@@ -1880,6 +1880,7 @@
@click='EwMsg.OrderId = item.OrderId, EwMsg.ExtraRewardMoney = item.ExtraRewardMoney,EwMsg.ExtraDeductMoney=item.ExtraDeductMoney, OrderMoneyDialog = true'>
设置额外金额</div>
<div @click="SetShouSunClick(item.OrderId,item.GuestNum)">设置收损金额</div>
<div @click="ZhuiJiaTuanKuan(item.OrderId)" v-if="RBBranchId == 0">追加团款</div>
<div @click='deleteItem(item)'>删除</div>
</div>
......@@ -2190,6 +2191,7 @@
@click='EwMsg.OrderId = childItem.OrderId, EwMsg.ExtraRewardMoney = childItem.ExtraRewardMoney,EwMsg.ExtraDeductMoney=childItem.ExtraDeductMoney, OrderMoneyDialog = true'>
设置额外金额</div>
<div @click="SetShouSunClick(childItem.OrderId, childItem.GuestNum)">设置收损金额</div>
<div v-if="childItem.IsChargeLossOrders==1" @click="setChargeLoss(childItem)">恢复收损单</div>
<div @click="lianyunFY(childItem)">联运返佣</div>
<div @click="ZhuiJiaTuanKuan(childItem.OrderId)" v-if="RBBranchId == 0">追加团款</div>
<div @click="importNameOrder(childItem.OrderId)" v-if="OrderDataList.OtherOrderList.length == 1 && subItem.List.length == 1">导入旅客名单</div>
......@@ -2568,6 +2570,8 @@
@click='EwMsg.OrderId = item.OrderId, EwMsg.ExtraRewardMoney = item.ExtraRewardMoney,EwMsg.ExtraDeductMoney=item.ExtraDeductMoney, OrderMoneyDialog = true'>
设置额外金额</div>
<div @click="SetShouSunClick(item.OrderId, item.GuestNum)">设置收损金额</div>
<div @click="ZhuiJiaTuanKuan(item.OrderId)" v-if="RBBranchId == 0">追加团款</div>
<div @click="importNameOrder(item.OrderId)">导入旅客名单</div>
<div v-if="item.OrderState=='2'||item.OrderState=='3'" @click='deleteItem(item)'>删除</div>
......@@ -3440,6 +3444,33 @@
commonShouSun: commonShouSun
},
methods: {
setChargeLoss(obj){
console.log("obj",obj)
this.$confirm("确定恢复收损单", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.apipost(
"sellorder_post_RemoveChargeLossOrders", {
OrderId: obj.OrderId
},
res => {
if (res.data.resultCode == 1) {
this.$message.success("操作成功!");
this.getList();
} else {
this.$message.error(res.data.message);
}
},
err => {}
);
})
.catch(() => {
this.$message.info("取消!");
});
},
//上传
handleAvatarSuccess(res, file) {
if (res.resultCode == 1) {
......
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