|
|
|
@ -149,6 +149,21 @@ public class WmsStockSn extends BaseBean {
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
|
private String packageNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "CARTON_WEIGHT")
|
|
|
|
|
@ApiParam("箱重量")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double cartonWeight;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PACKAGE_WEIGHT")
|
|
|
|
|
@ApiParam("托盘重量")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
|
|
|
|
|
private Double packageWeight;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PRODUCT_PLACE")
|
|
|
|
|
@ApiParam(value = "产地", example = "0")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.SELECT, isRequire = 2)
|
|
|
|
|
private String productPlace;
|
|
|
|
|
|
|
|
|
|
@Column(name = "UNIT")
|
|
|
|
|
@ApiParam(value = "单位")
|
|
|
|
|
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.TEXT)
|
|
|
|
@ -633,6 +648,15 @@ public class WmsStockSn extends BaseBean {
|
|
|
|
|
return inputNCQty == null ? 0L : this.inputNCQty.doubleValue();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Double getCartonWeightVal() {
|
|
|
|
|
return this.cartonWeight == null ? 0 : this.cartonWeight;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Double getPackageWeightVal() {
|
|
|
|
|
return this.packageWeight == null ? 0 : this.packageWeight;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public WmsStockSn(Long snCount, Double sumPartQty, String locateNo) {
|
|
|
|
|
this.snCount = snCount;
|
|
|
|
|
this.sumPartQty = sumPartQty;
|
|
|
|
|