Commit 61175740 authored by youjie's avatar youjie

no message

parent f2cb5acb
...@@ -800,9 +800,9 @@ ...@@ -800,9 +800,9 @@
PriceIsBreakfast: 1, //是否含早餐(1-含,0-不含) PriceIsBreakfast: 1, //是否含早餐(1-含,0-不含)
PriceIsDinner: 0, //是否含晚餐(1-含,0-不含) PriceIsDinner: 0, //是否含晚餐(1-含,0-不含)
TipContent: "", //注意事项 TipContent: "", //注意事项
customerpaytype: 2, //结款方式 CustomerPayType: 2, //结款方式
paylimitfirstday: 1, //入住前几天上传名单 PayLimitFirstDay: 1, //入住前几天上传名单
paylimitendday: 1, //入住前几天交尾款 PayLimitEndDay: 1, //入住前几天交尾款
}, },
msg2: { msg2: {
Hotel: '0', Hotel: '0',
...@@ -1190,9 +1190,9 @@ ...@@ -1190,9 +1190,9 @@
this.msg.PriceIsBreakfast = data.PriceIsBreakfast; this.msg.PriceIsBreakfast = data.PriceIsBreakfast;
this.msg.PriceIsDinner = data.PriceIsDinner; this.msg.PriceIsDinner = data.PriceIsDinner;
this.msg.TipContent = data.TipContent; this.msg.TipContent = data.TipContent;
this.msg.customerpaytype = data.customerpaytype; this.msg.CustomerPayType = data.CustomerPayType;
this.msg.paylimitfirstday = data.paylimitfirstday; this.msg.PayLimitFirstDay = data.PayLimitFirstDay;
this.msg.paylimitendday = data.paylimitendday; this.msg.PayLimitEndDay = data.PayLimitEndDay;
} }
}) })
}, },
...@@ -1280,9 +1280,9 @@ ...@@ -1280,9 +1280,9 @@
this.msg.PriceIsBreakfast = 1; this.msg.PriceIsBreakfast = 1;
this.msg.PriceIsDinner = 0; this.msg.PriceIsDinner = 0;
this.msg.TipContent = ""; this.msg.TipContent = "";
this.msg.customerpaytype = 2; this.msg.CustomerPayType = 2;
this.msg.paylimitfirstday = 1; this.msg.PayLimitFirstDay = 1;
this.msg.paylimitendday = 1; this.msg.PayLimitEndDay = 1;
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
......
...@@ -718,17 +718,17 @@ ...@@ -718,17 +718,17 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="6"> <el-col :span="6">
<el-form-item label="统一编码:"> <el-form-item label="统一编码:">
<el-input class='w200' v-model='updateMsg.uniquecode'></el-input> <el-input class='w200' v-model='updateMsg.UniqueCode'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="LINE ID:"> <el-form-item label="LINE ID:">
<el-input class='w200' v-model='updateMsg.lineid'></el-input> <el-input class='w200' v-model='updateMsg.LINEID'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="Email:"> <el-form-item label="Email:">
<el-input class='w200' v-model='updateMsg.email'></el-input> <el-input class='w200' v-model='updateMsg.Email'></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
...@@ -960,9 +960,9 @@ ...@@ -960,9 +960,9 @@
Images: [], Images: [],
customerExceptionList: [], customerExceptionList: [],
CustomerExceptionIds: [], CustomerExceptionIds: [],
uniquecode: '', UniqueCode: '',
lineid: '', LINEID: '',
email: '' Email: ''
}, },
cityList: [], cityList: [],
regionList: [], regionList: [],
...@@ -1011,9 +1011,9 @@ ...@@ -1011,9 +1011,9 @@
// this.$message.error('请输入LINE ID') // this.$message.error('请输入LINE ID')
// return // return
// } // }
if(this.updateMsg.email){ if(this.updateMsg.Email){
var reg=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/; var reg=/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
if(!reg.test(this.updateMsg.email)){ if(!reg.test(this.updateMsg.Email)){
this.$message.error('请输入有效的邮箱') this.$message.error('请输入有效的邮箱')
return return
} }
...@@ -1134,7 +1134,7 @@ ...@@ -1134,7 +1134,7 @@
if (x.housePhotos && x.housePhotos.length > 0) { if (x.housePhotos && x.housePhotos.length > 0) {
this.HousePhotos = x.housePhotos[0] this.HousePhotos = x.housePhotos[0]
} }
this.updateMsg.UniqueCode = x.uniqueCode this.updateMsg.UniqueCode = x.uniquecode
this.updateMsg.LINEID = x.lineid this.updateMsg.LINEID = x.lineid
this.updateMsg.Email = x.email this.updateMsg.Email = x.email
} else {} } else {}
......
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