Showing
2 changed files
with
7 additions
and
1 deletions
xingyun-sc/src/main/java/com/lframework/xingyun/sc/controller/order/PurchaseOrderInfoController.java
| ... | ... | @@ -173,7 +173,7 @@ public class PurchaseOrderInfoController extends DefaultBaseController { |
| 173 | 173 | } |
| 174 | 174 | if (b) { |
| 175 | 175 | for (PurchaseOrderLine purchaseOrderLine : purchaseOrderLineList) { |
| 176 | - purchaseOrderLine.setSalesPrice(null); | |
| 176 | + purchaseOrderLine.setShowSalesPrice(false); | |
| 177 | 177 | } |
| 178 | 178 | } |
| 179 | 179 | } | ... | ... |
| ... | ... | @@ -110,6 +110,12 @@ public class PurchaseOrderLine extends BaseEntity implements BaseDto { |
| 110 | 110 | private BigDecimal salesPrice; |
| 111 | 111 | |
| 112 | 112 | /** |
| 113 | + * 是否展示销售价格(非持久化字段) | |
| 114 | + */ | |
| 115 | + @TableField(exist = false) | |
| 116 | + private boolean showSalesPrice = true; | |
| 117 | + | |
| 118 | + /** | |
| 113 | 119 | * 交货日期 |
| 114 | 120 | */ |
| 115 | 121 | private LocalDate deliveryDate; | ... | ... |