|
@@ -9,9 +9,11 @@ import nc.ui.hr.frame.impl.MainBillMgrPanel;
|
|
import nc.vo.hr.tools.pub.HRAggVO;
|
|
import nc.vo.hr.tools.pub.HRAggVO;
|
|
import nc.vo.pub.CircularlyAccessibleValueObject;
|
|
import nc.vo.pub.CircularlyAccessibleValueObject;
|
|
import nc.vo.pub.ValidationException;
|
|
import nc.vo.pub.ValidationException;
|
|
|
|
+import nc.vo.pub.lang.UFDouble;
|
|
import nc.vo.trade.pub.IBillStatus;
|
|
import nc.vo.trade.pub.IBillStatus;
|
|
import u8c.ui.mmpac.panel.OrderMainPanel;
|
|
import u8c.ui.mmpac.panel.OrderMainPanel;
|
|
import u8c.vo.OrderInVO;
|
|
import u8c.vo.OrderInVO;
|
|
|
|
+import u8c.vo.OrderIssueVO;
|
|
import u8c.vo.OrderMainVO;
|
|
import u8c.vo.OrderMainVO;
|
|
|
|
|
|
public class PushProductAction extends AbstractAction{
|
|
public class PushProductAction extends AbstractAction{
|
|
@@ -46,7 +48,16 @@ public class PushProductAction extends AbstractAction{
|
|
CircularlyAccessibleValueObject[] vos = s.getAllChildrenVO();
|
|
CircularlyAccessibleValueObject[] vos = s.getAllChildrenVO();
|
|
for (int i = 0; i < vos.length; i++) {
|
|
for (int i = 0; i < vos.length; i++) {
|
|
if(vos[i] instanceof OrderInVO) {
|
|
if(vos[i] instanceof OrderInVO) {
|
|
- listOrderInVO.add((OrderInVO) vos[i]);
|
|
|
|
|
|
+ //本次执行数量不填就默认
|
|
|
|
+ //执行完的表体在生单界面不展示
|
|
|
|
+ OrderInVO invo = (OrderInVO) vos[i];
|
|
|
|
+ UFDouble num = invo.getNum() == null ? new UFDouble(0) : invo.getNum();
|
|
|
|
+ UFDouble execnum = invo.getExecnum() == null ? new UFDouble(0) : invo.getExecnum();
|
|
|
|
+ if(num.equals(execnum) && num.equals(new UFDouble(0))) {
|
|
|
|
+ continue;
|
|
|
|
+ }
|
|
|
|
+ invo.setBdef2(num.sub(execnum).toString());
|
|
|
|
+ listOrderInVO.add(invo);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//弹框勾选数据
|
|
//弹框勾选数据
|