Commit 2a633e29 authored by youjie's avatar youjie

no message

parent 0738dc9b
......@@ -1046,7 +1046,6 @@ export default {
this.msg.ReTCID=this.czmsg.ReTCID;
}
console.log(this.msg,'====--------')
this.apipost('Financial_post_Set',this.msg,res=>{
if(res.data.resultCode==1){
//清除旅客名单数据
......
......@@ -1954,6 +1954,7 @@
qjGroupId: -1,
S_Travel_Share: false, //分享权限
userInfo: {},
TotalNumber: 0,
};
},
components: {
......@@ -2102,6 +2103,7 @@
Number(this.addMsg.OldPeopleNum);
if (count < this.addMsg.SafeNum) {
this.addMsg.SafeNum = count;
this.TotalNumber = count
this.$message.error("保险人数不能大于总人数");
}
},
......@@ -2944,6 +2946,10 @@
this.autoRemarks("TripleRoomNum", "三人房");
},
submitForm(addMsg) {
if(this.TotalNumber==0){
this.$message.error('总人数不能小于1人')
return
}
//提交创建、修改表单
this.$refs[addMsg].validate((valid) => {
if (valid) {
......
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