yun-zuoyi
陈思洁 5 years ago
commit 92a9f5faba

@ -170,6 +170,18 @@ public class MesPackage extends BaseBean implements Serializable {
public MesPackage() { public MesPackage() {
} }
public double getQtyVal() {
return this.qty == null ? 0.0d : this.qty;
}
public double getQty2Val() {
return this.qty2 == null ? 0.0d : this.qty2;
}
public double getPackSpecQtyVal() {
return this.packSpecQty == null ? 0.0d : this.packSpecQty;
}
public MesPackage(String packageNo, String partNo, String partNameRdd, Double qty, Double packSpecQty) { public MesPackage(String packageNo, String partNo, String partNameRdd, Double qty, Double packSpecQty) {
this.packageNo = packageNo; this.packageNo = packageNo;
this.partNo = partNo; this.partNo = partNo;

@ -72,7 +72,7 @@ public class BasCustomer extends BaseBean {
private String custFax; private String custFax;
@Column(name = "SAFETY_STOCK") @Column(name = "SAFETY_STOCK")
@ApiParam(value = "safetyStock") @ApiParam(value = "安全库存")
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.DATETIME, isRequire = 2) @DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.DATETIME, isRequire = 2)
private Double safetyStock; private Double safetyStock;
} }

@ -198,6 +198,10 @@ public class WmsPOMasterDetails extends BaseBean {
@ApiParam("结束时间") @ApiParam("结束时间")
private String planEndDate; private String planEndDate;
@Transient
@ApiParam("erp单号")
private String erpSrcNo;
/** /**
* :1=,10=,20=, * :1=,10=,20=,
@ -274,9 +278,10 @@ public class WmsPOMasterDetails extends BaseBean {
this.qty = qty; this.qty = qty;
} }
public WmsPOMasterDetails(String orderNo, String partNo, Double qty, public WmsPOMasterDetails(String orderNo, String erpSrcNo, String partNo, Double qty,
Double rcQty, Integer itemStatus) { Double rcQty, Integer itemStatus) {
this.orderNo = orderNo; this.orderNo = orderNo;
this.erpSrcNo = erpSrcNo;
this.partNo = partNo; this.partNo = partNo;
this.qty = qty; this.qty = qty;
this.rcQty = rcQty; this.rcQty = rcQty;

Loading…
Cancel
Save