|
@@ -220,7 +220,7 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item style="width:25% ;" label="酒店双间" prop="desc">
|
|
|
+ <el-form-item style="width:25% ;" label="酒店双间" prop="doubleRoomCount">
|
|
|
<el-input style="width:50px ;" size="medium"
|
|
|
v-model="OpHotelReservationsData.doubleRoomCount"></el-input>
|
|
|
<span>间</span>
|
|
@@ -615,8 +615,76 @@ export default {
|
|
|
{ required: true, message: '请选择入住时间', trigger: ['blur', 'change'] }
|
|
|
],
|
|
|
checkOutDate: [
|
|
|
+ { required: true, message: '请输入办理人数', trigger: ['blur', 'change'] },
|
|
|
{ required: true, message: '请选择离店时间', trigger: ['blur', 'change'] }
|
|
|
],
|
|
|
+ predictSingleRoom: [
|
|
|
+ { required: true, message: '请输入单间预定间数,没有则填0', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^[0-9]\d*$/, message: '请输入正确的数字', trigger: ['blur', 'change'] },
|
|
|
+ ],
|
|
|
+ predictDoubleRoom: [
|
|
|
+ { required: true, message: '请输入双间预定间数,没有则填0', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^[0-9]\d*$/, message: '请输入正确的数字', trigger: ['blur', 'change'] },
|
|
|
+ ],
|
|
|
+ predictSuiteRoom: [
|
|
|
+ { required: true, message: '请输入套房间预定间数,没有则填0', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^[0-9]\d*$/, message: '请输入正确的数字', trigger: ['blur', 'change'] },
|
|
|
+ ],
|
|
|
+ predictOtherRoom: [
|
|
|
+ { required: true, message: '请输入其他间预定间数,没有则填0', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^[0-9]\d*$/, message: '请输入正确的数字', trigger: ['blur', 'change'] },
|
|
|
+ ],
|
|
|
+ singleRoomCount: [
|
|
|
+ { required: true, message: '请输入单间数量,没有则填0', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^[0-9]\d*$/, message: '请输入正确的数字', trigger: ['blur', 'change'] },
|
|
|
+ ],
|
|
|
+ singleRoomPrice: [
|
|
|
+ { required: true, message: '请输入单价,没有则填0.00', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^(([1-9]?\d{0,8}(\.\d{1,2})?)|999999999|999999999\.(0){1,2})$/, message: '请输入正确的金额(最多2位小数)' }
|
|
|
+ ],
|
|
|
+ doubleRoomCount: [
|
|
|
+ { required: true, message: '请输入双间数量,没有则填0.00', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^[0-9]\d*$/, message: '请输入正确的数字', trigger: ['blur', 'change'] },
|
|
|
+ ],
|
|
|
+ doubleRoomPrice: [
|
|
|
+ { required: true, message: '请输入单价,没有则填0.00', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^(([1-9]?\d{0,8}(\.\d{1,2})?)|999999999|999999999\.(0){1,2})$/, message: '请输入正确的金额(最多2位小数)' }
|
|
|
+ ],
|
|
|
+ suiteRoomCount: [
|
|
|
+ { required: true, message: '请输入其他房间间数,没有则填0', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^[0-9]\d*$/, message: '请输入正确的数字', trigger: ['blur', 'change'] },
|
|
|
+ ],
|
|
|
+ suiteRoomPrice: [
|
|
|
+ { required: true, message: '请输入单价,没有则填0.00', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^(([1-9]?\d{0,8}(\.\d{1,2})?)|999999999|999999999\.(0){1,2})$/, message: '请输入正确的金额(最多2位小数)' }
|
|
|
+ ],
|
|
|
+ otherRoomCount: [
|
|
|
+ { required: true, message: '请输入其他间预定间数,没有则填0', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^[0-9]\d*$/, message: '请输入正确的数字', trigger: ['blur', 'change'] },
|
|
|
+ ],
|
|
|
+ otherRoomPrice: [
|
|
|
+ { required: true, message: '请输入单价,没有则填0.00', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^(([1-9]?\d{0,8}(\.\d{1,2})?)|999999999|999999999\.(0){1,2})$/, message: '请输入正确的金额(最多2位小数)' }
|
|
|
+ ],
|
|
|
+ governmentRent: [
|
|
|
+ { required: true, message: '请输入地税,没有则填0.00', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^(([1-9]?\d{0,8}(\.\d{1,2})?)|999999999|999999999\.(0){1,2})$/, message: '请输入正确的金额(最多2位小数)' }
|
|
|
+ ],
|
|
|
+ cityTax: [
|
|
|
+ { required: true, message: '请输入城市税,没有则填0.00', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^(([1-9]?\d{0,8}(\.\d{1,2})?)|999999999|999999999\.(0){1,2})$/, message: '请输入正确的金额(最多2位小数)' }
|
|
|
+ ],
|
|
|
+ cardPrice: [
|
|
|
+ { required: true, message: '请输入信用卡金额,没有则填0.00', trigger: ['blur', 'change'] },
|
|
|
+ { pattern: /^(([1-9]?\d{0,8}(\.\d{1,2})?)|999999999|999999999\.(0){1,2})$/, message: '请输入正确的金额(最多2位小数)' }
|
|
|
+ ],
|
|
|
+ // ctdIdPay: [
|
|
|
+ // { required: true },
|
|
|
+ // ],
|
|
|
+ companyBankNo: [{ required: true, message: '公司银行账号', trigger: ['blur', 'change'] },],
|
|
|
+ otherBankName: [{ required: true, message: '对方开户行', trigger: ['blur', 'change'] },],
|
|
|
+ otherSideNo: [{ required: true, message: '对方银行卡号', trigger: ['blur', 'change'] },],
|
|
|
+ otherSideName: [{ required: true, message: '对方姓名', trigger: ['blur', 'change'] },],
|
|
|
},
|
|
|
}
|
|
|
},
|
|
@@ -878,7 +946,7 @@ export default {
|
|
|
// var s = that.currencyList.filter(x => x.id == that.OpHotelReservationsData.paymentCurrency);
|
|
|
// if (s.length > 0) {
|
|
|
// that.currencySingle.id = s[0].id;
|
|
|
- // that.currencySingle.name = s[0].name;
|
|
|
+ // that.currencySingle.name = s[0].name;OpHotelReservationsDataRules
|
|
|
// that.currencySingle.remark = s[0].remark;
|
|
|
// that.CardCurrency = that.currencySingle.name + '(' + that.currencySingle.remark + ')'
|
|
|
// }
|
|
@@ -897,6 +965,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
payChange() {
|
|
|
+ debugger
|
|
|
this.OpHotelReservationsData.ctdId = '';
|
|
|
this.OpHotelReservationsData.bankNo = '';
|
|
|
this.OpHotelReservationsData.cardholderName = '';
|
|
@@ -918,6 +987,7 @@ export default {
|
|
|
this.OpHotelReservationsDataRules.otherSideNo = []
|
|
|
this.OpHotelReservationsDataRules.otherSideName = []
|
|
|
} else if (this.OpHotelReservationsData.payDId == 83) {
|
|
|
+ debugger
|
|
|
this.OpHotelReservationsDataRules.companyBankNo = []
|
|
|
this.OpHotelReservationsDataRules.otherBankName = [{ required: true, message: '对方开户行', trigger: ['blur', 'change'] },]
|
|
|
this.OpHotelReservationsDataRules.otherSideNo = [{ required: true, message: '对方银行卡号', trigger: ['blur', 'change'] },]
|