|
@@ -268,19 +268,18 @@ public class InvAddImpl extends BaseServlet implements IHttpServletAdaptor{
|
|
invbasVo.setAssistunit(UFBoolean.FALSE);
|
|
invbasVo.setAssistunit(UFBoolean.FALSE);
|
|
}
|
|
}
|
|
pk_inv = ivo.insertVO(invbasVo);
|
|
pk_inv = ivo.insertVO(invbasVo);
|
|
|
|
+ //查看当前存货是否有对应的存货管理档案
|
|
|
|
+ String pk_invman = IsExist(pk_inv);
|
|
|
|
+ if(pk_invman.equals("")) {
|
|
|
|
+ pk_invman = saveInvman(invbasVo,pk_inv,wholemanaflag);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+// List<String> listpk = new ArrayList<String>();
|
|
|
|
+// listpk.add(pk_invman);
|
|
|
|
+//
|
|
|
|
+// //分配,这里的主键对应bd_calbody.pk_calbody
|
|
|
|
+// iassign.assignInvmandocByPkList(new String[] {"1001V51000000000034G"}, listpk, null);
|
|
}
|
|
}
|
|
- //查看当前存货是否有对应的存货管理档案
|
|
|
|
- String pk_invman = IsExist(pk_inv);
|
|
|
|
- if(pk_invman.equals("")) {
|
|
|
|
- pk_invman = saveInvman(invbasVo,pk_inv,wholemanaflag);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- List<String> listpk = new ArrayList<String>();
|
|
|
|
- listpk.add(pk_invman);
|
|
|
|
-
|
|
|
|
-// //分配,这里的主键对应bd_calbody.pk_calbody
|
|
|
|
- iassign.assignInvmandocByPkList(new String[] {"1001V51000000000034G"}, listpk, null);
|
|
|
|
-
|
|
|
|
|
|
|
|
result.add(formatRSJsonData("成功",
|
|
result.add(formatRSJsonData("成功",
|
|
"",invCode));
|
|
"",invCode));
|