Browse Source

添加采集卡通箱类型

章政 8 years ago
parent
commit
7bbc7aae0a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      UAS-MES/FunctionCode/Make/Make_PackageCollection.cs

+ 2 - 2
UAS-MES/FunctionCode/Make/Make_PackageCollection.cs

@@ -209,9 +209,9 @@ namespace UAS_MES.Make
                                 {
                                     //插入Package主表箱号信息
                                     sql.Clear();
-                                    sql.Append("insert into package (pa_id,pa_outboxcode,pa_packageqty,pa_totalqty,pa_status,pa_indate,pa_makecode,pa_prodcode,pa_salecode,pa_custcode)");
+                                    sql.Append("insert into package (pa_id,pa_outboxcode,pa_packageqty,pa_totalqty,pa_status,pa_indate,pa_makecode,pa_prodcode,pa_salecode,pa_custcode,pa_type)");
                                     sql.Append("select package_seq.nextval,'" + pa_outboxcode.Text + "',0," + pr_outboxinnerqty.Text + ",0,");
-                                    sql.Append("sysdate,'" + ma_code.Text + "', ma_prodcode,ma_salecode,ma_custcode from make where ma_code = '" + ma_code.Text + "'");
+                                    sql.Append("sysdate,'" + ma_code.Text + "', ma_prodcode,ma_salecode,ma_custcode,1 from make where ma_code = '" + ma_code.Text + "'");
                                     dh.ExecuteSql(sql.GetString(), "insert");
                                     OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "采集成功!\n", Color.Green);
                                     //验证序列号插入明细表的数据