Merge branch 'master' of http://bore.pub:10439/r/ERP_override
| | |
| | | <td>{{item1.orderNumber}}</td> |
| | | <td>{{ item1.otherColumns?.S02}}</td> |
| | | <td>{{ item1.otherColumns?.S03}}</td> |
| | | <td>{{ item1.otherColumns?.S01}}</td> |
| | | <td class="notChangeRow">{{ item1.otherColumns?.S01}}</td> |
| | | <td>{{item1.width +'*'+item1.height}}</td> |
| | | <td>{{item1.quantity}}</td> |
| | | <td>{{item1.grossArea}}</td> |
| | |
| | | background-color: black; |
| | | color: black; |
| | | } |
| | | .notChangeRow{ |
| | | white-space: nowrap; |
| | | } |
| | | |
| | | |
| | | </style> |
| | |
| | | <td>{{item1.orderNumber}}</td> |
| | | <td>{{ item1.otherColumns?.S02}}</td> |
| | | <td>{{ item1.otherColumns?.S03}}</td> |
| | | <td>{{ item1.otherColumns?.S01}}</td> |
| | | <td class="notChangeRow">{{ item1.otherColumns?.S01}}</td> |
| | | <td>{{item1.width}}*{{item1.height}}</td> |
| | | <td>{{item1.quantity}}</td> |
| | | <td>{{item1.grossArea}}</td> |
| | |
| | | border:0 |
| | | } |
| | | |
| | | |
| | | .notChangeRow{ |
| | | white-space: nowrap; |
| | | } |
| | | </style> |
| | |
| | | }) |
| | | } |
| | | |
| | | //更新金额 |
| | | //更新金额重置 |
| | | const updateMoney = () => { |
| | | const updateData = { |
| | | order: titleUploadData.value, |
| | |
| | | public interface OrderOtherMoneyMapper extends BaseMapper<OrderOtherMoney> { |
| | | |
| | | List<OrderOtherMoney> findById(String orderId); |
| | | |
| | | Double selectGrossAmount(String orderId); |
| | | } |
| | |
| | | orderDetail = updateOrderMoneyComputed(orderDetail,order.getCalculateType()); |
| | | money+= orderDetail.getGrossAmount(); |
| | | } |
| | | order.setMoney(money); |
| | | |
| | | order.setMoney(money+orderOtherMoneyMapper.selectGrossAmount(order.getOrderId())); |
| | | orderMapper.updateMoney(order); |
| | | orderDetailMapper.updateOrderMoney(OrderDetails); |
| | | return false; |
| | |
| | | where a.order_id = #{orderId} |
| | | </select> |
| | | |
| | | <select id="selectGrossAmount"> |
| | | select sum(money) from order_other_money where order_id = #{orderId} |
| | | |
| | | </select> |
| | | |
| | | |
| | | </mapper> |