|
|
@@ -99,8 +99,8 @@
|
|
|
if (se == 1) {
|
|
|
$(".startTr1").not(".hide").each(function (i, v) {
|
|
|
rs = $.validate({ name: "contractPurchaseDetailList[" + i + "].qty", model: [{type: "require", msg: "数量不能为空!"}] }) && rs;
|
|
|
- rs = $.validate({ name: "contractPurchaseDetailList[" + i + "].price", model: [{type: "require", msg: "价格不能为空!"}] }) && rs;
|
|
|
- rs = $.validate({ name: "contractPurchaseDetailList[" + i + "].cess", model: [{type: "require", msg: "税率不能为空!"}] }) && rs;
|
|
|
+ /* rs = $.validate({ name: "contractPurchaseDetailList[" + i + "].price", model: [{type: "require", msg: "价格不能为空!"}] }) && rs;
|
|
|
+ rs = $.validate({ name: "contractPurchaseDetailList[" + i + "].cess", model: [{type: "require", msg: "税率不能为空!"}] }) && rs; */
|
|
|
});
|
|
|
}
|
|
|
return rs;
|
|
|
@@ -346,8 +346,8 @@
|
|
|
<th class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">型号/规格</th>
|
|
|
<!-- <th class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;"> 供应商</th> -->
|
|
|
<th class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">数量</th>
|
|
|
- <th class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">单价</th>
|
|
|
- <th class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">税率</th>
|
|
|
+ <!-- <th class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">单价</th>
|
|
|
+ <th class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">税率</th> -->
|
|
|
</tr>
|
|
|
|
|
|
<c:forEach items="${contractPurchaseDetailList}" var="items">
|
|
|
@@ -365,19 +365,22 @@
|
|
|
</td>
|
|
|
<td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">
|
|
|
<input type="text" name="" class="input-width qty TextDisplay" onkeyup="value=value.replace(/[^\d\.]/g,'')" onblur="value=value.replace(/[^\d\.]/g,'')" value="${items.qty}">
|
|
|
+ <img align="bottom" style="cursor: pointer" class="substract1" src="${pageContext.request.contextPath}/liger/lib/ligerUI/skins/${sessionScope.css}/images/index/jian.png">
|
|
|
</td>
|
|
|
- <td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">
|
|
|
+ <%-- <td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">
|
|
|
<input type="text" name="" class="input-width price TextDisplay" onkeyup="value=value.replace(/[^\d\.]/g,'')" onblur="value=value.replace(/[^\d\.]/g,'')" value="${items.price}">
|
|
|
</td>
|
|
|
<td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">
|
|
|
<input type="text" name="" class="input-width cess TextDisplay" onkeyup="value=value.replace(/[^\d\.]/g,'')" onblur="value=value.replace(/[^\d\.]/g,'')" value="${items.cess}">
|
|
|
<img align="bottom" style="cursor: pointer" class="substract1" src="${pageContext.request.contextPath}/liger/lib/ligerUI/skins/${sessionScope.css}/images/index/jian.png">
|
|
|
- </td>
|
|
|
+ </td> --%>
|
|
|
</tr>
|
|
|
</c:forEach>
|
|
|
|
|
|
<tr id="firstPoint"></tr>
|
|
|
- <tr>
|
|
|
+
|
|
|
+ <input type="hidden" id="totalAmount" name="contractPurchaseForm.totalAmount" value="${contractPurchaseForm.totalAmount}">
|
|
|
+ <%-- <tr>
|
|
|
<td class="l-table-edit-new" colspan="3" style="padding-right: 0px;padding-left: 0px;"></td>
|
|
|
<td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;"> 合计(元):</td>
|
|
|
<td class="l-table-edit-new" colspan="1"
|
|
|
@@ -390,7 +393,7 @@
|
|
|
</c:choose>
|
|
|
</td>
|
|
|
<td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;"></td>
|
|
|
- </tr>
|
|
|
+ </tr> --%>
|
|
|
|
|
|
</table>
|
|
|
</div>
|
|
|
@@ -426,13 +429,14 @@
|
|
|
</td>
|
|
|
<td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">
|
|
|
<input type="text" name="" class="input-width qty" onkeyup="value=value.replace(/[^\d\.]/g,'')" onblur="value=value.replace(/[^\d\.]/g,'')">
|
|
|
+ <img align="bottom" style="cursor: pointer" class="substract1" src="${pageContext.request.contextPath}/liger/lib/ligerUI/skins/${sessionScope.css}/images/index/jian.png">
|
|
|
</td>
|
|
|
- <td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">
|
|
|
+ <%-- <td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">
|
|
|
<input type="text" name="" class="input-width price" onkeyup="value=value.replace(/[^\d\.]/g,'')" onblur="value=value.replace(/[^\d\.]/g,'')">
|
|
|
</td>
|
|
|
<td class="l-table-edit-new" colspan="1" style="padding-right: 0px;padding-left: 0px;">
|
|
|
<input type="text" name="" class="input-width cess" onkeyup="value=value.replace(/[^\d\.]/g,'')" onblur="value=value.replace(/[^\d\.]/g,'')">
|
|
|
<img align="bottom" style="cursor: pointer" class="substract1" src="${pageContext.request.contextPath}/liger/lib/ligerUI/skins/${sessionScope.css}/images/index/jian.png">
|
|
|
- </td>
|
|
|
+ </td> --%>
|
|
|
</tr>
|
|
|
</table>
|