puzhibing
2023-02-11 521efb9bc33d52ef4772f0b30f8a371ba4b0070c
ManagementIGOTravel/guns-admin/src/main/webapp/WEB-INF/view/system/tSysReformist/tSysReformist.html
@@ -26,7 +26,7 @@
                            <br/>
                        </div>
                    </div>
                    <!--
                    <div class="form-group">
                        <label class="col-sm-2 control-label">改派设置:</label>
                        <div class="col-sm-10">
@@ -39,7 +39,7 @@
                                              name="one" id="one" class="form-control newWidth" />&nbsp;元;<br/>
                        </div>
                    </div>
                    -->
                    <div class="form-group">
                        <label class="col-sm-2 control-label">积分设置:</label>
                        <div class="col-sm-10">
@@ -52,7 +52,7 @@
                                              name="two" id="two" class="form-control newWidth" />&nbsp;积分;<br/>
                        </div>
                    </div>
                    <!--
                    <div class="form-group" style="height: 70px;">
                        <label class="col-sm-2 control-label">人脸识别:</label>
                        <div class="col-sm-10">
@@ -81,7 +81,7 @@
                            </div>
                        </div>
                    </div>
                    -->
                    <div class="form-group">
                        <label class="col-sm-2 control-label">专车改派:</label>
                        <div class="col-sm-10">
@@ -472,10 +472,13 @@
     * 提交操作
     */
    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){
@@ -540,13 +543,13 @@
            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)