Browse Source

下游单据添加业务类型

zthwr 1 year ago
parent
commit
df0082318e

+ 2 - 0
mmpac/mmpac/src/client/u8c/ui/mmpac/action/TOProductOutDialog.java

@@ -350,6 +350,8 @@ public class TOProductOutDialog extends UIDialog implements ActionListener,BillE
 				icheadvo.setAttributeValue("pk_defdoc2", headvo.getDef1());
 				//收发类别
 				icheadvo.setCdispatcherid(GetBaseDAOUtil.getpkrdcl("08"));
+				//业务类型
+				icheadvo.setAttributeValue("pk_defdoc8", billtype);
 				//仓库ID
 				if("工装".equals(billtype)) {
 					icheadvo.setCwarehouseid(GetBaseDAOUtil.getstordocpk("GZ001"));//仓库必填

+ 3 - 0
mmpac/mmpac/src/client/u8c/ui/mmpac/action/ToMaterialOutDialog.java

@@ -427,6 +427,9 @@ public class ToMaterialOutDialog extends UIDialog implements ActionListener,Bill
 				icheadvo.setAttributeValue("pk_defdoc2", headvo.getDef1());
 				//收发类别
 				icheadvo.setCdispatcherid(getpkrdcl("03"));
+				//业务类型
+				icheadvo.setAttributeValue("pk_defdoc8", billtype);
+				
 //				icheadvo.setCdispatchername("");
 				//仓库ID
 //				if("工装".equals(billtype)) {