|
@@ -36,6 +36,7 @@ import java.sql.SQLException;
|
|
|
|
|
|
import nc.vo.pub.BusinessException;
|
|
import nc.vo.pub.BusinessException;
|
|
import nc.vo.pub.lang.UFDate;
|
|
import nc.vo.pub.lang.UFDate;
|
|
|
|
+import nc.vo.pub.lang.UFDouble;
|
|
import nc.vo.trade.pub.IBillStatus;
|
|
import nc.vo.trade.pub.IBillStatus;
|
|
import u8c.bs.servlet.service.BaseServlet;
|
|
import u8c.bs.servlet.service.BaseServlet;
|
|
import u8c.bs.servlet.service.GetBaseDAOUtil;
|
|
import u8c.bs.servlet.service.GetBaseDAOUtil;
|
|
@@ -133,6 +134,7 @@ public class OrderAddImpl extends BaseServlet implements IHttpServletAdaptor{
|
|
String prjtypename = GetBaseDAOUtil.getprjtypename(prjcode);
|
|
String prjtypename = GetBaseDAOUtil.getprjtypename(prjcode);
|
|
String vbatchcode = injsobj.getString("vbatchcode");
|
|
String vbatchcode = injsobj.getString("vbatchcode");
|
|
String cmaterialcode = injsobj.getString("cmaterialcode");
|
|
String cmaterialcode = injsobj.getString("cmaterialcode");
|
|
|
|
+
|
|
String invname = GetBaseDAOUtil.getinvname(cmaterialcode);
|
|
String invname = GetBaseDAOUtil.getinvname(cmaterialcode);
|
|
String invspec = GetBaseDAOUtil.getinvspec(cmaterialcode);
|
|
String invspec = GetBaseDAOUtil.getinvspec(cmaterialcode);
|
|
String invtype = GetBaseDAOUtil.getinvtype(cmaterialcode);
|
|
String invtype = GetBaseDAOUtil.getinvtype(cmaterialcode);
|
|
@@ -154,6 +156,10 @@ public class OrderAddImpl extends BaseServlet implements IHttpServletAdaptor{
|
|
invo.setUnitid(measname);
|
|
invo.setUnitid(measname);
|
|
invo.setPk_order(pk_order);
|
|
invo.setPk_order(pk_order);
|
|
invo.setDr(0);
|
|
invo.setDr(0);
|
|
|
|
+ if(injsobj.getString("num")!=null) {
|
|
|
|
+ invo.setNum(new UFDouble(injsobj.getString("num")));
|
|
|
|
+ }
|
|
|
|
+
|
|
dao.insertVO(invo);
|
|
dao.insertVO(invo);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -190,6 +196,9 @@ public class OrderAddImpl extends BaseServlet implements IHttpServletAdaptor{
|
|
issuevo.setUnitid(measname);
|
|
issuevo.setUnitid(measname);
|
|
issuevo.setPk_order(pk_order);
|
|
issuevo.setPk_order(pk_order);
|
|
issuevo.setDr(0);
|
|
issuevo.setDr(0);
|
|
|
|
+ if(issuejsobj.getString("num")!=null) {
|
|
|
|
+ issuevo.setNum(new UFDouble(issuejsobj.getString("num")));
|
|
|
|
+ }
|
|
dao.insertVO(issuevo);
|
|
dao.insertVO(issuevo);
|
|
}
|
|
}
|
|
}
|
|
}
|