DAL/生产管理/ClsSc_QualityReportBill.cs
@@ -87,8 +87,8 @@
                      ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" +
                      ",HMaterID,HUnitID,HQty,HResult,HEmpID,HSourceID,HBadReasonID" +
                      ",HICMOInterID,HICMOEntryID,HICMOBillNo,HProcExchInterID,HProcExchEntryID,HProcExchBillNo" +
                      ",HBarCode,HReportType" +
                      ",HAddr,HMaker,HMakeDate" +
                      ",HBarCode,HReportType,HBadProcID" +
                      ",HAddr,HMaker,HMakeDate,HProcID,HNowProcID" +
                      ") values(" +
                      "" + omodel.HInterID.ToString() + "" +
                      "," + oSub.HEntryID.ToString() + "" +
@@ -118,9 +118,12 @@
                      ",'" + oSub.HBarCode + "'" +
                      "," + oSub.HReportType.ToString() +
                      ",'" + oSub.HAddr + "'" +
                      ",'" + oSub.HBadProcID.ToString() +
                      "','" + oSub.HAddr + "'" +
                      ",'" + oSub.HMaker + "'" +
                      ",'" + oSub.HMakeDate.ToShortDateString() + "'" +
                      "," + oSub.HProcID.ToString() +
                      "," + oSub.HNowProcID.ToString() +
                      ") ";
                    oCn.RunProc(subSql);
                }
@@ -219,8 +222,8 @@
                      ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" +
                      ",HMaterID,HUnitID,HQty,HResult,HEmpID,HSourceID,HBadReasonID" +
                      ",HICMOInterID,HICMOEntryID,HICMOBillNo,HProcExchInterID,HProcExchEntryID,HProcExchBillNo" +
                      ",HBarCode,HReportType" +
                      ",HAddr,HMaker,HMakeDate" +
                      ",HBarCode,HReportType,HBadProcID" +
                      ",HAddr,HMaker,HMakeDate,HProcID,HNowProcID" +
                      ") values(" +
                      "" + omodel.HInterID.ToString() + "" +
                      "," + oSub.HEntryID.ToString() + "" +
@@ -250,9 +253,12 @@
                      ",'" + oSub.HBarCode + "'" +
                      "," + oSub.HReportType.ToString() +
                      "," + oSub.HBadProcID.ToString() +
                      ",'" + oSub.HAddr + "'" +
                      ",'" + oSub.HMaker + "'" +
                      ",'" + oSub.HMakeDate.ToShortDateString() + "'" +
                      "," + oSub.HProcID.ToString() +
                      "," + oSub.HNowProcID.ToString() +
                      ") ";
                    oCn.RunProc(subSql);
                }