gongchunyi
2026-06-28 d4b2252268142d9b6f35f6fdc590c4e7cf6f0df3
src/main/java/com/ruoyi/sales/pojo/SalesLedgerProduct.java
@@ -248,10 +248,9 @@
    @ApiModelProperty(value = "发货状态")
    private String shippingStatus = "待发货";
    /**
     * 产品状态
     * 0-未出库,1-已出库,2-待审核,3-审核完成,4-审核失败(销售台账列表展示规则见前端)
     */
//    @TableField(exist = false)
    @ApiModelProperty(value = "产品状态:1-充足")
    @ApiModelProperty(value = "产品出库审批状态:0-未出库,1-已出库,2-待审核,3-审核完成,4-审核失败")
    private Integer approveStatus;
    @ApiModelProperty(value = "待回款总金额")
@@ -352,6 +351,9 @@
    @TableField(exist = false)
    private BigDecimal availableQuality;
    @TableField(exist = false)
    @ApiModelProperty("售后数量")
    private BigDecimal afterSalesQuantity;
    public void fillRemainingQuantity() {
        BigDecimal q = this.quantity == null ? BigDecimal.ZERO : this.quantity;