浏览代码

出库单序列号查询箱号

Hcsy 8 年之前
父节点
当前提交
14642f0529
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      UAS-MES/FunctionCode/Warehouse/Warehouse_FinishedProductOut.cs

+ 5 - 0
UAS-MES/FunctionCode/Warehouse/Warehouse_FinishedProductOut.cs

@@ -215,6 +215,11 @@ namespace UAS_MES.Warehouse
                         }
                         else if (bigboxBtn.Checked)
                         {
+                            string outboxcode =  dh.getFieldDataByCondition("makeserial","ms_outboxcode","ms_sncode = '"+input.Text+"'").ToString();
+                            if (outboxcode != "")
+                            {
+                                input.Text = outboxcode;
+                            }
                             sql.Clear();
                             sql.Append("select pa_outboxcode,pa_status,nvl(pa_downstatus,0)pa_downstatus,pa_outno, pa_mothercode from package where pa_outboxcode='" + input.Text + "' and pa_type in(1,2)");
                             dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");