pp管道的金额计算更改:单价*总重

This commit is contained in:
suncz
2024-04-30 17:19:40 +08:00
parent b174c04733
commit 7fe7d434f0
3 changed files with 13 additions and 6 deletions

View File

@@ -305,8 +305,7 @@
<td><input data-input="materialOrderSn" th:value="${poiMoMap[item.id]?.sn}" type="text" readonly></td>
<td><input data-input="materialOrderName" th:value="${poiMoMap[item.id]?.name}" type="text" readonly></td>
<td><input data-input="gWeight" th:value="${item.gWeight}" type="number" readonly></td>
<td><input data-input="totalWeight" type="number"
th:value="${item.totalWeight}" readonly></td>
<td><input data-input="totalWeight" type="number" th:value="${item.totalWeight}" readonly></td>
<td><input data-input="count" th:value="${item.count}" type="number" readonly></td>
<td><input data-input="deliveryCount" type="number" readonly th:value="${item.deliveryCount}" ></td>
<td><input data-input="deliveryRate" type="number" readonly th:value="${item.deliveryCount/item.count*100}" ></td>
@@ -314,7 +313,12 @@
<td><input th:value="${item.inboundCount}" type="number" readonly></td>
</th:block>
<td show-data-column="price"><input data-input="price" th:value="${item.price}" type="number" readonly></td>
<th:block th:if="${item.bigProductType != 'PP'}">
<td show-data-column="subtotal" class="subtotal" th:text="${(item.price * item.count).setScale(2, 4)}"></td>
</th:block>
<th:block th:if="${item.bigProductType == 'PP'}">
<td show-data-column="subtotal" class="subtotal" th:text="${(item.price * item.totalWeight).setScale(2, 4)}"></td>
</th:block>
<td><input data-input="unit" th:value="${item.unit}" type="text" readonly></td>
<!-- <td><input data-input="versionNum" th:value="${item.versionNum}" type="text"></td>-->
<!-- <td><input data-input="bigProductType" th:value="${item.bigProductType}" type="text" readonly>-->

View File

@@ -1,2 +0,0 @@
home/index.html
style.css