| | |
| | | private Double qty; |
| | | |
| | | /** |
| | | * 单据号 |
| | | * 库存数量 |
| | | */ |
| | | @ApiModelProperty(value= "单据号") |
| | | @ApiModelProperty(value= "库存数量") |
| | | @TableField(exist = false) |
| | | private Double stock; |
| | | |
| | | /** |
| | | * 物料号 |
| | | */ |
| | | @ApiModelProperty(value= "物料号") |
| | | private String matnr; |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | public Double getEnableQty() { |
| | | Double enableQty = null; |
| | | if (null != this.anfme && this.qty != null) { |
| | | return this.anfme - this.qty; |
| | | enableQty = this.anfme - this.qty; |
| | | if (enableQty < 0) { |
| | | enableQty = 0.0D; |
| | | } |
| | | // return this.anfme - this.qty; |
| | | } |
| | | return null; |
| | | return enableQty; |
| | | } |
| | | |
| | | public void sync(Object source) { |