|
@@ -60,31 +60,39 @@ dtext{
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
.forminfo li label{
|
|
|
- width: 250px;
|
|
|
+ width: 200px;
|
|
|
text-align: right;
|
|
|
padding-right: 10px
|
|
|
}
|
|
|
|
|
|
</style>
|
|
|
<body>
|
|
|
+
|
|
|
+<div class="place">
|
|
|
+ <span>位置:</span>
|
|
|
+ <ul class="placeul">
|
|
|
+ <li><a href="#">商户建立</a></li>
|
|
|
+ <li><a href="#">端口商户建立</a></li>
|
|
|
+ </ul>
|
|
|
+</div>
|
|
|
+
|
|
|
<div class="formbody">
|
|
|
- <ul class="forminfo">
|
|
|
+ <ul class="forminfo" style="min-width: 830px;">
|
|
|
<li style="margin-bottom: 20px">
|
|
|
<label>商户账号:<b>*</b></label>
|
|
|
- <input autocomplete="off" th:if="${merchant.id==null}" type="text" id="poscode" class="dfinput fl" name="poscode" style="float: left;" th:value="${merchant.posCode}"/>
|
|
|
- <label th:if="${merchant.id==null}" style="width: 230px;color:red"> [提交后无法修改,只可包含字母/数字 ]</label>
|
|
|
- <input autocomplete="off" th:if="${merchant.id!=null}" disabled="disabled" type="text" id="poscode" class="dfinput fl" name="poscode" style="float: left;" th:value="${merchant.posCode}"/>
|
|
|
+ <input autocomplete="off" th:if="${merchant.id==null}" type="text" id="poscode" class="dfinput fl" name="poscode" style="float: left;" th:value="${merchant.posCode}" placeholder=" 请输入端口商户账号,由字母或数字组成" />
|
|
|
+ <input autocomplete="off" th:if="${merchant.id!=null}" disabled="disabled" type="text" id="poscode" class="dfinput fl" name="poscode" style="float: left;" th:value="${merchant.posCode}" />
|
|
|
<br/>
|
|
|
</li>
|
|
|
<li th:if="${merchant.id==null}" style="margin-bottom: 20px">
|
|
|
<label>初始密码:<b>*</b></label>
|
|
|
- <input type="text" id="password" class="dfinput fl" name="password" style="float: left;" value="00000000" autocomplete="off" />
|
|
|
+ <input type="text" id="password" class="dfinput fl" name="password" style="float: left;" value="00000000" autocomplete="off" placeholder=" 输入端口商户密码,默认:00000000" />
|
|
|
|
|
|
<br/>
|
|
|
</li>
|
|
|
<li>
|
|
|
- <label>商户名称:合作名称/合作校区<b>*</b></label>
|
|
|
- <input type="text" id="unitname" class="dfinput fl" name="unitname" th:value="${merchant.unitName}" autocomplete="off" />
|
|
|
+ <label>商户名称:合作名称/合作校区:<b>*</b></label>
|
|
|
+ <input type="text" id="unitname" class="dfinput fl" name="unitname" th:value="${merchant.unitName}" autocomplete="off" placeholder=" 请输入端口商户名称" />
|
|
|
</li>
|
|
|
|
|
|
<li id="location_wrap" >
|
|
@@ -110,48 +118,38 @@ dtext{
|
|
|
</div>
|
|
|
|
|
|
<div class="vocation" style="margin-right: 5px; width: 130px">
|
|
|
- <input name="libId" id="libId" class="select1" type="text" autocomplete="off" onfocus="funcblurlibId()" >
|
|
|
+ <input name="libId" id="libId" class="select1" type="text" autocomplete="off" onfocus="funcblurlibId()" placeholder=" 请选择绑定机构" >
|
|
|
<input name="radiolibId" id="radiolibId" type="hidden" >
|
|
|
</div>
|
|
|
|
|
|
<div class="vocation" style="margin-right: 5px; width: 130px">
|
|
|
- <input name="schooltext" id="schooltext" class="select1" autocomplete="off" type="text" onfocus="funcblurschooltext()" >
|
|
|
+ <input name="schooltext" id="schooltext" class="select1" autocomplete="off" type="text" onfocus="funcblurschooltext()" placeholder=" 请选择绑定学校" >
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
</li>
|
|
|
+
|
|
|
|
|
|
<li>
|
|
|
- <label>合同日期:<b >*</b></label>
|
|
|
- <input type="hidden" id="minDate" value="2020-01-01" >
|
|
|
- <input type="text" id="signTime" name="signTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'minDate\')}'})" autocomplete="off" th:value="${#dates.format(merchant.signTime, 'yyyy-MM-dd')}" class="scinput date_width " placeholder="合同开始日期">
|
|
|
- ~~
|
|
|
- <input type="text" id="endSignTime" name="endSignTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'signTime\')}'})" autocomplete="off" th:value="${#dates.format(merchant.endSignTime, 'yyyy-MM-dd')}" class="scinput date_width" placeholder="合同结束日期">
|
|
|
- </li>
|
|
|
-
|
|
|
- <li>
|
|
|
- <label>套餐:套餐类型<b>*</b></label>
|
|
|
+ <label>套餐:套餐类型:<b>*</b></label>
|
|
|
<div class="vocation" style="margin-right: 5px; width: 345px">
|
|
|
<select name="mealType" id="mealType" class="select1" >
|
|
|
- <option value="0" th:selected="${merchant.mealType==0 ? true : false}">合同签约模式(旧模式)</option>
|
|
|
<option value="1" th:selected="${merchant.mealType==1 ? true : false}">优选套餐</option>
|
|
|
<option value="2" th:selected="${merchant.mealType==2 ? true : false}">VIP套餐</option>
|
|
|
<option value="3" th:selected="${merchant.mealType==3 ? true : false}">尊享套餐</option>
|
|
|
- <option value="4" th:selected="${merchant.mealType==4 ? true : false}">校园服务</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</li>
|
|
|
|
|
|
<li>
|
|
|
- <label>套餐:服务包类型<b>*</b></label>
|
|
|
+ <label>套餐:服务包类型:<b>*</b></label>
|
|
|
<div class="vocation" style="margin-right: 5px; width: 345px">
|
|
|
<select name="signType" id="signType" class="select1" >
|
|
|
- <option value="0" th:selected="${merchant.signType==0 ? true : false}" data-val="0">合同签约模式(旧模式)</option>
|
|
|
- <option value="1" th:selected="${merchant.signType==1 ? true : false}" data-val="30" >服务包1</option>
|
|
|
- <option value="2" th:selected="${merchant.signType==2 ? true : false}" data-val="50" >服务包2</option>
|
|
|
- <option value="3" th:selected="${merchant.signType==3 ? true : false}" data-val="100" >服务包3</option>
|
|
|
- <option value="4" th:selected="${merchant.signType==4 ? true : false}" data-val="20" >服务包4</option>
|
|
|
- <option value="5" th:selected="${merchant.signType==5 ? true : false}" th:data-val="${merchant.libService!=null ? merchant.libService : 0}" >服务包5</option>
|
|
|
+ <option value="1" th:selected="${merchant.signType==1 ? true : false}" data-val="30" data-upval="800" >服务包1</option>
|
|
|
+ <option value="2" th:selected="${merchant.signType==2 ? true : false}" data-val="50" data-upval="1200" >服务包2</option>
|
|
|
+ <option value="3" th:selected="${merchant.signType==3 ? true : false}" data-val="100" data-upval="2000" >服务包3</option>
|
|
|
+ <option value="4" th:selected="${merchant.signType==4 ? true : false}" data-val="20" data-upval="400" >服务包4</option>
|
|
|
+ <option value="5" th:selected="${merchant.signType==5 ? true : false}" th:data-val="${merchant.libService!=null ? merchant.libService : 0}" data-upval="0" >服务包5</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
<text th:if="${merchant.id!=null}" style="width: 230px;color:red">[ 修改套餐模式,不会影响加油包有效性 ]</text>
|
|
@@ -163,49 +161,75 @@ dtext{
|
|
|
<text id="libServiceTips" style="width: 230px;color:red;display: none;">[ 请输入服务包5的服务人数 ]</text>
|
|
|
</li>
|
|
|
|
|
|
+ <li>
|
|
|
+ <label>服务包/套餐单价:平台管理费:<b>*</b></label>
|
|
|
+ <input type="number" id="outPrice" class="dfinput fl" name="outPrice" th:value="${merchant.outPrice==null ? 0 : merchant.outPrice}" autocomplete="off" placeholder=" 请输入平台管理费金额" />
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li>
|
|
|
+ <label>服务包/总价(收入):<b>*</b></label>
|
|
|
+ <input type="number" id="price" class="dfinput fl" name="price" th:value="${merchant.price==null ? 0 : merchant.price}" autocomplete="off" placeholder=" 请输入服务包总价"/>
|
|
|
+ </li>
|
|
|
|
|
|
+ <li style="display: none">
|
|
|
+ <label>服务包/月单价(成本):<b>*</b></label>
|
|
|
+ <input type="number" id="munitPrice" class="dfinput fl" name="munitPrice" th:value="${merchant.munitPrice==null ? 0 : merchant.munitPrice}" autocomplete="off" placeholder=" 请输入服务包单价" />
|
|
|
+ </li>
|
|
|
|
|
|
<li>
|
|
|
- <label>充值月份数:<b>*</b></label>
|
|
|
- <input type="number" id="libServiceMonth" min="0" class="dfinput fl" name="libServiceMonth" th:value="${merchant.libServiceMonth!=null ? merchant.libServiceMonth : 0}" autocomplete="off"/>
|
|
|
- <text th:if="${merchant.id!=null}" style="width: 230px;color:red">[ 增量添加数值为续费开通 ]</text>
|
|
|
+ <label>购买月份数:<b>*</b></label>
|
|
|
+ <input type="number" id="buyMonth" min="0" class="dfinput fl" name="buyMonth" th:value="${merchant.buyMonth!=null ? merchant.buyMonth : 0}" autocomplete="off"/>
|
|
|
</li>
|
|
|
|
|
|
<li>
|
|
|
- <label>激活开始日期:<b >*</b></label>
|
|
|
- <input type="text" class="dfinput fl" id="startActiveTime" name="startActiveTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',autoPickDate:true})" autocomplete="off" th:value="${#dates.format(merchant.startActiveTime, 'yyyy-MM-dd')}" placeholder="合同开始激活日期">
|
|
|
+ <label>赠送月份数:<b>*</b></label>
|
|
|
+ <input type="number" id="giveMonth" min="0" class="dfinput fl" name="giveMonth" th:value="${merchant.giveMonth!=null ? merchant.giveMonth : 0}" autocomplete="off"/>
|
|
|
+ <text th:if="${merchant.id!=null}" style="width: 230px;color:red"></text>
|
|
|
</li>
|
|
|
+
|
|
|
<li>
|
|
|
- <label>激活结束日期:<b >*</b></label>
|
|
|
- <input type="text" class="dfinput fl" id="activeTime" name="activeTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',autoPickDate:true})" autocomplete="off" th:value="${#dates.format(merchant.activeTime, 'yyyy-MM-dd')}" placeholder="合同结束激活日期">
|
|
|
+ <label>加油包/月包单价:<b>*</b></label>
|
|
|
+ <input type="number" id="plusAmountPrice" class="dfinput fl" name="plusAmountPrice" th:value="${merchant.plusAmountPrice==null ? 0 : merchant.plusAmountPrice}" autocomplete="off" placeholder=" 请输入服务包单价" />
|
|
|
</li>
|
|
|
|
|
|
- <li style="display: none">
|
|
|
- <label>计费开始日期:<b ></b></label>
|
|
|
- <input type="text" class="dfinput fl" id="computeTime" name="computeTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',autoPickDate:true})" autocomplete="off" th:value="${#dates.format(merchant.computeTime, 'yyyy-MM-dd')}" placeholder="计费开始日期">
|
|
|
+ <li>
|
|
|
+ <label>加油包/量包单价:<b>*</b></label>
|
|
|
+ <input type="number" id="plusMonthPrice" class="dfinput fl" name="plusMonthPrice" th:value="${merchant.plusMonthPrice==null ? 0 : merchant.plusMonthPrice}" autocomplete="off" placeholder=" 请输入服务包单价" />
|
|
|
</li>
|
|
|
|
|
|
+
|
|
|
<li>
|
|
|
- <label>签约数量(练习册用):<b>*</b></label>
|
|
|
- <input type="text" id="signService" class="dfinput fl" name="signService" th:value="${merchant.signService!=null ? merchant.signService : 0}" autocomplete="off"/>
|
|
|
+ <label>合同日期:<b >*</b></label>
|
|
|
+ <input type="hidden" id="minDate" value="2020-01-01" >
|
|
|
+ <input type="text" id="signTime" name="signTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'minDate\')}'})" autocomplete="off" th:value="${#dates.format(merchant.signTime, 'yyyy-MM-dd')}" class="scinput date_width " placeholder="合同开始日期">
|
|
|
+ ~~
|
|
|
+ <input type="text" id="endSignTime" name="endSignTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'signTime\')}'})" autocomplete="off" th:value="${#dates.format(merchant.endSignTime, 'yyyy-MM-dd')}" class="scinput date_width" placeholder="合同结束日期">
|
|
|
</li>
|
|
|
|
|
|
<li>
|
|
|
- <label>合同硬件采购数量:<b>*</b></label>
|
|
|
- <input type="text" id="hardwareService" class="dfinput fl" name="hardwareService" th:value="${merchant.hardwareService!=null ? merchant.hardwareService : 0}" autocomplete="off"/>
|
|
|
+ <label>激活开始日期:<b >*</b></label>
|
|
|
+ <input type="text" class="dfinput fl" id="startActiveTime" name="startActiveTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',autoPickDate:true})" autocomplete="off" th:value="${#dates.format(merchant.startActiveTime, 'yyyy-MM-dd')}" placeholder="合同开始激活日期">
|
|
|
+ </li>
|
|
|
+ <li>
|
|
|
+ <label>激活结束日期:<b >*</b></label>
|
|
|
+ <input type="text" class="dfinput fl" id="activeTime" name="activeTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',autoPickDate:true})" autocomplete="off" th:value="${#dates.format(merchant.activeTime, 'yyyy-MM-dd')}" placeholder="合同结束激活日期">
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li th:style="${merchant.computeTime==null ? 'display: none' : ''}">
|
|
|
+ <label>计费开始日期:<b >*</b></label>
|
|
|
+ <input type="text" class="dfinput fl" id="computeTime" name="computeTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',autoPickDate:true})" autocomplete="off" th:value="${#dates.format(merchant.computeTime, 'yyyy-MM-dd')}" placeholder="计费开始日期">
|
|
|
</li>
|
|
|
|
|
|
- <li >
|
|
|
- <label>上级渠道<b >*</b></label>
|
|
|
+ <li style="display: none">
|
|
|
+ <label>上级渠道:<b >*</b></label>
|
|
|
<div class="vocation" style="margin-right: 5px; width: 345px">
|
|
|
<select name="parentposcode" id="parentposcode" class="select1" th:disabled="${merchant.id!=null || curMerchant.orgCode ne 'SSJ-FX' ? 'true' : 'false'}" >
|
|
|
- <option th:if="${merchant.id==null || merchant.parentPosCode=='' || merchant.parentPosCode==null }" data-orgcode="" data-id="" value="" >无商户上级</option>
|
|
|
- <option th:each="item:${poslist}" th:selected="${merchant.id==null ? (curMerchant.posCode eq item.posCode ? true : false) : (merchant.parentPosCode eq item.posCode ? true : false)}" th:if="${item.orgCode ne 'SSJ-FX' && #strings.contains(item.orgCode,curMerchant.orgCode) }" th:data-orgcode="${item.orgCode}" th:data-id="${item.id}" th:value="${item.posCode}" th:text="${item.unitName}+' ['+${item.posCode}+']'"></option>
|
|
|
+ <option th:each="item:${poslist}" th:selected="${merchant.id==null ? (item.posCode eq 'ssj001' ? true : false) : (merchant.parentPosCode eq item.posCode ? true : false)}" th:if="${item.orgCode ne 'SSJ-FX' && #strings.contains(item.orgCode,curMerchant.orgCode) }" th:data-orgcode="${item.orgCode}" th:data-id="${item.id}" th:value="${item.posCode}" th:text="${item.unitName}+' ['+${item.posCode}+']'"></option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</li>
|
|
|
|
|
|
- <li th:if="${curMerchant.orgCode eq 'SSJ-FX'}" >
|
|
|
+ <li style="display: none">
|
|
|
<label>商户级别:<b>*</b></label>
|
|
|
<div class="vocation" style="margin-right: 5px; width: 345px">
|
|
|
<select name="level" id="level" class="select1">
|
|
@@ -216,60 +240,22 @@ dtext{
|
|
|
</select>
|
|
|
</div>
|
|
|
</li>
|
|
|
-
|
|
|
- <li th:if="${curMerchant.orgCode ne 'SSJ-FX'}" >
|
|
|
- <label>商户级别:<b>*</b></label>
|
|
|
- <div class="vocation" style="margin-right: 5px; width: 345px">
|
|
|
- <select name="level" id="level" class="select1">
|
|
|
- <option value="4" th:if="${curMerchant.level<=1 || curMerchant.level<=2 || curMerchant.level<=3}" th:selected="${merchant.level==4 ? true : false}">普通</option>
|
|
|
- <option value="2" th:if="${curMerchant.level<=1}" th:selected="${merchant.level==2 ? true : false}">区代</option>
|
|
|
- <option value="3" th:if="${curMerchant.level<=1 || curMerchant.level<=2}" th:selected="${merchant.level==3 ? true : false}">学校独家</option>
|
|
|
-
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </li>
|
|
|
-
|
|
|
-
|
|
|
- <li th:if="${curMerchant.orgCode eq 'SSJ-FX' && curMerchant.posCode ne 'sishujia' }" >
|
|
|
- <label>商户类型:<b>*</b></label>
|
|
|
- <div class="vocation" style="margin-right: 5px; width: 345px">
|
|
|
- <select name="type" id="type" class="select1">
|
|
|
- <option value="5" th:selected="${merchant.type==5 ? true : false}">直接签约(新模式)</option>
|
|
|
- <option value="1" th:selected="${merchant.type==1 ? true : false}">直接签约(旧模式)</option>
|
|
|
- <option value="2" th:selected="${merchant.type==2 ? true : false}">内部消耗</option>
|
|
|
- <option value="3" th:selected="${merchant.type==3 ? true : false}">外部签约</option>
|
|
|
- <option value="4" th:selected="${merchant.type==4 ? true : false}">内部不结算(财务)</option>
|
|
|
- <option value="6" th:selected="${merchant.type==6 ? true : false}">旧转新(新不结算)</option>
|
|
|
- <option value="7" th:selected="${merchant.type==7 ? true : false}">旧转新(新旧不结算)</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </li>
|
|
|
-
|
|
|
- <li th:if="${curMerchant.orgCode eq 'SSJ-FX-aijia001-ssj001' || curMerchant.posCode eq 'sishujia'}" >
|
|
|
+
|
|
|
+ <li>
|
|
|
<label>商户类型:<b>*</b></label>
|
|
|
<div class="vocation" style="margin-right: 5px; width: 345px">
|
|
|
<select name="type" id="type" class="select1">
|
|
|
- <option value="5" th:selected="${merchant.type==5 ? true : false}">直接签约(新模式)</option>
|
|
|
-
|
|
|
- <option value="1" th:selected="${merchant.type==1 ? true : false}">直接签约(旧模式)</option>
|
|
|
+ <option value="5" th:selected="${merchant.type==5 ? true : false}">直接签约(端口模式)</option>
|
|
|
+<!-- <option value="1" th:selected="${merchant.type==1 ? true : false}">直接签约(旧模式)</option> -->
|
|
|
<option value="2" th:selected="${merchant.type==2 ? true : false}">内部消耗</option>
|
|
|
- <option value="4" th:selected="${merchant.type==4 ? true : false}">内部不结算(财务)</option>
|
|
|
-
|
|
|
- <option value="6" th:selected="${merchant.type==6 ? true : false}">旧转新(新不结算)</option>
|
|
|
- <option value="7" th:selected="${merchant.type==7 ? true : false}">旧转新(新旧不结算)</option>
|
|
|
- </select>
|
|
|
- </div>
|
|
|
- </li>
|
|
|
-
|
|
|
- <li th:if="${curMerchant.orgCode ne 'SSJ-FX' && curMerchant.orgCode ne 'SSJ-FX-aijia001-ssj001' && curMerchant.posCode ne 'sishujia' }" >
|
|
|
- <label>商户类型:<b>*</b></label>
|
|
|
- <div class="vocation" style="margin-right: 5px; width: 345px">
|
|
|
- <select name="type" id="type" class="select1">
|
|
|
<option value="3" th:selected="${merchant.type==3 ? true : false}">外部签约</option>
|
|
|
+ <option value="4" th:selected="${merchant.type==4 ? true : false}">内部不结算(财务)</option>
|
|
|
+<!-- <option value="6" th:selected="${merchant.type==6 ? true : false}">旧转新(新不结算)</option> -->
|
|
|
+<!-- <option value="7" th:selected="${merchant.type==7 ? true : false}">旧转新(新旧不结算)</option> -->
|
|
|
</select>
|
|
|
</div>
|
|
|
</li>
|
|
|
-
|
|
|
+
|
|
|
<li style="display: none;">
|
|
|
<label>签约状态:<b>*</b></label>
|
|
|
<div class="vocation" style="margin-right: 5px; width: 345px">
|
|
@@ -277,57 +263,74 @@ dtext{
|
|
|
<option value="3" th:selected="${merchant.status==3 ? true : false}">已签已交付</option>
|
|
|
<option value="1" th:selected="${merchant.status==1 ? true : false}">待签</option>
|
|
|
<option value="2" th:selected="${merchant.status==2 ? true : false}">已签待交付</option>
|
|
|
-
|
|
|
</select>
|
|
|
</div>
|
|
|
</li>
|
|
|
|
|
|
- <li>
|
|
|
- <label>服务包充值金额<b></b></label>
|
|
|
- <input type="text" id="price" class="dfinput fl" name="price" th:value="${merchant.price==null ? 0 : merchant.price}" autocomplete="off"/>
|
|
|
+
|
|
|
+
|
|
|
+ <li style="display: none">
|
|
|
+ <label>签约数量(练习册用):<b></b></label>
|
|
|
+ <input type="text" id="signService" class="dfinput fl" name="signService" th:value="${merchant.signService!=null ? merchant.signService : 0}" autocomplete="off"/>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li style="display: none">
|
|
|
+ <label>合同硬件采购数量:<b></b></label>
|
|
|
+ <input type="text" id="hardwareService" class="dfinput fl" name="hardwareService" th:value="${merchant.hardwareService!=null ? merchant.hardwareService : 0}" autocomplete="off"/>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li style="display: none">
|
|
|
+ <label>硬件:签约单价:<b></b></label>
|
|
|
+ <input type="number" id="hardwarePrice" class="dfinput fl" name="hardwarePrice" th:value="${merchant.hardwarePrice==null ? 0 : merchant.hardwarePrice }" autocomplete="off" placeholder=" 请输入硬件:签约单价" />
|
|
|
+ </li>
|
|
|
+
|
|
|
+
|
|
|
+ <li>
|
|
|
+ <label>甲方签约人 :<b></b></label>
|
|
|
+ <input type="text" id="signerPerson" class="dfinput fl" name="signerPerson" th:value="${merchant.signerPerson}" autocomplete="off" placeholder=" 请输入甲方签约人"/>
|
|
|
</li>
|
|
|
|
|
|
<li>
|
|
|
- <label>平台管理费金额<b></b></label>
|
|
|
- <input type="text" id="outPrice" class="dfinput fl" name="outPrice" th:value="${merchant.outPrice==null ? 0 : merchant.outPrice}" autocomplete="off"/>
|
|
|
+ <label>合同编号 :<b></b></label>
|
|
|
+ <input type="text" id="contractNo" class="dfinput fl" name="contractNo" th:value="${merchant.contractNo}" autocomplete="off" placeholder=" 请输入合同编号" />
|
|
|
</li>
|
|
|
|
|
|
<li>
|
|
|
- <label>硬件:签约单价<b></b></label>
|
|
|
- <input type="text" id="hardwarePrice" class="dfinput fl" name="hardwarePrice" th:value="${merchant.hardwarePrice}" autocomplete="off"/>
|
|
|
+ <label>合同签约时间 :<b></b></label>
|
|
|
+ <input type="text" id="contractTime" class="dfinput fl" name="contractTime" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',autoPickDate:true})" th:value="${#dates.format(merchant.contractTime, 'yyyy-MM-dd')}" autocomplete="off" placeholder=" 请输入合同签约时间"/>
|
|
|
+ </li>
|
|
|
+
|
|
|
+ <li>
|
|
|
+ <label>地址:<b></b></label>
|
|
|
+ <input type="text" id="address" class="dfinput fl" name="address" th:value="${merchant.address}" autocomplete="off" placeholder=" 请输入地址" />
|
|
|
</li>
|
|
|
|
|
|
<li>
|
|
|
<label>法人姓名 :<b></b></label>
|
|
|
- <input type="text" id="legalperson" class="dfinput fl" name="legalperson" th:value="${merchant.legalPerson}" autocomplete="off"/>
|
|
|
+ <input type="text" id="legalperson" class="dfinput fl" name="legalperson" th:value="${merchant.legalPerson}" autocomplete="off" placeholder=" 请输入法人姓名" />
|
|
|
</li>
|
|
|
<li>
|
|
|
<label>法人电话:<b></b></label>
|
|
|
- <input type="text" id="phone" class="dfinput fl" name="phone" th:value="${merchant.phone}" autocomplete="off"/>
|
|
|
+ <input type="text" id="phone" class="dfinput fl" name="phone" th:value="${merchant.phone}" autocomplete="off" placeholder=" 请输入法人电话" />
|
|
|
</li>
|
|
|
<li>
|
|
|
<label>代表姓名:<b></b></label>
|
|
|
- <input type="text" id="deputyname" class="dfinput fl" name="deputyname" th:value="${merchant.deputyName}" autocomplete="off"/>
|
|
|
+ <input type="text" id="deputyname" class="dfinput fl" name="deputyname" th:value="${merchant.deputyName}" autocomplete="off" placeholder=" 请输入代表姓名" />
|
|
|
</li>
|
|
|
<li>
|
|
|
<label>代表电话:<b></b></label>
|
|
|
- <input type="text" id="deputyphone" class="dfinput fl" name=deputyphone th:value="${merchant.deputyPhone}" autocomplete="off"/>
|
|
|
+ <input type="text" id="deputyphone" class="dfinput fl" name=deputyphone th:value="${merchant.deputyPhone}" autocomplete="off" placeholder=" 请输入代表电话"/>
|
|
|
</li>
|
|
|
|
|
|
<li>
|
|
|
<label>商户备注:<b></b></label>
|
|
|
- <input type="text" id="remarks" class="dfinput fl" name="remarks" th:value="${merchant.remarks}" autocomplete="off"/>
|
|
|
- </li>
|
|
|
-
|
|
|
- <li>
|
|
|
- <label>地址:<b></b></label>
|
|
|
- <input type="text" id="address" class="dfinput fl" name="address" th:value="${merchant.address}" autocomplete="off"/>
|
|
|
+ <input type="text" id="remarks" class="dfinput fl" name="remarks" th:value="${merchant.remarks}" autocomplete="off" placeholder=" 请输入商户备注" />
|
|
|
</li>
|
|
|
|
|
|
- <li>
|
|
|
+ <li style="padding-top: 10px">
|
|
|
<label> </label>
|
|
|
- <button type="submit" onclick="push_user();" class="btn">提交</button>
|
|
|
- <button type="button" class="btn" onclick="closeWin();">取消</button>
|
|
|
+ <button type="button" class="btn" onclick="javascript:location.reload();" style="background: #ccc;">清空</button>
|
|
|
+ <button type="submit" onclick="push_user();" class="btn" style="width: 137px;margin-left: 20px;">保存</button>
|
|
|
</li>
|
|
|
</ul>
|
|
|
<br/><br/><br/>
|
|
@@ -433,9 +436,18 @@ $(function (){
|
|
|
alert("");
|
|
|
});
|
|
|
|
|
|
+ if(id==''){
|
|
|
+ var val=$("#signType").find("option:selected").data("val");
|
|
|
+ $("#libService").val(val);
|
|
|
+ var upval=$("#signType").find("option:selected").data("upval");
|
|
|
+ $("#munitPrice").val(upval);
|
|
|
+ }
|
|
|
+
|
|
|
$("#signType").on("change",function(){
|
|
|
var val=$(this).find("option:selected").data("val");
|
|
|
$("#libService").val(val);
|
|
|
+ var upval=$(this).find("option:selected").data("upval");
|
|
|
+ $("#munitPrice").val(upval);
|
|
|
if($(this).val()<=4){
|
|
|
$("#libServiceTips").hide();
|
|
|
}else{
|
|
@@ -762,18 +774,18 @@ function save(){
|
|
|
parent.layer.msg("商户名称不能为空",{icon:11});
|
|
|
return
|
|
|
}
|
|
|
- if($("#signTime").val()==''){
|
|
|
- parent.layer.msg("合同开始日期不能为空",{icon:11});
|
|
|
- return
|
|
|
- }
|
|
|
- if($("#endSignTime").val()==''){
|
|
|
- parent.layer.msg("合同结束日期不能为空",{icon:11});
|
|
|
- return
|
|
|
- }
|
|
|
- if($("#signType").val()!='' && $("#signType").val()>=1 && $("#libServiceMonth").val()<=0){
|
|
|
- parent.layer.msg("新模式充值月份数不可小于0",{icon:11});
|
|
|
- return
|
|
|
- }
|
|
|
+// if($("#signTime").val()==''){
|
|
|
+// parent.layer.msg("合同开始日期不能为空",{icon:11});
|
|
|
+// return
|
|
|
+// }
|
|
|
+// if($("#endSignTime").val()==''){
|
|
|
+// parent.layer.msg("合同结束日期不能为空",{icon:11});
|
|
|
+// return
|
|
|
+// }
|
|
|
+// if($("#signType").val()!='' && $("#signType").val()>=1 && $("#libServiceMonth").val()<=0){
|
|
|
+// parent.layer.msg("新模式充值月份数不可小于0",{icon:11});
|
|
|
+// return
|
|
|
+// }
|
|
|
if($("#signType").val()!='' && $("#signType").val()>=1 && $("#curSummaryTime").val()==''){
|
|
|
parent.layer.msg("新模式激活时间不可为空",{icon:11});
|
|
|
return
|
|
@@ -822,6 +834,17 @@ function save(){
|
|
|
'activeTimeStr':$("#activeTime").val(),
|
|
|
'computeTimeStr':$("#computeTime").val(),
|
|
|
|
|
|
+
|
|
|
+ 'munitPrice':$("#munitPrice").val(),
|
|
|
+ 'signerPerson':$("#signerPerson").val(),
|
|
|
+ 'contractNo':$("#contractNo").val(),
|
|
|
+ 'contractTimeStr':$("#contractTime").val(),
|
|
|
+ 'posType':2,
|
|
|
+ 'buyMonth':$("#buyMonth").val(),
|
|
|
+ 'giveMonth':$("#giveMonth").val(),
|
|
|
+ 'plusAmountPrice':$("#plusAmountPrice").val(),
|
|
|
+ 'plusMonthPrice':$("#plusMonthPrice").val(),
|
|
|
+
|
|
|
'province':$("#province").val(),
|
|
|
'city':$("#city").val(),
|
|
|
'address':$("#address").val(),
|