mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化一次性缴费失败问题
This commit is contained in:
parent
7a442540c4
commit
fd8f67258e
@ -56,8 +56,8 @@
|
||||
var value = $(".carCreateFeeStartTime").val();
|
||||
vc.component.carCreateFeeAddInfo.startTime = value;
|
||||
});
|
||||
//防止多次点击时间插件失去焦点
|
||||
document.getElementsByClassName('form-control carCreateFeeStartTime')[0].addEventListener('click', myfunc)
|
||||
//防止多次点击时间插件失去焦点,这里报错先取消
|
||||
//document.getElementsByClassName('form-control carCreateFeeStartTime')[0].addEventListener('click', myfunc)
|
||||
|
||||
function myfunc(e) {
|
||||
e.currentTarget.blur();
|
||||
|
||||
@ -136,14 +136,16 @@
|
||||
if ($that.payFeeOrderInfo.tempCycles != "" && $that.payFeeOrderInfo.tempCycles != '-102') {
|
||||
$that.payFeeOrderInfo.cycles = $that.payFeeOrderInfo.tempCycles;
|
||||
}
|
||||
if ($that.payFeeOrderInfo.feeFlag == '2006012') {
|
||||
$that.payFeeOrderInfo.cycles = '1';
|
||||
$that.payFeeOrderInfo.tempCycles = '1';
|
||||
}
|
||||
// 新增缴费周期必选项
|
||||
if($that.payFeeOrderInfo.tempCycles == ""){
|
||||
if($that.payFeeOrderInfo.tempCycles == "" ){
|
||||
vc.toast("请选择缴费周期");
|
||||
return;
|
||||
}
|
||||
if ($that.payFeeOrderInfo.feeFlag == '2006012') {
|
||||
$that.payFeeOrderInfo.cycles = '1';
|
||||
}
|
||||
|
||||
if (!vc.component.payFeeValidate()) {
|
||||
vc.toast(vc.validate.errInfo);
|
||||
return;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user