|
@@ -29,7 +29,9 @@
|
|
|
<body>
|
|
|
<ul class="nav nav-tabs">
|
|
|
<li><a href="${ctx}/user/newCmShop/special/new">新品供应商</a></li>
|
|
|
- <li class="active"><a href="${ctx}/user/newCmShop/special/new/edit?id=${newCmShop.shopID}&shopType=${newCmshop.shopType}">${not empty newCmShop.shopID?'编辑':'添加'}特殊供应商</a></li>
|
|
|
+ <li class="active"><a
|
|
|
+ href="${ctx}/user/newCmShop/special/new/edit?id=${newCmShop.shopID}&shopType=${newCmshop.shopType}">${not empty newCmShop.shopID?'编辑':'添加'}特殊供应商</a>
|
|
|
+ </li>
|
|
|
</ul>
|
|
|
<br/>
|
|
|
<form:form id="inputForm" modelAttribute="newCmShop" action="${ctx}/user/newCmShop/special/new/save" method="post"
|
|
@@ -55,7 +57,7 @@
|
|
|
${newCmShop.linkMan}
|
|
|
</c:if>
|
|
|
<c:if test="${newCmShop.shopType eq 2}">
|
|
|
- <form:input path="linkMan" htmlEscape="false" maxlength="6" class="input-xlarge required"/>
|
|
|
+ <form:input path="linkMan" htmlEscape="false" maxlength="6" class="input-xlarge required"/>
|
|
|
</c:if>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -66,20 +68,21 @@
|
|
|
${newCmShop.contractMobile}
|
|
|
</c:if>
|
|
|
<c:if test="${newCmShop.shopType eq 2}">
|
|
|
- <form:input path="contractMobile" htmlEscape="false" type="number" maxlength="11" class="input-xlarge required"/>
|
|
|
+ <form:input path="contractMobile" htmlEscape="false" type="number" maxlength="11"
|
|
|
+ class="input-xlarge required"/>
|
|
|
</c:if>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="control-group">
|
|
|
<c:if test="${newCmShop.shopType eq 2}">
|
|
|
- <label class="control-label"><font color="red">*</font>状态:</label>
|
|
|
- <div class="controls">
|
|
|
- <form:select path="status" class="input-xlarge required">
|
|
|
- <form:option value="" label="请选择"/>
|
|
|
- <form:option value="90" label="已上线" selected="selected" htmlEscape="false"/>
|
|
|
- <form:option value="91" label="已下线" htmlEscape="false"/>
|
|
|
- </form:select>
|
|
|
- </div>
|
|
|
+ <label class="control-label"><font color="red">*</font>状态:</label>
|
|
|
+ <div class="controls">
|
|
|
+ <form:select path="status" class="input-xlarge required">
|
|
|
+ <form:option value="" label="请选择"/>
|
|
|
+ <form:option value="90" label="已上线" selected="selected" htmlEscape="false"/>
|
|
|
+ <form:option value="91" label="已下线" htmlEscape="false"/>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
</c:if>
|
|
|
<c:if test="${newCmShop.shopType eq 3}">
|
|
|
<label class="control-label"><font color="red">*</font>收款卡号:</label>
|
|
@@ -88,6 +91,13 @@
|
|
|
</div>
|
|
|
</c:if>
|
|
|
</div>
|
|
|
+ <div class="control-group">
|
|
|
+ <label class="control-label"><font color="red">*</font>线上支付手续费:</label>
|
|
|
+ <div class="controls">
|
|
|
+ <form:radiobutton path="chargeSupport" value="1" label="采美承担" checked="true"/>
|
|
|
+ <form:radiobutton path="chargeSupport" value="2" label="供应商承担"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="control-group">
|
|
|
<tr>
|
|
|
<th><b>分账商户号:</b></th>
|
|
@@ -114,19 +124,7 @@
|
|
|
<button
|
|
|
class="addParams" onclick="return false">添加分帐号
|
|
|
</button>
|
|
|
- </td>
|
|
|
-<td>
|
|
|
-</br>
|
|
|
- <strong>线上支付手续费:</strong>
|
|
|
-
|
|
|
- <c:if test="${empty newCmShop.commIssion || newCmShop.commIssion==0}">
|
|
|
- <input type="radio" checked="checked" name="commIssion" value="0" class="required" />采美承担
|
|
|
- <input type="radio" name="commIssion" value="1" class="required" />供应商承担
|
|
|
- </c:if>
|
|
|
- <c:if test="${newCmShop.commIssion==1}">
|
|
|
- <input type="radio" name="commIssion" value="0" class="required" />采美承担
|
|
|
- <input type="radio" checked="checked" name="commIssion" value="1" class="required" />供应商承担
|
|
|
- </c:if></td>
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
</div>
|
|
|
|
|
@@ -144,9 +142,9 @@
|
|
|
// alertx("+++++"+val.length) splitCodes[${varIndex.index}].splitCode
|
|
|
productParametersIndex++;
|
|
|
var html = '<div id="paramsItem" class="paramsItem">';
|
|
|
- html += ' <input name="splitCodes[' + [productParametersIndex] + '].splitCode" id="splitCode" maxlength="8" placeholder="请输入分帐商户号" type="text" class="input-small"/> ';
|
|
|
- html += '<input name="splitCodes[' + [productParametersIndex] + '].email" id="email" maxlength="10" placeholder="请输入对应邮箱号" type="text" class="input-small"/> ';
|
|
|
- html += '<input name="splitCodes[' + [productParametersIndex] + '].codeRemark" id="codeRemark" maxlength="10" placeholder="请输入账户备注" type="text" class="input-small"/> ';
|
|
|
+ html += ' <input name="splitCodes[' + [productParametersIndex] + '].splitCode" id="splitCode" maxlength="15" placeholder="请输入分帐商户号" type="text" class="input-small"/> ';
|
|
|
+ html += '<input name="splitCodes[' + [productParametersIndex] + '].email" id="email" maxlength="15" placeholder="请输入对应邮箱号" type="text" class="input-small"/> ';
|
|
|
+ html += '<input name="splitCodes[' + [productParametersIndex] + '].codeRemark" id="codeRemark" maxlength="15" placeholder="请输入账户备注" type="text" class="input-small"/> ';
|
|
|
html += '<span type="button" style="cursor: pointer;color: #0B61A4" onclick="deleteParams(this)"">删除</span>';
|
|
|
html += '</div>';
|
|
|
$("#addParamsItems").append(html).show();
|