Commit 2f9acf38 authored by youjie's avatar youjie

no message

parent 00081e66
...@@ -352,6 +352,24 @@ ...@@ -352,6 +352,24 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item label="结款方式" prop="CustomerPayType">
<el-select v-model="msg2.CustomerPayType" placeholder="结款方式">
<el-option :key="1" label="自付" :value="1"></el-option>
<el-option :key="2" label="出发前结款" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="msg2.CustomerPayType==1?'入住前几天传名单':'入住前几天交定金'" prop="PayLimitFirstDay">
<el-input-number v-model="msg2.PayLimitFirstDay" :min="1"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="入住前几天付尾款" prop="PayLimitEndDay">
<el-input-number v-model="msg2.PayLimitEndDay" :min="1"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="18"> <el-col :span="18">
<el-form-item :label="$t('pub.pubRemark')" prop="Remark"> <el-form-item :label="$t('pub.pubRemark')" prop="Remark">
<el-input type="textarea" v-model="msg2.Remark" :rows="1" :placeholder="$t('ground.qingshurbznr')" <el-input type="textarea" v-model="msg2.Remark" :rows="1" :placeholder="$t('ground.qingshurbznr')"
...@@ -620,6 +638,24 @@ ...@@ -620,6 +638,24 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6">
<el-form-item label="结款方式" prop="CustomerPayType">
<el-select v-model="msg.CustomerPayType" placeholder="结款方式">
<el-option :key="1" label="自付" :value="1"></el-option>
<el-option :key="2" label="出发前结款" :value="2"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item :label="msg.CustomerPayType==1?'入住前几天传名单':'入住前几天交定金'" prop="PayLimitFirstDay">
<el-input-number v-model="msg2.PayLimitFirstDay" :min="1"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="入住前几天付尾款" prop="PayLimitEndDay">
<el-input-number v-model="msg.PayLimitEndDay" :min="1"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="18"> <el-col :span="18">
<el-form-item :label="$t('pub.pubRemark')" prop="Remark"> <el-form-item :label="$t('pub.pubRemark')" prop="Remark">
<el-input type="textarea" v-model="msg.Remark" :rows="1" :placeholder="$t('ground.qingshurbznr')" <el-input type="textarea" v-model="msg.Remark" :rows="1" :placeholder="$t('ground.qingshurbznr')"
...@@ -764,6 +800,9 @@ ...@@ -764,6 +800,9 @@
PriceIsBreakfast: 1, //是否含早餐(1-含,0-不含) PriceIsBreakfast: 1, //是否含早餐(1-含,0-不含)
PriceIsDinner: 0, //是否含晚餐(1-含,0-不含) PriceIsDinner: 0, //是否含晚餐(1-含,0-不含)
TipContent: "", //注意事项 TipContent: "", //注意事项
CustomerPayType: 2, //结款方式
PayLimitFirstDay: 1, //入住前几天上传名单
PayLimitEndDay: 1, //入住前几天交尾款
}, },
msg2: { msg2: {
Hotel: '0', Hotel: '0',
...@@ -802,6 +841,9 @@ ...@@ -802,6 +841,9 @@
PriceIsBreakfast: 1, //是否含早餐(1-含,0-不含) PriceIsBreakfast: 1, //是否含早餐(1-含,0-不含)
PriceIsDinner: 0, //是否含晚餐(1-含,0-不含) PriceIsDinner: 0, //是否含晚餐(1-含,0-不含)
TipContent: "", //注意事项 TipContent: "", //注意事项
CustomerPayType: 2, //结款方式
PayLimitFirstDay: 1, //入住前几天上传名单
PayLimitEndDay: 1, //入住前几天交尾款
}, },
rules: { rules: {
InventoryType: { InventoryType: {
...@@ -1148,6 +1190,9 @@ ...@@ -1148,6 +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.PayLimitFirstDay = data.PayLimitFirstDay;
this.msg.PayLimitEndDay = data.PayLimitEndDay;
} }
}) })
}, },
...@@ -1235,6 +1280,9 @@ ...@@ -1235,6 +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.PayLimitFirstDay = 1;
this.msg.PayLimitEndDay = 1;
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
...@@ -1292,6 +1340,7 @@ ...@@ -1292,6 +1340,7 @@
edit2Save: function () { edit2Save: function () {
this.$refs['hotelProductForm2'].validate((valid) => { this.$refs['hotelProductForm2'].validate((valid) => {
if (valid) { if (valid) {
return
this.apipost('dict_post_HotelOffer_SetNewHotelPrice', this.msg2, res => { this.apipost('dict_post_HotelOffer_SetNewHotelPrice', this.msg2, res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.Success(this.$t('ground.bianjichenggong')) this.Success(this.$t('ground.bianjichenggong'))
...@@ -1305,6 +1354,9 @@ ...@@ -1305,6 +1354,9 @@
this.msg2.FreeRoomNum = 0; this.msg2.FreeRoomNum = 0;
this.msg2.PayStyle = 0; this.msg2.PayStyle = 0;
this.msg2.PriceTaxType = 0; this.msg2.PriceTaxType = 0;
this.msg2.CustomerPayType = 2;
this.msg2.PayLimitFirstDay = 1;
this.msg2.PayLimitEndDay = 1;
} else { } else {
this.Error(res.data.message) this.Error(res.data.message)
} }
......
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