|
|
@@ -28,6 +28,7 @@ public class PurchaseProdInOutDetail {
|
|
|
private String pd_batchcode;// 批号
|
|
|
private String pd_remark;// 备注
|
|
|
private String pd_prodcode;//物料编号
|
|
|
+ private String pd_whname;//仓库名称
|
|
|
|
|
|
public String getPd_prodcode() {
|
|
|
return pd_prodcode;
|
|
|
@@ -110,6 +111,14 @@ public class PurchaseProdInOutDetail {
|
|
|
this.pd_remark = pd_remark;
|
|
|
}
|
|
|
|
|
|
+ public String getPd_whname() {
|
|
|
+ return pd_whname;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPd_whname(String pd_whname) {
|
|
|
+ this.pd_whname = pd_whname;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 采购验收
|
|
|
*
|
|
|
@@ -123,6 +132,7 @@ public class PurchaseProdInOutDetail {
|
|
|
acceptItem.setBatchCode(this.pd_batchcode);
|
|
|
acceptItem.setOrderPrice(this.pd_orderprice);
|
|
|
acceptItem.setTaxrate(this.pd_taxrate);
|
|
|
+ acceptItem.setWhname(this.pd_whname);
|
|
|
if (StringUtils.hasText(this.pd_ordercode)) {
|
|
|
PurchaseOrder order = new PurchaseOrder();
|
|
|
order.setCode(this.pd_ordercode);
|
|
|
@@ -148,6 +158,7 @@ public class PurchaseProdInOutDetail {
|
|
|
returnItem.setOrderPrice(this.pd_orderprice);
|
|
|
returnItem.setTaxrate(this.pd_taxrate);
|
|
|
returnItem.setProdCode(this.pd_prodcode);
|
|
|
+ returnItem.setWhname(this.pd_whname);
|
|
|
if (StringUtils.hasText(this.pd_ordercode)) {
|
|
|
PurchaseOrder order = new PurchaseOrder();
|
|
|
order.setCode(this.pd_ordercode);
|
|
|
@@ -172,6 +183,7 @@ public class PurchaseProdInOutDetail {
|
|
|
badInItem.setBatchCode(this.pd_batchcode);
|
|
|
badInItem.setOrderPrice(this.pd_orderprice);
|
|
|
badInItem.setTaxrate(this.pd_taxrate);
|
|
|
+ badInItem.setWhname(this.pd_whname);
|
|
|
PurchaseOrder order = new PurchaseOrder();
|
|
|
order.setCode(this.pd_ordercode);
|
|
|
PurchaseOrderItem orderItem = new PurchaseOrderItem();
|
|
|
@@ -194,6 +206,7 @@ public class PurchaseProdInOutDetail {
|
|
|
badOutItem.setBatchCode(this.pd_batchcode);
|
|
|
badOutItem.setOrderPrice(this.pd_orderprice);
|
|
|
badOutItem.setTaxrate(this.pd_taxrate);
|
|
|
+ badOutItem.setWhname(this.pd_whname);
|
|
|
PurchaseOrder order = new PurchaseOrder();
|
|
|
order.setCode(this.pd_ordercode);
|
|
|
PurchaseOrderItem orderItem = new PurchaseOrderItem();
|