Hcsy 8 년 전
부모
커밋
5ba4c2e378
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      UAS-MES/FunctionCode/Warehouse/Warehouse_FinishedProductOut.cs

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

@@ -355,6 +355,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 * from prodiomac where pim_inoutno='" + pi_inoutno.Text + "' and pim_outboxcode='" + input.Text + "' and pim_type='BOX'");
                             dt = (DataTable)dh.ExecuteSql(sql.GetString(), "select");