| | |
| | | <input type="text" name="num6" id="num6" class="form-control newWidth" value='${json.num6!}' placeholder="选择时间"/> 点为夜间行驶时间, |
| | | 起步价变为<input type="text" onblur="checkIsYuan(this)" value='${json.num7!}' name="num7" id="num7" class="form-control newWidth" placeholder="最多3位数"/>元, |
| | | 起步包含<input type="text" onblur="checkIsGongLi(this)" name="num8" value='${json.num8!}' id="num8" class="form-control newWidth" placeholder="最多3位数"/> |
| | | 公里,不足起步公里按起步公里收费 |
| | | ,超过起步里程后每公里加收<input type="text" onblur="checkIsYuan(this)" name="num9" value='${json.num9!}' id="num9" class="form-control newWidth" placeholder="最多3位数"/>元 |
| | | |
| | | 公里。 |
| | | </div> |
| | | </div> |
| | | <!-- <div class="form-group waitFee">--> |
| | |
| | | waitFee = waitFee + '"'+$(this)[0].name+'":"'+value+'",'; |
| | | }); |
| | | waitFee = waitFee + '"mileageList":[' |
| | | $('#mileage_div').children('div').each(function (){ |
| | | waitFee = waitFee + "{" |
| | | if($('#mileage_div').children('div').length > 0){ |
| | | $('#mileage_div').children('div').each(function (){ |
| | | waitFee = waitFee + "{" |
| | | $(this).children('input').each(function (){ |
| | | var value = $(this).val(); |
| | | if('' == value){ |
| | | b = true; |
| | | Feng.info("请填写完整配置"); |
| | | return |
| | | } |
| | | waitFee = waitFee + '"'+$(this)[0].name+'":"'+value+'",'; |
| | | var value = $(this).val(); |
| | | if('' == value){ |
| | | b = true; |
| | | Feng.info("请填写完整配置"); |
| | | return |
| | | } |
| | | waitFee = waitFee + '"'+$(this)[0].name+'":"'+value+'",'; |
| | | }) |
| | | waitFee = waitFee.substring(0,waitFee.length-1); |
| | | waitFee = waitFee + "}," |
| | | }) |
| | | waitFee = waitFee.substring(0,waitFee.length-1); |
| | | waitFee = waitFee + "}," |
| | | }) |
| | | waitFee = waitFee.substring(0,waitFee.length-1); |
| | | } |
| | | waitFee += ']}'; |
| | | console.log(btoa(waitFee)); |
| | | |