<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增分公司配置')" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-config-add">
        <div class="form-group">
            <label class="col-sm-3 control-label">分公司id：</label>
            <div class="col-sm-8">
                <input name="deptId" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">banner图：</label>
            <div class="col-sm-8">
                <input name="bannerUrl" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">社区保证金额：</label>
            <div class="col-sm-8">
                <input name="singleMoney" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">社区接单数：</label>
            <div class="col-sm-8">
                <input name="singleOrderPay" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">社区未缴纳接单数：</label>
            <div class="col-sm-8">
                <input name="singleOrderNoPay" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">区域保证金额：</label>
            <div class="col-sm-8">
                <input name="areaMoney" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">区域接单数：</label>
            <div class="col-sm-8">
                <input name="areaOrderPay" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">区域未缴纳接单数：</label>
            <div class="col-sm-8">
                <input name="areaOrderNoPay" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">城市保证金额：</label>
            <div class="col-sm-8">
                <input name="cityMoney" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">城市接单数：</label>
            <div class="col-sm-8">
                <input name="cityOrderPay" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">城市未缴纳接单数：</label>
            <div class="col-sm-8">
                <input name="cityOrderNoPay" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">业务员提成比例：</label>
            <div class="col-sm-8">
                <input name="workerRate" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">手机号：</label>
            <div class="col-sm-8">
                <input name="phone" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">排班超时罚金：</label>
            <div class="col-sm-8">
                <input name="plainOutTime" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">上门超时罚金：</label>
            <div class="col-sm-8">
                <input name="goOutTime" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">进行超时罚金：</label>
            <div class="col-sm-8">
                <input name="goingOutTime" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">金牌服务倍数：</label>
            <div class="col-sm-8">
                <input name="goldenServer" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">月租费用：</label>
            <div class="col-sm-8">
                <input name="monthRent" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">第三方支付appid：</label>
            <div class="col-sm-8">
                <input name="adapayAppId" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">第三方支付key：</label>
            <div class="col-sm-8">
                <input name="adapayApiKey" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">第三方支付测试key：</label>
            <div class="col-sm-8">
                <input name="adapayMockKey" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">第三方支付私钥：</label>
            <div class="col-sm-8">
                <textarea name="adapayRsaPrivateKey" class="form-control"></textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">第三方支付重试次数：</label>
            <div class="col-sm-8">
                <input name="adapayMaxRetryTimes" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">消费者appid：</label>
            <div class="col-sm-8">
                <input name="wxAppId" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">消费者密钥：</label>
            <div class="col-sm-8">
                <input name="wxSecret" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">师傅端appid：</label>
            <div class="col-sm-8">
                <input name="servWxAppId" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">师傅端密钥：</label>
            <div class="col-sm-8">
                <input name="servWxSecret" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">平台扣点：</label>
            <div class="col-sm-8">
                <input name="takeRate" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">备注：</label>
            <div class="col-sm-8">
                <input name="remark" class="form-control" type="text">
            </div>
        </div>
    </form>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
    var prefix = ctx + "system/dept/config"
    $("#form-config-add").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", $('#form-config-add').serialize());
        }
    }
</script>
</body>
</html>