|
@@ -301,7 +301,7 @@
|
|
|
<body>
|
|
|
<ul class="nav nav-tabs">
|
|
|
<li><a href="${ctx}/product/new/list?searchProductCategory=2">二手商品列表</a></li>
|
|
|
- <li class="active"><a href="${ctx}/product/cmSecondHandDetail/cmSecondDetailForm">二手估价商品添加 / 编辑</a></li>
|
|
|
+ <li class="active"><a href="${ctx}/product/cmSecondHandDetail/cmSecondDetailForm?searchName=${searchName}&searchShopID=${searchShopID}&searchShopName=${searchShopName}&searchBigTypeID=${searchBigTypeID}&searchSmallTypeID=${searchSmallTypeID}&searchTinyTypeID=${searchTinyTypeID}&searchValidFlag=${searchValidFlag}&searchActStatus=${searchActStatus}&searchProductType=${searchProductType}&searchBrandID=${searchBrandID}&searchPreferredFlag=${searchPreferredFlag}&fileTypes=999">二手估价商品添加 / 编辑</a></li>
|
|
|
</ul>
|
|
|
<br/>
|
|
|
<form:form id="inputForm" modelAttribute="cmSecondHandDetail"
|
|
@@ -351,22 +351,7 @@
|
|
|
<form:radiobutton path="sold" value="1" label="已售"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <%-- <div class="control-group">--%>
|
|
|
- <%-- <label class="control-label"><font color="red">*</font>付款状态:</label>--%>
|
|
|
- <%-- <div class="controls">--%>
|
|
|
- <%-- <form:select path="payStatus" class="input-mini required">--%>
|
|
|
- <%-- <form:option value="3" checked="true">无需付款</form:option>--%>
|
|
|
- <%-- <form:option value="1">待付款</form:option>--%>
|
|
|
- <%-- <form:option value="2">已付款</form:option>--%>
|
|
|
- <%-- </form:select>--%>
|
|
|
- <%-- </div>--%>
|
|
|
- <%-- </div>--%>
|
|
|
- <%-- <div class="control-group payAmount">--%>
|
|
|
- <%-- <label class="control-label"><font color="red">*</font>付款金额:¥ </label>--%>
|
|
|
- <%-- <div class="controls">--%>
|
|
|
- <%-- <input id="payAmount" name="payAmount" maxlength="11" style="padding-left: 7px;padding-top: 8px;border-radius: 4px;background: white;border: 1px solid #ccc;padding-right: 5px" onkeyup="num(this)" value="<fmt:formatNumber type='number' value='${cmSecondHandDetail.payAmount}' pattern='0.00'/>" class="input-xlarge required"/>--%>
|
|
|
- <%-- </div>--%>
|
|
|
- <%-- </div>--%>
|
|
|
+
|
|
|
<div class="control-group">
|
|
|
<label class="control-label">浏览量:</label>
|
|
|
<div class="controls">
|
|
@@ -388,8 +373,8 @@
|
|
|
<form:radiobutton path="secondHandType" value="3" label="其他"/>
|
|
|
</div>
|
|
|
<div class="controls c-s bigTypeList" style="margin-left: 181px">
|
|
|
-<%-- <form:checkboxes path="bigTypeList" items="" itemLabel="name" itemValue="id" htmlEscape="false"--%>
|
|
|
-<%-- class="input-small stylema required"/>--%>
|
|
|
+ <form:checkboxes path="bigTypeList" items="${typeList}" itemLabel="name" itemValue="id" htmlEscape="false"
|
|
|
+ class="input-small stylema required"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="control-group">
|
|
@@ -404,17 +389,17 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<c:if test="${not empty cmSecondHandDetail.id}">
|
|
|
- <div class="control-group">
|
|
|
- <label class="control-label">线上分账账号:</label>
|
|
|
- <div class="controls">
|
|
|
- <form:select path="splitCode" class="select-ele input-medium">
|
|
|
- <form:option value="" label="请选择"/>
|
|
|
- <c:forEach items="${splitCodeList}" var="splitCodeList" varStatus="index">
|
|
|
- <form:option value="${splitCodeList.splitCode}" label="${splitCodeList.codeRemark}"/>
|
|
|
- </c:forEach>
|
|
|
- </form:select>
|
|
|
+ <div class="control-group">
|
|
|
+ <label class="control-label">线上分账账号:</label>
|
|
|
+ <div class="controls">
|
|
|
+ <form:select path="splitCode" class="select-ele input-medium">
|
|
|
+ <form:option value="" label="请选择"/>
|
|
|
+ <c:forEach items="${splitCodeList}" var="splitCodeList" varStatus="index">
|
|
|
+ <form:option value="${splitCodeList.splitCode}" label="${splitCodeList.codeRemark}"/>
|
|
|
+ </c:forEach>
|
|
|
+ </form:select>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
</c:if>
|
|
|
<div class="control-group">
|
|
|
<label class="control-label"><font color="red">*</font>商品品牌:</label>
|
|
@@ -443,12 +428,7 @@
|
|
|
<form:input path="fixedYears" htmlEscape="false" maxlength="50" class="input-xlarge"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<%-- <div class="control-group maturityYears showClassDiv">--%>
|
|
|
-<%-- <label class="control-label"><font color="red">*</font>产品到期日期:</label>--%>
|
|
|
-<%-- <div class="controls">--%>
|
|
|
-<%-- <form:input path="maturityYears" htmlEscape="false" maxlength="50" class="input-xlarge"/>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
+
|
|
|
<div class="control-group" id="gsmc">
|
|
|
<label class="control-label"><font color="red">*</font>公司名称:</label>
|
|
|
<div class="controls">
|
|
@@ -469,30 +449,7 @@
|
|
|
</label>
|
|
|
</div>
|
|
|
</div>
|
|
|
-<%-- <div class="control-group showClassDiv">--%>
|
|
|
-<%-- <label class="control-label"><font color="red">*</font>市场价:</label>--%>
|
|
|
-<%-- <div class="controls">--%>
|
|
|
-<%-- <input style="padding-left: 7px;padding-top: 8px;border-radius: 4px;background: white;border: 1px solid #ccc;padding-right: 5px"--%>
|
|
|
-<%-- id="normalPrice" name="normalPrice"--%>
|
|
|
-<%-- value="<fmt:formatNumber type='number' value='${cmSecondHandDetail.normalPrice}' pattern='0.00'/>"--%>
|
|
|
-<%-- onkeyup="num(this)" class="input-xlarge"/>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="control-group showClassDiv">--%>
|
|
|
-<%-- <label class="control-label"><font color="red">*</font>采购价/原价:</label>--%>
|
|
|
-<%-- <div class="controls">--%>
|
|
|
-<%-- <input style="padding-left: 7px;padding-top: 8px;border-radius: 4px;background: white;border: 1px solid #ccc;padding-right: 5px"--%>
|
|
|
-<%-- id="originalPrice" name="originalPrice"--%>
|
|
|
-<%-- value="<fmt:formatNumber type='number' value='${cmSecondHandDetail.originalPrice}' pattern='0.00'/>"--%>
|
|
|
-<%-- onkeyup="num(this)" class="input-xlarge"/>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- <div class="control-group showClassDiv">--%>
|
|
|
-<%-- <label class="control-label"><font color="red">*</font>数量:</label>--%>
|
|
|
-<%-- <div class="controls">--%>
|
|
|
-<%-- <form:input path="stock" htmlEscape="false" class="input-xlarge number"/>--%>
|
|
|
-<%-- </div>--%>
|
|
|
-<%-- </div>--%>
|
|
|
+
|
|
|
<div class="control-group">
|
|
|
<label class="control-label"><font color="red">*</font>成本:</label>
|
|
|
<div class="controls">
|
|
@@ -894,7 +851,7 @@
|
|
|
})
|
|
|
});
|
|
|
$(function () {
|
|
|
- // 加载地址
|
|
|
+ // 加载地址
|
|
|
loadProvince();
|
|
|
|
|
|
// 初始化付款状态
|