| | |
| | | <br/> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- |
| | | <div class="form-group"> |
| | | <label class="col-sm-2 control-label">改派设置:</label> |
| | | <div class="col-sm-10"> |
| | |
| | | name="one" id="one" class="form-control newWidth" /> 元;<br/> |
| | | </div> |
| | | </div> |
| | | |
| | | --> |
| | | <div class="form-group"> |
| | | <label class="col-sm-2 control-label">积分设置:</label> |
| | | <div class="col-sm-10"> |
| | |
| | | name="two" id="two" class="form-control newWidth" /> 积分;<br/> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- |
| | | <div class="form-group" style="height: 70px;"> |
| | | <label class="col-sm-2 control-label">人脸识别:</label> |
| | | <div class="col-sm-10"> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | --> |
| | | <div class="form-group"> |
| | | <label class="col-sm-2 control-label">专车改派:</label> |
| | | <div class="col-sm-10"> |
| | |
| | | * 提交操作 |
| | | */ |
| | | function setUp() { |
| | | var one = $("#one").val().trim(); |
| | | // var one = $("#one").val().trim(); |
| | | var one = "0.00"; |
| | | var two = $("#two").val().trim(); |
| | | var three = $("input[name='three']:checked").val(); |
| | | var openValue = $("#openValue").val(); |
| | | // var three = $("input[name='three']:checked").val(); |
| | | var three = "2"; |
| | | // var openValue = $("#openValue").val(); |
| | | var openValue = "0"; |
| | | |
| | | var isSpecialCar = $("#isSpecialCar").is(":checked"); |
| | | if (isSpecialCar){ |
| | |
| | | Feng.info("输入框不能为空!"); |
| | | return; |
| | | }else if (1 == three){ |
| | | if ("" == openValue || null == openValue || undefined == openValue){ |
| | | Feng.info("人脸识别分钟数不能为空!"); |
| | | return; |
| | | }else if (!regInt.test(openValue)) { |
| | | Feng.info("人脸识别分钟数格式不正确!"); |
| | | return; |
| | | } |
| | | // if ("" == openValue || null == openValue || undefined == openValue){ |
| | | // Feng.info("人脸识别分钟数不能为空!"); |
| | | // return; |
| | | // }else if (!regInt.test(openValue)) { |
| | | // Feng.info("人脸识别分钟数格式不正确!"); |
| | | // return; |
| | | // } |
| | | } else if (!regDouble.test(one) || !regInt.test(two) |
| | | |
| | | || !regDouble.test(zc1) || !regInt.test(zc2) || !regDouble.test(zc3) |