Commit 6c4f6b9b authored by zhengke's avatar zhengke

增加验证

parent 204656f3
...@@ -2563,10 +2563,10 @@ ...@@ -2563,10 +2563,10 @@
<!--zhaunMsg.TCNUM--> <!--zhaunMsg.TCNUM-->
<el-form label-width="110px"> <el-form label-width="110px">
<el-form-item label="是否返佣:" class="w280"> <el-form-item label="是否返佣:" class="w280">
<el-switch v-model="IsBackStatus" :active-value="0" :inactive-value="1"></el-switch> <el-switch v-model="fanyongMsg.IsBackStatus" :active-value="0" :inactive-value="1"></el-switch>
</el-form-item> </el-form-item>
<el-form-item label="额外返佣金额:" class="w280"> <el-form-item label="额外返佣金额:" class="w280">
<el-input :rows="2" v-model="UnionExtraMoney"></el-input> <el-input :rows="2" v-model="fanyongMsg.UnionExtraMoney" @keyup.native="checkPrice(fanyongMsg,'UnionExtraMoney',true)"></el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -2766,6 +2766,13 @@ ...@@ -2766,6 +2766,13 @@
PeopleNum: 0, PeopleNum: 0,
LossMoney: 0, LossMoney: 0,
}, },
//联运返佣msg
fanyongMsg:{
IsBackStatus:'',
UnionExtraMoney:'',
OrderId:0
},
FyongLoading: false,
pickerOptions0: { pickerOptions0: {
disabledDate: time => { disabledDate: time => {
let starTime = new Date(this.starTime); let starTime = new Date(this.starTime);
...@@ -2888,7 +2895,6 @@ ...@@ -2888,7 +2895,6 @@
CreateBy: 0, CreateBy: 0,
RefuseVisaNum: 0, //拒签人数 RefuseVisaNum: 0, //拒签人数
}, },
lianyunFYId: 0,
//行程下载使用 //行程下载使用
travelControlTripLayerShow: false, travelControlTripLayerShow: false,
tripObj: { tripObj: {
...@@ -2961,7 +2967,6 @@ ...@@ -2961,7 +2967,6 @@
message: "请选择客户门店", message: "请选择客户门店",
trigger: "change" trigger: "change"
}], }],
FyongLoading: false,
// DepartureCityId: [ // DepartureCityId: [
// { required: true, message: "请选择出发城市", trigger: "change" } // { required: true, message: "请选择出发城市", trigger: "change" }
// ], // ],
...@@ -3152,8 +3157,6 @@ ...@@ -3152,8 +3157,6 @@
OrderUnitPrice: 0 OrderUnitPrice: 0
}, },
SuperiorPeople: [], SuperiorPeople: [],
IsBackStatus: 1,
UnionExtraMoney:0,
Unit_Price: 0 Unit_Price: 0
}; };
}, },
...@@ -3202,12 +3205,11 @@ ...@@ -3202,12 +3205,11 @@
}) })
}, },
FyongLossOk: function () { FyongLossOk: function () {
let msg = { if(this.fanyongMsg.UnionExtraMoney==""){
OrderId: this.lianyunFYId, this.Error('请输入额外返佣金额');
IsBackStatus: this.IsBackStatus, return;
UnionExtraMoney: this.UnionExtraMoney
} }
this.apipost('sellorder_post_SetOrderUnionBackMoney', msg, res => { this.apipost('sellorder_post_SetOrderUnionBackMoney', this.fanyongMsg, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.$message.success(res.data.message) this.$message.success(res.data.message)
this.getList() this.getList()
...@@ -3219,9 +3221,9 @@ ...@@ -3219,9 +3221,9 @@
}, },
lianyunFY: function (item) { lianyunFY: function (item) {
this.FyongLoading = true this.FyongLoading = true
this.IsBackStatus = item.IsBackUnionMoney this.fanyongMsg.IsBackStatus = item.IsBackUnionMoney;
this.UnionExtraMoney = item.UnionExtraMoney this.fanyongMsg.UnionExtraMoney = item.UnionExtraMoney;
this.lianyunFYId = item.OrderId this.fanyongMsg.OrderId = item.OrderId;
}, },
goIisDetail: function (id) { // 跳转发票详情页面 goIisDetail: function (id) { // 跳转发票详情页面
this.$router.push({ this.$router.push({
......
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