Przeglądaj źródła

出入库单新增修改添加仓库

hu 6 miesięcy temu
rodzic
commit
a43e1df140

+ 3 - 0
src/custom/restcontroller/webmanage/sale/stockbill/stockbill.java

@@ -60,6 +60,7 @@ public class stockbill extends Controller {
         }
         Long departmentid = content.getLongValue("departmentid");
         String type = content.getStringValue("type");
+        long stockid= content.getLongValue("stockid");
         String typemx = content.getStringValue("typemx");
         String remarks = content.getStringValue("remarks");
         String billdate = content.getStringValue("billdate");
@@ -88,6 +89,7 @@ public class stockbill extends Controller {
             insertSQL.setValue("sys_enterpriseid", sys_enterpriseid);
             insertSQL.setValue("rec_contactsid", rec_contactsid);
             insertSQL.setValue("departmentid", departmentid);
+            insertSQL.setValue("stockid", stockid);
             insertSQL.setValue("type", type);
             insertSQL.setValue("typemx", typemx);
             insertSQL.setValue("remarks", remarks);
@@ -126,6 +128,7 @@ public class stockbill extends Controller {
                     updateSQL.setValue("sys_enterpriseid", sys_enterpriseid);
                     updateSQL.setValue("rec_contactsid", rec_contactsid);
                     updateSQL.setValue("departmentid", departmentid);
+                    updateSQL.setValue("stockid", stockid);
                     updateSQL.setValue("remarks", remarks);
                     updateSQL.setValue("billdate", billdate);
                     updateSQL.setValue("outplace", outplace);