<!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-edit" th:object="${sysDeptConfig}">
        <input name="sysDeptConfigId" th:field="*{sysDeptConfigId}" type="hidden">
        <div class="form-group">
            <label class="col-sm-3 control-label">分公司id：</label>
            <div class="col-sm-8">
                <input name="deptId" th:field="*{deptId}" class="form-control" type="text">
            </div>xxw
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">banner图：</label>
            <div class="col-sm-8">
                <input name="bannerUrl" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{adapayMockApiKey}" 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">[[*{adapayRsaPrivateKey}]]</textarea>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">第三方支付重试次数：</label>
            <div class="col-sm-8">
                <input name="adapayMaxRetryTimes" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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" th:field="*{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-edit").validate({
        focusCleanup: true
    });

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