Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API
| | |
| | | ",HMaterID,HProcID,HMainSourceInterID" + |
| | | ",HProcExchInterID,HProcExchEntryID,HProcExchBillNo,HOrderProcNo,HProcExchQty" + |
| | | ") " + |
| | | " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "'," + omodel.HBillStatus.ToString() + ",'" + omodel.HDate + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + |
| | | " values('" + this.BillType + "','" + omodel.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "'," + omodel.HBillStatus.ToString() + ",'" + omodel.HDate + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + |
| | | "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + omodel.HGroupName.ToString() + "'" + |
| | | "," + omodel.HSourceID.ToString() + "," + omodel.HICMOInterID.ToString() + ",'" + omodel.HICMOBillNo + "'," + omodel.HInStockQty.ToString() + "," + omodel.HCheckQty.ToString() + "," + omodel.HRightQty.ToString() + |
| | | "," + omodel.HBadQty.ToString() + "," + omodel.HPlanQty.ToString() + "," + omodel.HBadPNL.ToString() + "," + omodel.HPlanPNL.ToString() + "," + omodel.HFirstCheckEmp.ToString() + |
| | |
| | | { |
| | | switch (gnsy.ToLower()) |
| | | { |
| | | case "mes_stationoutbilllist_baofei": |
| | | MES_StationOutBillList_BaoFei oMES_StationOutBillList_BaoFei = new MES_StationOutBillList_BaoFei(); |
| | | oMES_StationOutBillList_BaoFei.MdiParent = oMain; |
| | | oMES_StationOutBillList_BaoFei.ModCaption = gnmc; |
| | | oMES_StationOutBillList_BaoFei.Show(); |
| | | oMainForm.AddTabPage(oMES_StationOutBillList_BaoFei); |
| | | break; |
| | | case "mes_stationoutbilllist_geli": |
| | | MES_StationOutBillList_GeLi oMES_StationOutBillList_GeLi = new MES_StationOutBillList_GeLi(); |
| | | oMES_StationOutBillList_GeLi.MdiParent = oMain; |
| | | oMES_StationOutBillList_GeLi.ModCaption = gnmc; |
| | | oMES_StationOutBillList_GeLi.Show(); |
| | | oMainForm.AddTabPage(oMES_StationOutBillList_GeLi); |
| | | break; |
| | | case "mes_stationoutbilllist_bad": |
| | | MES_StationOutBillList_Bad oMES_StationOutBillList_Bad = new MES_StationOutBillList_Bad(); |
| | | oMES_StationOutBillList_Bad.MdiParent = oMain; |
| | |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public WebServer webserver = new WebServer(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | |
| | | public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | | public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HStockOrgID, HOtherOrgID,è°åºç»ç»ä»£ç HOtherOrgCode,è°åºç»ç» HOtherOrgName, HWHID, è°å
¥ä»åºä»£ç HWHCode, è°å
¥ä»åº HWHName,HSPID, |
| | | è°å
¥ä»ä½ä»£ç HSPCode, è°å
¥ä»ä½ HSPName,HSCWHID, è°åºä»åºä»£ç HSCWHCode, è°åºä»åº HSCWHName,HSCSPID, |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldMoveStockStepInBillListDetail"), "h_v_Sc_MouldMoveStockStepInBillListDetail"); |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldMoveStockStepInBillListDetail"), "h_v_Sc_MouldMoveStockStepInBillListDetail"); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HStockOrgID, HOtherOrgID,è°åºç»ç»ä»£ç HOtherOrgCode,è°åºç»ç» HOtherOrgName, HWHID, è°å
¥ä»åºä»£ç HWHCode, è°å
¥ä»åº HWHName,HSPID, |
| | | è°å
¥ä»ä½ä»£ç HSPCode, è°å
¥ä»ä½ HSPName,HSCWHID, è°åºä»åºä»£ç HSCWHCode, è°åºä»åº HSCWHName,HSCSPID, |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldMoveStockStepInBillListDetail where 1 = 1 "); |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldMoveStockStepInBillListDetail where 1 = 1 "); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldMoveStockStepInBillListDetail"); |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·åå¸å¼è°å
¥åå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldMoveStockStepInBill/AuditMouldMoveStockStepInBill")] |
| | | [HttpGet] |
| | | public object AuditMouldMoveStockStepInBill(string HInterID, string user,int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldMoveStockStepInBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag==1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3841' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3841' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | } |
| | |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public WebServer webserver = new WebServer(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | |
| | | public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | | public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HStockOrgID,è°å
¥ç»ç»ä»£ç HStockOrgCode,è°å
¥ç»ç» HStockOrgName, HOtherOrgID ,è°åºç»ç»ä»£ç HOtherOrgCode,è°åºç»ç» HOtherOrgName, HWHID, è°å
¥ä»åºä»£ç HWHCode, è°å
¥ä»åº HWHName,HSPID, |
| | | è°å
¥ä»ä½ä»£ç HSPCode, è°å
¥ä»ä½ HSPName,HSCWHID, è°åºä»åºä»£ç HSCWHCode, è°åºä»åº HSCWHName,HSCSPID, |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldMoveStockStepOutBill"), "h_v_Sc_MouldMoveStockStepOutBill"); |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldMoveStockStepOutBill"), "h_v_Sc_MouldMoveStockStepOutBill"); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HStockOrgID,è°å
¥ç»ç»ä»£ç HStockOrgCode,è°å
¥ç»ç» HStockOrgName, HOtherOrgID,è°åºç»ç»ä»£ç HOtherOrgCode,è°åºç»ç» HOtherOrgName, HWHID, è°å
¥ä»åºä»£ç HWHCode, è°å
¥ä»åº HWHName,HSPID, |
| | | è°å
¥ä»ä½ä»£ç HSPCode, è°å
¥ä»ä½ HSPName,HSCWHID, è°åºä»åºä»£ç HSCWHCode, è°åºä»åº HSCWHName,HSCSPID, |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldMoveStockStepOutBill where 1 = 1 "); |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldMoveStockStepOutBill where 1 = 1 "); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldMoveStockStepOutBill"); |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region [å¨å
·åå¸å¼è°å
¥åå é¤åè½] |
| | | #region [å¨å
·åå¸å¼è°åºåå é¤åè½] |
| | | /// <summary> |
| | | /// 模å
·å¤çé¢ç¨åå é¤åè½ |
| | | /// </summary> |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·åå¸å¼è°åºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldMoveStockStepOutBill/AuditMouldMoveStockStepOutBill")] |
| | | [HttpGet] |
| | | public object AuditMouldMoveStockStepOutBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldMoveStockStepOutBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3840' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3840' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | } |
| | | } |
| | |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public WebServer webserver = new WebServer(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | |
| | | public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | | public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | |
| | | ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec,æ¹æ¬¡ HBatchNo, |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HWHSonID HWHID, åæä»åºä»£ç HWHCode, åæä»åº HWHName,HSPID, |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldOtherOutBillList"), "h_v_Sc_MouldOtherOutBillList"); |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldOtherOutBillList"), "h_v_Sc_MouldOtherOutBillList"); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | |
| | | string sql1 = string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec,æ¹æ¬¡ HBatchNo, |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HWHSonID HWHID, åæä»åºä»£ç HWHCode, åæä»åº HWHName,HSPID, |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldOtherOutBillList where 1 = 1 "); |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldOtherOutBillList where 1 = 1 "); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldOtherOutBillList"); |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region [å¨å
·å
¶ä»å
¥åºåå é¤åè½] |
| | | #region [å¨å
·å
¶ä»åºåºåå é¤åè½] |
| | | /// <summary> |
| | | /// 模å
·å¤çé¢ç¨åå é¤åè½ |
| | | /// </summary> |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·å
¶ä»åºåºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldOtherOutBill/AuditMouldOtherOutBill")] |
| | | [HttpGet] |
| | | public object AuditMouldOtherOutBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldOtherOutBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3828' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3828' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | } |
| | | } |
| | |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus;//åæ®ç¶æï¼æ°å¢ï¼ä¿®æ¹ï¼æµè§ï¼æ´æ°åä»·ï¼åæ´ï¼ |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | public DLL.ClsSc_MouldProdInBill BillNew0 = new DLL.ClsSc_MouldProdInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | | public DLL.ClsSc_MouldProdInBill BillOld0 = new DLL.ClsSc_MouldProdInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | | |
| | |
| | | { |
| | | DataSet ds; |
| | | DataSet ds1; |
| | | List<object> list = new List<object>(); |
| | | try |
| | | { |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | |
| | | ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec, |
| | | æ¹æ¬¡ HBatchNo,è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 使ç¨å¯¿å½ HUseLife,åºæ¶æ°é HQtyMust, |
| | | 宿¶æ°é HQty, åä»· HPrice, éé¢ HMoney,hwhid1 HWHID, æ¶æä»åºä»£ç HWHCode,æ¶æä»åº HWHName, |
| | | HSPID, æ¶æä»ä½ä»£ç HSPCode,æ¶æä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID |
| | | HSPID, æ¶æä»ä½ä»£ç HSPCode,æ¶æä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ |
| | | FROM h_v_Sc_MouldProdInHouseBillList"), "h_v_Sc_MouldProdInHouseBillList"); |
| | | //æ¥æ±æ» |
| | | ds1 = oCN.RunProcReturn(string.Format(@"select 模å
·ä»£ç ,模å
·åç§°,åæ®å·,è§æ ¼åå·,æ¹æ¬¡,宿¶æ°é,hwhid1,æ¶æä»åºä»£ç , |
| | | æ¶æä»åº,表ä½å¤æ³¨,sum(HMaterID) from h_v_Sc_MouldProdInHouseBillList group by 模å
·ä»£ç , |
| | | 模å
·åç§°,åæ®å·,è§æ ¼åå·,æ¹æ¬¡,宿¶æ°é,hwhid1,æ¶æä»åºä»£ç ,æ¶æä»åº,表ä½å¤æ³¨"), |
| | | "h_v_Sc_MouldProdInHouseBillList"); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "è·åä¿¡æ¯æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | |
| | | } |
| | | else |
| | | { |
| | |
| | | string sql1 = string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec, |
| | | æ¹æ¬¡ HBatchNo,è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 使ç¨å¯¿å½ HUseLife,åºæ¶æ°é HQtyMust, |
| | | 宿¶æ°é HQty, åä»· HPrice, éé¢ HMoney,hwhid1 HWHID, æ¶æä»åºä»£ç HWHCode,æ¶æä»åº HWHName, |
| | | HSPID, æ¶æä»ä½ä»£ç HSPCode,æ¶æä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID |
| | | HSPID, æ¶æä»ä½ä»£ç HSPCode,æ¶æä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ |
| | | FROM h_v_Sc_MouldProdInHouseBillList where 1=1"); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldProdInHouseBillList"); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "è·åä¿¡æ¯æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | } |
| | | //æ¥æ±æ» |
| | | ds1 = oCN.RunProcReturn(string.Format(@"select ç©æä»£ç ,max(ç©æåç§°)ç©æåç§°,è§æ ¼åå·,max(åæ®å·)åæ®å·,æ¹æ¬¡,sum(宿¶æ°é)宿¶æ°é, |
| | | hwhid1,max(æ¶æä»åºä»£ç )æ¶æä»åºä»£ç ,max(æ¶æä»åº)æ¶æä»åº,表ä½å¤æ³¨ from h_v_Sc_MouldProdInHouseBillList |
| | | where 1=1 " + sqlWhere + " group by ç©æä»£ç ,è§æ ¼åå·,hwhid1,æ¹æ¬¡,表ä½å¤æ³¨"), "h_v_Sc_MouldProdInHouseBillList"); |
| | | |
| | | list.Add(ds.Tables[0]); |
| | | list.Add(ds1.Tables[0]); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "è·åä¿¡æ¯æåï¼"; |
| | | objJsonResult.list = list; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·éè´å
¥åºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldProdInHouseBill/AuditMouldProdInHouseBill")] |
| | | [HttpGet] |
| | | public object AuditMouldProdInHouseBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdInBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3801' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3801' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public WebServer webserver = new WebServer(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | |
| | | public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | | public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HStockOrgID,è°å
¥ç»ç»ä»£ç HStockOrgCode,è°å
¥ç»ç» HStockOrgName, HOtherOrgID ,è°åºç»ç»ä»£ç HOtherOrgCode,è°åºç»ç» HOtherOrgName, HWHID, è°å
¥ä»åºä»£ç HWHCode, è°å
¥ä»åº HWHName,HSPID, |
| | | è°å
¥ä»ä½ä»£ç HSPCode, è°å
¥ä»ä½ HSPName,HSCWHID, è°åºä»åºä»£ç HSCWHCode, è°åºä»åº HSCWHName,HSCSPID, |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldProdMoveBillList"), "h_v_Sc_MouldProdMoveBillList"); |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldProdMoveBillList"), "h_v_Sc_MouldProdMoveBillList"); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HStockOrgID,è°å
¥ç»ç»ä»£ç HStockOrgCode,è°å
¥ç»ç» HStockOrgName, HOtherOrgID ,è°åºç»ç»ä»£ç HOtherOrgCode,è°åºç»ç» HOtherOrgName, HWHID, è°å
¥ä»åºä»£ç HWHCode, è°å
¥ä»åº HWHName,HSPID, |
| | | è°å
¥ä»ä½ä»£ç HSPCode, è°å
¥ä»ä½ HSPName,HSCWHID, è°åºä»åºä»£ç HSCWHCode, è°åºä»åº HSCWHName,HSCSPID, |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldProdMoveBillList where 1 = 1 "); |
| | | è°åºä»ä½ä»£ç HSCSPCode, è°åºä»ä½ HSCSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldProdMoveBillList where 1 = 1 "); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldProdMoveBillList"); |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·ç´æ¥è°æ¨åå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldProdMoveBill/AuditMouldProdMoveBill")] |
| | | [HttpGet] |
| | | public object AuditMouldProdMoveBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdMoveBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3814' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3814' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | } |
| | | } |
| | |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus;//åæ®ç¶æï¼æ°å¢ï¼ä¿®æ¹ï¼æµè§ï¼æ´æ°åä»·ï¼åæ´ï¼ |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | public DLL.ClsSc_MouldRepairChangeBill BillNew0 = new DLL.ClsSc_MouldRepairChangeBill(); //模å
·æ¹å¶åºåºå¯¹åºåæ®ç±» |
| | | public DLL.ClsSc_MouldRepairChangeBill BillOld0 = new DLL.ClsSc_MouldRepairChangeBill(); //模å
·æ¹å¶åºåºå¯¹åºåæ®ç±» |
| | | |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·æ¹å¶ç³è¯·åå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldRepairChangeHouseBill/AuditMouldRepairChangeBill")] |
| | | [HttpGet] |
| | | public object AuditMouldRepairChangeBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldRepairChangeBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldRepairChangeBillMain set HChecker='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3842' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldRepairChangeBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3842' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus;//åæ®ç¶æï¼æ°å¢ï¼ä¿®æ¹ï¼æµè§ï¼æ´æ°åä»·ï¼åæ´ï¼ |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | public DLL.ClsSc_MouldRepairOutBill BillNew0 = new DLL.ClsSc_MouldRepairOutBill(); //模å
·æ¹å¶åºåºå¯¹åºåæ®ç±» |
| | | public DLL.ClsSc_MouldRepairOutBill BillOld0 = new DLL.ClsSc_MouldRepairOutBill(); //模å
·æ¹å¶åºåºå¯¹åºåæ®ç±» |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region [模å
·æ¹å¶åºåå®¡æ ¸ãåå®¡æ ¸] |
| | | /// <summary> |
| | | /// å®¡æ ¸ |
| | | /// </summary> |
| | | /// <param name="HInterID">忮ID</param> |
| | | /// <param name="CurUserName">å®¡æ ¸äºº</param> |
| | | /// <returns></returns> |
| | | [Route("Sc_MouldRepairOutBill/set_CheckBill")] |
| | | #region å¨å
·æ¹å¶åºåºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldRepairOutBill/AuditMouldRepairOutBill")] |
| | | [HttpGet] |
| | | public object set_CheckBill(int HInterID, string CurUserName) |
| | | public object AuditMouldRepairOutBill(string HInterID, string user, int flag) |
| | | { |
| | | string ModRightNameCheck = "Sc_MouldRepairOut_SingleBill_Check"; |
| | | DBUtility.ClsPub.CurUserName = CurUserName; |
| | | DLL.ClsSc_MouldRepairOutBill oBill = new DLL.ClsSc_MouldRepairOutBill(); |
| | | try |
| | | { |
| | | //å®¡æ ¸æé |
| | | if (!DBUtility.ClsPub.Security_Log_second(ModRightNameCheck, 1, true, CurUserName)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //å®¡æ ¸å夿æ¯å¦å
许 |
| | | string s = ""; |
| | | if (!DBUtility.Xt_BaseBillFun.Fun_AllowCheckBill(oBill, ref s)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = s + "ï¼ä¸å
è®¸å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (HInterID <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterIDå°äº0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | //æ¥çæ¯å¦å·²å®¡æ ¸,å
³é,ä½åº |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (oBill.omodel.HCloseMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已å
³é!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (oBill.omodel.HDeleteMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已ä½åº!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (oBill.omodel.HChecker.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·²å®¡æ ¸!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //å®¡æ ¸æäº¤ |
| | | if (oBill.CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æå"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldRepairOut_SingleBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// åå®¡æ ¸ |
| | | /// </summary> |
| | | /// <param name="HInterID">忮ID</param> |
| | | /// <param name="CurUserName">å®¡æ ¸äºº</param> |
| | | /// <returns></returns> |
| | | [Route("Sc_MouldRepairOutBill/set_AbandonCheck")] |
| | | [HttpGet] |
| | | public object set_AbandonCheck(int HInterID, string CurUserName) |
| | | { |
| | | string ModRightNameCheck = "Sc_MouldRepairOut_SingleBill_Check"; |
| | | DBUtility.ClsPub.CurUserName = CurUserName; |
| | | DLL.ClsSc_MouldRepairOutBill oBill = new DLL.ClsSc_MouldRepairOutBill(); |
| | | try |
| | | { |
| | | //å®¡æ ¸æé |
| | | if (!DBUtility.ClsPub.Security_Log_second(ModRightNameCheck, 1, true, CurUserName)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åå®¡æ ¸å¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //åå®¡æ ¸å夿 |
| | | string s = ""; |
| | | if (!DBUtility.Xt_BaseBillFun.Fun_AllowCheckBill(oBill, ref s)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = s + "ï¼ä¸å
许åå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (HInterID <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterIDå°äº0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | //æ¥çæ¯å¦å·²å®¡æ ¸,å
³é,ä½åº |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (oBill.omodel.HCloseMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已å
³é!ä¸è½å次åå®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (oBill.omodel.HDeleteMan.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已ä½åº!ä¸è½å次åå®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (oBill.omodel.HChecker.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªå®¡æ ¸!ä¸éè¦åå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //åå®¡æ ¸æäº¤AbandonCheck |
| | | if (oBill.AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æå"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åå®¡æ ¸å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker ='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3825' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3825' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | |
| | | { |
| | | ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec, |
| | | æ¹æ¬¡ HBatchNo,è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 使ç¨å¯¿å½ HUseLife,åºæ¶æ°é HQtyMust, |
| | | 宿¶æ°é HQty, HWHID, ä»åºä»£ç HWHCode,ä»åº HWHName,å夿³¨ HRemark,HStockOrgID |
| | | 宿¶æ°é HQty, HWHID, ä»åºä»£ç HWHCode,ä»åº HWHName,å夿³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ |
| | | FROM h_v_Sc_MouldRepairOutBillList"), "h_v_Sc_MouldRepairOutBillList"); |
| | | |
| | | objJsonResult.code = "0"; |
| | |
| | | //string sql1 = "select HRepairCheckID,HRepairCheckContent,HManagerID,HRemark from Sc_MouldRepairCheckBillSub where 1 = 1 "; |
| | | string sql1 = string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec, |
| | | æ¹æ¬¡ HBatchNo,è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 使ç¨å¯¿å½ HUseLife,åºæ¶æ°é HQtyMust, |
| | | 宿¶æ°é HQty, HWHID, ä»åºä»£ç HWHCode,ä»åº HWHName,å夿³¨ HRemark,HStockOrgID |
| | | 宿¶æ°é HQty, HWHID, ä»åºä»£ç HWHCode,ä»åº HWHName,å夿³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ |
| | | FROM h_v_Sc_MouldRepairOutBillList where 1=1 "); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldRepairOutBillList"); |
| | |
| | | { |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | |
| | | #region [模å
·æ¥åºå
¥åºåå®¡æ ¸ãåå®¡æ ¸] |
| | | /// <summary> |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·æ¥åºå
¥åºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldScrapInBill/AuditMouldScrapInBill")] |
| | | [HttpGet] |
| | | public object AuditMouldScrapInBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldScrapInBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker ='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3831' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3831' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 模å
·æ¥åºå
¥åºåå表 |
| | | |
New file |
| | |
| | | using Newtonsoft.Json.Linq; |
| | | using Pub_Class; |
| | | using System; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Data.SqlClient; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers |
| | | { |
| | | |
| | | public class QC_POStockInCheckBillController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public WebServer webserver = new WebServer(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | //DataSet ds; |
| | | |
| | | |
| | | /// <summary> |
| | | /// è¿åå表 |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("QC_POStockInCheckBill/GetPOStockInCheckBill")] |
| | | [HttpGet] |
| | | public object GetPOStockInCheckBill(string sWhere) |
| | | { |
| | | try |
| | | { |
| | | |
| | | ds = QC_POStockInCheckBill(sWhere); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "è¿åè®°å½æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æè¿åä»»ä½è®°å½ï¼" + ex.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | public static DataSet QC_POStockInCheckBill(string sWhere) |
| | | { |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | return new SQLHelper.ClsCN().RunProcReturn("select * from h_v_QC_Edit_POStockInCheckBillList order by æ¥æ desc", "h_v_QC_Edit_POStockInCheckBillList"); |
| | | } |
| | | else |
| | | { |
| | | string sql1 = "select * from h_v_QC_Edit_POStockInCheckBillList where 1 = 1 "; |
| | | string sql = sql1 + sWhere + "order by æ¥æ desc"; |
| | | return new SQLHelper.ClsCN().RunProcReturn(sql, "h_v_QC_Edit_POStockInCheckBillList"); |
| | | } |
| | | |
| | | } |
| | | |
| | | #region[ç¼è¾æ¶è·åè¡¨å¤´æ°æ®] |
| | | [Route("QC_POStockInCheckBill/QC_POStockInCheckBillListCheckDetail")] |
| | | [HttpGet] |
| | | public ApiResult<DataSet> QC_POStockInCheckBillListCheckDetail(string HID) |
| | | { |
| | | if (string.IsNullOrEmpty(HID)) |
| | | return new ApiResult<DataSet> { code = -1, msg = "IDä¸è½ä¸ºç©º" }; |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | |
| | | var dataSet = oCN.RunProcReturn("select top 1 * from h_v_QC_Edit_POStockInCheckBillList where hmainid= " + HID + " ", "h_v_QC_Edit_POStockInCheckBillList"); |
| | | if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) |
| | | return new ApiResult<DataSet> { code = -1, msg = "ä¸åå¨ç»ç®åå·" }; |
| | | |
| | | return new ApiResult<DataSet> { code = 1, msg = "æ¥è¯¢æå", data = dataSet }; |
| | | } |
| | | #endregion |
| | | |
| | | #region[ç¼è¾æ¶è·åè¡¨ä½æ°æ®] |
| | | [Route("QC_POStockInCheckBill/QC_POStockInCheckBillListProjectDetai")] |
| | | [HttpGet] |
| | | public object QC_POStockInCheckBillListProjectDetai(string sqlWhere) |
| | | { |
| | | DataSet ds; |
| | | try |
| | | { |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | string sql1 = "SELECT æ¥æ,åæ®å·,è¡¨å¤´å¤æ³¨, ä¾åºååç§°,ä¾åºå代ç ,产åå
ç " + |
| | | ", 产ååç§°, 产ååå·, æ£éªå代ç , æ£éªååç§°, å¶å人, å¶åæ¥æ, å®¡æ ¸äºº" + |
| | | ", å®¡æ ¸æ¥æ, ä¿®æ¹äºº, ä¿®æ¹æ¥æ, å
³é人, å
³éæ¥æ FROM h_v_QC_Edit_POStockInCheckBillList where 1 = 1 "; |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_Edit_POStockInCheckBillList"); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "è·åä¿¡æ¯æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æè¿åä»»ä½è®°å½ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | } |
| | | return objJsonResult; |
| | | } |
| | | #endregion |
| | | /// <summary> |
| | | /// æ°å¢åæ®-ä¿åæé® |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("QC_POStockInCheckBill/AddBill")] |
| | | [HttpPost] |
| | | public object AddBill([FromBody] JObject sMainSub) |
| | | { |
| | | var _value = sMainSub["sMainSub"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | oCN.BeginTran(); |
| | | //ä¿å主表 |
| | | objJsonResult = AddBillMain(msg1); |
| | | if (objJsonResult.code == "0") |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = objJsonResult.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ°å¢åæ®æåï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | public json AddBillMain(string msg1) |
| | | { |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString(); |
| | | try |
| | | { |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | List<QC_POStockInCheckBill> mainList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<QC_POStockInCheckBill>>(msg2); |
| | | int HYear = 2021; |
| | | double HPeriod = 1; |
| | | string HBillType = "7503"; |
| | | string HBillSubType = "7503"; |
| | | long HInterID = mainList[0].HInterID;//éå
¥typeå¾å°çåæ®ID |
| | | DateTime HDate = mainList[0].HDate;//æ¥æ |
| | | string HBillNo = mainList[0].HBillNo;//éå
¥typeå¾å°çåæ®å· |
| | | long HBillStatus = mainList[0].HBillStatus; |
| | | string HRemark = mainList[0].HRemark;//夿³¨ |
| | | string HBacker = mainList[0].HBacker; |
| | | DateTime HBackDate = mainList[0].HBackDate; |
| | | string HBackRemark = mainList[0].HBackRemark; |
| | | string HChecker = mainList[0].HChecker; |
| | | DateTime HCheckDate = mainList[0].HCheckDate; |
| | | string HMaker = mainList[0].HMaker; |
| | | DateTime HMakeDate = mainList[0].HMakeDate; |
| | | long HSupID = mainList[0].HSupID; |
| | | long HMaterID = mainList[0].HMaterID; |
| | | decimal HInStockQty = mainList[0].HInStockQty; |
| | | decimal HCheckQty = mainList[0].HCheckQty; |
| | | decimal HRightQty = mainList[0].HRightQty; |
| | | decimal HBadQty = mainList[0].HBadQty; |
| | | long HFirstCheckEmp = mainList[0].HFirstCheckEmp; |
| | | string HCheckerResult = mainList[0].HCheckerResult; |
| | | string HSteelStoveNo = mainList[0].HSteelStoveNo; |
| | | string HSteelCompReport = mainList[0].HSteelCompReport; |
| | | string HAspect = mainList[0].HAspect; |
| | | string HSize = mainList[0].HSize; |
| | | |
| | | |
| | | //主表 |
| | | oCN.RunProc("Insert Into QC_POStockInCheckBillMain " + |
| | | "(HBillType,HBillSubType,HInterID,HBillNo,HBillStatus,HDate,HMaker,HMakeDate" + |
| | | ",HYear,HPeriod,HRemark" + |
| | | ",HSupID,HMaterID,HInStockQty,HCheckQty,HRightQty" + |
| | | ",HBadQty,HFirstCheckEmp,HCheckerResult" + |
| | | ",HSteelStoveNo,HSteelCompReport,HAspect,HSize" + |
| | | ") " + |
| | | " values('" + HBillType + "','" + HBillSubType + "'," + HInterID.ToString() + ",'" + HBillNo + "'," + HBillStatus.ToString() + ",'" + HDate + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + |
| | | "," + HYear.ToString() + "," + HPeriod.ToString() + ",'" + HRemark + "'" + |
| | | "," + HSupID.ToString() + "," + HMaterID.ToString() + "," + HInStockQty.ToString() + "," + HCheckQty.ToString() + "," + HRightQty.ToString() + |
| | | "," + HBadQty.ToString() + "," + HFirstCheckEmp.ToString() + ",'" + HCheckerResult + "'" + |
| | | ",'" + HSteelStoveNo + "','" + HSteelCompReport + "','" + HAspect + "','" + HSize + "'" + |
| | | ") "); |
| | | |
| | | //ä¿åå表 |
| | | objJsonResult = AddBillSub(msg3, HInterID); |
| | | if (objJsonResult.code == "0") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = objJsonResult.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = null; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | public json AddBillSub(string msg3, long HInterID) |
| | | { |
| | | List<QC_POStockInCheckBillSub> subList = Newtonsoft.Json.JsonConvert.DeserializeObject<List<QC_POStockInCheckBillSub>>(msg3); |
| | | for (int i = 0; i < subList.ToArray().Length; i++) |
| | | { |
| | | string HBillNo_bak = subList[0].HBillNo_bak; |
| | | long HEntryID = subList[0].HEntryID;//工段ID |
| | | string HCloseMan = subList[0].HCloseMan; |
| | | long HCloseType = subList[0].HCloseType; |
| | | string HRemark = subList[0].HRemark; |
| | | long HSourceInterID = subList[0].HSourceInterID; |
| | | long HSourceEntryID = subList[0].HSourceEntryID; |
| | | string HSourceBillNo = subList[0].HSourceBillNo; |
| | | string HSourceBillType = subList[0].HSourceBillType; |
| | | decimal HRelationQty = subList[0].HRelationQty; |
| | | decimal HRelationMoney = subList[0].HRelationMoney; |
| | | long HQCCheckClassID = subList[0].HQCCheckClassID; |
| | | long HQCCheckItemID = subList[0].HQCCheckItemID; |
| | | string HQCStd = subList[0].HQCStd; |
| | | string HResult = subList[0].HResult; |
| | | string HQCRelValue = subList[0].HQCRelValue; |
| | | long HProcCheckEmp = subList[0].HProcCheckEmp; |
| | | DateTime HProcCheckTime = subList[0].HProcCheckTime; |
| | | |
| | | string sql = "Insert into QC_POStockInCheckBillSub " + |
| | | " (HInterID,HBillNo_bak,HEntryID,HCloseMan" + |
| | | ",HEntryCloseDate,HCloseType,HRemark,HSourceInterID" + |
| | | ",HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HQCCheckClassID,HQCCheckItemID,HQCStd,HResult" + |
| | | ",HQCRelValue,HProcCheckEmp,HProcCheckTime" + |
| | | ") values(" |
| | | + HInterID.ToString() + ",'" + HBillNo_bak + "'," + HEntryID.ToString() + ",'" + HCloseMan + "'" + |
| | | ",getdate()," + HCloseType + ",'" + HRemark + "'," + HSourceInterID.ToString() + |
| | | "," +HSourceEntryID.ToString() + ",'" + HSourceBillNo + "','" + HSourceBillType + "'," + HRelationQty.ToString() + "," + HRelationMoney.ToString() + |
| | | "," + HQCCheckClassID.ToString() + "," + HQCCheckItemID.ToString() + ",'" + HQCStd + "','" + HResult + "'" + |
| | | ",'" + HQCRelValue + "'," + HProcCheckEmp.ToString() + ",'" + HProcCheckTime + "'" + |
| | | ") "; |
| | | oCN.RunProc(sql); |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = null; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | /// <summary> |
| | | ///å é¤åè½ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route("QC_POStockInCheckBill/DeltetPOStockInCheckBill")] |
| | | [HttpGet] |
| | | public object DeltetPOStockInCheckBill(string HInterID) |
| | | { |
| | | try |
| | | { |
| | | oCN.BeginTran(); |
| | | oCN.RunProc("Delete From QC_POStockInCheckBillMain where HInterID = " + HInterID); |
| | | oCN.RunProc("Delete From QC_POStockInCheckBillSub where HInterID = " + HInterID); |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å 餿åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | // |
| | | } |
| | | } |
| | |
| | | string HModel2 = list[0].HModel2; // â varchar(100) //设å¤åå· |
| | | int HMaterID = list[0].HMaterID; // â int //对åºç©æ |
| | | int HUnitID = list[0].HUnitID; // â int //åä½ |
| | | DateTime HOutComDate = list[0].HOutComDate; // â datetime //设å¤åºåæ¥æ |
| | | string HOutComDate = list[0].HOutComDate; // â datetime //设å¤åºåæ¥æ |
| | | string HOutComNo = list[0].HOutComNo; // â varchar(100) //设å¤åºåç¼å· |
| | | int HDeptID = list[0].HDeptID; // â int //使ç¨é¨é¨ï¼gy_Departmentï¼ |
| | | int HUseEmpID = list[0].HUseEmpID; //â int //使ç¨è´è´£äººï¼gy_Employeeï¼ |
| | | int HRepairEmpID = list[0].HRepairEmpID; //â int //ç»´æ¤è´è´£äººï¼gy_Employeeï¼ |
| | | string HAddress = list[0].HAddress; // â varchar(500) //å®è£
å°ç¹ |
| | | DateTime HSetupDate = list[0].HSetupDate; //â datetime //å®è£
æ¥æ |
| | | DateTime HStartupDate = list[0].HStartupDate; //â datetime //è¿è¡å¼å§æ¥æ |
| | | string HSetupDate = list[0].HSetupDate; //â datetime //å®è£
æ¥æ |
| | | string HStartupDate = list[0].HStartupDate; //â datetime //è¿è¡å¼å§æ¥æ |
| | | string HStatus = list[0].HStatus; // â varchar(20) //å½åç¶æï¼ç©ºé²ãå ç¨ãå å·¥ãå
³æºãå¼å¸¸åæºï¼ |
| | | int HEquipFileTypeID = list[0].HEquipFileTypeID; //â int //设å¤ç±»å«ï¼Gy_EquipFileType) |
| | | string HProNum = list[0].HProNum; // â varchar(100) //å·¥ç¨ç¼ç |
| | |
| | | oCN.RunProc("Insert into Gy_EquipFileBillMain " + |
| | | " (hbillno,HEquipFileNumber,HEquipFileNo,HName,HModel,HModel2,HMaterID,HUnitID,HOutComDate" + |
| | | ",HOutComNo,HDeptID,HUseEmpID,HRepairEmpID,HAddress,HSetupDate,HStartupDate,HStatus," + |
| | | "HEquipFileTypeID,HProNum,HBarCode,HWorkArea,HLogo,HSellSupID,HMakeSupID,hbilltype,HDate,HYear) " + |
| | | "HEquipFileTypeID,HProNum,HBarCode,HWorkArea,HLogo,HSellSupID,HMakeSupID,hbilltype,HDate,HYear,HMaker,HMakeDate) " + |
| | | " Values('" + hbillno + "','" + HEquipFileNumber + "','" + HEquipFileNo + "','" + HName + "','" + HModel + "','" + HModel2 + "'," + HMaterID + "," + HUnitID + |
| | | ",'" + HOutComDate + "','" + HOutComNo + "'," + HDeptID + "," + HUseEmpID + "," + HRepairEmpID + ",'" + HAddress + |
| | | "','" + HSetupDate + "','" + HStartupDate + "','" + HStatus + "'," + HEquipFileTypeID + ",'" + HProNum + |
| | | "','" + HBarCode + "','" + HWorkArea + "','" + HLogo + "'," + HSellSupID + "," + HMakeSupID +",'3308','" + HDate +"','"+ HYear+ |
| | | "','" + HBarCode + "','" + HWorkArea + "','" + HLogo + "'," + HSellSupID + "," + HMakeSupID +",'3308','" + HDate +"','"+ HYear+ "','" + HMaker + "','" + HMakeDate + |
| | | "')", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹ä¸çº§ä¸ºéæ«çº§ä»£ç |
| | | oCN.Commit(); |
| | |
| | | string HModel2 = list[0].HModel2; // â varchar(100) //设å¤åå· |
| | | int HMaterID = list[0].HMaterID; // â int //对åºç©æ |
| | | int HUnitID = list[0].HUnitID; // â int //åä½ |
| | | DateTime HOutComDate = list[0].HOutComDate; // â datetime //设å¤åºåæ¥æ |
| | | string HOutComDate = list[0].HOutComDate; // â datetime //设å¤åºåæ¥æ |
| | | string HOutComNo = list[0].HOutComNo; // â varchar(100) //设å¤åºåç¼å· |
| | | int HDeptID = list[0].HDeptID; // â int //使ç¨é¨é¨ï¼gy_Departmentï¼ |
| | | int HUseEmpID = list[0].HUseEmpID; //â int //使ç¨è´è´£äººï¼gy_Employeeï¼ |
| | | int HRepairEmpID = list[0].HRepairEmpID; //â int //ç»´æ¤è´è´£äººï¼gy_Employeeï¼ |
| | | string HAddress = list[0].HAddress; // â varchar(500) //å®è£
å°ç¹ |
| | | DateTime HSetupDate = list[0].HSetupDate; //â datetime //å®è£
æ¥æ |
| | | DateTime HStartupDate = list[0].HStartupDate; //â datetime //è¿è¡å¼å§æ¥æ |
| | | string HSetupDate = list[0].HSetupDate; //â datetime //å®è£
æ¥æ |
| | | string HStartupDate = list[0].HStartupDate; //â datetime //è¿è¡å¼å§æ¥æ |
| | | string HStatus = list[0].HStatus; // â varchar(20) //å½åç¶æï¼ç©ºé²ãå ç¨ãå å·¥ãå
³æºãå¼å¸¸åæºï¼ |
| | | int HEquipFileTypeID = list[0].HEquipFileTypeID; //â int //设å¤ç±»å«ï¼Gy_EquipFileType) |
| | | string HProNum = list[0].HProNum; // â varchar(100) //å·¥ç¨ç¼ç |
| | |
| | | //主表 |
| | | oCN.RunProc("Update Gy_EquipFileBillMain set " + |
| | | " HEquipFileNumber='" + HEquipFileNumber + "'" + |
| | | " HEquipFileNo='" + HEquipFileNo + "'" + |
| | | " HName='" + HName + "'" + |
| | | " HModel='" + HModel + "'" + |
| | | " HModel2='" + HModel2 + "'" + |
| | | " HMaterID=" + HMaterID + |
| | | " HUnitID=" + HUnitID + |
| | | " HOutComDate='" + HOutComDate + "'" + |
| | | " HOutComNo='" + HOutComNo + "'" + |
| | | " HDeptID=" + HDeptID + |
| | | " HUseEmpID=" + HUseEmpID + |
| | | " HRepairEmpID=" + HRepairEmpID + |
| | | " HAddress='" + HAddress + "'" + |
| | | " HSetupDate='" + HSetupDate + "'" + |
| | | " HStartupDate='" + HStartupDate + "'" + |
| | | " HStatus='" + HStatus + "'" + |
| | | " HEquipFileTypeID=" + HEquipFileTypeID + |
| | | ",HEquipFileNo='" + HEquipFileNo + "'" + |
| | | ",HName='" + HName + "'" + |
| | | ",HModel='" + HModel + "'" + |
| | | ",HModel2='" + HModel2 + "'" + |
| | | ",HMaterID=" + HMaterID + |
| | | ",HUnitID=" + HUnitID + |
| | | ",HOutComDate='" + HOutComDate + "'" + |
| | | ",HOutComNo='" + HOutComNo + "'" + |
| | | ",HDeptID=" + HDeptID + |
| | | ",HUseEmpID=" + HUseEmpID + |
| | | ",HRepairEmpID=" + HRepairEmpID + |
| | | ",HAddress='" + HAddress + "'" + |
| | | ",HSetupDate='" + HSetupDate + "'" + |
| | | ",HStartupDate='" + HStartupDate + "'" + |
| | | ",HStatus='" + HStatus + "'" + |
| | | ",HEquipFileTypeID=" + HEquipFileTypeID + |
| | | ",HProNum='" + HProNum + "'" + |
| | | ",HBarCode='" + HBarCode + "'" + |
| | | ",HWorkArea='" + HWorkArea + "'" + |
| | | ",HLogo=" + HLogo + |
| | | ",HLogo='" + HLogo + "'" + |
| | | ",HSellSupID=" + HSellSupID + |
| | | ",HMakeSupID= " + HMakeSupID + |
| | | ",HUpDater= " + HUpDater + |
| | | ",HUpDateDate= " + HUpDateDate + |
| | | ",HUpDater= '" + HUpDater + "'" + |
| | | ",HUpDateDate= '" + HUpDateDate + "'" + |
| | | " Where HInterID=" + HInterID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹å项ç®ä»£ç |
| | | //oCN.RunProc("exec h_p_Gy_UpdateNumber Gy_RepairCheck,'" + HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | |
| | | DataSet ds1; |
| | | |
| | | |
| | | #region[ç¼è¾æ¶è·åè¡¨å¤´æ°æ®] |
| | | [Route("QC_LastPieceCheckBill/QC_LastPieceCheckBillListCheckDetail")] |
| | | [HttpGet] |
| | | public ApiResult<DataSet> QC_LastPieceCheckBillListCheckDetail(string HID) |
| | | { |
| | | if (string.IsNullOrEmpty(HID)) |
| | | return new ApiResult<DataSet> { code = -1, msg = "IDä¸è½ä¸ºç©º" }; |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | |
| | | var dataSet = oCN.RunProcReturn("select top 1 * from h_v_QC_LastPieceCheckBillListDetail where hmainid= " + HID + " ", "h_v_QC_LastPieceCheckBillListDetail"); |
| | | if (dataSet == null || dataSet.Tables[0].Rows.Count == 0) |
| | | return new ApiResult<DataSet> { code = -1, msg = "ä¸åå¨ç»ç®åå·" }; |
| | | |
| | | return new ApiResult<DataSet> { code = 1, msg = "æ¥è¯¢æå", data = dataSet }; |
| | | } |
| | | #endregion |
| | | |
| | | #region[ç¼è¾æ¶è·åè¡¨ä½æ°æ®] |
| | | [Route("QC_LastPieceCheckBill/QC_LastPieceCheckBillListProjectDetai")] |
| | | [HttpGet] |
| | | public object QC_LastPieceCheckBillListProjectDetai(string sqlWhere) |
| | | { |
| | | DataSet ds; |
| | | try |
| | | { |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | string sql1 = "SELECT æ¥æ,åæ®å·,夿³¨,产åå
ç , 产ååç§°" + |
| | | ", 产ååå·, æ£éªå代ç , æ£éªååç§°, å¶å人, å¶åæ¥æ" + |
| | | ", å®¡æ ¸äºº, å®¡æ ¸æ¥æ, ä¿®æ¹äºº, ä¿®æ¹æ¥æ, å
³é人, å
³éæ¥æ FROM h_v_QC_LastPieceCheckBillListDetail where 1 = 1 "; |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_LastPieceCheckBillListDetail"); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "è·åä¿¡æ¯æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æè¿åä»»ä½è®°å½ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | } |
| | | return objJsonResult; |
| | | } |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// æ°å¢åæ®-ä¿åæé® |
| | |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | /// <summary> |
| | | ///å é¤åè½ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route("QC_LastPieceCheckBill/DeltetLastPieceCheckBill")] |
| | | [HttpGet] |
| | | public object DeltetLastPieceCheckBill(string HInterID) |
| | | { |
| | | try |
| | | { |
| | | oCN.BeginTran(); |
| | | oCN.RunProc("Delete From QC_LastPieceCheckBillMain where HInterID = " + HInterID); |
| | | oCN.RunProc("Delete From QC_LastPieceCheckBillSub where HInterID = " + HInterID); |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å 餿åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// è¿å产åå
¥åºæ£éªåå表 |
| | | ///åæ°ï¼string sqlã |
| | |
| | | |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | public WebServer webserver = new WebServer(); |
| | | |
| | | public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | |
| | | { |
| | | ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec, |
| | | æ¹æ¬¡ HBatchNo,è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 使ç¨å¯¿å½ HUseLife,åºæ¶æ°é HQtyMust, |
| | | 宿¶æ°é HQty, HWHID, ä»åºä»£ç HWHCode,ä»åº HWHName,å夿³¨ HRemark,HStockOrgID |
| | | 宿¶æ°é HQty, HWHID, ä»åºä»£ç HWHCode,ä»åº HWHName,å夿³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ |
| | | FROM h_v_Sc_MouldRepairInBillList"), "h_v_Sc_MouldRepairInBillList"); |
| | | |
| | | objJsonResult.code = "0"; |
| | |
| | | //string sql1 = "select HRepairCheckID,HRepairCheckContent,HManagerID,HRemark from Sc_MouldRepairCheckBillSub where 1 = 1 "; |
| | | string sql1 = string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec, |
| | | æ¹æ¬¡ HBatchNo,è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 使ç¨å¯¿å½ HUseLife,åºæ¶æ°é HQtyMust, |
| | | 宿¶æ°é HQty, HWHID, ä»åºä»£ç HWHCode,ä»åº HWHName,å夿³¨ HRemark,HStockOrgID |
| | | 宿¶æ°é HQty, HWHID, ä»åºä»£ç HWHCode,ä»åº HWHName,å夿³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ |
| | | FROM h_v_Sc_MouldRepairInBillList where 1=1 "); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldRepairInBillList"); |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·æ¹å¶å
¥åºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldRepairInBill/AuditMouldRepairInBill")] |
| | | [HttpGet] |
| | | public object AuditMouldRepairInBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldRepairIn_SingleBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker ='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3826' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3826' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | #endregion |
| | | |
| | | //#region 模å
·é¢ç¨å |
| | |
| | | private json objJsonResult = new json(); |
| | | public DataSet ds = new DataSet(); |
| | | public WebServer webserver = new WebServer(); |
| | | public SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | |
| | | public DAL.ClsSc_MouldScrapInBill BillNew0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | | public DAL.ClsSc_MouldScrapInBill BillOld0 = new DAL.ClsSc_MouldScrapInBill(); //模å
·æ¥åºå
¥åºå¯¹åºåæ®ç±» |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region [模å
·å¤çåºåºåå®¡æ ¸ãåå®¡æ ¸] |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | /// <param name="HInterID">忮ID</param> |
| | | /// <param name="IsAudit">å®¡æ ¸(0),åå®¡æ ¸(1)</param> |
| | | /// <param name="CurUserName">å®¡æ ¸äºº</param> |
| | | /// <returns></returns> |
| | | [Route("Sc_MouldScrapOutHouseBill/AuditMouldScrapOutList")] |
| | | //#region [模å
·å¤çåºåºåå®¡æ ¸ãåå®¡æ ¸] |
| | | ///// <summary> |
| | | ///// |
| | | ///// </summary> |
| | | ///// <param name="HInterID">忮ID</param> |
| | | ///// <param name="IsAudit">å®¡æ ¸(0),åå®¡æ ¸(1)</param> |
| | | ///// <param name="CurUserName">å®¡æ ¸äºº</param> |
| | | ///// <returns></returns> |
| | | //[Route("Sc_MouldScrapOutHouseBill/AuditMouldScrapOutList")] |
| | | //[HttpGet] |
| | | //public object AuditMouldScrapOutList(int HInterID, int IsAudit, string CurUserName) |
| | | //{ |
| | | // string ModRightNameCheck = "Sc_MouldScrapOutBill_Check"; |
| | | // DBUtility.ClsPub.CurUserName = CurUserName; |
| | | // try |
| | | // { |
| | | // //å®¡æ ¸æé |
| | | // if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true, CurUserName)) |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "å®¡æ ¸å¤±è´¥ï¼æ æéï¼"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // if (HInterID <= 0) |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "HInterIDå°äº0ï¼"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // Int64 lngBillKey = 0; |
| | | // lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | // DLL.ClsSc_MouldScrapOutBill oBill = new DLL.ClsSc_MouldScrapOutBill(); |
| | | // //æ¥çæ¯å¦å·²å®¡æ ¸,å
³é,ä½åº |
| | | // if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | // { |
| | | // if (oBill.omodel.HCloseMan.Trim() != "") |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "忮已å
³é!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // if (oBill.omodel.HDeleteMan.Trim() != "") |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "忮已ä½åº!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // if (IsAudit == 0) //å®¡æ ¸å¤æ |
| | | // { |
| | | // if (oBill.omodel.HChecker.Trim() != "") |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "åæ®å·²å®¡æ ¸!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // } |
| | | // if (IsAudit == 1) //åå®¡æ ¸å¤æ |
| | | // { |
| | | // if (oBill.omodel.HChecker.Trim() == "") |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "åæ®æªå®¡æ ¸!ä¸éè¦åå®¡æ ¸!"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // } |
| | | // } |
| | | // else |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // if (IsAudit == 0) //å®¡æ ¸æäº¤ |
| | | // { |
| | | // //å®¡æ ¸æäº¤ |
| | | // if (oBill.CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | // { |
| | | // objJsonResult.code = "1"; |
| | | // objJsonResult.count = 1; |
| | | // objJsonResult.Message = "å®¡æ ¸æå"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // else |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "å®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // } |
| | | // if (IsAudit == 1) //åå®¡æ ¸æäº¤ |
| | | // { |
| | | // //åå®¡æ ¸æäº¤AbandonCheck |
| | | // if (oBill.AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | // { |
| | | // objJsonResult.code = "1"; |
| | | // objJsonResult.count = 1; |
| | | // objJsonResult.Message = "åå®¡æ ¸æå"; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // else |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "åå®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | // } |
| | | // return objJsonResult; |
| | | // } |
| | | // catch (Exception e) |
| | | // { |
| | | // objJsonResult.code = "0"; |
| | | // objJsonResult.count = 0; |
| | | // objJsonResult.Message = "å®¡æ ¸å¤±è´¥æè
åå®¡æ ¸å¤±è´¥ï¼" + e.ToString(); |
| | | // objJsonResult.data = null; |
| | | // return objJsonResult; |
| | | // } |
| | | //} |
| | | //#endregion |
| | | |
| | | #region å¨å
·å¤çåºåºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldScrapOutHouseBill/AuditMouldScrapOutHouseBill")] |
| | | [HttpGet] |
| | | public object AuditMouldScrapOutList(int HInterID, int IsAudit, string CurUserName) |
| | | public object AuditMouldScrapOutHouseBill(string HInterID, string user, int flag) |
| | | { |
| | | string ModRightNameCheck = "Sc_MouldScrapOutBill_Check"; |
| | | DBUtility.ClsPub.CurUserName = CurUserName; |
| | | try |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldScrapOutBill_Check", 1, true, user)) |
| | | { |
| | | //å®¡æ ¸æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true, CurUserName)) |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (HInterID <= 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterIDå°äº0ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | DLL.ClsSc_MouldScrapOutBill oBill = new DLL.ClsSc_MouldScrapOutBill(); |
| | | //æ¥çæ¯å¦å·²å®¡æ ¸,å
³é,ä½åº |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (oBill.omodel.HCloseMan.Trim() != "") |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已å
³é!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (oBill.omodel.HDeleteMan.Trim() != "") |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker ='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3832' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已ä½åº!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | if (IsAudit == 0) //å®¡æ ¸å¤æ |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·²å®¡æ ¸!ä¸è½åæ¬¡å®¡æ ¸ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | if (IsAudit == 1) //åå®¡æ ¸å¤æ |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªå®¡æ ¸!ä¸éè¦åå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | if (IsAudit == 0) //å®¡æ ¸æäº¤ |
| | | { |
| | | //å®¡æ ¸æäº¤ |
| | | if (oBill.CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æå"; |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3832' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | if (IsAudit == 1) //åå®¡æ ¸æäº¤ |
| | | { |
| | | //åå®¡æ ¸æäº¤AbandonCheck |
| | | if (oBill.AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æå"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åå®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo; |
| | | objJsonResult.data = null; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | return objJsonResult; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å®¡æ ¸å¤±è´¥æè
åå®¡æ ¸å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | |
| | | ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec,æ¹æ¬¡ HBatchNo, |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HWHSonID HWHID, åæä»åºä»£ç HWHCode, åæä»åº HWHName,HSPID, |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldProdBackBillList"), "h_v_Sc_MouldProdBackBillList"); |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldProdBackBillList"), "h_v_Sc_MouldProdBackBillList"); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | |
| | | string sql1 = string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec,æ¹æ¬¡ HBatchNo, |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HWHSonID HWHID, åæä»åºä»£ç HWHCode, åæä»åº HWHName,HSPID, |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldProdBackBillList where 1 = 1 "); |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldProdBackBillList where 1 = 1 "); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldProdBackBillList"); |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·ç产éåºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldProdBackBill/AuditMouldProdBackBill")] |
| | | [HttpGet] |
| | | public object AuditMouldProdBackBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdBackBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3803' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3803' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 模å
·é¢ç¨å |
| | |
| | | ds = oCN.RunProcReturn(string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec,æ¹æ¬¡ HBatchNo, |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HWHSonID HWHID, åæä»åºä»£ç HWHCode, åæä»åº HWHName,HSPID, |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldProdOutHouseBillList"), "h_v_Sc_MouldProdOutHouseBillList"); |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldProdOutHouseBillList"), "h_v_Sc_MouldProdOutHouseBillList"); |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | |
| | | string sql1 = string.Format(@"SELECT HMaterID,模å
·ä»£ç HMaterCode,模å
·åç§° HMaterName,è§æ ¼åå· HMaterSpec,æ¹æ¬¡ HBatchNo, |
| | | è®¾è®¡å¯¿å½ HDesignLife, å©ä½å¯¿å½ HLeaveLife, 累积使ç¨å¯¿å½ HUseLife, åºåæ°é HQtyMust, å®åæ°é HQty, |
| | | åä»· HPrice, éé¢ HMoney,HWHSonID HWHID, åæä»åºä»£ç HWHCode, åæä»åº HWHName,HSPID, |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID FROM h_v_Sc_MouldProdOutHouseBillList where 1 = 1 "); |
| | | ä»ä½ä»£ç HSPCode, ä»ä½ HSPName,表ä½å¤æ³¨ HRemark,HStockOrgID,HUnitID,计éåä½ä»£ç ,计éåä½ FROM h_v_Sc_MouldProdOutHouseBillList where 1 = 1 "); |
| | | string sql = sql1 + sqlWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_Sc_MouldProdOutHouseBillList"); |
| | | |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region å¨å
·é¢ç¨åºåºåå®¡æ ¸/åå®¡æ ¸ |
| | | [Route("Sc_MouldProdOutBill/AuditMouldProdOutBill")] |
| | | [HttpGet] |
| | | public object AuditMouldProdOutBill(string HInterID, string user, int flag) |
| | | { |
| | | //flag=1 å®¡æ ¸ï¼ flag=2 åå®¡æ ¸ |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log_second("Sc_MouldProdOutBill_Check", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ å®¡æ ¸æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | Int64 lngBillKey = 0; |
| | | lngBillKey = DBUtility.ClsPub.isLong(HInterID); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | DLL.ClsSc_MouldProdOutBill oBill = new DLL.ClsSc_MouldProdOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (flag == 1) |
| | | { |
| | | if (oBill.omodel.HBillStatus == 2) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®å·²å®¡æ ¸ï¼æ é忬¡å®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker='" + user + "',HCheckDate='" + HCheckDate + "',HBillStatus=2 Where HBillType='3802' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | if (oBill.omodel.HBillStatus == 1) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å½ååæ®æªå®¡æ ¸ï¼æ éåå®¡æ ¸"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | string HCheckDate = DateTime.Now.Date.ToString(); |
| | | oCn.RunProc(" Update Sc_MouldStockBillMain set HChecker=' ',HCheckDate=' ',HBillStatus=1 Where HBillType='3802' and HInterID=" + HInterID); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "åå®¡æ ¸æåï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®æªæ¾å°"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 模å
·å¯¿å½è°æ´å |
| | |
| | | /// </summary> |
| | | /// <param name="UserName">ç¨æ·å</param> |
| | | /// <param name="PassWord">å¯ç </param> |
| | | /// <param name="PassWord">ç»ç»</param> |
| | | /// <returns></returns> |
| | | [Route("Web/GetUser")] |
| | | [HttpGet] |
| | | public object GetUser(string UserName, string PassWord) |
| | | public object GetUser(string UserName, string PassWord, string HOrgName) |
| | | { |
| | | try |
| | | { |
| | |
| | | objjson.data = null; |
| | | return objjson; |
| | | } |
| | | else |
| | | string sql = string.Format(@" select a.* from Gy_UserByOrgRelation a |
| | | where a.HUserID = '{0}' and a.HOrgID = '{1}'", UserName, HOrgName); |
| | | DataSet _ds = oCnLoc.RunProcReturn(sql, "h_p_Xt_UserRelationOrg_Check"); |
| | | if (_ds == null || _ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objjson.code = "0"; |
| | | objjson.count = 1; |
| | | objjson.Message = "ç»å½æåï¼"; |
| | | objjson.data = ds.Tables[0]; |
| | | objjson.count = 0; |
| | | objjson.Message = "ç¨æ·" + UserName + "没æè¯¥ç»ç»æé"; |
| | | objjson.data = null; |
| | | return objjson; |
| | | } |
| | | |
| | | objjson.code = "0"; |
| | | objjson.count = 1; |
| | | objjson.Message = "ç»å½æåï¼"; |
| | | objjson.data = ds.Tables[0]; |
| | | return objjson; |
| | | |
| | | } |
| | | catch (Exception) |
| | | { |
| | |
| | | { |
| | | //sWhere = " Where HStopFlag=0 and HEndFlag=1"; |
| | | //sWhere = " Where HStopFlag=0 and HEndFlag=1 and HUSEORGID = " + DBUtility.ClsPub.HORGANIZATIONSID.ToString(); |
| | | if (BadReason != ""&& BadReason != null) |
| | | if (BadReason != "" && BadReason != null) |
| | | { |
| | | sWhere = sWhere + " and ( HNumber like '%" + BadReason + "%' or HName like '%" + BadReason + "%' ) "; |
| | | } |
| | |
| | | sWhere = " Where HStopFlag=0 and HEndFlag=1"; |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | //sWhere = " Where HStopFlag=0 and HEndFlag=1 and HUSEORGID = " + DBUtility.ClsPub.HORGANIZATIONSID.ToString(); |
| | | if (CheckItem != ""&& CheckItem!=null) |
| | | if (CheckItem != "" && CheckItem != null) |
| | | { |
| | | sWhere = sWhere + " and ( HNumber like '%" + CheckItem + "%' or HName like '%" + CheckItem + "%' ) "; |
| | | sWhere = sWhere + " and ( HNumber like '%" + CheckItem + "%' or HName like '%" + CheckItem + "%' ) "; |
| | | ds = oCN.RunProcReturn("Select HItemID,HNumber,HName from Gy_DotCheck " + sWhere + " Order by HItemID ", "Gy_DotCheck"); |
| | | } |
| | | else |
| | |
| | | /// <returns></returns> |
| | | [Route("Web/GetSc_ICMOBillListView")] |
| | | [HttpGet] |
| | | public object GetSc_ICMOBillListView(string ICMOBill,int OrganizationID) |
| | | public object GetSc_ICMOBillListView(string ICMOBill, int OrganizationID) |
| | | { |
| | | if (ICMOBill != "") |
| | | { |
| | |
| | | } |
| | | else |
| | | { |
| | | string sql = "select * from h_v_IF_ICMOBillList "+ sWhere+ " and isnull(å®¡æ ¸äºº,'')<>'' and isnull(å
³é人,'')='' and isnull(è¡å
³é人,'')='' order by åæ®å· desc,hsubid "; |
| | | string sql = "select * from h_v_IF_ICMOBillList " + sWhere + " and isnull(å®¡æ ¸äºº,'')<>'' and isnull(å
³é人,'')='' and isnull(è¡å
³é人,'')='' order by åæ®å· desc,hsubid "; |
| | | ds = oCN.RunProcReturn(sql, "h_v_IF_ICMOBillList"); |
| | | } |
| | | if (ds == null || ds.Tables[0].Rows.Count <= 0) |
| | |
| | | /// <returns></returns> |
| | | [Route("Web/GetGy_QCCheckItem")] |
| | | [HttpGet] |
| | | public object GetGy_QCCheckItem(string CheckItem,int OrganizationID) |
| | | public object GetGy_QCCheckItem(string CheckItem, int OrganizationID) |
| | | { |
| | | if (CheckItem != "") |
| | | { |
| | |
| | | /// <returns></returns> |
| | | [Route("Web/GetWMSBarCodeDetailsList")] |
| | | [HttpGet] |
| | | public object GetWMSBarCodeDetailsList(int HInterID,string HBillType) |
| | | public object GetWMSBarCodeDetailsList(int HInterID, string HBillType) |
| | | { |
| | | try |
| | | { |
| | |
| | | //string json = JsonConvert.SerializeObject(dd); |
| | | for (int i = 0; i < ds.Tables[0].Rows.Count; i++) //è¿éæ¯å¾ªç¯ææ |
| | | { |
| | | if (ds.Tables[0].Rows[i]["HPartentID"].ToString()=="0" || ds.Tables[0].Rows[i]["HitemID"].ToString() == ds.Tables[0].Rows[i]["HPartentID"].ToString()) //夿æ¯å¦æå¤å±æ ¹èç¹ |
| | | if (ds.Tables[0].Rows[i]["HPartentID"].ToString() == "0" || ds.Tables[0].Rows[i]["HitemID"].ToString() == ds.Tables[0].Rows[i]["HPartentID"].ToString()) //夿æ¯å¦æå¤å±æ ¹èç¹ |
| | | { |
| | | Menu tbj = new Menu(); |
| | | tbj.HitemID = ds.Tables[0].Rows[i]["HitemID"].ToString(); |
| | | tbj.HNumber = ds.Tables[0].Rows[i]["HNumber"].ToString(); |
| | | tbj.HName = ds.Tables[0].Rows[i]["HName"].ToString(); |
| | | tbj.HPartentID =ds.Tables[0].Rows[i]["HPartentID"].ToString(); |
| | | tbj.HPartentID = ds.Tables[0].Rows[i]["HPartentID"].ToString(); |
| | | tbj.HLevel = int.Parse(ds.Tables[0].Rows[i]["HLevel"].ToString()); |
| | | tbj.Hurl = ds.Tables[0].Rows[i]["Hurl"].ToString(); |
| | | mu.Add(tbj); |
| | | } |
| | | } |
| | | ToHierarchy.digui(ds.Tables[0], mu); |
| | | |
| | | |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å 餿åï¼"; |
| | | objJsonResult.data =Newtonsoft.Json.JsonConvert.SerializeObject(mu); |
| | | objJsonResult.data = Newtonsoft.Json.JsonConvert.SerializeObject(mu); |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
New file |
| | |
| | | using DBUtility; |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | |
| | | |
| | | namespace WebAPI.Controllers.åºç¡èµæ.åºç¡èµæ |
| | | { |
| | | public class Gy_DotCheckBillController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | Models.ClsGy_DotCheck oDept = new Models.ClsGy_DotCheck(); |
| | | Models.ClsGy_DotCheck oDeptHlp = new Models.ClsGy_DotCheck(); |
| | | |
| | | #region ç¹æ£é¡¹ç®åè¡¨æ°æ® |
| | | [Route("Gy_DotCheck/GetDotCheckList")] |
| | | [HttpGet] |
| | | public object GetDotCheckList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_DotCheck", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¥çæé"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("select HItemID,HNumber,HName,HLevel, case when HEndFlag<>0 then 'Y'else ' 'end HEndFlag,case when HStopFlag <> 0 then 'Y'else ' 'end HStopFlag, HRemark, HUseFlag from Gy_DotCheck where 1=1 " + sWhere, "Gy_DotCheck"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿å
»é¡¹ç®æ°æ®ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ¥æ¾æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ç¹æ£é¡¹ç®å é¤ |
| | | [Route("Gy_DotCheck/DeleteDotCheck")] |
| | | [HttpGet] |
| | | public object DeleteDotCheck(long HItemID, string User) |
| | | { |
| | | |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_DotCheck", 1, true, User)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æå 餿é"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("Select * from Gy_DotCheck Where HItemID='" + HItemID + "'", "Gy_DotCheck", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if (ds.Tables[0].Rows.Count != 0) |
| | | { |
| | | ds = oCN.RunProcReturn("Delete from Gy_DotCheck Where HItemID='" + HItemID + "'", "Gy_DotCheck", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å 餿å"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ä¿®æ¹ç¹æ£é¡¹ç®è·åç»å®æ°æ® |
| | | [Route("Gy_DotCheck/EditDotCheck")] |
| | | [HttpGet] |
| | | public object EditDotCheck(long HInterID) |
| | | { |
| | | try |
| | | { |
| | | ds = oCN.RunProcReturn("select * from Gy_DotCheck where HItemID=" + HInterID, "Gy_DotCheck"); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = ""; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ç¹æ£é¡¹ç®ä¿®æ¹ä¿å |
| | | [Route("Gy_DotCheck/EditBill")] |
| | | [HttpPost] |
| | | public object EditBill([FromBody] JObject oMain) |
| | | { |
| | | |
| | | try |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString(); |
| | | string msg4 = sArray[2].ToString();//å½å人 |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | List<Models.ClsGy_DotCheck> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_DotCheck>>(msg2); |
| | | |
| | | long HItemID = int.Parse(msg3); |
| | | string HNumber = list[0].HNumber; |
| | | string HName = list[0].HName; |
| | | string HShortNumber = list[0].HNumber; |
| | | string HHelpCode = list[0].HHelpCode; |
| | | string HRemark = list[0].HRemark; |
| | | bool HStopflag = list[0].HStopflag; |
| | | string HUseFlag = list[0].HUseFlag; |
| | | |
| | | //夿æé |
| | | if (!ClsPub.Security_Log("Gy_DotCheck", 1, true, msg4)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¾å°è¯¥åè½æ¨¡åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (oDept.HavSameNumber(HItemID, HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç éå¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | | //主表 |
| | | oCN.RunProc("Update Gy_DotCheck set " + |
| | | " HNumber='" + HNumber + "'" + |
| | | ",HName='" + HName + "'" + |
| | | ",HShortNumber='" + HShortNumber + "'" + |
| | | ",HHelpCode='" + HHelpCode + "'" + |
| | | ",HStopflag='" + HStopflag + "'" + |
| | | ",HRemark= '" + HRemark + "' Where HItemID=" + HItemID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹å项ç®ä»£ç |
| | | //oCN.RunProc("exec h_p_Gy_UpdateNumber Gy_RepairCheck,'" + HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "ä¿®æ¹æåï¼"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ç¹æ£é¡¹ç®æ°å¢ä¿å |
| | | [Route("GetDotCheck/AddBill")] |
| | | [HttpPost] |
| | | public object AddBill([FromBody] JObject oMain) |
| | | { |
| | | try |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString();//å½å人 |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | |
| | | List<Models.ClsGy_DotCheck> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_DotCheck>>(msg2); |
| | | |
| | | string HNumber = list[0].HNumber; |
| | | string HName = list[0].HName; |
| | | string HShortNumber = list[0].HNumber; |
| | | long HLevel = list[0].HLevel; |
| | | string HHelpCode = list[0].HHelpCode; |
| | | string HRemark = list[0].HRemark; |
| | | bool HStopflag = list[0].HStopflag; |
| | | string HUseFlag = list[0].HUseFlag; |
| | | bool HEndFlag = list[0].HEndFlag; |
| | | |
| | | //夿æé |
| | | if (!ClsPub.Security_Log("Gy_DotCheck", 1, true, msg3)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¾å°è¯¥åè½æ¨¡åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | | //主表 |
| | | oCN.RunProc("Insert into Gy_DotCheck " + |
| | | " (HNumber,HName,HHelpCode,HShortNumber" + |
| | | ",HLevel,HEndFlag,HStopflag,HRemark,HMakeTime) " + |
| | | " Values('" + HNumber + "','" + HName + "','" + HHelpCode + "','" + HShortNumber + "'," + |
| | | +HLevel + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) + ",'" + HRemark + "',getdate())", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹ä¸çº§ä¸ºéæ«çº§ä»£ç |
| | | //oCN.RunProc("Update Gy_MouldType set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ°å¢æåï¼"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using DBUtility; |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.åºç¡èµæ.åºç¡èµæ |
| | | { |
| | | public class Gy_MaintainBillController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | Models.ClsGy_Maintain oDept = new Models.ClsGy_Maintain(); |
| | | Models.ClsGy_Maintain oDeptHlp = new Models.ClsGy_Maintain(); |
| | | |
| | | #region ä¿å
»é¡¹ç®åè¡¨æ°æ® |
| | | [Route("Gy_Maintain/GetMaintainlist")] |
| | | [HttpGet] |
| | | public object GetMaintainlist(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Maintain", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¥çæé"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("select HItemID,HNumber,HName,HLevel, case when HEndFlag<>0 then 'Y'else ' 'end HEndFlag,case when HStopFlag <> 0 then 'Y'else ' 'end HStopFlag, HRemark, HUseFlag from Gy_Maintain where 1=1 " + sWhere, "Gy_Maintain"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿å
»é¡¹ç®æ°æ®ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ¥æ¾æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ä¿å
»é¡¹ç®å é¤ |
| | | [Route("Gy_Maintain/DeleteMaintain")] |
| | | [HttpGet] |
| | | public object DeleteMaintain(long HItemID, string User) |
| | | { |
| | | |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Maintain_Delete", 1, true, User)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æå 餿é"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("Select * from Gy_Maintain Where HItemID='" + HItemID + "'", "Gy_Maintain", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if (ds.Tables[0].Rows.Count != 0) |
| | | { |
| | | ds = oCN.RunProcReturn("Delete from Gy_Maintain Where HItemID='" + HItemID + "'", "Gy_Maintain", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å 餿å"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ä¿®æ¹ä¿å
»é¡¹ç®è·åç»å®æ°æ® |
| | | [Route("Gy_Maintain/EditMaintain")] |
| | | [HttpGet] |
| | | public object EditMaintain(long HInterID) |
| | | { |
| | | try |
| | | { |
| | | ds = oCN.RunProcReturn("select * from Gy_Maintain where HItemID=" + HInterID, "Gy_Maintain"); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = ""; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ä¿å
»é¡¹ç®ä¿®æ¹ä¿å |
| | | [Route("Gy_Maintain/EditBill")] |
| | | [HttpPost] |
| | | public object EditBill([FromBody] JObject oMain) |
| | | { |
| | | |
| | | try |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString(); |
| | | string msg4 = sArray[2].ToString();//å½å人 |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | List<Models.ClsGy_Maintain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_Maintain>>(msg2); |
| | | |
| | | long HItemID = int.Parse(msg3); |
| | | string HNumber = list[0].HNumber; |
| | | string HName = list[0].HName; |
| | | string HShortNumber = list[0].HNumber; |
| | | string HHelpCode = list[0].HHelpCode; |
| | | string HRemark = list[0].HRemark; |
| | | bool HStopflag = list[0].HStopflag; |
| | | string HUseFlag = list[0].HUseFlag; |
| | | |
| | | //夿æé |
| | | if (!ClsPub.Security_Log("Gy_Maintain_Edit", 1, true, msg4)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¾å°è¯¥åè½æ¨¡åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (oDept.HavSameNumber(HItemID, HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç éå¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | | //主表 |
| | | oCN.RunProc("Update Gy_Maintain set " + |
| | | " HNumber='" + HNumber + "'" + |
| | | ",HName='" + HName + "'" + |
| | | ",HShortNumber='" + HShortNumber + "'" + |
| | | ",HHelpCode='" + HHelpCode + "'" + |
| | | ",HStopflag='" + HStopflag + "'" + |
| | | ",HRemark= '" + HRemark + "' Where HItemID=" + HItemID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹å项ç®ä»£ç |
| | | //oCN.RunProc("exec h_p_Gy_UpdateNumber Gy_RepairCheck,'" + HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "ä¿®æ¹æåï¼"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ä¿å
»é¡¹ç®æ°å¢ä¿å |
| | | [Route("Gy_Maintain/AddBill")] |
| | | [HttpPost] |
| | | public object AddBill([FromBody] JObject oMain) |
| | | { |
| | | try |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString();//å½å人 |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | |
| | | List<Models.ClsGy_Maintain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_Maintain>>(msg2); |
| | | |
| | | string HNumber = list[0].HNumber; |
| | | string HName = list[0].HName; |
| | | string HShortNumber = list[0].HNumber; |
| | | long HLevel = list[0].HLevel; |
| | | string HHelpCode = list[0].HHelpCode; |
| | | string HRemark = list[0].HRemark; |
| | | bool HStopflag = list[0].HStopflag; |
| | | string HUseFlag = list[0].HUseFlag; |
| | | bool HEndFlag = list[0].HEndFlag; |
| | | |
| | | //夿æé |
| | | if (!ClsPub.Security_Log("Gy_Maintain_Edit", 1, true, msg3)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¾å°è¯¥åè½æ¨¡åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | | //主表 |
| | | oCN.RunProc("Insert into Gy_Maintain " + |
| | | " (HNumber,HName,HHelpCode,HShortNumber" + |
| | | ",HLevel,HEndFlag,HStopflag,HRemark,HMakeTime) " + |
| | | " Values('" + HNumber + "','" + HName + "','" + HHelpCode + "','" + HShortNumber + "'," + |
| | | + HLevel + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) + ",'" + HRemark + "',getdate())", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹ä¸çº§ä¸ºéæ«çº§ä»£ç |
| | | //oCN.RunProc("Update Gy_MouldType set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ°å¢æåï¼"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using DBUtility; |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.åºç¡èµæ.åºç¡èµæ |
| | | { |
| | | public class Gy_RepairBillController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | Models.ClsGy_Repair oDept = new Models.ClsGy_Repair(); |
| | | Models.ClsGy_Repair oDeptHlp = new Models.ClsGy_Repair(); |
| | | |
| | | #region 维修项ç®åè¡¨æ°æ® |
| | | [Route("Gy_Repair/GetRepairList")] |
| | | [HttpGet] |
| | | public object GetRepairList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Repair", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¥çæé"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("select HItemID,HNumber,HName,HLevel, case when HEndFlag<>0 then 'Y'else ' 'end HEndFlag,case when HStopFlag <> 0 then 'Y'else ' 'end HStopFlag, HRemark, HUseFlag from Gy_Repair where 1=1 " + sWhere, "Gy_Repair"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿å
»é¡¹ç®æ°æ®ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ¥æ¾æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 维修项ç®å é¤ |
| | | [Route("Gy_Repair/DeleteRepair")] |
| | | [HttpGet] |
| | | public object DeleteRepair(long HItemID, string User) |
| | | { |
| | | |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_Repair_Delete", 1, true, User)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æå 餿é"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("Select * from Gy_Repair Where HItemID='" + HItemID + "'", "Gy_Repair", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if (ds.Tables[0].Rows.Count != 0) |
| | | { |
| | | ds = oCN.RunProcReturn("Delete from Gy_Repair Where HItemID='" + HItemID + "'", "Gy_Repair", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å 餿å"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ä¿®æ¹ç»´ä¿®é¡¹ç®è·åç»å®æ°æ® |
| | | [Route("Gy_Repair/EditRepair")] |
| | | [HttpGet] |
| | | public object EditRepair(long HInterID) |
| | | { |
| | | try |
| | | { |
| | | ds = oCN.RunProcReturn("select * from Gy_Repair where HItemID=" + HInterID, "Gy_Repair"); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = ""; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 维修项ç®ä¿®æ¹ä¿å |
| | | [Route("Gy_Repair/EditBill")] |
| | | [HttpPost] |
| | | public object EditBill([FromBody] JObject oMain) |
| | | { |
| | | |
| | | try |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString(); |
| | | string msg4 = sArray[2].ToString();//å½å人 |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | List<Models.ClsGy_Repair> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_Repair>>(msg2); |
| | | |
| | | long HItemID = int.Parse(msg3); |
| | | string HNumber = list[0].HNumber; |
| | | string HName = list[0].HName; |
| | | string HShortNumber = list[0].HNumber; |
| | | string HHelpCode = list[0].HHelpCode; |
| | | string HRemark = list[0].HRemark; |
| | | bool HStopflag = list[0].HStopflag; |
| | | string HUseFlag = list[0].HUseFlag; |
| | | |
| | | //夿æé |
| | | if (!ClsPub.Security_Log("Gy_Repair_Edit", 1, true, msg4)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¾å°è¯¥åè½æ¨¡åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (oDept.HavSameNumber(HItemID, HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç éå¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | | //主表 |
| | | oCN.RunProc("Update Gy_Repair set " + |
| | | " HNumber='" + HNumber + "'" + |
| | | ",HName='" + HName + "'" + |
| | | ",HShortNumber='" + HShortNumber + "'" + |
| | | ",HHelpCode='" + HHelpCode + "'" + |
| | | ",HStopflag='" + HStopflag + "'" + |
| | | ",HRemark= '" + HRemark + "' Where HItemID=" + HItemID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹å项ç®ä»£ç |
| | | //oCN.RunProc("exec h_p_Gy_UpdateNumber Gy_RepairCheck,'" + HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "ä¿®æ¹æåï¼"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ç»´ä¿®é¡¹ç®æ°å¢ä¿å |
| | | [Route("Gy_Repair/AddBill")] |
| | | [HttpPost] |
| | | public object AddBill([FromBody] JObject oMain) |
| | | { |
| | | try |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString();//å½å人 |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | |
| | | List<Models.ClsGy_Repair> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_Repair>>(msg2); |
| | | |
| | | string HNumber = list[0].HNumber; |
| | | string HName = list[0].HName; |
| | | string HShortNumber = list[0].HNumber; |
| | | long HLevel = list[0].HLevel; |
| | | string HHelpCode = list[0].HHelpCode; |
| | | string HRemark = list[0].HRemark; |
| | | bool HStopflag = list[0].HStopflag; |
| | | string HUseFlag = list[0].HUseFlag; |
| | | bool HEndFlag = list[0].HEndFlag; |
| | | |
| | | //夿æé |
| | | if (!ClsPub.Security_Log("Gy_Repair_Edit", 1, true, msg3)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¾å°è¯¥åè½æ¨¡åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | | //主表 |
| | | oCN.RunProc("Insert into Gy_Repair " + |
| | | " (HNumber,HName,HHelpCode,HShortNumber" + |
| | | ",HLevel,HEndFlag,HStopflag,HRemark,HMakeTime) " + |
| | | " Values('" + HNumber + "','" + HName + "','" + HHelpCode + "','" + HShortNumber + "'," + |
| | | +HLevel + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) + ",'" + HRemark + "',getdate())", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹ä¸çº§ä¸ºéæ«çº§ä»£ç |
| | | //oCN.RunProc("Update Gy_MouldType set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ°å¢æåï¼"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | using DBUtility; |
| | | using Newtonsoft.Json.Linq; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Linq; |
| | | using System.Net; |
| | | using System.Net.Http; |
| | | using System.Web.Http; |
| | | using WebAPI.Models; |
| | | |
| | | namespace WebAPI.Controllers.åºç¡èµæ.åºç¡èµæ |
| | | { |
| | | public class Gy_RepairCheckBillController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | Models.ClsGy_RepairCheck oDept = new Models.ClsGy_RepairCheck(); |
| | | Models.ClsGy_RepairCheck oDeptHlp = new Models.ClsGy_RepairCheck(); |
| | | |
| | | #region ç»´ä¿®éªæ¶é¡¹ç®åè¡¨æ°æ® |
| | | [Route("Gy_RepairCheck/GetRepairCheckList")] |
| | | [HttpGet] |
| | | public object GetRepairCheckList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_RepairCheck", 1, true, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¥çæé"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("select HItemID,HNumber,HName,HLevel, case when HEndFlag<>0 then 'Y'else ' 'end HEndFlag,case when HStopFlag <> 0 then 'Y'else ' 'end HStopFlag, HRemark, HUseFlag from Gy_RepairCheck where 1=1 " + sWhere, "Gy_RepairCheck"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ä¿å
»é¡¹ç®æ°æ®ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ¥æ¾æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ç»´ä¿®éªæ¶é¡¹ç®å é¤ |
| | | [Route("Gy_RepairCheck/DeleteRepairCheck")] |
| | | [HttpGet] |
| | | public object DeleteRepairCheck(long HItemID, string User) |
| | | { |
| | | |
| | | try |
| | | { |
| | | if (!DBUtility.ClsPub.Security_Log("Gy_RepairCheck_Delete", 1, true, User)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "没æå 餿é"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | ds = oCN.RunProcReturn("Select * from Gy_RepairCheck Where HItemID='" + HItemID + "'", "Gy_RepairCheck", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if (ds.Tables[0].Rows.Count != 0) |
| | | { |
| | | ds = oCN.RunProcReturn("Delete from Gy_RepairCheck Where HItemID='" + HItemID + "'", "Gy_RepairCheck", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "å 餿å"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®ä¸åå¨"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ä¿®æ¹ç»´ä¿®éªæ¶é¡¹ç®è·åç»å®æ°æ® |
| | | [Route("Gy_RepairCheck/EditRepairCheck")] |
| | | [HttpGet] |
| | | public object EditRepairCheck(long HInterID) |
| | | { |
| | | try |
| | | { |
| | | ds = oCN.RunProcReturn("select * from Gy_RepairCheck where HItemID=" + HInterID, "Gy_RepairCheck"); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = ""; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ç»´ä¿®éªæ¶é¡¹ç®ä¿®æ¹ä¿å |
| | | [Route("Gy_RepairCheck/EditBill")] |
| | | [HttpPost] |
| | | public object EditBill([FromBody] JObject oMain) |
| | | { |
| | | |
| | | try |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString(); |
| | | string msg4 = sArray[2].ToString();//å½å人 |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | List<Models.ClsGy_RepairCheck> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_RepairCheck>>(msg2); |
| | | |
| | | long HItemID = int.Parse(msg3); |
| | | string HNumber = list[0].HNumber; |
| | | string HName = list[0].HName; |
| | | string HShortNumber = list[0].HNumber; |
| | | string HHelpCode = list[0].HHelpCode; |
| | | string HRemark = list[0].HRemark; |
| | | bool HStopflag = list[0].HStopflag; |
| | | string HUseFlag = list[0].HUseFlag; |
| | | |
| | | //夿æé |
| | | if (!ClsPub.Security_Log("Gy_RepairCheck_Edit", 1, true, msg4)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¾å°è¯¥åè½æ¨¡åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (oDept.HavSameNumber(HItemID, HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç éå¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | | //主表 |
| | | oCN.RunProc("Update Gy_RepairCheck set " + |
| | | " HNumber='" + HNumber + "'" + |
| | | ",HName='" + HName + "'" + |
| | | ",HShortNumber='" + HShortNumber + "'" + |
| | | ",HHelpCode='" + HHelpCode + "'" + |
| | | ",HStopflag='" + HStopflag + "'" + |
| | | ",HRemark= '" + HRemark + "' Where HItemID=" + HItemID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹å项ç®ä»£ç |
| | | //oCN.RunProc("exec h_p_Gy_UpdateNumber Gy_RepairCheck,'" + HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "ä¿®æ¹æåï¼"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region ç»´ä¿®éªæ¶é¡¹ç®æ°å¢ä¿å |
| | | [Route("Gy_RepairCheck/AddBill")] |
| | | [HttpPost] |
| | | public object AddBill([FromBody] JObject oMain) |
| | | { |
| | | try |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString();//å½å人 |
| | | |
| | | //ååºåå |
| | | msg2 = "[" + msg2.ToString() + "]"; |
| | | |
| | | List<Models.ClsGy_RepairCheck> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Models.ClsGy_RepairCheck>>(msg2); |
| | | |
| | | string HNumber = list[0].HNumber; |
| | | string HName = list[0].HName; |
| | | string HShortNumber = list[0].HNumber; |
| | | long HLevel = list[0].HLevel; |
| | | string HHelpCode = list[0].HHelpCode; |
| | | string HRemark = list[0].HRemark; |
| | | bool HStopflag = list[0].HStopflag; |
| | | string HUseFlag = list[0].HUseFlag; |
| | | bool HEndFlag = list[0].HEndFlag; |
| | | |
| | | //夿æé |
| | | if (!ClsPub.Security_Log("Gy_RepairCheck_Edit", 1, true, msg3)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¾å°è¯¥åè½æ¨¡åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (!DBUtility.ClsPub.AllowNumber(HNumber)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "代ç ä¸ä¸è½åºç°è¿ç»â.âå¹¶ä¸é¦ä½æ«ä½ä¸è½ä¸ºâ.âï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | |
| | | //è¥MAINDIéå¤åéæ°è·å |
| | | oCN.BeginTran(); |
| | | //主表 |
| | | oCN.RunProc("Insert into Gy_RepairCheck " + |
| | | " (HNumber,HName,HHelpCode,HShortNumber" + |
| | | ",HLevel,HEndFlag,HStopflag,HRemark,HMakeTime) " + |
| | | " Values('" + HNumber + "','" + HName + "','" + HHelpCode + "','" + HShortNumber + "'," + |
| | | +HLevel + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) + ",'" + HRemark + "',getdate())", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹ä¸çº§ä¸ºéæ«çº§ä»£ç |
| | | //oCN.RunProc("Update Gy_MouldType set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | oCN.Commit(); |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ°å¢æåï¼"; |
| | | //objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.Message; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | ", " + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "','" + omodel.HMaker+ "',getdate()" + |
| | | ", " + omodel.HSupTypeID.ToString() + "," + omodel.HSupID.ToString() + "," + omodel.HWHID.ToString() + "," + omodel.HSCWHID.ToString() + "," + omodel.HEmpID.ToString() + "," + omodel.HManagerID.ToString() + "," + omodel.HSecManagerID.ToString() + |
| | | ", " + omodel.HKeeperID.ToString() + "," + omodel.HDeptID.ToString() + ",'" + omodel.HExplanation + "','" + omodel.HInnerBillNo + "'," + DBUtility.ClsPub.BoolToString(omodel.HRedBlueFlag) + |
| | | |
| | | ") "); |
| | | //æå
¥å表 |
| | | foreach (Model.ClsSc_MouldProdBackBillSub oSub in DetailColl) |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Web; |
| | | |
| | | namespace WebAPI.Models |
| | | { |
| | | public class ClsGy_DotCheck : DBUtility.ClsGy_Base_Ctl |
| | | { |
| | | public int HItemID; |
| | | public string HNumber; //代ç |
| | | public string HName; //åç§° |
| | | public string HHelpCode; //å©è®°ç |
| | | public string HShortNumber; //ç代ç |
| | | public int HParentID; //ç¶çº§ |
| | | public int HLevel; //ç级 |
| | | public bool HEndFlag; //æ«çº§æ å¿ |
| | | public bool HStopflag; //ç¦ç¨æ å¿ |
| | | public string HRemark; //夿³¨ |
| | | public string HUseFlag = "æªä½¿ç¨"; |
| | | |
| | | } |
| | | } |
| | |
| | | public string HModel2; // â varchar(100) //设å¤åå· |
| | | public int HMaterID; // â int //对åºç©æ |
| | | public int HUnitID; // â int //åä½ |
| | | public DateTime HOutComDate; // â datetime //设å¤åºåæ¥æ |
| | | public string HOutComDate; // â datetime //设å¤åºåæ¥æ |
| | | public string HOutComNo; // â varchar(100) //设å¤åºåç¼å· |
| | | public int HDeptID; // â int //使ç¨é¨é¨ï¼gy_Departmentï¼ |
| | | public int HUseEmpID; //â int //使ç¨è´è´£äººï¼gy_Employeeï¼ |
| | | public int HRepairEmpID; //â int //ç»´æ¤è´è´£äººï¼gy_Employeeï¼ |
| | | public string HAddress; // â varchar(500) //å®è£
å°ç¹ |
| | | public DateTime HSetupDate; //â datetime //å®è£
æ¥æ |
| | | public DateTime HStartupDate; //â datetime //è¿è¡å¼å§æ¥æ |
| | | public string HSetupDate; //â datetime //å®è£
æ¥æ |
| | | public string HStartupDate; //â datetime //è¿è¡å¼å§æ¥æ |
| | | public string HStatus; // â varchar(20) //å½åç¶æï¼ç©ºé²ãå ç¨ãå å·¥ãå
³æºãå¼å¸¸åæºï¼ |
| | | public int HEquipFileTypeID; //â int //设å¤ç±»å«ï¼Gy_EquipFileType) |
| | | public string HProNum; // â varchar(100) //å·¥ç¨ç¼ç |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Web; |
| | | |
| | | namespace WebAPI.Models |
| | | { |
| | | public class ClsGy_Maintain : DBUtility.ClsGy_Base_Ctl |
| | | { |
| | | public int HItemID; |
| | | public string HNumber; //代ç |
| | | public string HName; //åç§° |
| | | public string HHelpCode; //å©è®°ç |
| | | public string HShortNumber; //ç代ç |
| | | public int HParentID; //ç¶çº§ |
| | | public int HLevel; //ç级 |
| | | public bool HEndFlag; //æ«çº§æ å¿ |
| | | public bool HStopflag; //ç¦ç¨æ å¿ |
| | | public string HRemark; //夿³¨ |
| | | public string HUseFlag = "æªä½¿ç¨"; |
| | | |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Web; |
| | | |
| | | namespace WebAPI.Models |
| | | { |
| | | public class ClsGy_Repair : DBUtility.ClsGy_Base_Ctl |
| | | { |
| | | public int HItemID; |
| | | public string HNumber; //代ç |
| | | public string HName; //åç§° |
| | | public string HHelpCode; //å©è®°ç |
| | | public string HShortNumber; //ç代ç |
| | | public int HParentID; //ç¶çº§ |
| | | public int HLevel; //ç级 |
| | | public bool HEndFlag; //æ«çº§æ å¿ |
| | | public bool HStopflag; //ç¦ç¨æ å¿ |
| | | public string HRemark; //夿³¨ |
| | | public string HUseFlag = "æªä½¿ç¨"; |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Web; |
| | | |
| | | namespace WebAPI.Models |
| | | { |
| | | public class ClsGy_RepairCheck : DBUtility.ClsGy_Base_Ctl |
| | | { |
| | | public int HItemID; |
| | | public string HNumber; //代ç |
| | | public string HName; //åç§° |
| | | public string HHelpCode; //å©è®°ç |
| | | public string HShortNumber; //ç代ç |
| | | public int HParentID; //ç¶çº§ |
| | | public int HLevel; //ç级 |
| | | public bool HEndFlag; //æ«çº§æ å¿ |
| | | public bool HStopflag; //ç¦ç¨æ å¿ |
| | | public string HRemark; //夿³¨ |
| | | public string HUseFlag = "æªä½¿ç¨"; |
| | | |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Web; |
| | | |
| | | namespace WebAPI.Models |
| | | { |
| | | public class QC_POStockInCheckBill |
| | | { |
| | | public long HYear { get; set; } |
| | | public long HPeriod { get; set; } |
| | | public string HBillType { get; set; } |
| | | public string HBillSubType { get; set; } |
| | | public long HInterID { get; set; } |
| | | public DateTime HDate { get; set; } |
| | | public string HBillNo { get; set; } |
| | | public long HBillStatus { get; set; } |
| | | public long HCheckItemNowID { get; set; } |
| | | public long HCheckItemNextID { get; set; } |
| | | public long HCheckFlowID { get; set; } |
| | | public string HRemark { get; set; } |
| | | public string HBacker { get; set; } |
| | | public DateTime HBackDate { get; set; } |
| | | public string HBackRemark { get; set; } |
| | | public string HChecker { get; set; } |
| | | public DateTime HCheckDate { get; set; } |
| | | public string HMaker { get; set; } |
| | | public DateTime HMakeDate { get; set; } |
| | | public string HUpDater { get; set; } |
| | | public DateTime HUpDateDate { get; set; } |
| | | public string HCloseMan { get; set; } |
| | | public DateTime HCloseDate { get; set; } |
| | | public string HDeleteMan { get; set; } |
| | | public DateTime HDeleteDate { get; set; } |
| | | public string HMainSourceBillType { get; set; } |
| | | public long HMainSourceInterID { get; set; } |
| | | public long HMainSourceEntryID { get; set; } |
| | | public string HMainSourceBillNo { get; set; } |
| | | public long HPrintQty { get; set; } |
| | | public long HSupID { get; set; } |
| | | public long HMaterID { get; set; } |
| | | public decimal HInStockQty { get; set; } |
| | | public decimal HCheckQty { get; set; } |
| | | public decimal HRightQty { get; set; } |
| | | public decimal HBadQty { get; set; } |
| | | public long HFirstCheckEmp { get; set; } |
| | | public string HCheckerResult { get; set; } |
| | | public string HSteelStoveNo { get; set; } |
| | | public string HSteelCompReport { get; set; } |
| | | public string HAspect { get; set; } |
| | | public string HSize { get; set; } |
| | | |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Web; |
| | | |
| | | namespace WebAPI.Models |
| | | { |
| | | public class QC_POStockInCheckBillSub |
| | | { |
| | | public long HInterID { get; set; } |
| | | public long HEntryID { get; set; } |
| | | public string HBillNo_bak { get; set; } |
| | | public string HCloseMan { get; set; } |
| | | public DateTime HEntryCloseDate { get; set; } |
| | | public long HCloseType { get; set; } |
| | | public string HRemark { get; set; } |
| | | public long HSourceInterID { get; set; } |
| | | public long HSourceEntryID { get; set; } |
| | | public string HSourceBillNo { get; set; } |
| | | public string HSourceBillType { get; set; } |
| | | public decimal HRelationQty { get; set; } |
| | | public decimal HRelationMoney { get; set; } |
| | | public long HQCCheckClassID { get; set; } |
| | | public long HQCCheckItemID { get; set; } |
| | | public string HQCStd { get; set; } |
| | | public string HQCRelValue { get; set; } |
| | | public string HResult { get; set; } |
| | | public long HProcCheckEmp { get; set; } |
| | | public DateTime HProcCheckTime { get; set; } |
| | | |
| | | } |
| | | } |
| | |
| | | </PropertyGroup> |
| | | <ItemGroup> |
| | | <File Include="apiapp.json"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:16</publishTime> |
| | | </File> |
| | | <File Include="bin/Antlr3.Runtime.dll"> |
| | | <publishTime>02/22/2013 08:43:40</publishTime> |
| | |
| | | <publishTime>02/22/2013 08:43:40</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.dll"> |
| | | <publishTime>11/01/2021 10:28:49</publishTime> |
| | | <publishTime>11/04/2021 16:46:04</publishTime> |
| | | </File> |
| | | <File Include="bin/BLL.pdb"> |
| | | <publishTime>11/01/2021 10:28:49</publishTime> |
| | | <publishTime>11/04/2021 16:46:04</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.dll"> |
| | | <publishTime>11/01/2021 10:28:47</publishTime> |
| | | <publishTime>11/04/2021 16:46:02</publishTime> |
| | | </File> |
| | | <File Include="bin/DAL.pdb"> |
| | | <publishTime>11/01/2021 10:28:47</publishTime> |
| | | <publishTime>11/04/2021 16:46:02</publishTime> |
| | | </File> |
| | | <File Include="bin/Dapper.dll"> |
| | | <publishTime>07/22/2016 14:52:40</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.dll"> |
| | | <publishTime>10/25/2021 09:28:38</publishTime> |
| | | <publishTime>11/04/2021 16:45:59</publishTime> |
| | | </File> |
| | | <File Include="bin/DBUtility.pdb"> |
| | | <publishTime>10/25/2021 09:28:38</publishTime> |
| | | <publishTime>11/04/2021 16:45:59</publishTime> |
| | | </File> |
| | | <File Include="bin/Interop.gregn6Lib.dll"> |
| | | <publishTime>08/25/2021 10:28:25</publishTime> |
| | | </File> |
| | | <File Include="bin/Kingdee.BOS.WebApi.Client.dll"> |
| | | <publishTime>10/14/2021 09:42:44</publishTime> |
| | | <publishTime>08/16/2021 17:23:13</publishTime> |
| | | </File> |
| | | <File Include="bin/Kingdee.BOS.WebApi.FormService.dll"> |
| | | <publishTime>09/20/2018 19:23:20</publishTime> |
| | |
| | | <publishTime>07/25/2012 11:48:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.dll"> |
| | | <publishTime>11/01/2021 10:28:44</publishTime> |
| | | <publishTime>11/04/2021 16:45:59</publishTime> |
| | | </File> |
| | | <File Include="bin/Model.pdb"> |
| | | <publishTime>11/01/2021 10:28:44</publishTime> |
| | | <publishTime>11/04/2021 16:45:59</publishTime> |
| | | </File> |
| | | <File Include="bin/Models/ClsSc_MouldScrapOutBillMain.cs"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="bin/Newtonsoft.Json.dll"> |
| | | <publishTime>08/03/2014 20:33:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.dll"> |
| | | <publishTime>10/25/2021 09:28:37</publishTime> |
| | | <publishTime>11/04/2021 16:45:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Class.pdb"> |
| | | <publishTime>10/25/2021 09:28:37</publishTime> |
| | | <publishTime>11/04/2021 16:45:56</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.dll"> |
| | | <publishTime>10/25/2021 09:28:38</publishTime> |
| | | <publishTime>11/04/2021 16:45:57</publishTime> |
| | | </File> |
| | | <File Include="bin/Pub_Control.pdb"> |
| | | <publishTime>10/25/2021 09:28:38</publishTime> |
| | | <publishTime>11/04/2021 16:45:57</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.dll"> |
| | | <publishTime>10/25/2021 09:28:38</publishTime> |
| | | <publishTime>11/04/2021 16:45:58</publishTime> |
| | | </File> |
| | | <File Include="bin/SQLHelper.pdb"> |
| | | <publishTime>10/25/2021 09:28:38</publishTime> |
| | | <publishTime>11/04/2021 16:45:58</publishTime> |
| | | </File> |
| | | <File Include="bin/stdole.dll"> |
| | | <publishTime>05/09/2021 13:35:37</publishTime> |
| | |
| | | <publishTime>11/28/2018 13:01:00</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Web.Http.WebHost.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="bin/System.Web.Mvc.dll"> |
| | | <publishTime>01/28/2015 04:02:18</publishTime> |
| | |
| | | <publishTime>11/24/2014 11:18:48</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.dll"> |
| | | <publishTime>10/29/2021 09:40:54</publishTime> |
| | | <publishTime>11/04/2021 16:46:08</publishTime> |
| | | </File> |
| | | <File Include="bin/WebAPI.pdb"> |
| | | <publishTime>10/29/2021 09:40:54</publishTime> |
| | | <publishTime>11/04/2021 16:46:08</publishTime> |
| | | </File> |
| | | <File Include="bin/WebGrease.dll"> |
| | | <publishTime>07/17/2013 17:03:52</publishTime> |
| | |
| | | <publishTime>11/29/2018 13:26:30</publishTime> |
| | | </File> |
| | | <File Include="Content/bootstrap.css"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Content/bootstrap.min.css"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Content/Site.css"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="DLL/BLL.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="DLL/DAL.dll"> |
| | | <publishTime>10/27/2021 13:49:58</publishTime> |
| | | <publishTime>10/29/2021 19:50:53</publishTime> |
| | | </File> |
| | | <File Include="DLL/DBUtility.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="DLL/Kingdee.BOS.WebApi.Client.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="DLL/Model.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="DLL/Newtonsoft.Json.Net35.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="DLL/Pub_Class.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="DLL/Pub_Control.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="DLL/SQLHelper.dll"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="fonts/glyphicons-halflings-regular.eot"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:16</publishTime> |
| | | </File> |
| | | <File Include="fonts/glyphicons-halflings-regular.svg"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:16</publishTime> |
| | | </File> |
| | | <File Include="fonts/glyphicons-halflings-regular.ttf"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:16</publishTime> |
| | | </File> |
| | | <File Include="fonts/glyphicons-halflings-regular.woff"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:16</publishTime> |
| | | </File> |
| | | <File Include="Global.asax"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Index.html"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Metadata/deploymentTemplates/apiappconfig.azureresource.json"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="packages.config"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:16</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/bootstrap.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/bootstrap.min.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery-1.10.2.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery-1.10.2.min.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery-1.10.2.min.map"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery.validate.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery.validate.min.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery.validate.unobtrusive.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/jquery.validate.unobtrusive.min.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Scripts/modernizr-2.6.2.js"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Shared/Error.cshtml"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/Shared/_Layout.cshtml"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/web.config"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Views/_ViewStart.cshtml"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Customer_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Department_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Employee_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_StockPlace_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Supplier_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsCLD_Warehouse_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_BadReason_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_BarCodeBill_WMS_Model_View.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Customer_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Department_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Employee_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Group_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Item30JiTai_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Source_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_StockPlace_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Supplier_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsGy_Warehouse_Model.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/ClsKf_ICStockBill_WMS.datasource"> |
| | | <publishTime>10/14/2021 09:42:47</publishTime> |
| | | <publishTime>08/16/2021 17:23:15</publishTime> |
| | | </File> |
| | | <File Include="Web References/WebS/Reference.map"> |
| | | <publishTime>08/06/2021 22:57:28</publishTime> |
| | | </File> |
| | | <File Include="Web.config"> |
| | | <publishTime>10/25/2021 09:28:44</publishTime> |
| | | <publishTime>11/04/2021 16:46:18</publishTime> |
| | | </File> |
| | | </ItemGroup> |
| | | </Project> |
| | |
| | | <Compile Include="Controllers\Open_PrintTemController.cs" /> |
| | | <Compile Include="Controllers\Pay_OtherBalBillController.cs" /> |
| | | <Compile Include="Controllers\Pay_GroupBalBillController.cs" /> |
| | | <Compile Include="Controllers\QC_POStockInCheckBillController.cs" /> |
| | | <Compile Include="Controllers\Pay_WorkTimesBillController.cs" /> |
| | | <Compile Include="Controllers\Pay_SingleBalBillController.cs" /> |
| | | <Compile Include="Controllers\ProductionOrderController.cs" /> |
| | |
| | | <Compile Include="Controllers\XSGL\Xs_SeOrderBillController.cs" /> |
| | | <Compile Include="Controllers\å质管ç\å·¥åºæ£éªå\QC_ProcessCheckBillController.cs" /> |
| | | <Compile Include="Controllers\å质管ç\é¦ä»¶æ£éªå\QC_FirstPieceCheckBillController.cs" /> |
| | | <Compile Include="Controllers\åºç¡èµæ\åºç¡èµæ\Gy_DotCheckBillController.cs" /> |
| | | <Compile Include="Controllers\åºç¡èµæ\åºç¡èµæ\Gy_MaintainBillController.cs" /> |
| | | <Compile Include="Controllers\åºç¡èµæ\åºç¡èµæ\Gy_RepairBillController.cs" /> |
| | | <Compile Include="Controllers\åºç¡èµæ\åºç¡èµæ\Gy_RepairCheckBillController.cs" /> |
| | | <Compile Include="Controllers\åºç¡èµæ\å·¥èµåºç¡èµæ\Gy_ProcPriceController.cs" /> |
| | | <Compile Include="Controllers\ç产管ç\ç产任å¡å\Sc_ICMOBillController.cs" /> |
| | | <Compile Include="Controllers\ç产管ç\è´¨éæ±æ¥å\Sc_QualityReportBillController.cs" /> |
| | |
| | | <Compile Include="Models\ApiConfig.cs" /> |
| | | <Compile Include="Models\ApiResult.cs" /> |
| | | <Compile Include="Models\CheckItem.cs" /> |
| | | <Compile Include="Models\ClsGy_DotCheck.cs" /> |
| | | <Compile Include="Models\ClsGy_Maintain.cs" /> |
| | | <Compile Include="Models\ClsGy_Repair.cs" /> |
| | | <Compile Include="Models\ClsGy_RepairCheck.cs" /> |
| | | <Compile Include="Models\Gy_OrderBackInfo.cs" /> |
| | | <Compile Include="Models\Gy_OrderLevList.cs" /> |
| | | <Compile Include="Models\ClsGy_EquipFileMain.cs" /> |
| | |
| | | <Compile Include="Models\ClsGy_ProcPrice.cs" /> |
| | | <Compile Include="Models\Gy_WorkType.cs" /> |
| | | <Compile Include="Models\Gy_WorkPayType.cs" /> |
| | | <Compile Include="Models\QC_POStockInCheckBillSub.cs" /> |
| | | <Compile Include="Models\QC_POStockInCheckBill.cs" /> |
| | | <Compile Include="Models\Xt_DataDictionary_Proc.cs" /> |
| | | <Compile Include="Models\Xt_DataDictionary_View.cs" /> |
| | | <Compile Include="Models\Xt_DataDictionary_Table.cs" /> |
| | |
| | | <Compile Include="æµè½¬å¡ç®¡ç\MES_StationOutBill.designer.cs"> |
| | | <DependentUpon>MES_StationOutBill.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="æµè½¬å¡ç®¡ç\MES_StationOutBillList_BaoFei.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="æµè½¬å¡ç®¡ç\MES_StationOutBillList_BaoFei.designer.cs"> |
| | | <DependentUpon>MES_StationOutBillList_BaoFei.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="æµè½¬å¡ç®¡ç\MES_StationOutBillList_GeLi.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="æµè½¬å¡ç®¡ç\MES_StationOutBillList_GeLi.designer.cs"> |
| | | <DependentUpon>MES_StationOutBillList_GeLi.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="æµè½¬å¡ç®¡ç\MES_StationOutBillList_Bad.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | |
| | | <DependentUpon>MES_StationOutBill.cs</DependentUpon> |
| | | <SubType>Designer</SubType> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="æµè½¬å¡ç®¡ç\MES_StationOutBillList_BaoFei.resx"> |
| | | <DependentUpon>MES_StationOutBillList_BaoFei.cs</DependentUpon> |
| | | <SubType>Designer</SubType> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="æµè½¬å¡ç®¡ç\MES_StationOutBillList_GeLi.resx"> |
| | | <DependentUpon>MES_StationOutBillList_GeLi.cs</DependentUpon> |
| | | <SubType>Designer</SubType> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="æµè½¬å¡ç®¡ç\MES_StationOutBillList_Bad.resx"> |
| | | <DependentUpon>MES_StationOutBillList_Bad.cs</DependentUpon> |
| | | <SubType>Designer</SubType> |
| | |
| | | { |
| | | dtpHFDate.Value = DateTime.Today; |
| | | dtpHEDate.Value = DateTime.Today; |
| | | cmbHType.Text = "å
¨é¨"; |
| | | } |
| | | |
| | | private bool Fun_AllowQuery()//å®¡æ ¸æ¥è¯¢æ¡ä»¶ |
| | |
| | | //è¿æ»¤æ¡ä»¶Dlg |
| | | string sDlgWhere = ""; |
| | | sDlgWhere = sDlgWhere + ",'" + dtpHFDate.Value.ToShortDateString() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + txtHWorkCenter.Text.Trim() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + txtHSupName.Text.Trim() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + txtHExProcNo.Text.Trim() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + txtHOrderProcNo.Text.Trim() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + cmbHType.Text.Trim() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + txtHProcName.Text.Trim() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + txtHMaterNumber.Text.Trim() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + txtHMaterName.Text.Trim() + "'"; |
| | | sDlgWhere = sDlgWhere + ",'" + txtHMaterModel.Text.Trim() + "'"; |
| | | |
| | | if (sDlgWhere.Trim().Length > 0) |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | private void cmdHWorkCenter_Click(object sender, EventArgs e) |
| | | { |
| | | BLL.ClsBaseSelect.SetTextByWorkCenter(txtHWorkCenter); |
| | | } |
| | | |
| | | private void cmdHSupName_Click(object sender, EventArgs e) |
| | | { |
| | | BLL.ClsBaseSelect.SetTextBySupplier(txtHSupName); |
| | | } |
| | | |
| | | private void grdMain_Scroll(object sender, ScrollEventArgs e) |
| | | { |
| | |
| | | DBUtility.Gy_BaseFun.DataGridViewToExcel2(grdMain, this.Text, this.Text); |
| | | } |
| | | |
| | | |
| | | |
| | | //æ¸
空æé® |
| | | private void btnClear_Click(object sender, EventArgs e) |
| | | { |
| | | dtpHFDate.Value = DateTime.Today; |
| | | cmbHType.Text = "å
¨é¨"; |
| | | txtHProcName.Text = ""; |
| | | txtHMaterNumber.Text = ""; |
| | | txtHMaterName.Text = ""; |
| | | txtHMaterModel.Text = ""; |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | this.bclk = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.pPic = new System.Windows.Forms.Panel(); |
| | | this.txtHMaterModel = new System.Windows.Forms.TextBox(); |
| | | this.label9 = new System.Windows.Forms.Label(); |
| | | this.lbljl = new System.Windows.Forms.Label(); |
| | | this.lbldj = new System.Windows.Forms.Label(); |
| | | this.cmdHWorkCenter = new System.Windows.Forms.Button(); |
| | | this.cmdHSupName = new System.Windows.Forms.Button(); |
| | | this.txtHExProcNo = new System.Windows.Forms.TextBox(); |
| | | this.txtHWorkCenter = new System.Windows.Forms.TextBox(); |
| | | this.txtHSupName = new System.Windows.Forms.TextBox(); |
| | | this.txtHOrderProcNo = new System.Windows.Forms.TextBox(); |
| | | this.label8 = new System.Windows.Forms.Label(); |
| | | this.txtHProcName = new System.Windows.Forms.TextBox(); |
| | | this.txtHMaterNumber = new System.Windows.Forms.TextBox(); |
| | | this.txtHMaterName = new System.Windows.Forms.TextBox(); |
| | | this.label7 = new System.Windows.Forms.Label(); |
| | | this.label5 = new System.Windows.Forms.Label(); |
| | | this.label2 = new System.Windows.Forms.Label(); |
| | |
| | | this.timer2 = new System.Windows.Forms.Timer(this.components); |
| | | this.grdMain = new System.Windows.Forms.DataGridView(); |
| | | this.grdSum = new System.Windows.Forms.DataGridView(); |
| | | this.txtHMaterNumber = new System.Windows.Forms.TextBox(); |
| | | this.label9 = new System.Windows.Forms.Label(); |
| | | this.cmbHType = new System.Windows.Forms.ComboBox(); |
| | | this.label10 = new System.Windows.Forms.Label(); |
| | | this.btnClear = new System.Windows.Forms.Button(); |
| | | this.Tool.SuspendLayout(); |
| | | this.pPic.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); |
| | |
| | | this.Tool.Location = new System.Drawing.Point(0, 0); |
| | | this.Tool.Name = "Tool"; |
| | | this.Tool.Padding = new System.Windows.Forms.Padding(0); |
| | | this.Tool.Size = new System.Drawing.Size(1400, 59); |
| | | this.Tool.Size = new System.Drawing.Size(1050, 47); |
| | | this.Tool.Stretch = true; |
| | | this.Tool.TabIndex = 16; |
| | | this.Tool.Text = "toolStrip1"; |
| | |
| | | this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; |
| | | this.toolStripDropDownButton1.Size = new System.Drawing.Size(52, 56); |
| | | this.toolStripDropDownButton1.Size = new System.Drawing.Size(45, 44); |
| | | this.toolStripDropDownButton1.Text = "å¼åº"; |
| | | this.toolStripDropDownButton1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.toolStripDropDownButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | |
| | | // eXCELToolStripMenuItem |
| | | // |
| | | this.eXCELToolStripMenuItem.Name = "eXCELToolStripMenuItem"; |
| | | this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(122, 24); |
| | | this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(112, 22); |
| | | this.eXCELToolStripMenuItem.Text = "EXCEL"; |
| | | this.eXCELToolStripMenuItem.Click += new System.EventHandler(this.eXCELToolStripMenuItem_Click); |
| | | // |
| | | // cSVToolStripMenuItem |
| | | // |
| | | this.cSVToolStripMenuItem.Name = "cSVToolStripMenuItem"; |
| | | this.cSVToolStripMenuItem.Size = new System.Drawing.Size(122, 24); |
| | | this.cSVToolStripMenuItem.Size = new System.Drawing.Size(112, 22); |
| | | this.cSVToolStripMenuItem.Text = "CSV"; |
| | | this.cSVToolStripMenuItem.Click += new System.EventHandler(this.cSVToolStripMenuItem_Click); |
| | | // |
| | |
| | | // toolStripSeparator4 |
| | | // |
| | | this.toolStripSeparator4.Name = "toolStripSeparator4"; |
| | | this.toolStripSeparator4.Size = new System.Drawing.Size(6, 59); |
| | | this.toolStripSeparator4.Size = new System.Drawing.Size(6, 47); |
| | | this.toolStripSeparator4.Visible = false; |
| | | // |
| | | // dy |
| | |
| | | // toolStripSeparator2 |
| | | // |
| | | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
| | | this.toolStripSeparator2.Size = new System.Drawing.Size(6, 59); |
| | | this.toolStripSeparator2.Size = new System.Drawing.Size(6, 47); |
| | | // |
| | | // cx |
| | | // |
| | |
| | | // toolStripSeparator1 |
| | | // |
| | | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
| | | this.toolStripSeparator1.Size = new System.Drawing.Size(6, 59); |
| | | this.toolStripSeparator1.Size = new System.Drawing.Size(6, 47); |
| | | // |
| | | // tc |
| | | // |
| | |
| | | // toolStripSeparator3 |
| | | // |
| | | this.toolStripSeparator3.Name = "toolStripSeparator3"; |
| | | this.toolStripSeparator3.Size = new System.Drawing.Size(6, 59); |
| | | this.toolStripSeparator3.Size = new System.Drawing.Size(6, 47); |
| | | // |
| | | // toolStripSeparator8 |
| | | // |
| | | this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator8.Name = "toolStripSeparator8"; |
| | | this.toolStripSeparator8.Size = new System.Drawing.Size(6, 59); |
| | | this.toolStripSeparator8.Size = new System.Drawing.Size(6, 47); |
| | | // |
| | | // mrlk |
| | | // |
| | |
| | | this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.mrlk.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.mrlk.Name = "mrlk"; |
| | | this.mrlk.Size = new System.Drawing.Size(73, 56); |
| | | this.mrlk.Size = new System.Drawing.Size(60, 44); |
| | | this.mrlk.Text = "é»è®¤å宽"; |
| | | this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | |
| | | // |
| | | this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator7.Name = "toolStripSeparator7"; |
| | | this.toolStripSeparator7.Size = new System.Drawing.Size(6, 59); |
| | | this.toolStripSeparator7.Size = new System.Drawing.Size(6, 47); |
| | | // |
| | | // bclk |
| | | // |
| | |
| | | this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.bclk.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.bclk.Name = "bclk"; |
| | | this.bclk.Size = new System.Drawing.Size(73, 56); |
| | | this.bclk.Size = new System.Drawing.Size(60, 44); |
| | | this.bclk.Text = "ä¿åå宽"; |
| | | this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | |
| | | // |
| | | this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator9.Name = "toolStripSeparator9"; |
| | | this.toolStripSeparator9.Size = new System.Drawing.Size(6, 59); |
| | | this.toolStripSeparator9.Size = new System.Drawing.Size(6, 47); |
| | | // |
| | | // pPic |
| | | // |
| | | this.pPic.BackColor = System.Drawing.Color.White; |
| | | this.pPic.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pPic.BackgroundImage"))); |
| | | this.pPic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; |
| | | this.pPic.Controls.Add(this.txtHMaterNumber); |
| | | this.pPic.Controls.Add(this.btnClear); |
| | | this.pPic.Controls.Add(this.cmbHType); |
| | | this.pPic.Controls.Add(this.label10); |
| | | this.pPic.Controls.Add(this.txtHMaterModel); |
| | | this.pPic.Controls.Add(this.label9); |
| | | this.pPic.Controls.Add(this.lbljl); |
| | | this.pPic.Controls.Add(this.lbldj); |
| | | this.pPic.Controls.Add(this.cmdHWorkCenter); |
| | | this.pPic.Controls.Add(this.cmdHSupName); |
| | | this.pPic.Controls.Add(this.txtHExProcNo); |
| | | this.pPic.Controls.Add(this.txtHWorkCenter); |
| | | this.pPic.Controls.Add(this.txtHSupName); |
| | | this.pPic.Controls.Add(this.txtHOrderProcNo); |
| | | this.pPic.Controls.Add(this.label8); |
| | | this.pPic.Controls.Add(this.txtHProcName); |
| | | this.pPic.Controls.Add(this.txtHMaterNumber); |
| | | this.pPic.Controls.Add(this.txtHMaterName); |
| | | this.pPic.Controls.Add(this.label7); |
| | | this.pPic.Controls.Add(this.label5); |
| | | this.pPic.Controls.Add(this.label2); |
| | |
| | | this.pPic.Controls.Add(this.label4); |
| | | this.pPic.Controls.Add(this.lblCaption); |
| | | this.pPic.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.pPic.Location = new System.Drawing.Point(0, 59); |
| | | this.pPic.Margin = new System.Windows.Forms.Padding(4); |
| | | this.pPic.Location = new System.Drawing.Point(0, 47); |
| | | this.pPic.Name = "pPic"; |
| | | this.pPic.Size = new System.Drawing.Size(1400, 69); |
| | | this.pPic.Size = new System.Drawing.Size(1050, 55); |
| | | this.pPic.TabIndex = 17; |
| | | // |
| | | // txtHMaterModel |
| | | // |
| | | this.txtHMaterModel.Location = new System.Drawing.Point(680, 27); |
| | | this.txtHMaterModel.Name = "txtHMaterModel"; |
| | | this.txtHMaterModel.Size = new System.Drawing.Size(111, 21); |
| | | this.txtHMaterModel.TabIndex = 82; |
| | | // |
| | | // label9 |
| | | // |
| | | this.label9.AutoSize = true; |
| | | this.label9.BackColor = System.Drawing.Color.Transparent; |
| | | this.label9.Location = new System.Drawing.Point(625, 31); |
| | | this.label9.Name = "label9"; |
| | | this.label9.Size = new System.Drawing.Size(53, 12); |
| | | this.label9.TabIndex = 81; |
| | | this.label9.Text = "è§æ ¼åå·"; |
| | | // |
| | | // lbljl |
| | | // |
| | | this.lbljl.AutoSize = true; |
| | | this.lbljl.Location = new System.Drawing.Point(1063, 39); |
| | | this.lbljl.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lbljl.Location = new System.Drawing.Point(797, 31); |
| | | this.lbljl.Name = "lbljl"; |
| | | this.lbljl.Size = new System.Drawing.Size(15, 15); |
| | | this.lbljl.Size = new System.Drawing.Size(11, 12); |
| | | this.lbljl.TabIndex = 80; |
| | | this.lbljl.Text = " "; |
| | | // |
| | | // lbldj |
| | | // |
| | | this.lbldj.AutoSize = true; |
| | | this.lbldj.Location = new System.Drawing.Point(1063, 16); |
| | | this.lbldj.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lbldj.Location = new System.Drawing.Point(797, 13); |
| | | this.lbldj.Name = "lbldj"; |
| | | this.lbldj.Size = new System.Drawing.Size(0, 15); |
| | | this.lbldj.Size = new System.Drawing.Size(0, 12); |
| | | this.lbldj.TabIndex = 79; |
| | | // |
| | | // cmdHWorkCenter |
| | | // txtHProcName |
| | | // |
| | | this.cmdHWorkCenter.Image = ((System.Drawing.Image)(resources.GetObject("cmdHWorkCenter.Image"))); |
| | | this.cmdHWorkCenter.ImageAlign = System.Drawing.ContentAlignment.TopRight; |
| | | this.cmdHWorkCenter.Location = new System.Drawing.Point(529, 35); |
| | | this.cmdHWorkCenter.Margin = new System.Windows.Forms.Padding(4); |
| | | this.cmdHWorkCenter.Name = "cmdHWorkCenter"; |
| | | this.cmdHWorkCenter.Size = new System.Drawing.Size(29, 28); |
| | | this.cmdHWorkCenter.TabIndex = 78; |
| | | this.cmdHWorkCenter.UseVisualStyleBackColor = true; |
| | | this.cmdHWorkCenter.Click += new System.EventHandler(this.cmdHWorkCenter_Click); |
| | | this.txtHProcName.Location = new System.Drawing.Point(680, 3); |
| | | this.txtHProcName.Name = "txtHProcName"; |
| | | this.txtHProcName.Size = new System.Drawing.Size(111, 21); |
| | | this.txtHProcName.TabIndex = 76; |
| | | // |
| | | // cmdHSupName |
| | | // txtHMaterNumber |
| | | // |
| | | this.cmdHSupName.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSupName.Image"))); |
| | | this.cmdHSupName.ImageAlign = System.Drawing.ContentAlignment.TopRight; |
| | | this.cmdHSupName.Location = new System.Drawing.Point(870, 35); |
| | | this.cmdHSupName.Margin = new System.Windows.Forms.Padding(4); |
| | | this.cmdHSupName.Name = "cmdHSupName"; |
| | | this.cmdHSupName.Size = new System.Drawing.Size(29, 28); |
| | | this.cmdHSupName.TabIndex = 77; |
| | | this.cmdHSupName.UseVisualStyleBackColor = true; |
| | | this.cmdHSupName.Click += new System.EventHandler(this.cmdHSupName_Click); |
| | | this.txtHMaterNumber.Location = new System.Drawing.Point(330, 27); |
| | | this.txtHMaterNumber.Name = "txtHMaterNumber"; |
| | | this.txtHMaterNumber.Size = new System.Drawing.Size(111, 21); |
| | | this.txtHMaterNumber.TabIndex = 75; |
| | | // |
| | | // txtHExProcNo |
| | | // txtHMaterName |
| | | // |
| | | this.txtHExProcNo.Location = new System.Drawing.Point(535, 6); |
| | | this.txtHExProcNo.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHExProcNo.Name = "txtHExProcNo"; |
| | | this.txtHExProcNo.Size = new System.Drawing.Size(160, 25); |
| | | this.txtHExProcNo.TabIndex = 76; |
| | | // |
| | | // txtHWorkCenter |
| | | // |
| | | this.txtHWorkCenter.Location = new System.Drawing.Point(294, 36); |
| | | this.txtHWorkCenter.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHWorkCenter.Name = "txtHWorkCenter"; |
| | | this.txtHWorkCenter.Size = new System.Drawing.Size(232, 25); |
| | | this.txtHWorkCenter.TabIndex = 75; |
| | | // |
| | | // txtHSupName |
| | | // |
| | | this.txtHSupName.Location = new System.Drawing.Point(656, 36); |
| | | this.txtHSupName.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHSupName.Name = "txtHSupName"; |
| | | this.txtHSupName.Size = new System.Drawing.Size(211, 25); |
| | | this.txtHSupName.TabIndex = 74; |
| | | // |
| | | // txtHOrderProcNo |
| | | // |
| | | this.txtHOrderProcNo.Location = new System.Drawing.Point(294, 8); |
| | | this.txtHOrderProcNo.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHOrderProcNo.Name = "txtHOrderProcNo"; |
| | | this.txtHOrderProcNo.Size = new System.Drawing.Size(160, 25); |
| | | this.txtHOrderProcNo.TabIndex = 73; |
| | | // |
| | | // label8 |
| | | // |
| | | this.label8.AutoSize = true; |
| | | this.label8.BackColor = System.Drawing.Color.Transparent; |
| | | this.label8.Location = new System.Drawing.Point(205, 12); |
| | | this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label8.Name = "label8"; |
| | | this.label8.Size = new System.Drawing.Size(82, 15); |
| | | this.label8.TabIndex = 72; |
| | | this.label8.Text = "订åè·è¸ªå·"; |
| | | this.txtHMaterName.Location = new System.Drawing.Point(505, 27); |
| | | this.txtHMaterName.Name = "txtHMaterName"; |
| | | this.txtHMaterName.Size = new System.Drawing.Size(111, 21); |
| | | this.txtHMaterName.TabIndex = 74; |
| | | // |
| | | // label7 |
| | | // |
| | | this.label7.AutoSize = true; |
| | | this.label7.BackColor = System.Drawing.Color.Transparent; |
| | | this.label7.Location = new System.Drawing.Point(463, 11); |
| | | this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label7.Location = new System.Drawing.Point(625, 7); |
| | | this.label7.Name = "label7"; |
| | | this.label7.Size = new System.Drawing.Size(67, 15); |
| | | this.label7.Size = new System.Drawing.Size(53, 12); |
| | | this.label7.TabIndex = 71; |
| | | this.label7.Text = "æµè½¬å¡å·"; |
| | | this.label7.Text = "å·¥åºåç§°"; |
| | | // |
| | | // label5 |
| | | // |
| | | this.label5.AutoSize = true; |
| | | this.label5.BackColor = System.Drawing.Color.Transparent; |
| | | this.label5.Location = new System.Drawing.Point(596, 39); |
| | | this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label5.Location = new System.Drawing.Point(450, 31); |
| | | this.label5.Name = "label5"; |
| | | this.label5.Size = new System.Drawing.Size(52, 15); |
| | | this.label5.Size = new System.Drawing.Size(53, 12); |
| | | this.label5.TabIndex = 70; |
| | | this.label5.Text = "ä¾åºå"; |
| | | this.label5.Text = "ç©æåç§°"; |
| | | // |
| | | // label2 |
| | | // |
| | | this.label2.AutoSize = true; |
| | | this.label2.BackColor = System.Drawing.Color.Transparent; |
| | | this.label2.Location = new System.Drawing.Point(212, 39); |
| | | this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label2.Location = new System.Drawing.Point(275, 31); |
| | | this.label2.Name = "label2"; |
| | | this.label2.Size = new System.Drawing.Size(67, 15); |
| | | this.label2.Size = new System.Drawing.Size(53, 12); |
| | | this.label2.TabIndex = 69; |
| | | this.label2.Text = "å·¥ä½ä¸å¿"; |
| | | this.label2.Text = "ç©æä»£ç "; |
| | | // |
| | | // dataGridView1 |
| | | // |
| | | this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.dataGridView1.Location = new System.Drawing.Point(906, 8); |
| | | this.dataGridView1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.dataGridView1.Location = new System.Drawing.Point(995, 10); |
| | | this.dataGridView1.Name = "dataGridView1"; |
| | | this.dataGridView1.RowTemplate.Height = 23; |
| | | this.dataGridView1.Size = new System.Drawing.Size(36, 19); |
| | | this.dataGridView1.Size = new System.Drawing.Size(27, 15); |
| | | this.dataGridView1.TabIndex = 68; |
| | | this.dataGridView1.Visible = false; |
| | | // |
| | | // dtpHFDate |
| | | // |
| | | this.dtpHFDate.Format = System.Windows.Forms.DateTimePickerFormat.Short; |
| | | this.dtpHFDate.Location = new System.Drawing.Point(751, 6); |
| | | this.dtpHFDate.Margin = new System.Windows.Forms.Padding(4); |
| | | this.dtpHFDate.Location = new System.Drawing.Point(330, 3); |
| | | this.dtpHFDate.Name = "dtpHFDate"; |
| | | this.dtpHFDate.Size = new System.Drawing.Size(147, 25); |
| | | this.dtpHFDate.Size = new System.Drawing.Size(111, 21); |
| | | this.dtpHFDate.TabIndex = 59; |
| | | // |
| | | // label4 |
| | | // |
| | | this.label4.AutoSize = true; |
| | | this.label4.BackColor = System.Drawing.Color.Transparent; |
| | | this.label4.Location = new System.Drawing.Point(704, 11); |
| | | this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label4.Location = new System.Drawing.Point(299, 7); |
| | | this.label4.Name = "label4"; |
| | | this.label4.Size = new System.Drawing.Size(37, 15); |
| | | this.label4.Size = new System.Drawing.Size(29, 12); |
| | | this.label4.TabIndex = 58; |
| | | this.label4.Text = "æ¶é´"; |
| | | // |
| | |
| | | this.lblCaption.BackColor = System.Drawing.Color.Transparent; |
| | | this.lblCaption.Cursor = System.Windows.Forms.Cursors.No; |
| | | this.lblCaption.Font = new System.Drawing.Font("å®ä½", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.lblCaption.Location = new System.Drawing.Point(16, 20); |
| | | this.lblCaption.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lblCaption.Location = new System.Drawing.Point(12, 16); |
| | | this.lblCaption.Name = "lblCaption"; |
| | | this.lblCaption.Size = new System.Drawing.Size(179, 24); |
| | | this.lblCaption.Size = new System.Drawing.Size(152, 19); |
| | | this.lblCaption.TabIndex = 4; |
| | | this.lblCaption.Text = "ReportTemplet"; |
| | | // |
| | |
| | | // |
| | | this.cmdHEDeptID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEDeptID.Image"))); |
| | | this.cmdHEDeptID.ImageAlign = System.Drawing.ContentAlignment.TopRight; |
| | | this.cmdHEDeptID.Location = new System.Drawing.Point(967, 189); |
| | | this.cmdHEDeptID.Margin = new System.Windows.Forms.Padding(4); |
| | | this.cmdHEDeptID.Location = new System.Drawing.Point(725, 151); |
| | | this.cmdHEDeptID.Name = "cmdHEDeptID"; |
| | | this.cmdHEDeptID.Size = new System.Drawing.Size(29, 28); |
| | | this.cmdHEDeptID.Size = new System.Drawing.Size(22, 22); |
| | | this.cmdHEDeptID.TabIndex = 67; |
| | | this.cmdHEDeptID.UseVisualStyleBackColor = true; |
| | | this.cmdHEDeptID.Visible = false; |
| | |
| | | // |
| | | this.cmdHBDeptID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHBDeptID.Image"))); |
| | | this.cmdHBDeptID.ImageAlign = System.Drawing.ContentAlignment.TopRight; |
| | | this.cmdHBDeptID.Location = new System.Drawing.Point(1026, 230); |
| | | this.cmdHBDeptID.Margin = new System.Windows.Forms.Padding(4); |
| | | this.cmdHBDeptID.Location = new System.Drawing.Point(770, 184); |
| | | this.cmdHBDeptID.Name = "cmdHBDeptID"; |
| | | this.cmdHBDeptID.Size = new System.Drawing.Size(29, 28); |
| | | this.cmdHBDeptID.Size = new System.Drawing.Size(22, 22); |
| | | this.cmdHBDeptID.TabIndex = 66; |
| | | this.cmdHBDeptID.UseVisualStyleBackColor = true; |
| | | this.cmdHBDeptID.Visible = false; |
| | |
| | | // |
| | | this.label6.AutoSize = true; |
| | | this.label6.BackColor = System.Drawing.Color.Transparent; |
| | | this.label6.Location = new System.Drawing.Point(877, 202); |
| | | this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label6.Location = new System.Drawing.Point(658, 162); |
| | | this.label6.Name = "label6"; |
| | | this.label6.Size = new System.Drawing.Size(22, 15); |
| | | this.label6.Size = new System.Drawing.Size(17, 12); |
| | | this.label6.TabIndex = 65; |
| | | this.label6.Text = "è³"; |
| | | this.label6.Visible = false; |
| | | // |
| | | // txtHEDeptID |
| | | // |
| | | this.txtHEDeptID.Location = new System.Drawing.Point(857, 199); |
| | | this.txtHEDeptID.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHEDeptID.Location = new System.Drawing.Point(643, 159); |
| | | this.txtHEDeptID.Name = "txtHEDeptID"; |
| | | this.txtHEDeptID.Size = new System.Drawing.Size(160, 25); |
| | | this.txtHEDeptID.Size = new System.Drawing.Size(121, 21); |
| | | this.txtHEDeptID.TabIndex = 64; |
| | | this.txtHEDeptID.Visible = false; |
| | | // |
| | | // txtHBDeptID |
| | | // |
| | | this.txtHBDeptID.Location = new System.Drawing.Point(820, 199); |
| | | this.txtHBDeptID.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHBDeptID.Location = new System.Drawing.Point(615, 159); |
| | | this.txtHBDeptID.Name = "txtHBDeptID"; |
| | | this.txtHBDeptID.Size = new System.Drawing.Size(160, 25); |
| | | this.txtHBDeptID.Size = new System.Drawing.Size(121, 21); |
| | | this.txtHBDeptID.TabIndex = 63; |
| | | this.txtHBDeptID.Visible = false; |
| | | // |
| | |
| | | // |
| | | this.label1.AutoSize = true; |
| | | this.label1.BackColor = System.Drawing.Color.Transparent; |
| | | this.label1.Location = new System.Drawing.Point(854, 180); |
| | | this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label1.Location = new System.Drawing.Point(640, 144); |
| | | this.label1.Name = "label1"; |
| | | this.label1.Size = new System.Drawing.Size(61, 15); |
| | | this.label1.Size = new System.Drawing.Size(47, 12); |
| | | this.label1.TabIndex = 62; |
| | | this.label1.Text = "é¨ é¨"; |
| | | this.label1.Visible = false; |
| | |
| | | // dtpHEDate |
| | | // |
| | | this.dtpHEDate.Format = System.Windows.Forms.DateTimePickerFormat.Short; |
| | | this.dtpHEDate.Location = new System.Drawing.Point(782, 221); |
| | | this.dtpHEDate.Margin = new System.Windows.Forms.Padding(4); |
| | | this.dtpHEDate.Location = new System.Drawing.Point(586, 177); |
| | | this.dtpHEDate.Name = "dtpHEDate"; |
| | | this.dtpHEDate.Size = new System.Drawing.Size(147, 25); |
| | | this.dtpHEDate.Size = new System.Drawing.Size(111, 21); |
| | | this.dtpHEDate.TabIndex = 61; |
| | | this.dtpHEDate.Visible = false; |
| | | // |
| | |
| | | // |
| | | this.label3.AutoSize = true; |
| | | this.label3.BackColor = System.Drawing.Color.Transparent; |
| | | this.label3.Location = new System.Drawing.Point(800, 266); |
| | | this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label3.Location = new System.Drawing.Point(600, 213); |
| | | this.label3.Name = "label3"; |
| | | this.label3.Size = new System.Drawing.Size(67, 15); |
| | | this.label3.Size = new System.Drawing.Size(53, 12); |
| | | this.label3.TabIndex = 60; |
| | | this.label3.Text = "ç»ææ¥æ"; |
| | | this.label3.Visible = false; |
| | |
| | | this.grdMain.BackgroundColor = System.Drawing.Color.White; |
| | | this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.grdMain.Location = new System.Drawing.Point(0, 128); |
| | | this.grdMain.Margin = new System.Windows.Forms.Padding(4); |
| | | this.grdMain.Location = new System.Drawing.Point(0, 102); |
| | | this.grdMain.Name = "grdMain"; |
| | | this.grdMain.ReadOnly = true; |
| | | this.grdMain.RowTemplate.Height = 23; |
| | | this.grdMain.Size = new System.Drawing.Size(1400, 520); |
| | | this.grdMain.Size = new System.Drawing.Size(1050, 417); |
| | | this.grdMain.TabIndex = 54; |
| | | this.grdMain.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.grdMain_CellMouseUp); |
| | | this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged); |
| | | this.grdMain.Scroll += new System.Windows.Forms.ScrollEventHandler(this.grdMain_Scroll); |
| | | this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint); |
| | | this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged); |
| | | // |
| | | // grdSum |
| | | // |
| | |
| | | this.grdSum.BackgroundColor = System.Drawing.SystemColors.Control; |
| | | this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.grdSum.Location = new System.Drawing.Point(0, 648); |
| | | this.grdSum.Margin = new System.Windows.Forms.Padding(4); |
| | | this.grdSum.Location = new System.Drawing.Point(0, 519); |
| | | this.grdSum.Name = "grdSum"; |
| | | this.grdSum.ReadOnly = true; |
| | | this.grdSum.RowTemplate.Height = 23; |
| | | this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None; |
| | | this.grdSum.Size = new System.Drawing.Size(1400, 24); |
| | | this.grdSum.Size = new System.Drawing.Size(1050, 19); |
| | | this.grdSum.TabIndex = 55; |
| | | // |
| | | // txtHMaterNumber |
| | | // cmbHType |
| | | // |
| | | this.txtHMaterNumber.Location = new System.Drawing.Point(980, 36); |
| | | this.txtHMaterNumber.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHMaterNumber.Name = "txtHMaterNumber"; |
| | | this.txtHMaterNumber.Size = new System.Drawing.Size(222, 25); |
| | | this.txtHMaterNumber.TabIndex = 82; |
| | | this.cmbHType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
| | | this.cmbHType.FormattingEnabled = true; |
| | | this.cmbHType.Items.AddRange(new object[] { |
| | | "å
¨é¨", |
| | | "å¾
æ¥æ¶", |
| | | "å¨å¶å"}); |
| | | this.cmbHType.Location = new System.Drawing.Point(505, 3); |
| | | this.cmbHType.Name = "cmbHType"; |
| | | this.cmbHType.Size = new System.Drawing.Size(111, 20); |
| | | this.cmbHType.TabIndex = 84; |
| | | // |
| | | // label9 |
| | | // label10 |
| | | // |
| | | this.label9.AutoSize = true; |
| | | this.label9.BackColor = System.Drawing.Color.Transparent; |
| | | this.label9.Location = new System.Drawing.Point(910, 39); |
| | | this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label9.Name = "label9"; |
| | | this.label9.Size = new System.Drawing.Size(67, 15); |
| | | this.label9.TabIndex = 81; |
| | | this.label9.Text = "ç©æä»£ç "; |
| | | this.label10.AutoSize = true; |
| | | this.label10.BackColor = System.Drawing.Color.Transparent; |
| | | this.label10.ForeColor = System.Drawing.Color.Black; |
| | | this.label10.Location = new System.Drawing.Point(474, 7); |
| | | this.label10.Name = "label10"; |
| | | this.label10.Size = new System.Drawing.Size(29, 12); |
| | | this.label10.TabIndex = 83; |
| | | this.label10.Text = "ç¶æ"; |
| | | // |
| | | // btnClear |
| | | // |
| | | this.btnClear.Location = new System.Drawing.Point(799, 2); |
| | | this.btnClear.Name = "btnClear"; |
| | | this.btnClear.Size = new System.Drawing.Size(75, 23); |
| | | this.btnClear.TabIndex = 85; |
| | | this.btnClear.Text = "æ¸
空"; |
| | | this.btnClear.UseVisualStyleBackColor = true; |
| | | this.btnClear.Click += new System.EventHandler(this.btnClear_Click); |
| | | // |
| | | // MES_WIPProcReport |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(1400, 672); |
| | | this.ClientSize = new System.Drawing.Size(1050, 538); |
| | | this.Controls.Add(this.grdMain); |
| | | this.Controls.Add(this.grdSum); |
| | | this.Controls.Add(this.pPic); |
| | |
| | | this.Controls.Add(this.dtpHEDate); |
| | | this.Controls.Add(this.label3); |
| | | this.KeyPreview = true; |
| | | this.Margin = new System.Windows.Forms.Padding(4); |
| | | this.Name = "MES_WIPProcReport"; |
| | | this.Text = "ReportTemplet"; |
| | | this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
| | | this.Load += new System.EventHandler(this.Frm_EasyReport_Load); |
| | | this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.MES_WIPProcReport_KeyUp); |
| | | this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MES_WIPProcReport_KeyDown); |
| | | this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.MES_WIPProcReport_KeyUp); |
| | | this.Tool.ResumeLayout(false); |
| | | this.Tool.PerformLayout(); |
| | | this.pPic.ResumeLayout(false); |
| | |
| | | public System.Windows.Forms.TextBox txtHBDeptID; |
| | | private System.Windows.Forms.Label label1; |
| | | private System.Windows.Forms.DataGridView dataGridView1; |
| | | private System.Windows.Forms.Label label8; |
| | | private System.Windows.Forms.Label label7; |
| | | private System.Windows.Forms.Label label5; |
| | | private System.Windows.Forms.Label label2; |
| | | public System.Windows.Forms.TextBox txtHExProcNo; |
| | | public System.Windows.Forms.TextBox txtHWorkCenter; |
| | | public System.Windows.Forms.TextBox txtHSupName; |
| | | public System.Windows.Forms.TextBox txtHOrderProcNo; |
| | | private System.Windows.Forms.Button cmdHWorkCenter; |
| | | private System.Windows.Forms.Button cmdHSupName; |
| | | public System.Windows.Forms.TextBox txtHProcName; |
| | | public System.Windows.Forms.TextBox txtHMaterNumber; |
| | | public System.Windows.Forms.TextBox txtHMaterName; |
| | | private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1; |
| | | private System.Windows.Forms.ToolStripMenuItem eXCELToolStripMenuItem; |
| | | private System.Windows.Forms.ToolStripMenuItem cSVToolStripMenuItem; |
| | | private System.Windows.Forms.Label lbljl; |
| | | private System.Windows.Forms.Label lbldj; |
| | | public System.Windows.Forms.TextBox txtHMaterNumber; |
| | | public System.Windows.Forms.TextBox txtHMaterModel; |
| | | private System.Windows.Forms.Label label9; |
| | | private System.Windows.Forms.ComboBox cmbHType; |
| | | private System.Windows.Forms.Label label10; |
| | | private System.Windows.Forms.Button btnClear; |
| | | } |
| | | } |
| | |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <resheader name="writer"> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>98, 21</value> |
| | | </metadata> |
| | | <metadata name="Tool.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <metadata name="Tool.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>188, 21</value> |
| | | </metadata> |
| | | <assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
| | | <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
| | | <data name="Tool.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | /9j/4AAQSkZJRgABAQEASABIAAD/4QR8RXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUAAAAB |
| | |
| | | <data name="toolStripDropDownButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAE6SURBVDhPY0hOnvOfEgw2AAY6OjqA5Jn/v78f+P/tzYb/ |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE6SURBVDhPY0hOnvOfEgw2AAY6OjqA5Jn/v78f+P/tzYb/ |
| | | 7+/P+f/iUsf/x8fK/t/Zmfz/2hr//xcW2v9PS0v7f+DAgf8MDAwIA2aeAWqdaYxiwDuoAY9gBqwFGWD3 |
| | | v9AbqBGkGZ8BX1+vh7sAZMDdXSAXBIBdADIgNWMh8QY8PlYO9QLCgDR8BvwBewFiwMtLnfAwuAoNA4IG |
| | | QMIAZMBsoAGIMLhKrAvAXkByAaoBkEBMzcRiwPTjv8CShHBmwYr/abgMmHzgy//+7W/+d657/L91ya3/ |
| | |
| | | <data name="yl.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAHXSURBVDhPjZJNSBtRFIUH3Ke4aiHVTRd2V7B7EXGhriyu |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHXSURBVDhPjZJNSBtRFIUH3Ke4aiHVTRd2V7B7EXGhriyu |
| | | ao0ImqppU39qSFVMtVZLrfQXFMlKFy4KbaXQTao7Cd1U3VSyFFQIqNXYZDKZTHJ8976ZTEZD6AcnL+/e |
| | | e857A08p5uX7MEgv3i4h9GYRE3MLJUW9sdlPMG0SKhCvP4Z5/R8cIVYA0dk/AkOsKT1fUmpWzvkCz+2A |
| | | 4PQ7WRW0tnvR5unFvQ7vFVH9fvdjdPYNoccftANGJufZbOTyvJZjdOaD8/uJ4dAcNzO6ga3dPezEbNFe |
| | |
| | | <data name="dy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGYSURBVDhPjYzPK8NxHMY//4uUyxycODhxkIOaRSiSA3Eg |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGYSURBVDhPjYzPK8NxHMY//4uUyxycODhxkIOaRSiSA3Eg |
| | | sbY1hi22Iptt5ecmuQgXxcWvFGojuXDy66AUyo9p9t2wx/f5pC9l+/LU06dP79frET/jCc7B5QvB6Z3R |
| | | 6vLNwB0IIzi7hC8se/pHJpAp/rFD+f45Ynf7JfiRTmtlvN6IfBndEYtzVEKpt3etnAiFt2Gsa0J1Qwt6 |
| | | PcHsA10Ojxx4VVJaE8kU3j/SuHuIIXp8Crc/nH3AbOuTA89xBbF48ruvSbyoZcw2x++BqdA8xDTQbemR |
| | |
| | | <data name="view.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU |
| | | UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG |
| | | V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2 |
| | | 9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK |
| | |
| | | <data name="cx.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAFOSURBVDhPnZBPK0RRGIfvxkL5Dha+gLK0tsRGkY3dkK2w |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFOSURBVDhPnZBPK0RRGIfvxkL5Dha+gLK0tsRGkY3dkK2w |
| | | UjJbCzQWk5EFRslEiUwZFNLo+lMaxWCIIUXIQhYzj/edc28NHUzzq1/v7Z7zPOee6/ybgMu3lhwP6NrO |
| | | F9q6blqaSDaETnOs3UIiCx2bUBuDmjmojpr5t0QWZ9KQfJSNkll5roxAxQRUTZn+LvBOH0vBQgbidzB0 |
| | | KF+wCA1xaEyYqbVLPEG/CwMC9iShbQu69yEo0uFzM7V2QV2Y2E2e4Al07kGL3L/3CEKXsCRXSryaOZ3J |
| | |
| | | <data name="tc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7 |
| | | bXeWrGBMYkoHh+gk8xl/XEneP7jXqXIWJkIgHscnT/PEy2vhz7ZhMQ/Dm5l3ObRcB1ACzAKQ6FTcV69G |
| | | rgWTbUl3QFQtFgGpfAAoAVDOi2ZbrwW5hwY4N+P6FmDlkrsBq6zOy3AXIEkhGHMbIMaorgGgI8Cu7CsY |
| | | wOZbAEgDBch/gOveRzgJAKLwH0CGJsDmxU1dAMiSu3R5iZr+oJuic1+SJ5jRbOqnmgAAAABJRU5ErkJg |
| | |
| | | <data name="mrlk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN |
| | | oBFDY9BF05XMMAoLL3bhxGB4zjzoVCKim4iCgkCMSam1cqP9aO4YJlpIDmqh00IRv73Pe87OWuV54Mt7 |
| | | znm/n895z0aF8Stj6FdGoARDUAf/H97jTp96FyZmjC8QwuRUBB0zACkiwT0i9rxvgBcvX4MZEye65Vex |
| | | vp6HJ7yJ+1nYpmNyE3nRZcbEiW74AljL5UB3gOk84J8HnFPA0UfirZqIaoZPMQDZZcbEibp6+vE9mwUF |
| | |
| | | <data name="bclk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW |
| | | /QN+phG4CQXTNrPLbzFrpZAuBIfEqChctFRndHI0YzKnxkHFYQgH50NH5+o8Pm/HwQ/s4oGHc++5z/O7 |
| | | 77nnvSKPPZDyKYSfA8tN55N6NfMvK1XT+LIBxAH8PqfUqxnNitR+g1x/yQuRlJWCZVm2Uo965RozmpXq |
| | | aRR/Io1jYgJwTdlLPeqt92QqqHLj7phZTCST2Nqxl3rUWzrOTKX7JGBykm9x2Us96r3p1ApOAf5G49iI |
| | |
| | | //////////////////////////////////////////////////////////////////////8A |
| | | </value> |
| | | </data> |
| | | <data name="cmdHWorkCenter.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | R0lGODlhEAAQAIYAAAAzmQBmzP///1o7AJlmAOazAMTz/9mmAEW5//nNT+W5ToPV/5TW/cyZAAyf/7Dp |
| | | /yOn/2jD/q3h/le8/sz3/5zg/7bt/73l/7Xs/2fH/4DT///bnZXb/97//2rK/wWb/8np/6zf/1S//77x |
| | | /73w/8Xv/1+//wmc/1jA/5Db/5LV/6rn/6Xb/zCt/33O/9X3/4LO/7jj/4PT/x+m/7nk/3XP/3PJ/3bQ |
| | | /6Tb/5Td/zCv/3fM/029/4za/6Pf/ZHc/6Pk/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQB |
| | | AABBACwAAAAAEAAQAAAIqACDCBwoMIDBAAQTBjEYIcKECQYVLmQQ44KJFhBmQECYMAAOEAJYnPjgwAHH |
| | | gQEYqAhBA4YOBDwQIDg5cYcLGyg8LOixYAFNABJkZBBRI8cDEg98ACAIlIOGGylWGOhgwMBSphUq/ACC |
| | | wQAFClcFEiAAQICAEhZGvDAbloCCDQUAlDUrQO5AtwkKHBgQRK7duwryHmjAV2IQAoIJGxY4QK/ixYwH |
| | | FIYcEAA7 |
| | | </value> |
| | | </data> |
| | | <data name="cmdHSupName.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | R0lGODlhEAAQAIYAAAAzmQBmzP///1o7AJlmAOazAMTz/9mmAEW5//nNT+W5ToPV/5TW/cyZAAyf/7Dp |
| | | /yOn/2jD/q3h/le8/sz3/5zg/7bt/73l/7Xs/2fH/4DT///bnZXb/97//2rK/wWb/8np/6zf/1S//77x |
| | | /73w/8Xv/1+//wmc/1jA/5Db/5LV/6rn/6Xb/zCt/33O/9X3/4LO/7jj/4PT/x+m/7nk/3XP/3PJ/3bQ |
| | | /6Tb/5Td/zCv/3fM/029/4za/6Pf/ZHc/6Pk/////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |
| | | AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQB |
| | | AABBACwAAAAAEAAQAAAIqACDCBwoMIDBAAQTBjEYIcKECQYVLmQQ44KJFhBmQECYMAAOEAJYnPjgwAHH |
| | | gQEYqAhBA4YOBDwQIDg5cYcLGyg8LOixYAFNABJkZBBRI8cDEg98ACAIlIOGGylWGOhgwMBSphUq/ACC |
| | | wQAFClcFEiAAQICAEhZGvDAbloCCDQUAlDUrQO5AtwkKHBgQRK7duwryHmjAV2IQAoIJGxY4QK/ixYwH |
| | | FIYcEAA7 |
| | | </value> |
| | | </data> |
| | | <data name="cmdHEDeptID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | R0lGODlhEAAQAIYAAAAzmQBmzP///1o7AJlmAOazAMTz/9mmAEW5//nNT+W5ToPV/5TW/cyZAAyf/7Dp |
| | |
| | | FIYcEAA7 |
| | | </value> |
| | | </data> |
| | | <metadata name="timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <metadata name="timer2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>266, 21</value> |
| | | </metadata> |
| | | <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>42</value> |
| | | </metadata> |
| | | </root> |
| | |
| | | cmdBF.Enabled = true; |
| | | cmdXG.Enabled = true; |
| | | cmdCancel.Enabled = true; |
| | | cmdChecker.Enabled = true; |
| | | cmdChecker.Enabled = true; |
| | | cmdBFChecker.Enabled = true; |
| | | txtHBarCode.Enabled = false; |
| | | Sub_LrtextStatus(false); |
| | | break; |
| | |
| | | cmdXG.Enabled = false; |
| | | cmdCancel.Enabled = true; |
| | | cmdChecker.Enabled = false; |
| | | cmdBFChecker.Enabled = false; |
| | | Sub_LrtextStatus(true); |
| | | break; |
| | | case DBUtility.ClsPub.Enum_BillStatus.BillStatus_Modify: |
| | |
| | | cmdXG.Enabled = false; |
| | | cmdCancel.Enabled = true; |
| | | cmdChecker.Enabled = false; |
| | | cmdBFChecker.Enabled = false; |
| | | Sub_LrtextStatus(true); |
| | | break; |
| | | } |
| | |
| | | oBF.HMainSourceInterID = BillOld.omodel.HInterID; |
| | | oBF.HProcExchInterID = lngBillKey; |
| | | oBF.HProcExchEntryID = lngBillSubKey; |
| | | oBF.HBillSubType = "ä¸è¯è¯å®¡"; |
| | | oBF.txtHLotNo.Text = txtHProcExchBillNo.Text; |
| | | oBF.txtHOrderProcNo.Text = txtHOrderProcNO.Text; |
| | | oBF.txtHMaterID.Text = txtHMaterName.Text; |
| | |
| | | if (oBF.BillChange) |
| | | { |
| | | this.Sub_ShowBill(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | //æ¥åºå质确认æé® |
| | | private void cmdBFChecker_Click(object sender, EventArgs e) |
| | | { |
| | | QC_NoPassProdCheckBill oBF = new QC_NoPassProdCheckBill(); |
| | | oBF.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | oBF.HMainSourceInterID = BillOld.omodel.HInterID; |
| | | oBF.HProcExchInterID = lngBillKey; |
| | | oBF.HProcExchEntryID = lngBillSubKey; |
| | | oBF.HBillSubType = "æ¥åºè¯å®¡"; |
| | | oBF.txtHLotNo.Text = txtHProcExchBillNo.Text; |
| | | oBF.txtHOrderProcNo.Text = txtHOrderProcNO.Text; |
| | | oBF.txtHMaterID.Text = txtHMaterName.Text; |
| | | oBF.txtHMaterNumber.Text = txtHMaterID.Text; |
| | | oBF.txtHModel.Text = txtHMaterModel.Text; |
| | | oBF.txtHMaterID.Tag = txtHMaterID.Tag; |
| | | oBF.txtHProcID.Tag = txtHProcID.Tag; |
| | | oBF.txtHProcID.Text = txtHProcID.Text; |
| | | oBF.txtHWorkCenterID.Text = txtHCenterID.Text; |
| | | oBF.txtHWorkCenterID.Tag = txtHCenterID.Tag; |
| | | oBF.txtHICMOInterID.Text = Pub_Class.ClsPub.isStrNull(txtHICMOBillNo.Tag); |
| | | oBF.txtHICMOBillNo.Text = txtHICMOBillNo.Text; |
| | | oBF.txtHProcExchQty.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHPlanQty.Text)); |
| | | oBF.txtHPlanQty.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHBadCount.Text)); |
| | | oBF.txtHPlanPNL.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHBadPNL.Text)); |
| | | oBF.txtHBadPNL.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHBadPNL.Text)); |
| | | oBF.txtHBadQty.Text = ClsPub.isStrNull(ClsPub.isDoule(txtHWasterQty.Text)); |
| | | oBF.ShowDialog(); |
| | | if (oBF.BillChange) |
| | | { |
| | | this.Sub_ShowBill(); |
| | | } |
| | | } |
| | | |
| | | private void label20_Click(object sender, EventArgs e) |
| | |
| | | this.tabPage2 = new System.Windows.Forms.TabPage(); |
| | | this.txtHSourceNameList = new System.Windows.Forms.TextBox(); |
| | | this.txtHGroupName = new System.Windows.Forms.TextBox(); |
| | | this.txtHBadCount = new System.Windows.Forms.TextBox(); |
| | | this.txtHQCCheckName = new System.Windows.Forms.TextBox(); |
| | | this.label17 = new System.Windows.Forms.Label(); |
| | | this.txtHQCCheckID = new System.Windows.Forms.TextBox(); |
| | | this.txtHSourceName = new System.Windows.Forms.TextBox(); |
| | | this.cmdHQCCheckID = new System.Windows.Forms.Button(); |
| | |
| | | this.tabPage3 = new System.Windows.Forms.TabPage(); |
| | | this.txtHDSQty = new System.Windows.Forms.TextBox(); |
| | | this.txtHPriceRate = new System.Windows.Forms.TextBox(); |
| | | this.txtHBadCount = new System.Windows.Forms.TextBox(); |
| | | this.txtHWWWorkOrderBillNo = new System.Windows.Forms.TextBox(); |
| | | this.txtHPlanPieceQty = new System.Windows.Forms.TextBox(); |
| | | this.txtHUnitChongQty = new System.Windows.Forms.TextBox(); |
| | |
| | | this.txtHSourceID2 = new System.Windows.Forms.TextBox(); |
| | | this.cmdHSourceID2 = new System.Windows.Forms.Button(); |
| | | this.label31 = new System.Windows.Forms.Label(); |
| | | this.label17 = new System.Windows.Forms.Label(); |
| | | this.label19 = new System.Windows.Forms.Label(); |
| | | this.label35 = new System.Windows.Forms.Label(); |
| | | this.label34 = new System.Windows.Forms.Label(); |
| | |
| | | this.label22 = new System.Windows.Forms.Label(); |
| | | this.timer1 = new System.Windows.Forms.Timer(this.components); |
| | | this.panel1 = new System.Windows.Forms.Panel(); |
| | | this.cmdBFChecker = new System.Windows.Forms.Button(); |
| | | this.cmdXZ = new System.Windows.Forms.Button(); |
| | | this.cmdHPrintCusCard = new System.Windows.Forms.Button(); |
| | | this.cmdHPrint = new System.Windows.Forms.Button(); |
| | |
| | | this.cmdHMaterID.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHMaterID.Enabled = false; |
| | | this.cmdHMaterID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID.Image"))); |
| | | this.cmdHMaterID.Location = new System.Drawing.Point(404, 151); |
| | | this.cmdHMaterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHMaterID.Location = new System.Drawing.Point(303, 121); |
| | | this.cmdHMaterID.Name = "cmdHMaterID"; |
| | | this.cmdHMaterID.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHMaterID.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHMaterID.TabIndex = 86; |
| | | this.cmdHMaterID.TabStop = false; |
| | | this.cmdHMaterID.UseVisualStyleBackColor = false; |
| | |
| | | this.txtHMaterID.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHMaterID.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHMaterID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHMaterID.Location = new System.Drawing.Point(153, 151); |
| | | this.txtHMaterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHMaterID.Location = new System.Drawing.Point(115, 121); |
| | | this.txtHMaterID.Name = "txtHMaterID"; |
| | | this.txtHMaterID.ReadOnly = true; |
| | | this.txtHMaterID.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHMaterID.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHMaterID.TabIndex = 85; |
| | | this.txtHMaterID.TabStop = false; |
| | | this.txtHMaterID.Tag = "0"; |
| | |
| | | this.label16.BackColor = System.Drawing.Color.Gray; |
| | | this.label16.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label16.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label16.Location = new System.Drawing.Point(16, 156); |
| | | this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label16.Location = new System.Drawing.Point(12, 125); |
| | | this.label16.Name = "label16"; |
| | | this.label16.Size = new System.Drawing.Size(112, 27); |
| | | this.label16.Size = new System.Drawing.Size(90, 21); |
| | | this.label16.TabIndex = 84; |
| | | this.label16.Text = "产å代ç ï¼"; |
| | | // |
| | |
| | | this.label9.BackColor = System.Drawing.Color.Gray; |
| | | this.label9.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label9.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label9.Location = new System.Drawing.Point(453, 47); |
| | | this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label9.Location = new System.Drawing.Point(340, 38); |
| | | this.label9.Name = "label9"; |
| | | this.label9.Size = new System.Drawing.Size(112, 27); |
| | | this.label9.Size = new System.Drawing.Size(90, 21); |
| | | this.label9.TabIndex = 82; |
| | | this.label9.Text = "æ±æ¥æ¶é´ï¼"; |
| | | // |
| | |
| | | this.label2.AutoSize = true; |
| | | this.label2.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label2.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label2.Location = new System.Drawing.Point(16, 374); |
| | | this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label2.Location = new System.Drawing.Point(12, 299); |
| | | this.label2.Name = "label2"; |
| | | this.label2.Size = new System.Drawing.Size(104, 27); |
| | | this.label2.Size = new System.Drawing.Size(84, 21); |
| | | this.label2.TabIndex = 80; |
| | | this.label2.Text = "ä»» å¡ åï¼"; |
| | | // |
| | |
| | | this.txtHICMOBillNo.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHICMOBillNo.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHICMOBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHICMOBillNo.Location = new System.Drawing.Point(153, 368); |
| | | this.txtHICMOBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHICMOBillNo.Location = new System.Drawing.Point(115, 294); |
| | | this.txtHICMOBillNo.Name = "txtHICMOBillNo"; |
| | | this.txtHICMOBillNo.ReadOnly = true; |
| | | this.txtHICMOBillNo.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHICMOBillNo.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHICMOBillNo.TabIndex = 81; |
| | | this.txtHICMOBillNo.TabStop = false; |
| | | // |
| | |
| | | this.txtHProcExchBillNo.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHProcExchBillNo.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHProcExchBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHProcExchBillNo.Location = new System.Drawing.Point(153, 6); |
| | | this.txtHProcExchBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHProcExchBillNo.Location = new System.Drawing.Point(115, 5); |
| | | this.txtHProcExchBillNo.Name = "txtHProcExchBillNo"; |
| | | this.txtHProcExchBillNo.ReadOnly = true; |
| | | this.txtHProcExchBillNo.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHProcExchBillNo.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHProcExchBillNo.TabIndex = 1; |
| | | this.txtHProcExchBillNo.TabStop = false; |
| | | this.txtHProcExchBillNo.Tag = "0"; |
| | |
| | | this.label1.BackColor = System.Drawing.Color.Gray; |
| | | this.label1.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label1.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label1.Location = new System.Drawing.Point(16, 11); |
| | | this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label1.Location = new System.Drawing.Point(12, 9); |
| | | this.label1.Name = "label1"; |
| | | this.label1.Size = new System.Drawing.Size(92, 27); |
| | | this.label1.Size = new System.Drawing.Size(74, 21); |
| | | this.label1.TabIndex = 87; |
| | | this.label1.Text = "æµè½¬å¡ï¼"; |
| | | // |
| | |
| | | this.txtHMaterModel.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHMaterModel.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHMaterModel.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHMaterModel.Location = new System.Drawing.Point(153, 224); |
| | | this.txtHMaterModel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHMaterModel.Location = new System.Drawing.Point(115, 179); |
| | | this.txtHMaterModel.Name = "txtHMaterModel"; |
| | | this.txtHMaterModel.ReadOnly = true; |
| | | this.txtHMaterModel.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHMaterModel.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHMaterModel.TabIndex = 90; |
| | | this.txtHMaterModel.TabStop = false; |
| | | this.txtHMaterModel.Tag = "0"; |
| | |
| | | this.label3.BackColor = System.Drawing.Color.Gray; |
| | | this.label3.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label3.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label3.Location = new System.Drawing.Point(16, 228); |
| | | this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label3.Location = new System.Drawing.Point(12, 182); |
| | | this.label3.Name = "label3"; |
| | | this.label3.Size = new System.Drawing.Size(112, 27); |
| | | this.label3.Size = new System.Drawing.Size(90, 21); |
| | | this.label3.TabIndex = 89; |
| | | this.label3.Text = "è§æ ¼åå·ï¼"; |
| | | // |
| | |
| | | // |
| | | this.cmdHEmpID.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHEmpID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID.Image"))); |
| | | this.cmdHEmpID.Location = new System.Drawing.Point(818, 151); |
| | | this.cmdHEmpID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHEmpID.Location = new System.Drawing.Point(614, 121); |
| | | this.cmdHEmpID.Name = "cmdHEmpID"; |
| | | this.cmdHEmpID.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHEmpID.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHEmpID.TabIndex = 93; |
| | | this.cmdHEmpID.UseVisualStyleBackColor = false; |
| | | this.cmdHEmpID.Click += new System.EventHandler(this.cmdHEmpID_Click); |
| | |
| | | this.txtHEmpID.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpID.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpID.Location = new System.Drawing.Point(568, 151); |
| | | this.txtHEmpID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpID.Location = new System.Drawing.Point(426, 121); |
| | | this.txtHEmpID.Name = "txtHEmpID"; |
| | | this.txtHEmpID.Size = new System.Drawing.Size(111, 34); |
| | | this.txtHEmpID.Size = new System.Drawing.Size(84, 28); |
| | | this.txtHEmpID.TabIndex = 2; |
| | | this.txtHEmpID.Tag = "0"; |
| | | this.txtHEmpID.TextChanged += new System.EventHandler(this.txtHEmpID_TextChanged); |
| | |
| | | this.label4.BackColor = System.Drawing.Color.Gray; |
| | | this.label4.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label4.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label4.Location = new System.Drawing.Point(453, 156); |
| | | this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label4.Location = new System.Drawing.Point(340, 125); |
| | | this.label4.Name = "label4"; |
| | | this.label4.Size = new System.Drawing.Size(104, 27); |
| | | this.label4.Size = new System.Drawing.Size(84, 21); |
| | | this.label4.TabIndex = 91; |
| | | this.label4.Text = "æ ä½ åï¼"; |
| | | // |
| | |
| | | // |
| | | this.cmdHSourceID.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHSourceID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID.Image"))); |
| | | this.cmdHSourceID.Location = new System.Drawing.Point(401, 405); |
| | | this.cmdHSourceID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHSourceID.Location = new System.Drawing.Point(301, 324); |
| | | this.cmdHSourceID.Name = "cmdHSourceID"; |
| | | this.cmdHSourceID.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHSourceID.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHSourceID.TabIndex = 96; |
| | | this.cmdHSourceID.TabStop = false; |
| | | this.cmdHSourceID.UseVisualStyleBackColor = false; |
| | |
| | | this.txtHSourceID.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHSourceID.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceID.Location = new System.Drawing.Point(153, 405); |
| | | this.txtHSourceID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceID.Location = new System.Drawing.Point(115, 324); |
| | | this.txtHSourceID.Name = "txtHSourceID"; |
| | | this.txtHSourceID.Size = new System.Drawing.Size(121, 34); |
| | | this.txtHSourceID.Size = new System.Drawing.Size(92, 28); |
| | | this.txtHSourceID.TabIndex = 95; |
| | | this.txtHSourceID.TabStop = false; |
| | | this.txtHSourceID.Tag = "0"; |
| | |
| | | this.label5.AutoSize = true; |
| | | this.label5.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label5.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label5.Location = new System.Drawing.Point(16, 410); |
| | | this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label5.Location = new System.Drawing.Point(12, 328); |
| | | this.label5.Name = "label5"; |
| | | this.label5.Size = new System.Drawing.Size(112, 27); |
| | | this.label5.Size = new System.Drawing.Size(90, 21); |
| | | this.label5.TabIndex = 94; |
| | | this.label5.Text = "çäº§èµæºï¼"; |
| | | // |
| | |
| | | this.txtHICMOQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHICMOQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHICMOQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHICMOQty.Location = new System.Drawing.Point(153, 332); |
| | | this.txtHICMOQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHICMOQty.Location = new System.Drawing.Point(115, 266); |
| | | this.txtHICMOQty.Name = "txtHICMOQty"; |
| | | this.txtHICMOQty.ReadOnly = true; |
| | | this.txtHICMOQty.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHICMOQty.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHICMOQty.TabIndex = 98; |
| | | this.txtHICMOQty.TabStop = false; |
| | | this.txtHICMOQty.Tag = "0"; |
| | |
| | | this.label6.BackColor = System.Drawing.Color.Gray; |
| | | this.label6.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label6.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label6.Location = new System.Drawing.Point(485, 44); |
| | | this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label6.Location = new System.Drawing.Point(364, 35); |
| | | this.label6.Name = "label6"; |
| | | this.label6.Size = new System.Drawing.Size(135, 27); |
| | | this.label6.Size = new System.Drawing.Size(109, 21); |
| | | this.label6.TabIndex = 97; |
| | | this.label6.Text = "è¿ç« PCSæ°ï¼"; |
| | | // |
| | |
| | | this.txtHPlanQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHPlanQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHPlanQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHPlanQty.Location = new System.Drawing.Point(168, 186); |
| | | this.txtHPlanQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHPlanQty.Location = new System.Drawing.Point(126, 149); |
| | | this.txtHPlanQty.Name = "txtHPlanQty"; |
| | | this.txtHPlanQty.ReadOnly = true; |
| | | this.txtHPlanQty.Size = new System.Drawing.Size(248, 34); |
| | | this.txtHPlanQty.Size = new System.Drawing.Size(187, 28); |
| | | this.txtHPlanQty.TabIndex = 100; |
| | | this.txtHPlanQty.TabStop = false; |
| | | this.txtHPlanQty.Tag = "0"; |
| | |
| | | this.label7.BackColor = System.Drawing.Color.Gray; |
| | | this.label7.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label7.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label7.Location = new System.Drawing.Point(453, 192); |
| | | this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label7.Location = new System.Drawing.Point(340, 154); |
| | | this.label7.Name = "label7"; |
| | | this.label7.Size = new System.Drawing.Size(112, 27); |
| | | this.label7.Size = new System.Drawing.Size(90, 21); |
| | | this.label7.TabIndex = 99; |
| | | this.label7.Text = "åæ ¼æ°éï¼"; |
| | | // |
| | |
| | | // |
| | | this.cmdHGroupID.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHGroupID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHGroupID.Image"))); |
| | | this.cmdHGroupID.Location = new System.Drawing.Point(818, 6); |
| | | this.cmdHGroupID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHGroupID.Location = new System.Drawing.Point(614, 5); |
| | | this.cmdHGroupID.Name = "cmdHGroupID"; |
| | | this.cmdHGroupID.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHGroupID.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHGroupID.TabIndex = 103; |
| | | this.cmdHGroupID.UseVisualStyleBackColor = false; |
| | | this.cmdHGroupID.Click += new System.EventHandler(this.cmdHGroupID_Click); |
| | |
| | | this.txtHGroupID.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHGroupID.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHGroupID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHGroupID.Location = new System.Drawing.Point(568, 6); |
| | | this.txtHGroupID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHGroupID.Location = new System.Drawing.Point(426, 5); |
| | | this.txtHGroupID.Name = "txtHGroupID"; |
| | | this.txtHGroupID.Size = new System.Drawing.Size(111, 34); |
| | | this.txtHGroupID.Size = new System.Drawing.Size(84, 28); |
| | | this.txtHGroupID.TabIndex = 102; |
| | | this.txtHGroupID.TabStop = false; |
| | | this.txtHGroupID.Tag = "0"; |
| | |
| | | this.label8.AutoSize = true; |
| | | this.label8.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label8.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label8.Location = new System.Drawing.Point(453, 11); |
| | | this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label8.Location = new System.Drawing.Point(340, 9); |
| | | this.label8.Name = "label8"; |
| | | this.label8.Size = new System.Drawing.Size(112, 27); |
| | | this.label8.Size = new System.Drawing.Size(90, 21); |
| | | this.label8.TabIndex = 101; |
| | | this.label8.Text = "ç产çç»ï¼"; |
| | | // |
| | |
| | | this.cmdHProcID.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHProcID.Enabled = false; |
| | | this.cmdHProcID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHProcID.Image"))); |
| | | this.cmdHProcID.Location = new System.Drawing.Point(404, 115); |
| | | this.cmdHProcID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHProcID.Location = new System.Drawing.Point(303, 92); |
| | | this.cmdHProcID.Name = "cmdHProcID"; |
| | | this.cmdHProcID.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHProcID.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHProcID.TabIndex = 106; |
| | | this.cmdHProcID.TabStop = false; |
| | | this.cmdHProcID.UseVisualStyleBackColor = false; |
| | |
| | | this.txtHProcID.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHProcID.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHProcID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHProcID.Location = new System.Drawing.Point(153, 115); |
| | | this.txtHProcID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHProcID.Location = new System.Drawing.Point(115, 92); |
| | | this.txtHProcID.Name = "txtHProcID"; |
| | | this.txtHProcID.ReadOnly = true; |
| | | this.txtHProcID.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHProcID.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHProcID.TabIndex = 105; |
| | | this.txtHProcID.TabStop = false; |
| | | this.txtHProcID.Tag = "0"; |
| | |
| | | this.label10.BackColor = System.Drawing.Color.Gray; |
| | | this.label10.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label10.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label10.Location = new System.Drawing.Point(16, 120); |
| | | this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label10.Location = new System.Drawing.Point(12, 96); |
| | | this.label10.Name = "label10"; |
| | | this.label10.Size = new System.Drawing.Size(112, 27); |
| | | this.label10.Size = new System.Drawing.Size(90, 21); |
| | | this.label10.TabIndex = 104; |
| | | this.label10.Text = "å½åå·¥åºï¼"; |
| | | // |
| | |
| | | this.txtHMaterName.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHMaterName.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHMaterName.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHMaterName.Location = new System.Drawing.Point(153, 187); |
| | | this.txtHMaterName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHMaterName.Location = new System.Drawing.Point(115, 150); |
| | | this.txtHMaterName.Name = "txtHMaterName"; |
| | | this.txtHMaterName.ReadOnly = true; |
| | | this.txtHMaterName.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHMaterName.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHMaterName.TabIndex = 108; |
| | | this.txtHMaterName.TabStop = false; |
| | | this.txtHMaterName.Tag = "0"; |
| | |
| | | this.label11.BackColor = System.Drawing.Color.Gray; |
| | | this.label11.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label11.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label11.Location = new System.Drawing.Point(16, 192); |
| | | this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label11.Location = new System.Drawing.Point(12, 154); |
| | | this.label11.Name = "label11"; |
| | | this.label11.Size = new System.Drawing.Size(112, 27); |
| | | this.label11.Size = new System.Drawing.Size(90, 21); |
| | | this.label11.TabIndex = 107; |
| | | this.label11.Text = "产ååç§°ï¼"; |
| | | // |
| | |
| | | this.gbUp.Controls.Add(this.tabControl2); |
| | | this.gbUp.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.gbUp.Location = new System.Drawing.Point(0, 0); |
| | | this.gbUp.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.gbUp.Name = "gbUp"; |
| | | this.gbUp.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.gbUp.Size = new System.Drawing.Size(935, 606); |
| | | this.gbUp.Size = new System.Drawing.Size(935, 485); |
| | | this.gbUp.TabIndex = 114; |
| | | this.gbUp.TabStop = false; |
| | | // |
| | |
| | | this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.groupBox1.Font = new System.Drawing.Font("å®ä½", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.groupBox1.ForeColor = System.Drawing.Color.Yellow; |
| | | this.groupBox1.Location = new System.Drawing.Point(903, 22); |
| | | this.groupBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.groupBox1.Location = new System.Drawing.Point(677, 17); |
| | | this.groupBox1.Margin = new System.Windows.Forms.Padding(2); |
| | | this.groupBox1.Name = "groupBox1"; |
| | | this.groupBox1.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.groupBox1.Size = new System.Drawing.Size(28, 580); |
| | | this.groupBox1.Padding = new System.Windows.Forms.Padding(2); |
| | | this.groupBox1.Size = new System.Drawing.Size(255, 465); |
| | | this.groupBox1.TabIndex = 181; |
| | | this.groupBox1.TabStop = false; |
| | | this.groupBox1.Text = "æ¬ç«å·¥å"; |
| | |
| | | // |
| | | this.grdCardList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdCardList.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.grdCardList.Location = new System.Drawing.Point(3, 25); |
| | | this.grdCardList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.grdCardList.Location = new System.Drawing.Point(2, 21); |
| | | this.grdCardList.Margin = new System.Windows.Forms.Padding(2); |
| | | this.grdCardList.Name = "grdCardList"; |
| | | this.grdCardList.RowHeadersWidth = 51; |
| | | this.grdCardList.RowTemplate.Height = 27; |
| | | this.grdCardList.Size = new System.Drawing.Size(22, 553); |
| | | this.grdCardList.Size = new System.Drawing.Size(251, 442); |
| | | this.grdCardList.TabIndex = 150; |
| | | // |
| | | // tabControl2 |
| | |
| | | this.tabControl2.Controls.Add(this.tabPage2); |
| | | this.tabControl2.Controls.Add(this.tabPage3); |
| | | this.tabControl2.Dock = System.Windows.Forms.DockStyle.Left; |
| | | this.tabControl2.Location = new System.Drawing.Point(4, 22); |
| | | this.tabControl2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.tabControl2.Location = new System.Drawing.Point(3, 17); |
| | | this.tabControl2.Margin = new System.Windows.Forms.Padding(2); |
| | | this.tabControl2.Name = "tabControl2"; |
| | | this.tabControl2.SelectedIndex = 0; |
| | | this.tabControl2.Size = new System.Drawing.Size(899, 580); |
| | | this.tabControl2.Size = new System.Drawing.Size(674, 465); |
| | | this.tabControl2.TabIndex = 180; |
| | | // |
| | | // tabPage2 |
| | |
| | | this.tabPage2.Controls.Add(this.label8); |
| | | this.tabPage2.Controls.Add(this.label18); |
| | | this.tabPage2.Controls.Add(this.label25); |
| | | this.tabPage2.Location = new System.Drawing.Point(4, 25); |
| | | this.tabPage2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.tabPage2.Location = new System.Drawing.Point(4, 22); |
| | | this.tabPage2.Margin = new System.Windows.Forms.Padding(2); |
| | | this.tabPage2.Name = "tabPage2"; |
| | | this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.tabPage2.Size = new System.Drawing.Size(891, 551); |
| | | this.tabPage2.Padding = new System.Windows.Forms.Padding(2); |
| | | this.tabPage2.Size = new System.Drawing.Size(666, 439); |
| | | this.tabPage2.TabIndex = 0; |
| | | this.tabPage2.Text = "åºæ¬ä¿¡æ¯"; |
| | | // |
| | |
| | | this.txtHSourceNameList.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHSourceNameList.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceNameList.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceNameList.Location = new System.Drawing.Point(153, 441); |
| | | this.txtHSourceNameList.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceNameList.Location = new System.Drawing.Point(115, 353); |
| | | this.txtHSourceNameList.Name = "txtHSourceNameList"; |
| | | this.txtHSourceNameList.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHSourceNameList.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHSourceNameList.TabIndex = 180; |
| | | this.txtHSourceNameList.TabStop = false; |
| | | this.txtHSourceNameList.Tag = "0"; |
| | |
| | | this.txtHGroupName.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHGroupName.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHGroupName.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHGroupName.Location = new System.Drawing.Point(680, 6); |
| | | this.txtHGroupName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHGroupName.Location = new System.Drawing.Point(510, 5); |
| | | this.txtHGroupName.Name = "txtHGroupName"; |
| | | this.txtHGroupName.ReadOnly = true; |
| | | this.txtHGroupName.Size = new System.Drawing.Size(137, 34); |
| | | this.txtHGroupName.Size = new System.Drawing.Size(104, 28); |
| | | this.txtHGroupName.TabIndex = 178; |
| | | this.txtHGroupName.TabStop = false; |
| | | this.txtHGroupName.Tag = "0"; |
| | | // |
| | | // txtHBadCount |
| | | // |
| | | this.txtHBadCount.BackColor = System.Drawing.SystemColors.Window; |
| | | this.txtHBadCount.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHBadCount.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHBadCount.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHBadCount.Location = new System.Drawing.Point(426, 208); |
| | | this.txtHBadCount.Name = "txtHBadCount"; |
| | | this.txtHBadCount.Size = new System.Drawing.Size(187, 28); |
| | | this.txtHBadCount.TabIndex = 114; |
| | | this.txtHBadCount.TabStop = false; |
| | | this.txtHBadCount.Tag = "0"; |
| | | // |
| | | // txtHQCCheckName |
| | | // |
| | |
| | | this.txtHQCCheckName.Font = new System.Drawing.Font("微软é
é»", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHQCCheckName.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHQCCheckName.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHQCCheckName.Location = new System.Drawing.Point(681, 221); |
| | | this.txtHQCCheckName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHQCCheckName.Location = new System.Drawing.Point(511, 177); |
| | | this.txtHQCCheckName.Name = "txtHQCCheckName"; |
| | | this.txtHQCCheckName.ReadOnly = true; |
| | | this.txtHQCCheckName.Size = new System.Drawing.Size(137, 38); |
| | | this.txtHQCCheckName.Size = new System.Drawing.Size(104, 32); |
| | | this.txtHQCCheckName.TabIndex = 177; |
| | | this.txtHQCCheckName.TabStop = false; |
| | | // |
| | | // label17 |
| | | // |
| | | this.label17.AutoSize = true; |
| | | this.label17.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label17.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label17.Location = new System.Drawing.Point(340, 212); |
| | | this.label17.Name = "label17"; |
| | | this.label17.Size = new System.Drawing.Size(90, 21); |
| | | this.label17.TabIndex = 113; |
| | | this.label17.Text = "ä¸è¯æ°éï¼"; |
| | | // |
| | | // txtHQCCheckID |
| | | // |
| | | this.txtHQCCheckID.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHQCCheckID.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHQCCheckID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHQCCheckID.Location = new System.Drawing.Point(568, 224); |
| | | this.txtHQCCheckID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHQCCheckID.Location = new System.Drawing.Point(426, 179); |
| | | this.txtHQCCheckID.Name = "txtHQCCheckID"; |
| | | this.txtHQCCheckID.Size = new System.Drawing.Size(111, 34); |
| | | this.txtHQCCheckID.Size = new System.Drawing.Size(84, 28); |
| | | this.txtHQCCheckID.TabIndex = 174; |
| | | this.txtHQCCheckID.Tag = "0"; |
| | | this.txtHQCCheckID.TextChanged += new System.EventHandler(this.txtHQCCheckID_TextChanged); |
| | |
| | | this.txtHSourceName.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHSourceName.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceName.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceName.Location = new System.Drawing.Point(277, 405); |
| | | this.txtHSourceName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceName.Location = new System.Drawing.Point(208, 324); |
| | | this.txtHSourceName.Name = "txtHSourceName"; |
| | | this.txtHSourceName.ReadOnly = true; |
| | | this.txtHSourceName.Size = new System.Drawing.Size(125, 34); |
| | | this.txtHSourceName.Size = new System.Drawing.Size(95, 28); |
| | | this.txtHSourceName.TabIndex = 1; |
| | | this.txtHSourceName.Tag = "0"; |
| | | this.txtHSourceName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHSourceName_KeyDown); |
| | |
| | | // |
| | | this.cmdHQCCheckID.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHQCCheckID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHQCCheckID.Image"))); |
| | | this.cmdHQCCheckID.Location = new System.Drawing.Point(818, 224); |
| | | this.cmdHQCCheckID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHQCCheckID.Location = new System.Drawing.Point(614, 179); |
| | | this.cmdHQCCheckID.Name = "cmdHQCCheckID"; |
| | | this.cmdHQCCheckID.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHQCCheckID.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHQCCheckID.TabIndex = 176; |
| | | this.cmdHQCCheckID.UseVisualStyleBackColor = false; |
| | | this.cmdHQCCheckID.Visible = false; |
| | |
| | | this.txtHWorkTimes.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHWorkTimes.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHWorkTimes.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHWorkTimes.Location = new System.Drawing.Point(568, 296); |
| | | this.txtHWorkTimes.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHWorkTimes.Location = new System.Drawing.Point(426, 237); |
| | | this.txtHWorkTimes.Name = "txtHWorkTimes"; |
| | | this.txtHWorkTimes.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHWorkTimes.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHWorkTimes.TabIndex = 172; |
| | | this.txtHWorkTimes.Tag = "0"; |
| | | // |
| | |
| | | this.txtHMouldNum.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHMouldNum.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHMouldNum.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHMouldNum.Location = new System.Drawing.Point(153, 477); |
| | | this.txtHMouldNum.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHMouldNum.Location = new System.Drawing.Point(115, 382); |
| | | this.txtHMouldNum.Name = "txtHMouldNum"; |
| | | this.txtHMouldNum.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHMouldNum.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHMouldNum.TabIndex = 171; |
| | | this.txtHMouldNum.TabStop = false; |
| | | this.txtHMouldNum.Tag = "0"; |
| | |
| | | this.txtHEmpName5.Font = new System.Drawing.Font("微软é
é»", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpName5.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpName5.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpName5.Location = new System.Drawing.Point(680, 438); |
| | | this.txtHEmpName5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpName5.Location = new System.Drawing.Point(510, 350); |
| | | this.txtHEmpName5.Name = "txtHEmpName5"; |
| | | this.txtHEmpName5.ReadOnly = true; |
| | | this.txtHEmpName5.Size = new System.Drawing.Size(137, 38); |
| | | this.txtHEmpName5.Size = new System.Drawing.Size(104, 32); |
| | | this.txtHEmpName5.TabIndex = 167; |
| | | this.txtHEmpName5.TabStop = false; |
| | | // |
| | |
| | | this.txtHEmpName4.Font = new System.Drawing.Font("微软é
é»", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpName4.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpName4.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpName4.Location = new System.Drawing.Point(680, 402); |
| | | this.txtHEmpName4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpName4.Location = new System.Drawing.Point(510, 322); |
| | | this.txtHEmpName4.Name = "txtHEmpName4"; |
| | | this.txtHEmpName4.ReadOnly = true; |
| | | this.txtHEmpName4.Size = new System.Drawing.Size(137, 38); |
| | | this.txtHEmpName4.Size = new System.Drawing.Size(104, 32); |
| | | this.txtHEmpName4.TabIndex = 166; |
| | | this.txtHEmpName4.TabStop = false; |
| | | // |
| | |
| | | this.txtHEmpName3.Font = new System.Drawing.Font("微软é
é»", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpName3.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpName3.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpName3.Location = new System.Drawing.Point(680, 366); |
| | | this.txtHEmpName3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpName3.Location = new System.Drawing.Point(510, 293); |
| | | this.txtHEmpName3.Name = "txtHEmpName3"; |
| | | this.txtHEmpName3.ReadOnly = true; |
| | | this.txtHEmpName3.Size = new System.Drawing.Size(137, 38); |
| | | this.txtHEmpName3.Size = new System.Drawing.Size(104, 32); |
| | | this.txtHEmpName3.TabIndex = 165; |
| | | this.txtHEmpName3.TabStop = false; |
| | | // |
| | |
| | | this.txtHEmpName2.Font = new System.Drawing.Font("微软é
é»", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpName2.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpName2.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpName2.Location = new System.Drawing.Point(680, 330); |
| | | this.txtHEmpName2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpName2.Location = new System.Drawing.Point(510, 264); |
| | | this.txtHEmpName2.Name = "txtHEmpName2"; |
| | | this.txtHEmpName2.ReadOnly = true; |
| | | this.txtHEmpName2.Size = new System.Drawing.Size(137, 38); |
| | | this.txtHEmpName2.Size = new System.Drawing.Size(104, 32); |
| | | this.txtHEmpName2.TabIndex = 164; |
| | | this.txtHEmpName2.TabStop = false; |
| | | // |
| | |
| | | this.txtHBillNo.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHBillNo.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHBillNo.Location = new System.Drawing.Point(153, 260); |
| | | this.txtHBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHBillNo.Location = new System.Drawing.Point(115, 208); |
| | | this.txtHBillNo.Name = "txtHBillNo"; |
| | | this.txtHBillNo.ReadOnly = true; |
| | | this.txtHBillNo.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHBillNo.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHBillNo.TabIndex = 117; |
| | | this.txtHBillNo.TabStop = false; |
| | | // |
| | |
| | | // |
| | | this.cmdHEmpID5.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHEmpID5.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID5.Image"))); |
| | | this.cmdHEmpID5.Location = new System.Drawing.Point(818, 441); |
| | | this.cmdHEmpID5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHEmpID5.Location = new System.Drawing.Point(614, 353); |
| | | this.cmdHEmpID5.Name = "cmdHEmpID5"; |
| | | this.cmdHEmpID5.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHEmpID5.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHEmpID5.TabIndex = 162; |
| | | this.cmdHEmpID5.UseVisualStyleBackColor = false; |
| | | this.cmdHEmpID5.Click += new System.EventHandler(this.cmdHEmpID5_Click); |
| | |
| | | this.txtHCenterID.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHCenterID.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHCenterID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHCenterID.Location = new System.Drawing.Point(153, 78); |
| | | this.txtHCenterID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHCenterID.Location = new System.Drawing.Point(115, 62); |
| | | this.txtHCenterID.Name = "txtHCenterID"; |
| | | this.txtHCenterID.ReadOnly = true; |
| | | this.txtHCenterID.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHCenterID.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHCenterID.TabIndex = 141; |
| | | this.txtHCenterID.TabStop = false; |
| | | // |
| | |
| | | // |
| | | this.cmdHEmpID4.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHEmpID4.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID4.Image"))); |
| | | this.cmdHEmpID4.Location = new System.Drawing.Point(818, 405); |
| | | this.cmdHEmpID4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHEmpID4.Location = new System.Drawing.Point(614, 324); |
| | | this.cmdHEmpID4.Name = "cmdHEmpID4"; |
| | | this.cmdHEmpID4.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHEmpID4.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHEmpID4.TabIndex = 159; |
| | | this.cmdHEmpID4.UseVisualStyleBackColor = false; |
| | | this.cmdHEmpID4.Click += new System.EventHandler(this.cmdHEmpID4_Click); |
| | |
| | | // |
| | | this.cmdHEmpID3.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHEmpID3.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID3.Image"))); |
| | | this.cmdHEmpID3.Location = new System.Drawing.Point(818, 368); |
| | | this.cmdHEmpID3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHEmpID3.Location = new System.Drawing.Point(614, 294); |
| | | this.cmdHEmpID3.Name = "cmdHEmpID3"; |
| | | this.cmdHEmpID3.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHEmpID3.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHEmpID3.TabIndex = 156; |
| | | this.cmdHEmpID3.UseVisualStyleBackColor = false; |
| | | this.cmdHEmpID3.Click += new System.EventHandler(this.cmdHEmpID3_Click); |
| | |
| | | this.txtHProcNo.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHProcNo.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHProcNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHProcNo.Location = new System.Drawing.Point(153, 42); |
| | | this.txtHProcNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHProcNo.Location = new System.Drawing.Point(115, 34); |
| | | this.txtHProcNo.Name = "txtHProcNo"; |
| | | this.txtHProcNo.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHProcNo.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHProcNo.TabIndex = 145; |
| | | this.txtHProcNo.TabStop = false; |
| | | this.txtHProcNo.Tag = "0"; |
| | |
| | | // |
| | | this.cmdHEmpID2.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHEmpID2.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID2.Image"))); |
| | | this.cmdHEmpID2.Location = new System.Drawing.Point(818, 332); |
| | | this.cmdHEmpID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHEmpID2.Location = new System.Drawing.Point(614, 266); |
| | | this.cmdHEmpID2.Name = "cmdHEmpID2"; |
| | | this.cmdHEmpID2.Size = new System.Drawing.Size(35, 35); |
| | | this.cmdHEmpID2.Size = new System.Drawing.Size(26, 28); |
| | | this.cmdHEmpID2.TabIndex = 153; |
| | | this.cmdHEmpID2.UseVisualStyleBackColor = false; |
| | | this.cmdHEmpID2.Click += new System.EventHandler(this.cmdHEmpID2_Click); |
| | |
| | | this.txtHRemark.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHRemark.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHRemark.Location = new System.Drawing.Point(568, 115); |
| | | this.txtHRemark.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHRemark.Location = new System.Drawing.Point(426, 92); |
| | | this.txtHRemark.Name = "txtHRemark"; |
| | | this.txtHRemark.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHRemark.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHRemark.TabIndex = 169; |
| | | this.txtHRemark.TabStop = false; |
| | | this.txtHRemark.Tag = "0"; |
| | |
| | | this.txtHEmpID5.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpID5.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpID5.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpID5.Location = new System.Drawing.Point(568, 441); |
| | | this.txtHEmpID5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpID5.Location = new System.Drawing.Point(426, 353); |
| | | this.txtHEmpID5.Name = "txtHEmpID5"; |
| | | this.txtHEmpID5.Size = new System.Drawing.Size(111, 34); |
| | | this.txtHEmpID5.Size = new System.Drawing.Size(84, 28); |
| | | this.txtHEmpID5.TabIndex = 160; |
| | | this.txtHEmpID5.Tag = "0"; |
| | | this.txtHEmpID5.TextChanged += new System.EventHandler(this.txtHEmpID5_TextChanged); |
| | |
| | | this.txtHOrderProcNO.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHOrderProcNO.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHOrderProcNO.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHOrderProcNO.Location = new System.Drawing.Point(153, 296); |
| | | this.txtHOrderProcNO.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHOrderProcNO.Location = new System.Drawing.Point(115, 237); |
| | | this.txtHOrderProcNO.Name = "txtHOrderProcNO"; |
| | | this.txtHOrderProcNO.ReadOnly = true; |
| | | this.txtHOrderProcNO.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHOrderProcNO.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHOrderProcNO.TabIndex = 147; |
| | | this.txtHOrderProcNO.TabStop = false; |
| | | this.txtHOrderProcNO.Tag = "0"; |
| | |
| | | this.txtHEmpID4.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpID4.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpID4.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpID4.Location = new System.Drawing.Point(568, 405); |
| | | this.txtHEmpID4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpID4.Location = new System.Drawing.Point(426, 324); |
| | | this.txtHEmpID4.Name = "txtHEmpID4"; |
| | | this.txtHEmpID4.Size = new System.Drawing.Size(111, 34); |
| | | this.txtHEmpID4.Size = new System.Drawing.Size(84, 28); |
| | | this.txtHEmpID4.TabIndex = 157; |
| | | this.txtHEmpID4.Tag = "0"; |
| | | this.txtHEmpID4.TextChanged += new System.EventHandler(this.txtHEmpID4_TextChanged); |
| | |
| | | this.txtHEmpID3.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpID3.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpID3.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpID3.Location = new System.Drawing.Point(568, 368); |
| | | this.txtHEmpID3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpID3.Location = new System.Drawing.Point(426, 294); |
| | | this.txtHEmpID3.Name = "txtHEmpID3"; |
| | | this.txtHEmpID3.Size = new System.Drawing.Size(111, 34); |
| | | this.txtHEmpID3.Size = new System.Drawing.Size(84, 28); |
| | | this.txtHEmpID3.TabIndex = 154; |
| | | this.txtHEmpID3.Tag = "0"; |
| | | this.txtHEmpID3.TextChanged += new System.EventHandler(this.txtHEmpID3_TextChanged); |
| | |
| | | this.txtHEmpName.Font = new System.Drawing.Font("微软é
é»", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpName.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpName.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpName.Location = new System.Drawing.Point(681, 148); |
| | | this.txtHEmpName.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpName.Location = new System.Drawing.Point(511, 118); |
| | | this.txtHEmpName.Name = "txtHEmpName"; |
| | | this.txtHEmpName.ReadOnly = true; |
| | | this.txtHEmpName.Size = new System.Drawing.Size(137, 38); |
| | | this.txtHEmpName.Size = new System.Drawing.Size(104, 32); |
| | | this.txtHEmpName.TabIndex = 163; |
| | | this.txtHEmpName.TabStop = false; |
| | | // |
| | |
| | | this.txtHEmpID2.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHEmpID2.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHEmpID2.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHEmpID2.Location = new System.Drawing.Point(568, 332); |
| | | this.txtHEmpID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHEmpID2.Location = new System.Drawing.Point(426, 266); |
| | | this.txtHEmpID2.Name = "txtHEmpID2"; |
| | | this.txtHEmpID2.Size = new System.Drawing.Size(111, 34); |
| | | this.txtHEmpID2.Size = new System.Drawing.Size(84, 28); |
| | | this.txtHEmpID2.TabIndex = 151; |
| | | this.txtHEmpID2.Tag = "0"; |
| | | this.txtHEmpID2.TextChanged += new System.EventHandler(this.txtHEmpID2_TextChanged); |
| | |
| | | this.txtHStationOutTime.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHStationOutTime.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHStationOutTime.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHStationOutTime.Location = new System.Drawing.Point(568, 42); |
| | | this.txtHStationOutTime.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHStationOutTime.Location = new System.Drawing.Point(426, 34); |
| | | this.txtHStationOutTime.Name = "txtHStationOutTime"; |
| | | this.txtHStationOutTime.ReadOnly = true; |
| | | this.txtHStationOutTime.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHStationOutTime.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHStationOutTime.TabIndex = 112; |
| | | this.txtHStationOutTime.TabStop = false; |
| | | this.txtHStationOutTime.Tag = "0"; |
| | |
| | | this.txtHQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHQty.Location = new System.Drawing.Point(568, 187); |
| | | this.txtHQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHQty.Location = new System.Drawing.Point(426, 150); |
| | | this.txtHQty.Name = "txtHQty"; |
| | | this.txtHQty.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHQty.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHQty.TabIndex = 4; |
| | | this.txtHQty.Tag = "0"; |
| | | this.txtHQty.TextChanged += new System.EventHandler(this.txtHQty_TextChanged); |
| | |
| | | this.txtHWasterQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHWasterQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHWasterQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHWasterQty.Location = new System.Drawing.Point(568, 477); |
| | | this.txtHWasterQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHWasterQty.Location = new System.Drawing.Point(426, 382); |
| | | this.txtHWasterQty.Name = "txtHWasterQty"; |
| | | this.txtHWasterQty.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHWasterQty.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHWasterQty.TabIndex = 5; |
| | | this.txtHWasterQty.Tag = "0"; |
| | | this.txtHWasterQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHWasterQty_KeyDown); |
| | |
| | | this.txtHPayProcID.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHPayProcID.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHPayProcID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHPayProcID.Location = new System.Drawing.Point(568, 78); |
| | | this.txtHPayProcID.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHPayProcID.Location = new System.Drawing.Point(426, 62); |
| | | this.txtHPayProcID.Name = "txtHPayProcID"; |
| | | this.txtHPayProcID.Size = new System.Drawing.Size(167, 34); |
| | | this.txtHPayProcID.Size = new System.Drawing.Size(126, 28); |
| | | this.txtHPayProcID.TabIndex = 149; |
| | | this.txtHPayProcID.TabStop = false; |
| | | this.txtHPayProcID.Tag = "0"; |
| | |
| | | this.chkHLastSubProc.Enabled = false; |
| | | this.chkHLastSubProc.Font = new System.Drawing.Font("å®ä½", 10.8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.chkHLastSubProc.ForeColor = System.Drawing.Color.Yellow; |
| | | this.chkHLastSubProc.Location = new System.Drawing.Point(742, 85); |
| | | this.chkHLastSubProc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.chkHLastSubProc.Location = new System.Drawing.Point(556, 68); |
| | | this.chkHLastSubProc.Margin = new System.Windows.Forms.Padding(2); |
| | | this.chkHLastSubProc.Name = "chkHLastSubProc"; |
| | | this.chkHLastSubProc.Size = new System.Drawing.Size(111, 23); |
| | | this.chkHLastSubProc.Size = new System.Drawing.Size(90, 19); |
| | | this.chkHLastSubProc.TabIndex = 150; |
| | | this.chkHLastSubProc.Text = "转ä¸å·¥åº"; |
| | | this.chkHLastSubProc.UseVisualStyleBackColor = true; |
| | |
| | | this.label40.AutoSize = true; |
| | | this.label40.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label40.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label40.Location = new System.Drawing.Point(14, 446); |
| | | this.label40.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label40.Location = new System.Drawing.Point(10, 357); |
| | | this.label40.Name = "label40"; |
| | | this.label40.Size = new System.Drawing.Size(112, 27); |
| | | this.label40.Size = new System.Drawing.Size(90, 21); |
| | | this.label40.TabIndex = 179; |
| | | this.label40.Text = "è®¾å¤æ¸
åï¼"; |
| | | // |
| | |
| | | this.label39.BackColor = System.Drawing.Color.Gray; |
| | | this.label39.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label39.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label39.Location = new System.Drawing.Point(453, 228); |
| | | this.label39.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label39.Location = new System.Drawing.Point(340, 182); |
| | | this.label39.Name = "label39"; |
| | | this.label39.Size = new System.Drawing.Size(110, 27); |
| | | this.label39.Size = new System.Drawing.Size(89, 21); |
| | | this.label39.TabIndex = 175; |
| | | this.label39.Text = "æ£ éª åï¼"; |
| | | this.label39.Click += new System.EventHandler(this.label39_Click); |
| | |
| | | this.label38.BackColor = System.Drawing.Color.Gray; |
| | | this.label38.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label38.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label38.Location = new System.Drawing.Point(453, 301); |
| | | this.label38.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label38.Location = new System.Drawing.Point(340, 241); |
| | | this.label38.Name = "label38"; |
| | | this.label38.Size = new System.Drawing.Size(72, 27); |
| | | this.label38.Size = new System.Drawing.Size(58, 21); |
| | | this.label38.TabIndex = 173; |
| | | this.label38.Text = "å·¥æ¶ï¼"; |
| | | // |
| | |
| | | this.label37.AutoSize = true; |
| | | this.label37.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label37.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label37.Location = new System.Drawing.Point(16, 484); |
| | | this.label37.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label37.Location = new System.Drawing.Point(12, 387); |
| | | this.label37.Name = "label37"; |
| | | this.label37.Size = new System.Drawing.Size(92, 27); |
| | | this.label37.Size = new System.Drawing.Size(74, 21); |
| | | this.label37.TabIndex = 170; |
| | | this.label37.Text = "模穴å·ï¼"; |
| | | // |
| | |
| | | this.label13.BackColor = System.Drawing.Color.Gray; |
| | | this.label13.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label13.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label13.Location = new System.Drawing.Point(16, 337); |
| | | this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label13.Location = new System.Drawing.Point(12, 270); |
| | | this.label13.Name = "label13"; |
| | | this.label13.Size = new System.Drawing.Size(132, 27); |
| | | this.label13.Size = new System.Drawing.Size(106, 21); |
| | | this.label13.TabIndex = 119; |
| | | this.label13.Text = "ä»»å¡åæ°éï¼"; |
| | | // |
| | |
| | | this.label12.BackColor = System.Drawing.Color.Gray; |
| | | this.label12.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label12.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label12.Location = new System.Drawing.Point(16, 265); |
| | | this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label12.Location = new System.Drawing.Point(12, 212); |
| | | this.label12.Name = "label12"; |
| | | this.label12.Size = new System.Drawing.Size(104, 27); |
| | | this.label12.Size = new System.Drawing.Size(84, 21); |
| | | this.label12.TabIndex = 116; |
| | | this.label12.Text = "å æ® å·ï¼"; |
| | | // |
| | |
| | | this.label20.BackColor = System.Drawing.Color.Gray; |
| | | this.label20.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label20.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label20.Location = new System.Drawing.Point(16, 84); |
| | | this.label20.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label20.Location = new System.Drawing.Point(12, 67); |
| | | this.label20.Name = "label20"; |
| | | this.label20.Size = new System.Drawing.Size(112, 27); |
| | | this.label20.Size = new System.Drawing.Size(90, 21); |
| | | this.label20.TabIndex = 140; |
| | | this.label20.Text = "å·¥ä½ä¸å¿ï¼"; |
| | | this.label20.Click += new System.EventHandler(this.label20_Click); |
| | |
| | | this.label23.BackColor = System.Drawing.Color.Gray; |
| | | this.label23.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label23.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label23.Location = new System.Drawing.Point(16, 47); |
| | | this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label23.Location = new System.Drawing.Point(12, 38); |
| | | this.label23.Name = "label23"; |
| | | this.label23.Size = new System.Drawing.Size(92, 27); |
| | | this.label23.Size = new System.Drawing.Size(74, 21); |
| | | this.label23.TabIndex = 144; |
| | | this.label23.Text = "æµæ°´å·ï¼"; |
| | | // |
| | |
| | | this.label29.BackColor = System.Drawing.Color.Gray; |
| | | this.label29.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label29.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label29.Location = new System.Drawing.Point(453, 446); |
| | | this.label29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label29.Location = new System.Drawing.Point(340, 357); |
| | | this.label29.Name = "label29"; |
| | | this.label29.Size = new System.Drawing.Size(104, 27); |
| | | this.label29.Size = new System.Drawing.Size(83, 21); |
| | | this.label29.TabIndex = 161; |
| | | this.label29.Text = "æä½å5ï¼"; |
| | | // |
| | |
| | | this.label24.BackColor = System.Drawing.Color.Gray; |
| | | this.label24.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label24.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label24.Location = new System.Drawing.Point(16, 301); |
| | | this.label24.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label24.Location = new System.Drawing.Point(12, 241); |
| | | this.label24.Name = "label24"; |
| | | this.label24.Size = new System.Drawing.Size(132, 27); |
| | | this.label24.Size = new System.Drawing.Size(106, 21); |
| | | this.label24.TabIndex = 146; |
| | | this.label24.Text = "订åè·è¸ªå·ï¼"; |
| | | // |
| | |
| | | this.label30.BackColor = System.Drawing.Color.Gray; |
| | | this.label30.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label30.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label30.Location = new System.Drawing.Point(453, 120); |
| | | this.label30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label30.Location = new System.Drawing.Point(340, 96); |
| | | this.label30.Name = "label30"; |
| | | this.label30.Size = new System.Drawing.Size(72, 27); |
| | | this.label30.Size = new System.Drawing.Size(58, 21); |
| | | this.label30.TabIndex = 168; |
| | | this.label30.Text = "夿³¨ï¼"; |
| | | // |
| | |
| | | this.label28.BackColor = System.Drawing.Color.Gray; |
| | | this.label28.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label28.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label28.Location = new System.Drawing.Point(453, 410); |
| | | this.label28.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label28.Location = new System.Drawing.Point(340, 328); |
| | | this.label28.Name = "label28"; |
| | | this.label28.Size = new System.Drawing.Size(104, 27); |
| | | this.label28.Size = new System.Drawing.Size(83, 21); |
| | | this.label28.TabIndex = 158; |
| | | this.label28.Text = "æä½å4ï¼"; |
| | | // |
| | |
| | | this.label27.BackColor = System.Drawing.Color.Gray; |
| | | this.label27.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label27.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label27.Location = new System.Drawing.Point(453, 374); |
| | | this.label27.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label27.Location = new System.Drawing.Point(340, 299); |
| | | this.label27.Name = "label27"; |
| | | this.label27.Size = new System.Drawing.Size(104, 27); |
| | | this.label27.Size = new System.Drawing.Size(83, 21); |
| | | this.label27.TabIndex = 155; |
| | | this.label27.Text = "æä½å3ï¼"; |
| | | // |
| | |
| | | this.label26.BackColor = System.Drawing.Color.Gray; |
| | | this.label26.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label26.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label26.Location = new System.Drawing.Point(453, 337); |
| | | this.label26.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label26.Location = new System.Drawing.Point(340, 270); |
| | | this.label26.Name = "label26"; |
| | | this.label26.Size = new System.Drawing.Size(104, 27); |
| | | this.label26.Size = new System.Drawing.Size(83, 21); |
| | | this.label26.TabIndex = 152; |
| | | this.label26.Text = "æä½å2ï¼"; |
| | | this.label26.Click += new System.EventHandler(this.label26_Click); |
| | |
| | | this.label18.BackColor = System.Drawing.Color.Gray; |
| | | this.label18.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label18.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label18.Location = new System.Drawing.Point(450, 482); |
| | | this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label18.Location = new System.Drawing.Point(338, 386); |
| | | this.label18.Name = "label18"; |
| | | this.label18.Size = new System.Drawing.Size(112, 27); |
| | | this.label18.Size = new System.Drawing.Size(90, 21); |
| | | this.label18.TabIndex = 124; |
| | | this.label18.Text = "æ¥åºæ°éï¼"; |
| | | // |
| | |
| | | this.label25.BackColor = System.Drawing.Color.Gray; |
| | | this.label25.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label25.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label25.Location = new System.Drawing.Point(453, 84); |
| | | this.label25.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label25.Location = new System.Drawing.Point(340, 67); |
| | | this.label25.Name = "label25"; |
| | | this.label25.Size = new System.Drawing.Size(112, 27); |
| | | this.label25.Size = new System.Drawing.Size(90, 21); |
| | | this.label25.TabIndex = 148; |
| | | this.label25.Text = "æ ¸ç®å·¥åºï¼"; |
| | | // |
| | |
| | | this.tabPage3.Controls.Add(this.label6); |
| | | this.tabPage3.Controls.Add(this.label15); |
| | | this.tabPage3.Controls.Add(this.label22); |
| | | this.tabPage3.Location = new System.Drawing.Point(4, 25); |
| | | this.tabPage3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.tabPage3.Location = new System.Drawing.Point(4, 22); |
| | | this.tabPage3.Margin = new System.Windows.Forms.Padding(2); |
| | | this.tabPage3.Name = "tabPage3"; |
| | | this.tabPage3.Padding = new System.Windows.Forms.Padding(3, 2, 3, 2); |
| | | this.tabPage3.Size = new System.Drawing.Size(891, 551); |
| | | this.tabPage3.Padding = new System.Windows.Forms.Padding(2); |
| | | this.tabPage3.Size = new System.Drawing.Size(666, 439); |
| | | this.tabPage3.TabIndex = 1; |
| | | this.tabPage3.Text = "å
¶ä»ä¿¡æ¯"; |
| | | // |
| | |
| | | this.txtHDSQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHDSQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHDSQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHDSQty.Location = new System.Drawing.Point(168, 114); |
| | | this.txtHDSQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHDSQty.Location = new System.Drawing.Point(126, 91); |
| | | this.txtHDSQty.Name = "txtHDSQty"; |
| | | this.txtHDSQty.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHDSQty.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHDSQty.TabIndex = 172; |
| | | this.txtHDSQty.Tag = "0"; |
| | | this.txtHDSQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHDSQty_KeyDown); |
| | |
| | | this.txtHPriceRate.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHPriceRate.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHPriceRate.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHPriceRate.Location = new System.Drawing.Point(619, 185); |
| | | this.txtHPriceRate.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHPriceRate.Location = new System.Drawing.Point(464, 148); |
| | | this.txtHPriceRate.Name = "txtHPriceRate"; |
| | | this.txtHPriceRate.ReadOnly = true; |
| | | this.txtHPriceRate.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHPriceRate.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHPriceRate.TabIndex = 178; |
| | | this.txtHPriceRate.Tag = "0"; |
| | | // |
| | | // txtHBadCount |
| | | // |
| | | this.txtHBadCount.BackColor = System.Drawing.SystemColors.Window; |
| | | this.txtHBadCount.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHBadCount.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHBadCount.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHBadCount.Location = new System.Drawing.Point(568, 260); |
| | | this.txtHBadCount.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHBadCount.Name = "txtHBadCount"; |
| | | this.txtHBadCount.Size = new System.Drawing.Size(248, 34); |
| | | this.txtHBadCount.TabIndex = 114; |
| | | this.txtHBadCount.TabStop = false; |
| | | this.txtHBadCount.Tag = "0"; |
| | | // |
| | | // txtHWWWorkOrderBillNo |
| | | // |
| | | this.txtHWWWorkOrderBillNo.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHWWWorkOrderBillNo.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHWWWorkOrderBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHWWWorkOrderBillNo.Location = new System.Drawing.Point(167, 222); |
| | | this.txtHWWWorkOrderBillNo.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHWWWorkOrderBillNo.Location = new System.Drawing.Point(125, 178); |
| | | this.txtHWWWorkOrderBillNo.Name = "txtHWWWorkOrderBillNo"; |
| | | this.txtHWWWorkOrderBillNo.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHWWWorkOrderBillNo.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHWWWorkOrderBillNo.TabIndex = 171; |
| | | this.txtHWWWorkOrderBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHWWWorkOrderBillNo_KeyDown); |
| | | // |
| | |
| | | this.txtHPlanPieceQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHPlanPieceQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHPlanPieceQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHPlanPieceQty.Location = new System.Drawing.Point(169, 42); |
| | | this.txtHPlanPieceQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHPlanPieceQty.Location = new System.Drawing.Point(127, 34); |
| | | this.txtHPlanPieceQty.Name = "txtHPlanPieceQty"; |
| | | this.txtHPlanPieceQty.ReadOnly = true; |
| | | this.txtHPlanPieceQty.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHPlanPieceQty.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHPlanPieceQty.TabIndex = 127; |
| | | this.txtHPlanPieceQty.TabStop = false; |
| | | this.txtHPlanPieceQty.Tag = "0"; |
| | |
| | | this.txtHUnitChongQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHUnitChongQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHUnitChongQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHUnitChongQty.Location = new System.Drawing.Point(619, 149); |
| | | this.txtHUnitChongQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHUnitChongQty.Location = new System.Drawing.Point(464, 119); |
| | | this.txtHUnitChongQty.Name = "txtHUnitChongQty"; |
| | | this.txtHUnitChongQty.ReadOnly = true; |
| | | this.txtHUnitChongQty.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHUnitChongQty.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHUnitChongQty.TabIndex = 176; |
| | | this.txtHUnitChongQty.Tag = "0"; |
| | | // |
| | |
| | | this.txtHBadPNL.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHBadPNL.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHBadPNL.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHBadPNL.Location = new System.Drawing.Point(169, 78); |
| | | this.txtHBadPNL.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHBadPNL.Location = new System.Drawing.Point(127, 62); |
| | | this.txtHBadPNL.Name = "txtHBadPNL"; |
| | | this.txtHBadPNL.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHBadPNL.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHBadPNL.TabIndex = 6; |
| | | this.txtHBadPNL.Tag = "0"; |
| | | this.txtHBadPNL.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBadPNL_KeyDown); |
| | |
| | | this.txtHPieceQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHPieceQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHPieceQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHPieceQty.Location = new System.Drawing.Point(619, 41); |
| | | this.txtHPieceQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHPieceQty.Location = new System.Drawing.Point(464, 33); |
| | | this.txtHPieceQty.Name = "txtHPieceQty"; |
| | | this.txtHPieceQty.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHPieceQty.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHPieceQty.TabIndex = 3; |
| | | this.txtHPieceQty.Tag = "0"; |
| | | this.txtHPieceQty.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHPieceQty_KeyDown); |
| | |
| | | this.txtHChongQty.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHChongQty.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHChongQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHChongQty.Location = new System.Drawing.Point(168, 150); |
| | | this.txtHChongQty.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHChongQty.Location = new System.Drawing.Point(126, 120); |
| | | this.txtHChongQty.Name = "txtHChongQty"; |
| | | this.txtHChongQty.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHChongQty.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHChongQty.TabIndex = 174; |
| | | this.txtHChongQty.Tag = "0"; |
| | | // |
| | |
| | | this.txtHChecker.Font = new System.Drawing.Font("å®ä½", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHChecker.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHChecker.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHChecker.Location = new System.Drawing.Point(619, 112); |
| | | this.txtHChecker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHChecker.Location = new System.Drawing.Point(464, 90); |
| | | this.txtHChecker.Name = "txtHChecker"; |
| | | this.txtHChecker.Size = new System.Drawing.Size(249, 34); |
| | | this.txtHChecker.Size = new System.Drawing.Size(188, 28); |
| | | this.txtHChecker.TabIndex = 142; |
| | | this.txtHChecker.Tag = "0"; |
| | | // |
| | |
| | | this.label41.AutoSize = true; |
| | | this.label41.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label41.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label41.Location = new System.Drawing.Point(31, 392); |
| | | this.label41.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label41.Location = new System.Drawing.Point(23, 314); |
| | | this.label41.Name = "label41"; |
| | | this.label41.Size = new System.Drawing.Size(124, 27); |
| | | this.label41.Size = new System.Drawing.Size(99, 21); |
| | | this.label41.TabIndex = 192; |
| | | this.label41.Text = "çäº§èµæº5ï¼"; |
| | | // |
| | |
| | | this.txtHSourceName5.Font = new System.Drawing.Font("微软é
é»", 13.8F); |
| | | this.txtHSourceName5.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceName5.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceName5.Location = new System.Drawing.Point(272, 391); |
| | | this.txtHSourceName5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceName5.Location = new System.Drawing.Point(204, 313); |
| | | this.txtHSourceName5.Name = "txtHSourceName5"; |
| | | this.txtHSourceName5.ReadOnly = true; |
| | | this.txtHSourceName5.Size = new System.Drawing.Size(151, 38); |
| | | this.txtHSourceName5.Size = new System.Drawing.Size(114, 32); |
| | | this.txtHSourceName5.TabIndex = 195; |
| | | this.txtHSourceName5.Tag = "0"; |
| | | // |
| | |
| | | this.txtHSourceID5.Font = new System.Drawing.Font("微软é
é»", 13.8F); |
| | | this.txtHSourceID5.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceID5.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceID5.Location = new System.Drawing.Point(165, 391); |
| | | this.txtHSourceID5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceID5.Location = new System.Drawing.Point(124, 313); |
| | | this.txtHSourceID5.Name = "txtHSourceID5"; |
| | | this.txtHSourceID5.Size = new System.Drawing.Size(104, 38); |
| | | this.txtHSourceID5.Size = new System.Drawing.Size(79, 32); |
| | | this.txtHSourceID5.TabIndex = 193; |
| | | this.txtHSourceID5.Tag = "0"; |
| | | // |
| | |
| | | // |
| | | this.cmdHSourceID5.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHSourceID5.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID5.Image"))); |
| | | this.cmdHSourceID5.Location = new System.Drawing.Point(424, 391); |
| | | this.cmdHSourceID5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHSourceID5.Location = new System.Drawing.Point(318, 313); |
| | | this.cmdHSourceID5.Name = "cmdHSourceID5"; |
| | | this.cmdHSourceID5.Size = new System.Drawing.Size(40, 40); |
| | | this.cmdHSourceID5.Size = new System.Drawing.Size(30, 32); |
| | | this.cmdHSourceID5.TabIndex = 194; |
| | | this.cmdHSourceID5.UseVisualStyleBackColor = false; |
| | | this.cmdHSourceID5.Click += new System.EventHandler(this.cmdHSourceID5_Click); |
| | |
| | | this.label42.AutoSize = true; |
| | | this.label42.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label42.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label42.Location = new System.Drawing.Point(31, 352); |
| | | this.label42.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label42.Location = new System.Drawing.Point(23, 282); |
| | | this.label42.Name = "label42"; |
| | | this.label42.Size = new System.Drawing.Size(124, 27); |
| | | this.label42.Size = new System.Drawing.Size(99, 21); |
| | | this.label42.TabIndex = 188; |
| | | this.label42.Text = "çäº§èµæº4ï¼"; |
| | | // |
| | |
| | | this.txtHSourceName4.Font = new System.Drawing.Font("微软é
é»", 13.8F); |
| | | this.txtHSourceName4.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceName4.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceName4.Location = new System.Drawing.Point(272, 352); |
| | | this.txtHSourceName4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceName4.Location = new System.Drawing.Point(204, 282); |
| | | this.txtHSourceName4.Name = "txtHSourceName4"; |
| | | this.txtHSourceName4.ReadOnly = true; |
| | | this.txtHSourceName4.Size = new System.Drawing.Size(151, 38); |
| | | this.txtHSourceName4.Size = new System.Drawing.Size(114, 32); |
| | | this.txtHSourceName4.TabIndex = 191; |
| | | this.txtHSourceName4.Tag = "0"; |
| | | // |
| | |
| | | this.txtHSourceID4.Font = new System.Drawing.Font("微软é
é»", 13.8F); |
| | | this.txtHSourceID4.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceID4.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceID4.Location = new System.Drawing.Point(165, 352); |
| | | this.txtHSourceID4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceID4.Location = new System.Drawing.Point(124, 282); |
| | | this.txtHSourceID4.Name = "txtHSourceID4"; |
| | | this.txtHSourceID4.Size = new System.Drawing.Size(104, 38); |
| | | this.txtHSourceID4.Size = new System.Drawing.Size(79, 32); |
| | | this.txtHSourceID4.TabIndex = 189; |
| | | this.txtHSourceID4.Tag = "0"; |
| | | // |
| | |
| | | // |
| | | this.cmdHSourceID4.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHSourceID4.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID4.Image"))); |
| | | this.cmdHSourceID4.Location = new System.Drawing.Point(424, 352); |
| | | this.cmdHSourceID4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHSourceID4.Location = new System.Drawing.Point(318, 282); |
| | | this.cmdHSourceID4.Name = "cmdHSourceID4"; |
| | | this.cmdHSourceID4.Size = new System.Drawing.Size(40, 40); |
| | | this.cmdHSourceID4.Size = new System.Drawing.Size(30, 32); |
| | | this.cmdHSourceID4.TabIndex = 190; |
| | | this.cmdHSourceID4.UseVisualStyleBackColor = false; |
| | | this.cmdHSourceID4.Click += new System.EventHandler(this.cmdHSourceID4_Click); |
| | |
| | | this.label43.AutoSize = true; |
| | | this.label43.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label43.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label43.Location = new System.Drawing.Point(31, 314); |
| | | this.label43.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label43.Location = new System.Drawing.Point(23, 251); |
| | | this.label43.Name = "label43"; |
| | | this.label43.Size = new System.Drawing.Size(124, 27); |
| | | this.label43.Size = new System.Drawing.Size(99, 21); |
| | | this.label43.TabIndex = 184; |
| | | this.label43.Text = "çäº§èµæº3ï¼"; |
| | | // |
| | |
| | | this.txtHSourceName3.Font = new System.Drawing.Font("微软é
é»", 13.8F); |
| | | this.txtHSourceName3.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceName3.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceName3.Location = new System.Drawing.Point(272, 312); |
| | | this.txtHSourceName3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceName3.Location = new System.Drawing.Point(204, 250); |
| | | this.txtHSourceName3.Name = "txtHSourceName3"; |
| | | this.txtHSourceName3.ReadOnly = true; |
| | | this.txtHSourceName3.Size = new System.Drawing.Size(151, 38); |
| | | this.txtHSourceName3.Size = new System.Drawing.Size(114, 32); |
| | | this.txtHSourceName3.TabIndex = 187; |
| | | this.txtHSourceName3.Tag = "0"; |
| | | // |
| | |
| | | this.txtHSourceID3.Font = new System.Drawing.Font("微软é
é»", 13.8F); |
| | | this.txtHSourceID3.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceID3.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceID3.Location = new System.Drawing.Point(165, 312); |
| | | this.txtHSourceID3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceID3.Location = new System.Drawing.Point(124, 250); |
| | | this.txtHSourceID3.Name = "txtHSourceID3"; |
| | | this.txtHSourceID3.Size = new System.Drawing.Size(104, 38); |
| | | this.txtHSourceID3.Size = new System.Drawing.Size(79, 32); |
| | | this.txtHSourceID3.TabIndex = 185; |
| | | this.txtHSourceID3.Tag = "0"; |
| | | // |
| | |
| | | // |
| | | this.cmdHSourceID3.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHSourceID3.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID3.Image"))); |
| | | this.cmdHSourceID3.Location = new System.Drawing.Point(424, 312); |
| | | this.cmdHSourceID3.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHSourceID3.Location = new System.Drawing.Point(318, 250); |
| | | this.cmdHSourceID3.Name = "cmdHSourceID3"; |
| | | this.cmdHSourceID3.Size = new System.Drawing.Size(40, 40); |
| | | this.cmdHSourceID3.Size = new System.Drawing.Size(30, 32); |
| | | this.cmdHSourceID3.TabIndex = 186; |
| | | this.cmdHSourceID3.UseVisualStyleBackColor = false; |
| | | this.cmdHSourceID3.Click += new System.EventHandler(this.cmdHSourceID3_Click); |
| | |
| | | this.label44.AutoSize = true; |
| | | this.label44.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label44.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label44.Location = new System.Drawing.Point(31, 275); |
| | | this.label44.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label44.Location = new System.Drawing.Point(23, 220); |
| | | this.label44.Name = "label44"; |
| | | this.label44.Size = new System.Drawing.Size(124, 27); |
| | | this.label44.Size = new System.Drawing.Size(99, 21); |
| | | this.label44.TabIndex = 180; |
| | | this.label44.Text = "çäº§èµæº2ï¼"; |
| | | // |
| | |
| | | this.txtHSourceName2.Font = new System.Drawing.Font("微软é
é»", 13.8F); |
| | | this.txtHSourceName2.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceName2.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceName2.Location = new System.Drawing.Point(272, 274); |
| | | this.txtHSourceName2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceName2.Location = new System.Drawing.Point(204, 219); |
| | | this.txtHSourceName2.Name = "txtHSourceName2"; |
| | | this.txtHSourceName2.ReadOnly = true; |
| | | this.txtHSourceName2.Size = new System.Drawing.Size(151, 38); |
| | | this.txtHSourceName2.Size = new System.Drawing.Size(114, 32); |
| | | this.txtHSourceName2.TabIndex = 183; |
| | | this.txtHSourceName2.Tag = "0"; |
| | | // |
| | |
| | | this.txtHSourceID2.Font = new System.Drawing.Font("微软é
é»", 13.8F); |
| | | this.txtHSourceID2.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHSourceID2.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceID2.Location = new System.Drawing.Point(165, 274); |
| | | this.txtHSourceID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHSourceID2.Location = new System.Drawing.Point(124, 219); |
| | | this.txtHSourceID2.Name = "txtHSourceID2"; |
| | | this.txtHSourceID2.Size = new System.Drawing.Size(104, 38); |
| | | this.txtHSourceID2.Size = new System.Drawing.Size(79, 32); |
| | | this.txtHSourceID2.TabIndex = 181; |
| | | this.txtHSourceID2.Tag = "0"; |
| | | // |
| | |
| | | // |
| | | this.cmdHSourceID2.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHSourceID2.Image = ((System.Drawing.Image)(resources.GetObject("cmdHSourceID2.Image"))); |
| | | this.cmdHSourceID2.Location = new System.Drawing.Point(424, 274); |
| | | this.cmdHSourceID2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHSourceID2.Location = new System.Drawing.Point(318, 219); |
| | | this.cmdHSourceID2.Name = "cmdHSourceID2"; |
| | | this.cmdHSourceID2.Size = new System.Drawing.Size(40, 40); |
| | | this.cmdHSourceID2.Size = new System.Drawing.Size(30, 32); |
| | | this.cmdHSourceID2.TabIndex = 182; |
| | | this.cmdHSourceID2.UseVisualStyleBackColor = false; |
| | | this.cmdHSourceID2.Click += new System.EventHandler(this.cmdHSourceID2_Click); |
| | |
| | | this.label31.BackColor = System.Drawing.Color.Gray; |
| | | this.label31.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label31.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label31.Location = new System.Drawing.Point(31, 218); |
| | | this.label31.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label31.Location = new System.Drawing.Point(23, 174); |
| | | this.label31.Name = "label31"; |
| | | this.label31.Size = new System.Drawing.Size(132, 27); |
| | | this.label31.Size = new System.Drawing.Size(106, 21); |
| | | this.label31.TabIndex = 170; |
| | | this.label31.Text = "å§å¤å·¥åå·ï¼"; |
| | | // |
| | | // label17 |
| | | // |
| | | this.label17.AutoSize = true; |
| | | this.label17.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label17.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label17.Location = new System.Drawing.Point(453, 265); |
| | | this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label17.Name = "label17"; |
| | | this.label17.Size = new System.Drawing.Size(112, 27); |
| | | this.label17.TabIndex = 113; |
| | | this.label17.Text = "ä¸è¯æ°éï¼"; |
| | | // |
| | | // label19 |
| | | // |
| | |
| | | this.label19.BackColor = System.Drawing.Color.Gray; |
| | | this.label19.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label19.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label19.Location = new System.Drawing.Point(31, 48); |
| | | this.label19.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label19.Location = new System.Drawing.Point(23, 38); |
| | | this.label19.Name = "label19"; |
| | | this.label19.Size = new System.Drawing.Size(136, 27); |
| | | this.label19.Size = new System.Drawing.Size(110, 21); |
| | | this.label19.TabIndex = 126; |
| | | this.label19.Text = "è¿ç« PNLæ°ï¼"; |
| | | // |
| | |
| | | this.label35.BackColor = System.Drawing.Color.Gray; |
| | | this.label35.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label35.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label35.Location = new System.Drawing.Point(485, 192); |
| | | this.label35.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label35.Location = new System.Drawing.Point(364, 154); |
| | | this.label35.Name = "label35"; |
| | | this.label35.Size = new System.Drawing.Size(108, 27); |
| | | this.label35.Size = new System.Drawing.Size(88, 21); |
| | | this.label35.TabIndex = 179; |
| | | this.label35.Text = "ç³» æ°ï¼"; |
| | | // |
| | |
| | | this.label34.BackColor = System.Drawing.Color.Gray; |
| | | this.label34.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label34.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label34.Location = new System.Drawing.Point(485, 155); |
| | | this.label34.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label34.Location = new System.Drawing.Point(364, 124); |
| | | this.label34.Name = "label34"; |
| | | this.label34.Size = new System.Drawing.Size(112, 27); |
| | | this.label34.Size = new System.Drawing.Size(91, 21); |
| | | this.label34.TabIndex = 177; |
| | | this.label34.Text = "NCT忬¡ï¼"; |
| | | // |
| | |
| | | this.label21.BackColor = System.Drawing.Color.Gray; |
| | | this.label21.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label21.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label21.Location = new System.Drawing.Point(31, 81); |
| | | this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label21.Location = new System.Drawing.Point(23, 65); |
| | | this.label21.Name = "label21"; |
| | | this.label21.Size = new System.Drawing.Size(130, 27); |
| | | this.label21.Size = new System.Drawing.Size(105, 21); |
| | | this.label21.TabIndex = 139; |
| | | this.label21.Text = "æ¥åºPNLæ°ï¼"; |
| | | // |
| | |
| | | this.label14.BackColor = System.Drawing.Color.Gray; |
| | | this.label14.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label14.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label14.Location = new System.Drawing.Point(485, 81); |
| | | this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label14.Location = new System.Drawing.Point(364, 65); |
| | | this.label14.Name = "label14"; |
| | | this.label14.Size = new System.Drawing.Size(108, 27); |
| | | this.label14.Size = new System.Drawing.Size(88, 21); |
| | | this.label14.TabIndex = 120; |
| | | this.label14.Text = "æº å°ï¼"; |
| | | // |
| | |
| | | this.label32.BackColor = System.Drawing.Color.Gray; |
| | | this.label32.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label32.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label32.Location = new System.Drawing.Point(31, 115); |
| | | this.label32.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label32.Location = new System.Drawing.Point(23, 92); |
| | | this.label32.Name = "label32"; |
| | | this.label32.Size = new System.Drawing.Size(112, 27); |
| | | this.label32.Size = new System.Drawing.Size(90, 21); |
| | | this.label32.TabIndex = 173; |
| | | this.label32.Text = "æå¼¯åæ°ï¼"; |
| | | // |
| | |
| | | this.label33.BackColor = System.Drawing.Color.Gray; |
| | | this.label33.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label33.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label33.Location = new System.Drawing.Point(31, 149); |
| | | this.label33.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label33.Location = new System.Drawing.Point(23, 119); |
| | | this.label33.Name = "label33"; |
| | | this.label33.Size = new System.Drawing.Size(132, 27); |
| | | this.label33.Size = new System.Drawing.Size(107, 21); |
| | | this.label33.TabIndex = 175; |
| | | this.label33.Text = "NCT岿¬¡æ°ï¼"; |
| | | // |
| | |
| | | this.label15.BackColor = System.Drawing.Color.Gray; |
| | | this.label15.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label15.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label15.Location = new System.Drawing.Point(31, 182); |
| | | this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label15.Location = new System.Drawing.Point(23, 146); |
| | | this.label15.Name = "label15"; |
| | | this.label15.Size = new System.Drawing.Size(130, 27); |
| | | this.label15.Size = new System.Drawing.Size(105, 21); |
| | | this.label15.TabIndex = 122; |
| | | this.label15.Text = "移交PNLæ°ï¼"; |
| | | // |
| | |
| | | this.label22.BackColor = System.Drawing.Color.Gray; |
| | | this.label22.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label22.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label22.Location = new System.Drawing.Point(485, 118); |
| | | this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label22.Location = new System.Drawing.Point(364, 94); |
| | | this.label22.Name = "label22"; |
| | | this.label22.Size = new System.Drawing.Size(132, 27); |
| | | this.label22.Size = new System.Drawing.Size(106, 21); |
| | | this.label22.TabIndex = 143; |
| | | this.label22.Text = "å质确认人ï¼"; |
| | | // |
| | |
| | | // |
| | | // panel1 |
| | | // |
| | | this.panel1.Controls.Add(this.cmdBFChecker); |
| | | this.panel1.Controls.Add(this.cmdXZ); |
| | | this.panel1.Controls.Add(this.cmdHPrintCusCard); |
| | | this.panel1.Controls.Add(this.cmdHPrint); |
| | |
| | | this.panel1.Controls.Add(this.cmdCancel); |
| | | this.panel1.Controls.Add(this.cmdOK); |
| | | this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.panel1.Location = new System.Drawing.Point(57, 730); |
| | | this.panel1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.panel1.Location = new System.Drawing.Point(43, 584); |
| | | this.panel1.Name = "panel1"; |
| | | this.panel1.Size = new System.Drawing.Size(1286, 98); |
| | | this.panel1.Size = new System.Drawing.Size(964, 78); |
| | | this.panel1.TabIndex = 116; |
| | | // |
| | | // cmdBFChecker |
| | | // |
| | | this.cmdBFChecker.Location = new System.Drawing.Point(178, 4); |
| | | this.cmdBFChecker.Name = "cmdBFChecker"; |
| | | this.cmdBFChecker.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdBFChecker.TabIndex = 151; |
| | | this.cmdBFChecker.Text = "æ¥åºå质确认"; |
| | | this.cmdBFChecker.UseVisualStyleBackColor = true; |
| | | this.cmdBFChecker.Click += new System.EventHandler(this.cmdBFChecker_Click); |
| | | // |
| | | // cmdXZ |
| | | // |
| | | this.cmdXZ.Location = new System.Drawing.Point(21, 5); |
| | | this.cmdXZ.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdXZ.Location = new System.Drawing.Point(16, 4); |
| | | this.cmdXZ.Name = "cmdXZ"; |
| | | this.cmdXZ.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdXZ.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdXZ.TabIndex = 150; |
| | | this.cmdXZ.Text = "æ° å¢"; |
| | | this.cmdXZ.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmdHPrintCusCard |
| | | // |
| | | this.cmdHPrintCusCard.Location = new System.Drawing.Point(1101, 5); |
| | | this.cmdHPrintCusCard.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHPrintCusCard.Location = new System.Drawing.Point(826, 4); |
| | | this.cmdHPrintCusCard.Name = "cmdHPrintCusCard"; |
| | | this.cmdHPrintCusCard.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdHPrintCusCard.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdHPrintCusCard.TabIndex = 149; |
| | | this.cmdHPrintCusCard.Text = "æå°å®¢æ·ç "; |
| | | this.cmdHPrintCusCard.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmdHPrint |
| | | // |
| | | this.cmdHPrint.Location = new System.Drawing.Point(993, 5); |
| | | this.cmdHPrint.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdHPrint.Location = new System.Drawing.Point(745, 4); |
| | | this.cmdHPrint.Name = "cmdHPrint"; |
| | | this.cmdHPrint.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdHPrint.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdHPrint.TabIndex = 148; |
| | | this.cmdHPrint.Text = "æå°æ è¯å¡"; |
| | | this.cmdHPrint.UseVisualStyleBackColor = true; |
| | |
| | | // button2 |
| | | // |
| | | this.button2.Enabled = false; |
| | | this.button2.Location = new System.Drawing.Point(777, 5); |
| | | this.button2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.button2.Location = new System.Drawing.Point(583, 4); |
| | | this.button2.Name = "button2"; |
| | | this.button2.Size = new System.Drawing.Size(93, 50); |
| | | this.button2.Size = new System.Drawing.Size(70, 40); |
| | | this.button2.TabIndex = 147; |
| | | this.button2.Text = "åå®¡æ ¸"; |
| | | this.button2.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmdAddNew |
| | | // |
| | | this.cmdAddNew.Location = new System.Drawing.Point(885, 5); |
| | | this.cmdAddNew.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdAddNew.Location = new System.Drawing.Point(664, 4); |
| | | this.cmdAddNew.Name = "cmdAddNew"; |
| | | this.cmdAddNew.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdAddNew.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdAddNew.TabIndex = 115; |
| | | this.cmdAddNew.Text = "æ¸
空"; |
| | | this.cmdAddNew.UseVisualStyleBackColor = true; |
| | |
| | | // button1 |
| | | // |
| | | this.button1.Enabled = false; |
| | | this.button1.Location = new System.Drawing.Point(669, 5); |
| | | this.button1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.button1.Location = new System.Drawing.Point(502, 4); |
| | | this.button1.Name = "button1"; |
| | | this.button1.Size = new System.Drawing.Size(93, 50); |
| | | this.button1.Size = new System.Drawing.Size(70, 40); |
| | | this.button1.TabIndex = 146; |
| | | this.button1.Text = "审 æ ¸"; |
| | | this.button1.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmdDelBill |
| | | // |
| | | this.cmdDelBill.Location = new System.Drawing.Point(237, 5); |
| | | this.cmdDelBill.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdDelBill.Location = new System.Drawing.Point(829, 40); |
| | | this.cmdDelBill.Name = "cmdDelBill"; |
| | | this.cmdDelBill.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdDelBill.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdDelBill.TabIndex = 145; |
| | | this.cmdDelBill.Text = "å é¤å
¥åºå"; |
| | | this.cmdDelBill.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmdChecker |
| | | // |
| | | this.cmdChecker.Location = new System.Drawing.Point(345, 5); |
| | | this.cmdChecker.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdChecker.Location = new System.Drawing.Point(259, 4); |
| | | this.cmdChecker.Name = "cmdChecker"; |
| | | this.cmdChecker.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdChecker.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdChecker.TabIndex = 144; |
| | | this.cmdChecker.Text = "å质确认"; |
| | | this.cmdChecker.Text = "ä¸è¯å质确认"; |
| | | this.cmdChecker.UseVisualStyleBackColor = true; |
| | | this.cmdChecker.Click += new System.EventHandler(this.cmdChecker_Click); |
| | | // |
| | | // cmdXG |
| | | // |
| | | this.cmdXG.Location = new System.Drawing.Point(129, 5); |
| | | this.cmdXG.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdXG.Location = new System.Drawing.Point(97, 4); |
| | | this.cmdXG.Name = "cmdXG"; |
| | | this.cmdXG.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdXG.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdXG.TabIndex = 119; |
| | | this.cmdXG.Text = "ä¿® æ¹"; |
| | | this.cmdXG.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmdBF |
| | | // |
| | | this.cmdBF.Location = new System.Drawing.Point(1333, 4); |
| | | this.cmdBF.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdBF.Location = new System.Drawing.Point(1000, 3); |
| | | this.cmdBF.Name = "cmdBF"; |
| | | this.cmdBF.Size = new System.Drawing.Size(85, 52); |
| | | this.cmdBF.Size = new System.Drawing.Size(64, 42); |
| | | this.cmdBF.TabIndex = 118; |
| | | this.cmdBF.Text = "æ¥ åº"; |
| | | this.cmdBF.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // bclk |
| | | // |
| | | this.bclk.Location = new System.Drawing.Point(1209, 5); |
| | | this.bclk.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.bclk.Location = new System.Drawing.Point(907, 4); |
| | | this.bclk.Name = "bclk"; |
| | | this.bclk.Size = new System.Drawing.Size(93, 50); |
| | | this.bclk.Size = new System.Drawing.Size(70, 40); |
| | | this.bclk.TabIndex = 116; |
| | | this.bclk.Text = "ä¿åå宽"; |
| | | this.bclk.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmdCancel |
| | | // |
| | | this.cmdCancel.Location = new System.Drawing.Point(561, 5); |
| | | this.cmdCancel.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdCancel.Location = new System.Drawing.Point(421, 4); |
| | | this.cmdCancel.Name = "cmdCancel"; |
| | | this.cmdCancel.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdCancel.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdCancel.TabIndex = 110; |
| | | this.cmdCancel.Text = "å æ¶"; |
| | | this.cmdCancel.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmdOK |
| | | // |
| | | this.cmdOK.Location = new System.Drawing.Point(453, 5); |
| | | this.cmdOK.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.cmdOK.Location = new System.Drawing.Point(340, 4); |
| | | this.cmdOK.Name = "cmdOK"; |
| | | this.cmdOK.Size = new System.Drawing.Size(93, 50); |
| | | this.cmdOK.Size = new System.Drawing.Size(70, 40); |
| | | this.cmdOK.TabIndex = 109; |
| | | this.cmdOK.Text = "æ± æ¥"; |
| | | this.cmdOK.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | this.panel2.Controls.Add(this.tabControl1); |
| | | this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.panel2.Location = new System.Drawing.Point(0, 606); |
| | | this.panel2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.panel2.Location = new System.Drawing.Point(0, 485); |
| | | this.panel2.Name = "panel2"; |
| | | this.panel2.Size = new System.Drawing.Size(935, 0); |
| | | this.panel2.Size = new System.Drawing.Size(935, 18); |
| | | this.panel2.TabIndex = 117; |
| | | // |
| | | // tabControl1 |
| | |
| | | this.tabControl1.Controls.Add(this.tabPage1); |
| | | this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.tabControl1.Location = new System.Drawing.Point(0, 0); |
| | | this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.tabControl1.Name = "tabControl1"; |
| | | this.tabControl1.SelectedIndex = 0; |
| | | this.tabControl1.Size = new System.Drawing.Size(935, 0); |
| | | this.tabControl1.Size = new System.Drawing.Size(935, 18); |
| | | this.tabControl1.TabIndex = 24; |
| | | this.tabControl1.Visible = false; |
| | | // |
| | |
| | | // |
| | | this.tabPage1.BackColor = System.Drawing.SystemColors.GrayText; |
| | | this.tabPage1.Controls.Add(this.grdSub); |
| | | this.tabPage1.Location = new System.Drawing.Point(4, 25); |
| | | this.tabPage1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.tabPage1.Location = new System.Drawing.Point(4, 22); |
| | | this.tabPage1.Name = "tabPage1"; |
| | | this.tabPage1.Padding = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.tabPage1.Padding = new System.Windows.Forms.Padding(3); |
| | | this.tabPage1.Size = new System.Drawing.Size(927, 0); |
| | | this.tabPage1.TabIndex = 0; |
| | | this.tabPage1.Text = "è忏
å"; |
| | |
| | | this.grdSub.BackgroundColor = System.Drawing.SystemColors.InactiveCaption; |
| | | this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdSub.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.grdSub.Location = new System.Drawing.Point(4, 4); |
| | | this.grdSub.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.grdSub.Location = new System.Drawing.Point(3, 3); |
| | | this.grdSub.Name = "grdSub"; |
| | | this.grdSub.ReadOnly = true; |
| | | this.grdSub.RowHeadersWidth = 51; |
| | | this.grdSub.RowTemplate.Height = 23; |
| | | this.grdSub.Size = new System.Drawing.Size(919, 0); |
| | | this.grdSub.Size = new System.Drawing.Size(921, 0); |
| | | this.grdSub.TabIndex = 20; |
| | | this.grdSub.RowHeadersWidthChanged += new System.EventHandler(this.grdSub_RowHeadersWidthChanged); |
| | | this.grdSub.CellBeginEdit += new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.grdSub_CellBeginEdit); |
| | |
| | | this.panel4.Controls.Add(this.label36); |
| | | this.panel4.Controls.Add(this.lblCaption); |
| | | this.panel4.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.panel4.Location = new System.Drawing.Point(57, 0); |
| | | this.panel4.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.panel4.Location = new System.Drawing.Point(43, 0); |
| | | this.panel4.Name = "panel4"; |
| | | this.panel4.Size = new System.Drawing.Size(1286, 65); |
| | | this.panel4.Size = new System.Drawing.Size(964, 52); |
| | | this.panel4.TabIndex = 119; |
| | | // |
| | | // txtHBarCode |
| | |
| | | this.txtHBarCode.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHBarCode.ForeColor = System.Drawing.Color.Green; |
| | | this.txtHBarCode.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHBarCode.Location = new System.Drawing.Point(325, 15); |
| | | this.txtHBarCode.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.txtHBarCode.Location = new System.Drawing.Point(244, 12); |
| | | this.txtHBarCode.Multiline = true; |
| | | this.txtHBarCode.Name = "txtHBarCode"; |
| | | this.txtHBarCode.Size = new System.Drawing.Size(304, 40); |
| | | this.txtHBarCode.Size = new System.Drawing.Size(229, 33); |
| | | this.txtHBarCode.TabIndex = 115; |
| | | this.txtHBarCode.Tag = "0"; |
| | | this.txtHBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBarCode_KeyDown); |
| | |
| | | this.label36.BackColor = System.Drawing.Color.Gray; |
| | | this.label36.Font = new System.Drawing.Font("微软é
é»", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label36.ForeColor = System.Drawing.Color.Yellow; |
| | | this.label36.Location = new System.Drawing.Point(227, 19); |
| | | this.label36.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label36.Location = new System.Drawing.Point(170, 15); |
| | | this.label36.Name = "label36"; |
| | | this.label36.Size = new System.Drawing.Size(92, 27); |
| | | this.label36.Size = new System.Drawing.Size(74, 21); |
| | | this.label36.TabIndex = 114; |
| | | this.label36.Text = "æ¡å½¢ç ï¼"; |
| | | // |
| | |
| | | this.lblCaption.AutoSize = true; |
| | | this.lblCaption.Font = new System.Drawing.Font("微软é
é»", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.lblCaption.ForeColor = System.Drawing.Color.LimeGreen; |
| | | this.lblCaption.Location = new System.Drawing.Point(8, 9); |
| | | this.lblCaption.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lblCaption.Location = new System.Drawing.Point(6, 7); |
| | | this.lblCaption.Name = "lblCaption"; |
| | | this.lblCaption.Size = new System.Drawing.Size(134, 31); |
| | | this.lblCaption.Size = new System.Drawing.Size(107, 26); |
| | | this.lblCaption.TabIndex = 112; |
| | | this.lblCaption.Text = "åºç«æ±æ¥å"; |
| | | // |
| | |
| | | // |
| | | this.panel5.Dock = System.Windows.Forms.DockStyle.Left; |
| | | this.panel5.Location = new System.Drawing.Point(0, 0); |
| | | this.panel5.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.panel5.Name = "panel5"; |
| | | this.panel5.Size = new System.Drawing.Size(57, 828); |
| | | this.panel5.Size = new System.Drawing.Size(43, 662); |
| | | this.panel5.TabIndex = 120; |
| | | // |
| | | // panel6 |
| | | // |
| | | this.panel6.Dock = System.Windows.Forms.DockStyle.Right; |
| | | this.panel6.Location = new System.Drawing.Point(1343, 0); |
| | | this.panel6.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.panel6.Location = new System.Drawing.Point(1007, 0); |
| | | this.panel6.Name = "panel6"; |
| | | this.panel6.Size = new System.Drawing.Size(28, 828); |
| | | this.panel6.Size = new System.Drawing.Size(21, 662); |
| | | this.panel6.TabIndex = 125; |
| | | // |
| | | // panel7 |
| | |
| | | this.panel7.Controls.Add(this.gbUp); |
| | | this.panel7.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.panel7.Location = new System.Drawing.Point(0, 0); |
| | | this.panel7.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.panel7.Name = "panel7"; |
| | | this.panel7.Size = new System.Drawing.Size(935, 602); |
| | | this.panel7.Size = new System.Drawing.Size(935, 503); |
| | | this.panel7.TabIndex = 126; |
| | | // |
| | | // splitContainer1 |
| | | // |
| | | this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; |
| | | this.splitContainer1.Location = new System.Drawing.Point(57, 65); |
| | | this.splitContainer1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.splitContainer1.Location = new System.Drawing.Point(43, 52); |
| | | this.splitContainer1.Name = "splitContainer1"; |
| | | this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal; |
| | | // |
| | |
| | | // splitContainer1.Panel2 |
| | | // |
| | | this.splitContainer1.Panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.splitContainer1_Panel2_Paint); |
| | | this.splitContainer1.Size = new System.Drawing.Size(1286, 665); |
| | | this.splitContainer1.SplitterDistance = 602; |
| | | this.splitContainer1.SplitterWidth = 5; |
| | | this.splitContainer1.Size = new System.Drawing.Size(964, 532); |
| | | this.splitContainer1.SplitterDistance = 503; |
| | | this.splitContainer1.TabIndex = 127; |
| | | // |
| | | // splitContainer2 |
| | |
| | | this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1; |
| | | this.splitContainer2.Location = new System.Drawing.Point(0, 0); |
| | | this.splitContainer2.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.splitContainer2.Name = "splitContainer2"; |
| | | // |
| | | // splitContainer2.Panel1 |
| | | // |
| | | this.splitContainer2.Panel1.Controls.Add(this.panel7); |
| | | this.splitContainer2.Size = new System.Drawing.Size(1286, 602); |
| | | this.splitContainer2.Size = new System.Drawing.Size(964, 503); |
| | | this.splitContainer2.SplitterDistance = 935; |
| | | this.splitContainer2.SplitterWidth = 5; |
| | | this.splitContainer2.TabIndex = 0; |
| | | // |
| | | // MES_StationOutBill |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.BackColor = System.Drawing.Color.Gray; |
| | | this.ClientSize = new System.Drawing.Size(1371, 828); |
| | | this.ClientSize = new System.Drawing.Size(1028, 662); |
| | | this.Controls.Add(this.splitContainer1); |
| | | this.Controls.Add(this.panel4); |
| | | this.Controls.Add(this.panel1); |
| | |
| | | this.Controls.Add(this.panel5); |
| | | this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; |
| | | this.KeyPreview = true; |
| | | this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); |
| | | this.Name = "MES_StationOutBill"; |
| | | this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; |
| | | this.Text = "åºç«æ±æ¥å"; |
| | |
| | | private System.Windows.Forms.TextBox txtHSourceID2; |
| | | private System.Windows.Forms.Button cmdHSourceID2; |
| | | private System.Windows.Forms.Button cmdXZ; |
| | | private System.Windows.Forms.Button cmdBFChecker; |
| | | } |
| | | } |
| | |
| | | //LOTå· |
| | | if (txtHBillNo.Text.Trim() != "") |
| | | { |
| | | sFastSQL = sFastSQL + " and æµè½¬å¡å· like '%" + txtHBillNo.Text + "%'"; |
| | | sFastSQL = sFastSQL + " and å·¥åºæµè½¬å¡å· like '%" + txtHBillNo.Text + "%'"; |
| | | } |
| | | //å·¥ä½ä¸å¿ |
| | | if (txtHCenterID.Text.Trim() != "") |
| | |
| | | int HKeepCol = Fun_GetCol("K3ä¿ç®¡"); |
| | | int HSecManagerCol = Fun_GetCol("K3éªæ¶"); |
| | | int HDeptCol = Fun_GetCol("K3é¨é¨"); |
| | | DAL.ClsKf_ProductInBill oClsKf_ProductInBill ; |
| | | DAL.ClsKf_ProductInBill oClsKf_ProductInBill; |
| | | SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | //è·åç³»ç»åæ° |
| | | Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); |
| | | if (oSystemParameter.ShowBill(ref DBUtility.ClsPub.sExeReturnInfo) == false) |
| | |
| | | MessageBox.Show("ä¼è®¡æé´æéè¯¯ï¼ " + DBUtility.ClsPub.sExeReturnInfo); |
| | | return; |
| | | } |
| | | string sHInterID = ""; |
| | | for (int i = 0; i < grdMain.SelectedRows.Count; i++) |
| | | { |
| | | sHInterID = sHInterID + "," + DBUtility.ClsPub.isStrNull(grdMain.Rows[grdMain.SelectedRows[i].Index].Cells[MainIDCol].Value); |
| | | } |
| | | if (sHInterID=="") |
| | | { |
| | | MessageBox.Show("没æéä¸çåæ®æç»è¡ï¼è¯·å
éæ©è¦å
¥åºçåæ®ï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | DataSet DS = oCn.RunProcReturn("exec h_p_MES_StationOutBillList_Bad_PreProductIn '" + sHInterID + "'", "h_p_MES_StationOutBillList_Bad_PreProductIn", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if (DS == null || DS.Tables[0].Rows.Count == 0) |
| | | { |
| | | MessageBox.Show("å
¥åºåå¤æå¤±è´¥ï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | if (DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0][0]) == "1") |
| | | { |
| | | MessageBox.Show(DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0]["HRemark"])); |
| | | return; |
| | | } |
| | | } |
| | | } |
| | | |
| | | Int64 n = 0; |
| | | //å¾ªç¯ éä¸è¡ |
| | | for (int i = 0; i < grdMain.SelectedRows.Count; i++) |
| | |
| | | this.pPic.Controls.Add(this.panel1); |
| | | this.pPic.Controls.Add(this.lblCaption); |
| | | this.pPic.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.pPic.Location = new System.Drawing.Point(0, 62); |
| | | this.pPic.Margin = new System.Windows.Forms.Padding(4); |
| | | this.pPic.Location = new System.Drawing.Point(0, 50); |
| | | this.pPic.Name = "pPic"; |
| | | this.pPic.Size = new System.Drawing.Size(1661, 66); |
| | | this.pPic.Size = new System.Drawing.Size(1246, 53); |
| | | this.pPic.TabIndex = 15; |
| | | // |
| | | // cmbHStatus |
| | |
| | | "æªåæ¥", |
| | | "已忥", |
| | | "å
¨é¨"}); |
| | | this.cmbHStatus.Location = new System.Drawing.Point(461, 15); |
| | | this.cmbHStatus.Location = new System.Drawing.Point(346, 11); |
| | | this.cmbHStatus.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmbHStatus.Name = "cmbHStatus"; |
| | | this.cmbHStatus.Size = new System.Drawing.Size(121, 23); |
| | | this.cmbHStatus.Size = new System.Drawing.Size(92, 20); |
| | | this.cmbHStatus.TabIndex = 20; |
| | | this.cmbHStatus.SelectedIndexChanged += new System.EventHandler(this.cmbHStatus_SelectedIndexChanged); |
| | | // |
| | |
| | | // |
| | | this.label4.AutoSize = true; |
| | | this.label4.BackColor = System.Drawing.Color.Transparent; |
| | | this.label4.Location = new System.Drawing.Point(374, 19); |
| | | this.label4.Location = new System.Drawing.Point(280, 15); |
| | | this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); |
| | | this.label4.Name = "label4"; |
| | | this.label4.Size = new System.Drawing.Size(67, 15); |
| | | this.label4.Size = new System.Drawing.Size(53, 12); |
| | | this.label4.TabIndex = 19; |
| | | this.label4.Text = "åæ¥ç¶æ"; |
| | | // |
| | |
| | | // |
| | | this.label3.AutoSize = true; |
| | | this.label3.BackColor = System.Drawing.Color.Transparent; |
| | | this.label3.Location = new System.Drawing.Point(759, 53); |
| | | this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label3.Location = new System.Drawing.Point(569, 42); |
| | | this.label3.Name = "label3"; |
| | | this.label3.Size = new System.Drawing.Size(97, 15); |
| | | this.label3.Size = new System.Drawing.Size(77, 12); |
| | | this.label3.TabIndex = 18; |
| | | this.label3.Text = "订åè·è¸ªå·ï¼"; |
| | | this.label3.Visible = false; |
| | | // |
| | | // txtHOrderProcNO |
| | | // |
| | | this.txtHOrderProcNO.Location = new System.Drawing.Point(865, 48); |
| | | this.txtHOrderProcNO.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHOrderProcNO.Location = new System.Drawing.Point(649, 38); |
| | | this.txtHOrderProcNO.Name = "txtHOrderProcNO"; |
| | | this.txtHOrderProcNO.Size = new System.Drawing.Size(215, 25); |
| | | this.txtHOrderProcNO.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHOrderProcNO.TabIndex = 17; |
| | | this.txtHOrderProcNO.Visible = false; |
| | | this.txtHOrderProcNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHOrderProcNO_KeyDown); |
| | |
| | | // |
| | | this.label2.AutoSize = true; |
| | | this.label2.BackColor = System.Drawing.Color.Transparent; |
| | | this.label2.Location = new System.Drawing.Point(630, 19); |
| | | this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label2.Location = new System.Drawing.Point(813, 35); |
| | | this.label2.Name = "label2"; |
| | | this.label2.Size = new System.Drawing.Size(82, 15); |
| | | this.label2.Size = new System.Drawing.Size(65, 12); |
| | | this.label2.TabIndex = 14; |
| | | this.label2.Text = "å·¥ä½ä¸å¿ï¼"; |
| | | this.label2.Visible = false; |
| | | // |
| | | // txtHCenterID |
| | | // |
| | | this.txtHCenterID.Location = new System.Drawing.Point(720, 15); |
| | | this.txtHCenterID.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHCenterID.Location = new System.Drawing.Point(881, 32); |
| | | this.txtHCenterID.Name = "txtHCenterID"; |
| | | this.txtHCenterID.Size = new System.Drawing.Size(215, 25); |
| | | this.txtHCenterID.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHCenterID.TabIndex = 15; |
| | | this.txtHCenterID.Visible = false; |
| | | this.txtHCenterID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHCenterID_KeyDown); |
| | | // |
| | | // label1 |
| | | // |
| | | this.label1.AutoSize = true; |
| | | this.label1.Location = new System.Drawing.Point(944, 19); |
| | | this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.label1.BackColor = System.Drawing.Color.Transparent; |
| | | this.label1.Location = new System.Drawing.Point(462, 15); |
| | | this.label1.Name = "label1"; |
| | | this.label1.Size = new System.Drawing.Size(82, 15); |
| | | this.label1.Size = new System.Drawing.Size(65, 12); |
| | | this.label1.TabIndex = 8; |
| | | this.label1.Text = "æµè½¬å¡å·ï¼"; |
| | | // |
| | | // txtHBillNo |
| | | // |
| | | this.txtHBillNo.Location = new System.Drawing.Point(1034, 15); |
| | | this.txtHBillNo.Margin = new System.Windows.Forms.Padding(4); |
| | | this.txtHBillNo.Location = new System.Drawing.Point(530, 11); |
| | | this.txtHBillNo.Name = "txtHBillNo"; |
| | | this.txtHBillNo.Size = new System.Drawing.Size(215, 25); |
| | | this.txtHBillNo.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHBillNo.TabIndex = 9; |
| | | this.txtHBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBillNo_KeyDown); |
| | | // |
| | |
| | | this.panel1.Controls.Add(this.lbljl); |
| | | this.panel1.Controls.Add(this.lbldj); |
| | | this.panel1.Dock = System.Windows.Forms.DockStyle.Right; |
| | | this.panel1.Location = new System.Drawing.Point(1398, 0); |
| | | this.panel1.Margin = new System.Windows.Forms.Padding(4); |
| | | this.panel1.Location = new System.Drawing.Point(1049, 0); |
| | | this.panel1.Name = "panel1"; |
| | | this.panel1.Size = new System.Drawing.Size(263, 66); |
| | | this.panel1.Size = new System.Drawing.Size(197, 53); |
| | | this.panel1.TabIndex = 7; |
| | | // |
| | | // lbljl |
| | | // |
| | | this.lbljl.AutoSize = true; |
| | | this.lbljl.Location = new System.Drawing.Point(32, 38); |
| | | this.lbljl.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lbljl.Location = new System.Drawing.Point(24, 30); |
| | | this.lbljl.Name = "lbljl"; |
| | | this.lbljl.Size = new System.Drawing.Size(15, 15); |
| | | this.lbljl.Size = new System.Drawing.Size(11, 12); |
| | | this.lbljl.TabIndex = 1; |
| | | this.lbljl.Text = " "; |
| | | // |
| | | // lbldj |
| | | // |
| | | this.lbldj.AutoSize = true; |
| | | this.lbldj.Location = new System.Drawing.Point(32, 15); |
| | | this.lbldj.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lbldj.Location = new System.Drawing.Point(24, 12); |
| | | this.lbldj.Name = "lbldj"; |
| | | this.lbldj.Size = new System.Drawing.Size(0, 15); |
| | | this.lbldj.Size = new System.Drawing.Size(0, 12); |
| | | this.lbldj.TabIndex = 0; |
| | | // |
| | | // lblCaption |
| | |
| | | this.lblCaption.BackColor = System.Drawing.Color.Transparent; |
| | | this.lblCaption.Cursor = System.Windows.Forms.Cursors.No; |
| | | this.lblCaption.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.lblCaption.Location = new System.Drawing.Point(16, 19); |
| | | this.lblCaption.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); |
| | | this.lblCaption.Location = new System.Drawing.Point(12, 15); |
| | | this.lblCaption.Name = "lblCaption"; |
| | | this.lblCaption.Size = new System.Drawing.Size(264, 27); |
| | | this.lblCaption.Size = new System.Drawing.Size(208, 21); |
| | | this.lblCaption.TabIndex = 4; |
| | | this.lblCaption.Text = "å·¥åºæ±æ¥ä¸è¯åå表"; |
| | | this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
| | |
| | | this.Tool.Location = new System.Drawing.Point(0, 0); |
| | | this.Tool.Name = "Tool"; |
| | | this.Tool.Padding = new System.Windows.Forms.Padding(0); |
| | | this.Tool.Size = new System.Drawing.Size(1661, 62); |
| | | this.Tool.Size = new System.Drawing.Size(1246, 50); |
| | | this.Tool.Stretch = true; |
| | | this.Tool.TabIndex = 16; |
| | | this.Tool.Text = "toolStrip1"; |
| | |
| | | this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; |
| | | this.toolStripDropDownButton1.Size = new System.Drawing.Size(53, 59); |
| | | this.toolStripDropDownButton1.Size = new System.Drawing.Size(45, 47); |
| | | this.toolStripDropDownButton1.Text = "å¼åº"; |
| | | this.toolStripDropDownButton1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.toolStripDropDownButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | |
| | | // eXCELToolStripMenuItem |
| | | // |
| | | this.eXCELToolStripMenuItem.Name = "eXCELToolStripMenuItem"; |
| | | this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(136, 26); |
| | | this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(112, 22); |
| | | this.eXCELToolStripMenuItem.Text = "EXCEL"; |
| | | this.eXCELToolStripMenuItem.Click += new System.EventHandler(this.eXCELToolStripMenuItem_Click); |
| | | // |
| | | // cSVToolStripMenuItem |
| | | // |
| | | this.cSVToolStripMenuItem.Name = "cSVToolStripMenuItem"; |
| | | this.cSVToolStripMenuItem.Size = new System.Drawing.Size(136, 26); |
| | | this.cSVToolStripMenuItem.Size = new System.Drawing.Size(112, 22); |
| | | this.cSVToolStripMenuItem.Text = "CSV"; |
| | | this.cSVToolStripMenuItem.Click += new System.EventHandler(this.cSVToolStripMenuItem_Click); |
| | | // |
| | |
| | | // toolStripSeparator2 |
| | | // |
| | | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
| | | this.toolStripSeparator2.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // cx |
| | | // |
| | |
| | | // toolStripSeparator1 |
| | | // |
| | | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
| | | this.toolStripSeparator1.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50); |
| | | this.toolStripSeparator1.Visible = false; |
| | | // |
| | | // xz |
| | | // |
| | |
| | | // toolStripSeparator5 |
| | | // |
| | | this.toolStripSeparator5.Name = "toolStripSeparator5"; |
| | | this.toolStripSeparator5.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50); |
| | | this.toolStripSeparator5.Visible = false; |
| | | // |
| | | // sh |
| | |
| | | // toolStripSeparator6 |
| | | // |
| | | this.toolStripSeparator6.Name = "toolStripSeparator6"; |
| | | this.toolStripSeparator6.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator6.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // bzd |
| | | // |
| | |
| | | // toolStripSeparator4 |
| | | // |
| | | this.toolStripSeparator4.Name = "toolStripSeparator4"; |
| | | this.toolStripSeparator4.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator4.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // tc |
| | | // |
| | |
| | | // toolStripSeparator3 |
| | | // |
| | | this.toolStripSeparator3.Name = "toolStripSeparator3"; |
| | | this.toolStripSeparator3.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // toolStripSeparator9 |
| | | // |
| | | this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator9.Name = "toolStripSeparator9"; |
| | | this.toolStripSeparator9.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // mrlk |
| | | // |
| | |
| | | this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.mrlk.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.mrlk.Name = "mrlk"; |
| | | this.mrlk.Size = new System.Drawing.Size(73, 59); |
| | | this.mrlk.Size = new System.Drawing.Size(60, 47); |
| | | this.mrlk.Text = "é»è®¤å宽"; |
| | | this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | |
| | | // |
| | | this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator7.Name = "toolStripSeparator7"; |
| | | this.toolStripSeparator7.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // bclk |
| | | // |
| | |
| | | this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.bclk.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.bclk.Name = "bclk"; |
| | | this.bclk.Size = new System.Drawing.Size(73, 59); |
| | | this.bclk.Size = new System.Drawing.Size(60, 47); |
| | | this.bclk.Text = "ä¿åå宽"; |
| | | this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | |
| | | // |
| | | this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator8.Name = "toolStripSeparator8"; |
| | | this.toolStripSeparator8.Size = new System.Drawing.Size(6, 62); |
| | | this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // timer1 |
| | | // |
| | |
| | | this.grdMain.BackgroundColor = System.Drawing.SystemColors.InactiveCaption; |
| | | this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.grdMain.Location = new System.Drawing.Point(0, 128); |
| | | this.grdMain.Margin = new System.Windows.Forms.Padding(4); |
| | | this.grdMain.Location = new System.Drawing.Point(0, 103); |
| | | this.grdMain.Name = "grdMain"; |
| | | this.grdMain.ReadOnly = true; |
| | | this.grdMain.RowHeadersWidth = 51; |
| | | this.grdMain.RowTemplate.Height = 23; |
| | | this.grdMain.Size = new System.Drawing.Size(1661, 512); |
| | | this.grdMain.Size = new System.Drawing.Size(1246, 409); |
| | | this.grdMain.TabIndex = 19; |
| | | this.grdMain.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.grdMain_CellMouseUp); |
| | | this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged); |
| | |
| | | // grdPrint |
| | | // |
| | | this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdPrint.Location = new System.Drawing.Point(1029, 182); |
| | | this.grdPrint.Margin = new System.Windows.Forms.Padding(4); |
| | | this.grdPrint.Location = new System.Drawing.Point(772, 146); |
| | | this.grdPrint.Name = "grdPrint"; |
| | | this.grdPrint.RowHeadersWidth = 51; |
| | | this.grdPrint.RowTemplate.Height = 23; |
| | | this.grdPrint.Size = new System.Drawing.Size(33, 30); |
| | | this.grdPrint.Size = new System.Drawing.Size(25, 24); |
| | | this.grdPrint.TabIndex = 8; |
| | | this.grdPrint.Visible = false; |
| | | // |
| | |
| | | this.grdSum.BackgroundColor = System.Drawing.SystemColors.Control; |
| | | this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.grdSum.Location = new System.Drawing.Point(0, 640); |
| | | this.grdSum.Margin = new System.Windows.Forms.Padding(4); |
| | | this.grdSum.Location = new System.Drawing.Point(0, 512); |
| | | this.grdSum.Name = "grdSum"; |
| | | this.grdSum.ReadOnly = true; |
| | | this.grdSum.RowHeadersWidth = 51; |
| | | this.grdSum.RowTemplate.Height = 23; |
| | | this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None; |
| | | this.grdSum.Size = new System.Drawing.Size(1661, 24); |
| | | this.grdSum.Size = new System.Drawing.Size(1246, 19); |
| | | this.grdSum.TabIndex = 47; |
| | | // |
| | | // MES_StationOutBillList_Bad |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(1661, 664); |
| | | this.ClientSize = new System.Drawing.Size(1246, 531); |
| | | this.Controls.Add(this.grdMain); |
| | | this.Controls.Add(this.grdSum); |
| | | this.Controls.Add(this.pPic); |
| | | this.Controls.Add(this.Tool); |
| | | this.Controls.Add(this.grdPrint); |
| | | this.Margin = new System.Windows.Forms.Padding(4); |
| | | this.Name = "MES_StationOutBillList_Bad"; |
| | | this.Text = "å·¥åºæ±æ¥ä¸è¯åå表"; |
| | | this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
| | |
| | | <data name="toolStripDropDownButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAE6SURBVDhPY0hOnvOfEgw2AAY6OjqA5Jn/v78f+P/tzYb/ |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAE6SURBVDhPY0hOnvOfEgw2AAY6OjqA5Jn/v78f+P/tzYb/ |
| | | 7+/P+f/iUsf/x8fK/t/Zmfz/2hr//xcW2v9PS0v7f+DAgf8MDAwIA2aeAWqdaYxiwDuoAY9gBqwFGWD3 |
| | | v9AbqBGkGZ8BX1+vh7sAZMDdXSAXBIBdADIgNWMh8QY8PlYO9QLCgDR8BvwBewFiwMtLnfAwuAoNA4IG |
| | | QMIAZMBsoAGIMLhKrAvAXkByAaoBkEBMzcRiwPTjv8CShHBmwYr/abgMmHzgy//+7W/+d657/L91ya3/ |
| | |
| | | <data name="dc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADoSURBVDhPrZMvD4MwEMXvm6Jn5uaWtGIGMUXmKHKgJvBo |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADoSURBVDhPrZMvD4MwEMXvm6Jn5uaWtGIGMUXmKHKgJvBo |
| | | asEiqeQ73O4glHb8C9uaPNFr+su7dy0EQYBHBQCsYXGh6zpsjcGmabCqKixLjUVRYJ7nmKUZKqUwiiIM |
| | | wxCFlD0gjuMBMgKMBygnQOYDpNgB1AzQEyAlwIUuWMCWgycdJKQH6U66ka4kBpxJm4AXFccWtOOAW3Ad |
| | | iLUWLKCet+BnIJYBNsS/AJwppFlqASe6KOQOQNGhP0Yf8PMUVkM07eCAAbMWkgMP6TNEHmPihLjrgAHa |
| | |
| | | <data name="yl.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAF/SURBVDhPnZFNSwJBAIbnX1Q/IOoYeAzqHh3C6JAgJEgU |
| | | UQgaeQgxKZQwtBRC7YsiOnQPISISKyEPUrcgKqIipNQ11/XzbWfQdf1IxQceZnaYeVhmiNV9AIvDB/OG |
| | | V3JF/F5z7cK9fwrSCtP6NhrhdNyxsWXEuOpkGwvFoiTFbg+xkdI0YjDb2aZsLi9J8fouMDqhhlKlhcm2 |
| | | 9X9At2xlB1JCFnzJdCaHAl3jBeSyWWZpez3zSxYW4FIZJPmKQqZ0cDpcbS0zehML/HA8Ysk0k09npMNK |
| | |
| | | <data name="cx.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAFOSURBVDhPnZBPK0RRGIfvxkL5Dha+gLK0tsRGkY3dkK2w |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFOSURBVDhPnZBPK0RRGIfvxkL5Dha+gLK0tsRGkY3dkK2w |
| | | UjJbCzQWk5EFRslEiUwZFNLo+lMaxWCIIUXIQhYzj/edc28NHUzzq1/v7Z7zPOee6/ybgMu3lhwP6NrO |
| | | F9q6blqaSDaETnOs3UIiCx2bUBuDmjmojpr5t0QWZ9KQfJSNkll5roxAxQRUTZn+LvBOH0vBQgbidzB0 |
| | | KF+wCA1xaEyYqbVLPEG/CwMC9iShbQu69yEo0uFzM7V2QV2Y2E2e4Al07kGL3L/3CEKXsCRXSryaOZ3J |
| | |
| | | <data name="sx.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAHXSURBVDhPjZJNSBtRFIUH3Ke4aiHVTRd2V7B7EXGhriyu |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHXSURBVDhPjZJNSBtRFIUH3Ke4aiHVTRd2V7B7EXGhriyu |
| | | ao0ImqppU39qSFVMtVZLrfQXFMlKFy4KbaXQTao7Cd1U3VSyFFQIqNXYZDKZTHJ8976ZTEZD6AcnL+/e |
| | | e857A08p5uX7MEgv3i4h9GYRE3MLJUW9sdlPMG0SKhCvP4Z5/R8cIVYA0dk/AkOsKT1fUmpWzvkCz+2A |
| | | 4PQ7WRW0tnvR5unFvQ7vFVH9fvdjdPYNoccftANGJufZbOTyvJZjdOaD8/uJ4dAcNzO6ga3dPezEbNFe |
| | |
| | | <data name="xz.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGySURBVDhPhZLNKwRxGMefUlLc5D9wUE5eolyUo5PkomhJ |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGySURBVDhPhZLNKwRxGMefUlLc5D9wUE5eolyUo5PkomhJ |
| | | ybZE5D2ippYty7Ic1NgclOLiqhAlym44yF3JuzW7s2tedvcxzzO7jbWDT337PfN7nu935vdrYH51EwXf |
| | | BgpLor18Is75A+gP7CDYMetdx/9Y9l3wahsy7VnjZiqVshXh9Z7xSuSETLpXuJFIJm1FLC6e85ohK2Rc |
| | | WOJNTU/Yir5B3DjEptZObGnrxv2DY57PACOzC1woqm4rVdMxaaRIchzfwhLPhioL8bQYuIbBaQ8XcUX7 |
| | |
| | | <data name="dj.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAD3SURBVDhPnZC9FYIwFEaZiQFkAB1ADzULZACGoJLKSio7 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD3SURBVDhPnZC9FYIwFEaZiQFkAB1ADzULZACGoJLKSio7 |
| | | BqCzorNiABgABnjme+GFBPlR3znfSUJy7yMJdorG0S2KY1r6/lE0PBMcdA8z3NZEd9VtSmiolU7iSjwY |
| | | CcNyUUL0UhzMIcK4An8IPFjGr2F0s3CTmrFOLbgN67vK79LQsOCqQhaIxIE9AfXVxT4Wwzp1NsGYQ4b9 |
| | | tjhSe4smiVKma19NL+4KBEQA85hH1OQH+T6T6MgagaArThys0V3g8ZwpgbryzBuIXAfB3iosZSUP3VEH |
| | |
| | | <data name="sc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAG5SURBVDhPlZDrK4NhGMafP8BHf4BPwkfmq8NnvhKlUHxw |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG5SURBVDhPlZDrK4NhGMafP8BHf4BPwkfmq8NnvhKlUHxw |
| | | iEgSIsQKqcVyPjQ2Z9mS0ooSlqElQ07RaGRib6zmeHmf27O3zSZcdbXnfp77+r33PRZKZdXN8Le4/pt4 |
| | | wO15g0vykvn5V4j/1/5iEfsSv/iPbPbjQAgvHp5ecXrlwv6ZE7bDC1h2j7BitWNpzYZ5swUG0zL6Jxag |
| | | GZxCe68+GFBe14rjkzOMjs9iSD+DPt0ktAN6dHQPQ63pR0N7N+pbtdBNL6KmRRNijVo1jWexHcLjfcbN |
| | |
| | | <data name="sh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGgSURBVDhPlZPPK8NhHMc/5T7tRM0cOCAHJXGbxQ7c/AEc |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGgSURBVDhPlZPPK8NhHMc/5T7tRM0cOCAHJXGbxQ7c/AEc |
| | | d1EcjEwytSiH4SZcRHLQ7FemtlJDOPiZml8XSzMWMz9mK7Xevs/z7DvDzLzr9X2253k+r8+nvn0pM10t |
| | | hGykjnMndRE1ZWJlVKvF+qdErytIF/1G6k72sMPTBULIRcCF4H2bcOMknC8SNsb/IXheJ8R8hAfPPwUH |
| | | M4Qz6fKVlXBtJwRWxP99aX/NnKfgcJZwMkfwS9OwdW86TwFLc6MGmxPE2Zok+CwCzwjB5XDkLpbDJHYj |
| | |
| | | <data name="qsh.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAGPSURBVDhPlZLLK0RhGMbfsrVRtkp2k4UFsUOxsPAn2NoI |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGPSURBVDhPlZLLK0RhGMbfsrVRtkp2k4UFsUOxsPAn2NoI |
| | | C0MzEmpQFi4LpWEjUhaGMYqyUINQjEtqGEqkcZkY4zLO1CGP73vPN2cujdtTv97vPd/7PL2ncyhZTTWE |
| | | TKjrn6UGUVRgVElhnlF/DamvzjJN36FmMkteHk8RbhYJODXQNwnXHkJgmrA2+I+A51VC1Et4WPlnwN4Y |
| | | 4UQMX7gIV27C5ZzR+8TzZccfA/bHCUcTBL/YRtZd5x8DpKoqyrE+RMzGMME7YHDlG4WUGvtZMsRtJ8bV |
| | |
| | | <data name="bzd.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADmSURBVDhPlY6xDYMwFES9U3bKCmzACEh0FJmACRiAnoqK |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADmSURBVDhPlY6xDYMwFES9U3bKCmzACEh0FJmACRiAnoqK |
| | | jo6OzvH7yVk/OFHg0MnC/vfuhzOq6zrK76vzIrRtm3nf92sgBpdlieu6ZgCe5xmAXEot0zTZMABBXLiU |
| | | grRUVRWHYTATYpOfYR9kiGbMnQelUTu5wzmsoDWk796GOI6jGRDDzH0BxAyQ1Z5e4xhuGUSQWbkAaE2B |
| | | FMRN05h9uAD4JoHato1d9yjCOjOAH9Y+QggDOW5gwZdfEgR7iAf4YG53yq0eBADzjlWk/+QP2WXf9xmk |
| | |
| | | <data name="tc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7 |
| | | bXeWrGBMYkoHh+gk8xl/XEneP7jXqXIWJkIgHscnT/PEy2vhz7ZhMQ/Dm5l3ObRcB1ACzAKQ6FTcV69G |
| | | rgWTbUl3QFQtFgGpfAAoAVDOi2ZbrwW5hwY4N+P6FmDlkrsBq6zOy3AXIEkhGHMbIMaorgGgI8Cu7CsY |
| | | wOZbAEgDBch/gOveRzgJAKLwH0CGJsDmxU1dAMiSu3R5iZr+oJuic1+SJ5jRbOqnmgAAAABJRU5ErkJg |
| | |
| | | <data name="mrlk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN |
| | | oBFDY9BF05XMMAoLL3bhxGB4zjzoVCKim4iCgkCMSam1cqP9aO4YJlpIDmqh00IRv73Pe87OWuV54Mt7 |
| | | znm/n895z0aF8Stj6FdGoARDUAf/H97jTp96FyZmjC8QwuRUBB0zACkiwT0i9rxvgBcvX4MZEye65Vex |
| | | vp6HJ7yJ+1nYpmNyE3nRZcbEiW74AljL5UB3gOk84J8HnFPA0UfirZqIaoZPMQDZZcbEibp6+vE9mwUF |
| | |
| | | <data name="bclk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW |
| | | /QN+phG4CQXTNrPLbzFrpZAuBIfEqChctFRndHI0YzKnxkHFYQgH50NH5+o8Pm/HwQ/s4oGHc++5z/O7 |
| | | 77nnvSKPPZDyKYSfA8tN55N6NfMvK1XT+LIBxAH8PqfUqxnNitR+g1x/yQuRlJWCZVm2Uo965RozmpXq |
| | | aRR/Io1jYgJwTdlLPeqt92QqqHLj7phZTCST2Nqxl3rUWzrOTKX7JGBykm9x2Us96r3p1ApOAf5G49iI |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Text; |
| | | using System.Windows.Forms; |
| | | using gregn6Lib; |
| | | using SQLHelper; |
| | | using DBUtility; |
| | | using System.IO; |
| | | using System.Reflection; |
| | | |
| | | namespace WorkM |
| | | { |
| | | public partial class MES_StationOutBillList_BaoFei : Form |
| | | { |
| | | public MES_StationOutBillList_BaoFei() |
| | | { |
| | | InitializeComponent(); |
| | | } |
| | | public DBUtility.frmBillQueryCondition_New frmCondition; |
| | | public string ViewName = "h_v_MES_StationOutBillList_BaoFei"; |
| | | public string ModCaption = "å·¥åºæ¥åºåæ¥è¡¨"; |
| | | public const string ModName = "3791"; |
| | | public const string ModRightName = "MES_StationOutBill"; |
| | | public const string ModRightNameEdit = ModRightName + "_Edit"; |
| | | public const string ModRightNameCheck = ModRightName + "_Check"; |
| | | public const string ModRightNameClose = ModRightName + "_Close"; |
| | | public const string ModRightNameDelete = ModRightName + "_Delete"; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | public MES_StationOutBill oFrm; |
| | | Pub_Class.ClsGridListSum oSumGrid = new Pub_Class.ClsGridListSum(); |
| | | public string sDlgWhere = ""; //å¤çªä½éå
¥ |
| | | |
| | | // |
| | | private void initGrid() |
| | | { |
| | | DBUtility.Xt_BaseBillFun.initGridList(grdMain,this.Name); |
| | | } |
| | | // |
| | | |
| | | private void Display() |
| | | { |
| | | ClsCN SubCn = new ClsCN(); |
| | | DataSet DSet; |
| | | string sSql = ""; |
| | | string sWhere = ""; |
| | | |
| | | if (frmCondition.SqlStr.Trim().Length == 0) |
| | | { |
| | | sSql = "Select top 5000 * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " order by hmainid desc "; |
| | | } |
| | | else |
| | | { |
| | | sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " order by hmainid desc "; |
| | | } |
| | | // |
| | | DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //çæé¦è¡æ é¢ |
| | | if (DSet == null) |
| | | { |
| | | MessageBox.Show("没æè¿åä»»ä½ç»æ,请å¨è¿æ»¤æ¡ä¸ç¹å»ãæ¢å¤ãæé®,å°è¯å次æ¥è¯¢ï¼" + DBUtility.ClsPub.sExeReturnInfo); |
| | | return; |
| | | } |
| | | //éæ¾å»ç» |
| | | DBUtility.Xt_BaseBillFun.CancelFrozenCol(grdMain); |
| | | // |
| | | grdMain.DataSource = DSet.Tables[0].DefaultView; |
| | | //设置å计å |
| | | string sTotalCol = ""; |
| | | sTotalCol = DBUtility.Gy_BaseFun.GetTotalCols(DSet); |
| | | string[] sT; |
| | | sT = sTotalCol.Split(Convert.ToChar(",")); |
| | | oSumGrid.BuildTotalCols(sT); |
| | | // |
| | | //å»ç» |
| | | int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text); |
| | | string s = frmCondition.cmbHComplete.Text; |
| | | DBUtility.Xt_BaseBillFun.DisplayGrid(grdMain, this.Name, s, FrCol); |
| | | //ç»çº¿ |
| | | GraphLine(); |
| | | |
| | | Total(); |
| | | |
| | | |
| | | // |
| | | } |
| | | // |
| | | private void timer1_Tick(object sender, EventArgs e) |
| | | { |
| | | timer1.Enabled=false; |
| | | initGrid(); |
| | | Display(); |
| | | } |
| | | |
| | | private void tc_Click(object sender, EventArgs e) |
| | | { |
| | | this.Close(); |
| | | } |
| | | |
| | | private void sx_Click(object sender, EventArgs e) |
| | | { |
| | | timer1.Enabled = true; |
| | | } |
| | | |
| | | private void dj_Click(object sender, EventArgs e) |
| | | { |
| | | Sub_ShowBill(); |
| | | } |
| | | //æ¾ç¤ºåæ® |
| | | private void Sub_ShowBill() |
| | | { |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |
| | | lngBillKey =DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); |
| | | if (lngBillKey == 0) |
| | | return; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | oFrm = new MES_StationOutBill(); |
| | | oFrm.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View; |
| | | oFrm.BillOld = oBill; |
| | | oFrm.ShowDialog(); |
| | | if (oFrm.BillChange) |
| | | { |
| | | if (MessageBox.Show("åæ®å表已ç»åçåå,æ¯å¦å·æ°", "æç¤º", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) |
| | | { |
| | | timer1.Enabled = true; |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åæ®æªæ¾å°", "æç¤º"); |
| | | } |
| | | oBill = null; |
| | | } |
| | | // |
| | | private Int32 Fun_GetCol(string sCol) |
| | | { |
| | | return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdMain); |
| | | } |
| | | // |
| | | private void MES_StationOutBillList_BaoFei_Load(object sender, EventArgs e) |
| | | { |
| | | // |
| | | frmCondition = new frmBillQueryCondition_New(); |
| | | this.Text = ModCaption; |
| | | lblCaption.Text = ModCaption; |
| | | oSumGrid.ogrdMain = grdMain; //åå§å new |
| | | oSumGrid.oGridsum = grdSum; |
| | | initGrid(); |
| | | } |
| | | |
| | | private void grdMain_DblClick(object sender, EventArgs e) |
| | | { |
| | | Sub_ShowBill(); |
| | | } |
| | | |
| | | private void cx_Click(object sender, EventArgs e) |
| | | { |
| | | frmCondition = new frmBillQueryCondition_New(); |
| | | SetCondition(frmCondition, ViewName, this.Name); |
| | | frmCondition.ShowDialog(); |
| | | if (frmCondition.Tag.ToString() == "OK") |
| | | { |
| | | Display(); |
| | | } |
| | | } |
| | | |
| | | public void SetCondition(frmBillQueryCondition_New frmCondition, string ViewName, string Name) |
| | | { |
| | | frmCondition.Tag = ""; |
| | | frmCondition.ViewName = ViewName; |
| | | frmCondition.ModName = Name; |
| | | } |
| | | |
| | | private void xz_Click(object sender, EventArgs e) |
| | | { |
| | | // |
| | | MES_StationOutBill oMES_StationOutBill = new MES_StationOutBill(); |
| | | oMES_StationOutBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | oMES_StationOutBill.ModCaption = "å·¥åºåºç«æ±æ¥ä¸è¯åæ¸
å"; |
| | | oMES_StationOutBill.ShowDialog(); |
| | | } |
| | | |
| | | private void sc_Click(object sender, EventArgs e) |
| | | { |
| | | Sub_DeleteBill(); |
| | | } |
| | | //å é¤ |
| | | private void Sub_DeleteBill() |
| | | { |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameDelete, 1, true, DBUtility.ClsPub.CurUserName)) |
| | | { |
| | | return; |
| | | } |
| | | // |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |
| | | lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); |
| | | if (lngBillKey == 0) |
| | | return; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (MessageBox.Show("ç¡®å®è¦å é¤å½ååæ®ï¼", "æç¤º", MessageBoxButtons.OKCancel)==DialogResult.OK) |
| | | { |
| | | if (oBill.omodel.HMaker != ClsPub.CurUserName && (ClsPub.CurUserName != "admin" && ClsPub.CurUserName != "Admin")) |
| | | { |
| | | MessageBox.Show("åªè½å 餿¬äººçåæ®ï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | string c = ""; |
| | | |
| | | SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | //夿çäº§è®¢åæ¯å¦å·²ç»æ¡ï¼è¦æ±è®¡åæå·¥åç»æ¡ 夿æ¯å¦åå¨ ç¸ååæ®å· çå
¥åºå , ä¸éå·¥åºæ¯å¦è¿ç« |
| | | ds = oCn.RunProcReturn("exec h_p_MES_StationOutBill_DelCtrl '" + oBill.omodel.HBillNo + "'", "h_p_MES_StationOutBill_DelCtrl"); |
| | | if (ds == null) |
| | | { |
| | | MessageBox.Show("夿å
³è失败!"); |
| | | return; |
| | | } |
| | | if (ds.Tables[0].Rows.Count > 0 && Pub_Class.ClsPub.isInt(ds.Tables[0].Rows[0][0]) == 2) |
| | | { |
| | | MessageBox.Show(Pub_Class.ClsPub.isStrNull(ds.Tables[0].Rows[0][1])); |
| | | return; |
| | | } |
| | | |
| | | |
| | | //if (oBill.DeleteCheck(oBill.omodel.HInterID,"åºç«å", ref c) == false) |
| | | //{ |
| | | // MessageBox.Show(c, "æç¤º"); |
| | | // return; |
| | | //} |
| | | //if (oBill.omodel.HChecker != "") |
| | | //{ |
| | | // MessageBox.Show("忮已ç»å®¡æ ¸,ä¸è½å é¤ï¼", "æç¤º"); |
| | | // return; |
| | | //} |
| | | //if (!oBill.DeleteBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | //åå
¥å 餿¥å¿ |
| | | string WorkList = "å é¤åºç«åï¼" + oBill.omodel.HBillNo; |
| | | //BLL.ClsPub_BLL.System_Log_DropAdd(WorkList); |
| | | if (!oBill.DeleteBill(oBill.omodel.HInterID, oBill.omodel.HProcExchInterID, oBill.omodel.HProcExchEntryID, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | MessageBox.Show(DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | Display(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åæ®æªæ¾å°", "æç¤º"); |
| | | } |
| | | } |
| | | |
| | | private void timer2_Tick(object sender, EventArgs e) |
| | | { |
| | | timer2.Enabled = false; |
| | | frmCondition = new frmBillQueryCondition_New(); |
| | | SetCondition(frmCondition, ViewName, this.Name); |
| | | frmCondition.ShowDialog(); |
| | | if (frmCondition.Tag.ToString() == "OK") |
| | | { |
| | | timer1.Enabled = true; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | private void bclk_Click(object sender, EventArgs e) |
| | | { |
| | | //ä¿åå宽 |
| | | DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name); |
| | | } |
| | | |
| | | private void mrlk_Click(object sender, EventArgs e) |
| | | { |
| | | DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name); |
| | | } |
| | | // |
| | | private void GraphLine() |
| | | { |
| | | int MainIDCol = Fun_GetCol("hmainid"); |
| | | int SubIDCol = Fun_GetCol("hsubid"); |
| | | string s = frmCondition.cmbHComplete.Text; |
| | | long n=0; |
| | | DBUtility.Xt_BaseBillFun.GraphLine(grdMain, MainIDCol, SubIDCol, s,ref n); |
| | | //æ¾ç¤º |
| | | lbldj.Text = "æ¥è¯¢åº " + n.ToString() + " å¼ åæ®"; |
| | | lbljl.Text = "å
±æ " + grdMain.RowCount.ToString() + " æ¡è®°å½"; |
| | | } |
| | | //å®¡æ ¸ |
| | | private void sh_Click(object sender, EventArgs e) |
| | | { |
| | | this.Sub_CheckBill(); |
| | | } |
| | | |
| | | //å®¡æ ¸åæ® |
| | | private void Sub_CheckBill() |
| | | { |
| | | //å®¡æ ¸æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true, DBUtility.ClsPub.CurUserName)) |
| | | { |
| | | return; |
| | | } |
| | | // |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |
| | | lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); |
| | | if (lngBillKey == 0) |
| | | return; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | //æ¥çæ¯å¦å·²å®¡æ ¸,å
³é,ä½åº |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() != "") |
| | | { |
| | | MessageBox.Show("åæ®å·²å®¡æ ¸!ä¸è½åæ¬¡å®¡æ ¸", "æç¤º"); |
| | | return; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | //å®¡æ ¸ |
| | | if (oBill.CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | MessageBox.Show("å®¡æ ¸æå!", "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("å®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | } |
| | | //å审忮 |
| | | private void Sub_AbandonCheck() |
| | | { |
| | | //å®¡æ ¸æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true,DBUtility.ClsPub.CurUserName)) |
| | | { |
| | | return; |
| | | } |
| | | // |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |
| | | lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); |
| | | if (lngBillKey == 0) |
| | | return; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | //æ¥çæ¯å¦å·²å®¡æ ¸,å
³é,ä½åº |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() == "") |
| | | { |
| | | MessageBox.Show("åæ®æªå®¡æ ¸!ä¸éè¦åå®¡æ ¸!", "æç¤º"); |
| | | return; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | //åå®¡æ ¸ |
| | | if (oBill.AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | MessageBox.Show("åå®¡æ ¸æå!", "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åå®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | } |
| | | //åå®¡æ ¸ |
| | | private void qsh_Click(object sender, EventArgs e) |
| | | { |
| | | Sub_AbandonCheck(); |
| | | } |
| | | |
| | | private void GraphicsGrid() |
| | | { |
| | | DBUtility.Xt_BaseBillFun.GraphicsGrid(grdMain); |
| | | } |
| | | |
| | | #region //æå°è®¾ç½® |
| | | |
| | | GridppReport Report; |
| | | //é¢è§ |
| | | private void yl_Click(object sender, EventArgs e) |
| | | { |
| | | //éæ©æå°æ¨¡æ¿ |
| | | BLL.Gy_OpenTmp oFrm = new BLL.Gy_OpenTmp(); |
| | | oFrm.sBillName = ModName; |
| | | oFrm.sBillModel = ModCaption; |
| | | oFrm.ShowDialog(); |
| | | if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK) |
| | | { |
| | | // |
| | | Sub_SetReport(oFrm.sOpenTmp); |
| | | Report.PrintPreview(true); |
| | | } |
| | | } |
| | | |
| | | private void Sub_SetReport(string sOpenTmp) |
| | | { |
| | | //å¤æè¡æ° |
| | | for (int i = 0; i < grdMain.Rows.Count; i++) |
| | | { |
| | | grdMain.Rows[i].Cells[0].Value = ""; |
| | | } |
| | | for (int i = 0; i < grdMain.SelectedRows.Count; i++) |
| | | { |
| | | grdMain.Rows[grdMain.SelectedRows[i].Index].Cells[0].Value = "*"; |
| | | } |
| | | // |
| | | // |
| | | Report = new GridppReport(); |
| | | Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + sOpenTmp + ".grf"); //here . |
| | | Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable); |
| | | } |
| | | |
| | | private void ReportFetchRecordByDataTable() |
| | | { |
| | | DataTable dt = new DataTable(); |
| | | BLL.Utility.FillRecordToReport_Sel(Report, grdMain, dt, Fun_GetCol("éæ©")); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | // |
| | | private void grdMain_Paint(object sender, PaintEventArgs e) |
| | | { |
| | | GraphicsGrid(); |
| | | } |
| | | |
| | | //å计 new |
| | | private void Total() |
| | | { |
| | | if (grdMain.Rows.Count > 0 && grdMain.ColumnCount>0) |
| | | { |
| | | oSumGrid.SetGridsum(); |
| | | //oSumGrid.Total(); |
| | | oSumGrid.TotalAll(); |
| | | } |
| | | } |
| | | //å计 new |
| | | private void grdMain_ColumnWidthChanged(object sender, DataGridViewColumnEventArgs e) |
| | | { |
| | | Total(); |
| | | } |
| | | //å计 new |
| | | private void grdMain_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e) |
| | | { |
| | | //Total(); |
| | | } |
| | | //å¼åºEXCEL |
| | | private void dc_Click(object sender, EventArgs e) |
| | | { |
| | | //DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain); |
| | | DataGridViewToExcel2(); |
| | | } |
| | | |
| | | private void txtHBillNo_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | Sub_FastQuery(); |
| | | } |
| | | } |
| | | |
| | | //å¿«éè¿æ»¤ |
| | | private void Sub_FastQuery() |
| | | { |
| | | string sFastSQL = ""; |
| | | //LOTå· |
| | | if (txtHBillNo.Text.Trim() != "") |
| | | { |
| | | sFastSQL = sFastSQL + " and å·¥åºæµè½¬å¡å· like '%" + txtHBillNo.Text + "%'"; |
| | | } |
| | | //å·¥ä½ä¸å¿ |
| | | if (txtHCenterID.Text.Trim() != "") |
| | | { |
| | | sFastSQL = sFastSQL + " and (å·¥ä½ä¸å¿ like '%" + txtHCenterID.Text + "%' or å·¥ä½ä¸å¿ä»£ç like '%" + txtHCenterID.Text + "%') "; |
| | | } |
| | | //订åè·è¸ªå· |
| | | if (txtHOrderProcNO.Text.Trim() != "") |
| | | { |
| | | sFastSQL = sFastSQL + " and (订åè·è¸ªå· like '%" + txtHOrderProcNO.Text + "%' ) "; |
| | | } |
| | | //åæ¥ç¶æ |
| | | if(cmbHStatus.Text.Trim()=="æªåæ¥") |
| | | { |
| | | sFastSQL = sFastSQL + " and (åæ¥ç¶æ='" + cmbHStatus.Text.Trim() + "' ) "; |
| | | } |
| | | if (cmbHStatus.Text.Trim() == "已忥") |
| | | { |
| | | sFastSQL = sFastSQL + " and (åæ¥ç¶æ='" + cmbHStatus.Text.Trim() + "' ) "; |
| | | } |
| | | sDlgWhere = sFastSQL; |
| | | Display(); |
| | | } |
| | | |
| | | private void DataGridViewToExcel2() |
| | | { |
| | | SaveFileDialog saveFileDialog = new SaveFileDialog(); |
| | | saveFileDialog.Filter = "Execlæä»¶(*.xls)|*.xls"; |
| | | saveFileDialog.FilterIndex = 0; |
| | | saveFileDialog.RestoreDirectory = true; |
| | | saveFileDialog.CreatePrompt = true; |
| | | saveFileDialog.Title = "æ°æ®è§å¾å¯¼åºEXCELæä»¶"; |
| | | saveFileDialog.ShowDialog(); |
| | | if (saveFileDialog.FileName == "") |
| | | { |
| | | return; |
| | | } |
| | | Stream myStream; |
| | | myStream = saveFileDialog.OpenFile(); |
| | | StreamWriter sw = new StreamWriter(myStream, System.Text.Encoding.GetEncoding("gb2312")); |
| | | string str = ""; |
| | | DateTime start = DateTime.Now; |
| | | try |
| | | { |
| | | //åæ é¢ |
| | | for (int i = 0; i < grdMain.ColumnCount; i++) |
| | | { |
| | | if (i > 0) |
| | | { |
| | | str += "\t"; |
| | | } |
| | | str += grdMain.Columns[i].HeaderText; |
| | | } |
| | | sw.WriteLine(str); |
| | | |
| | | //åå
容 |
| | | for (int j = 0; j < grdMain.Rows.Count; j++) |
| | | { |
| | | string tempStr = ""; |
| | | for (int k = 0; k < grdMain.Columns.Count; k++) |
| | | { |
| | | if (k > 0) |
| | | { |
| | | tempStr += "\t"; |
| | | } |
| | | if (grdMain.Rows[j].Cells[k].Value == null) |
| | | { |
| | | tempStr += string.Empty; |
| | | } |
| | | else |
| | | { |
| | | tempStr += grdMain.Rows[j].Cells[k].Value.ToString(); |
| | | } |
| | | } |
| | | sw.WriteLine(tempStr); |
| | | } |
| | | sw.Close(); |
| | | myStream.Close(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MessageBox.Show(ex.Message); |
| | | } |
| | | finally |
| | | { |
| | | sw.Close(); |
| | | myStream.Close(); |
| | | } |
| | | MessageBox.Show("å°æ¤å·¥ä½è¡¨å¯¼åºä¸ºexcelå
±èæ¶ï¼" + DateTime.Now.Subtract(start).TotalMilliseconds.ToString() + "毫ç§"); |
| | | } |
| | | |
| | | private void txtHCenterID_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | Sub_FastQuery(); |
| | | } |
| | | } |
| | | |
| | | private void grdMain_Scroll(object sender, ScrollEventArgs e) |
| | | { |
| | | if (e.ScrollOrientation == ScrollOrientation.HorizontalScroll) |
| | | { |
| | | Total(); |
| | | } |
| | | } |
| | | |
| | | private void txtHOrderProcNO_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | Sub_FastQuery(); |
| | | } |
| | | } |
| | | |
| | | |
| | | private void eXCELToolStripMenuItem_Click(object sender, EventArgs e) |
| | | { |
| | | DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain); |
| | | |
| | | } |
| | | |
| | | private void cSVToolStripMenuItem_Click(object sender, EventArgs e) |
| | | { |
| | | DBUtility.Gy_BaseFun.DataGridViewToExcel2(grdMain, this.Text, this.Text); |
| | | |
| | | } |
| | | |
| | | private void cmbHStatus_SelectedIndexChanged(object sender, EventArgs e) |
| | | { |
| | | Sub_FastQuery(); |
| | | } |
| | | } |
| | | } |
New file |
| | |
| | | namespace WorkM |
| | | { |
| | | partial class MES_StationOutBillList_BaoFei |
| | | { |
| | | /// <summary> |
| | | /// å¿
éç设计å¨åéã |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// æ¸
çæææ£å¨ä½¿ç¨çèµæºã |
| | | /// </summary> |
| | | /// <param name="disposing">妿åºéæ¾æç®¡èµæºï¼ä¸º trueï¼å¦å为 falseã</param> |
| | | protected override void Dispose(bool disposing) |
| | | { |
| | | if (disposing && (components != null)) |
| | | { |
| | | components.Dispose(); |
| | | } |
| | | base.Dispose(disposing); |
| | | } |
| | | |
| | | #region Windows çªä½è®¾è®¡å¨çæç代ç |
| | | |
| | | /// <summary> |
| | | /// è®¾è®¡å¨æ¯ææéçæ¹æ³ - ä¸è¦ |
| | | /// 使ç¨ä»£ç ç¼è¾å¨ä¿®æ¹æ¤æ¹æ³çå
容ã |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MES_StationOutBillList_BaoFei)); |
| | | this.pPic = new System.Windows.Forms.Panel(); |
| | | this.cmbHStatus = new System.Windows.Forms.ComboBox(); |
| | | this.label4 = new System.Windows.Forms.Label(); |
| | | this.label3 = new System.Windows.Forms.Label(); |
| | | this.txtHOrderProcNO = new System.Windows.Forms.TextBox(); |
| | | this.label2 = new System.Windows.Forms.Label(); |
| | | this.txtHCenterID = new System.Windows.Forms.TextBox(); |
| | | this.label1 = new System.Windows.Forms.Label(); |
| | | this.txtHBillNo = new System.Windows.Forms.TextBox(); |
| | | this.panel1 = new System.Windows.Forms.Panel(); |
| | | this.lbljl = new System.Windows.Forms.Label(); |
| | | this.lbldj = new System.Windows.Forms.Label(); |
| | | this.lblCaption = new System.Windows.Forms.Label(); |
| | | this.Tool = new System.Windows.Forms.ToolStrip(); |
| | | this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); |
| | | this.eXCELToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.cSVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.dc = new System.Windows.Forms.ToolStripButton(); |
| | | this.yl = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.cx = new System.Windows.Forms.ToolStripButton(); |
| | | this.sx = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.xz = new System.Windows.Forms.ToolStripButton(); |
| | | this.dj = new System.Windows.Forms.ToolStripButton(); |
| | | this.sc = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.sh = new System.Windows.Forms.ToolStripButton(); |
| | | this.qsh = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.tc = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.mrlk = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.bclk = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.timer1 = new System.Windows.Forms.Timer(this.components); |
| | | this.timer2 = new System.Windows.Forms.Timer(this.components); |
| | | this.grdMain = new System.Windows.Forms.DataGridView(); |
| | | this.grdPrint = new System.Windows.Forms.DataGridView(); |
| | | this.grdSum = new System.Windows.Forms.DataGridView(); |
| | | this.pPic.SuspendLayout(); |
| | | this.panel1.SuspendLayout(); |
| | | this.Tool.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // pPic |
| | | // |
| | | this.pPic.BackColor = System.Drawing.Color.White; |
| | | this.pPic.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pPic.BackgroundImage"))); |
| | | this.pPic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; |
| | | this.pPic.Controls.Add(this.cmbHStatus); |
| | | this.pPic.Controls.Add(this.label4); |
| | | this.pPic.Controls.Add(this.label3); |
| | | this.pPic.Controls.Add(this.txtHOrderProcNO); |
| | | this.pPic.Controls.Add(this.label2); |
| | | this.pPic.Controls.Add(this.txtHCenterID); |
| | | this.pPic.Controls.Add(this.label1); |
| | | this.pPic.Controls.Add(this.txtHBillNo); |
| | | this.pPic.Controls.Add(this.panel1); |
| | | this.pPic.Controls.Add(this.lblCaption); |
| | | this.pPic.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.pPic.Location = new System.Drawing.Point(0, 50); |
| | | this.pPic.Name = "pPic"; |
| | | this.pPic.Size = new System.Drawing.Size(1246, 53); |
| | | this.pPic.TabIndex = 15; |
| | | // |
| | | // cmbHStatus |
| | | // |
| | | this.cmbHStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
| | | this.cmbHStatus.FormattingEnabled = true; |
| | | this.cmbHStatus.Items.AddRange(new object[] { |
| | | "æªåæ¥", |
| | | "已忥", |
| | | "å
¨é¨"}); |
| | | this.cmbHStatus.Location = new System.Drawing.Point(346, 11); |
| | | this.cmbHStatus.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmbHStatus.Name = "cmbHStatus"; |
| | | this.cmbHStatus.Size = new System.Drawing.Size(92, 20); |
| | | this.cmbHStatus.TabIndex = 20; |
| | | this.cmbHStatus.SelectedIndexChanged += new System.EventHandler(this.cmbHStatus_SelectedIndexChanged); |
| | | // |
| | | // label4 |
| | | // |
| | | this.label4.AutoSize = true; |
| | | this.label4.BackColor = System.Drawing.Color.Transparent; |
| | | this.label4.Location = new System.Drawing.Point(280, 15); |
| | | this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); |
| | | this.label4.Name = "label4"; |
| | | this.label4.Size = new System.Drawing.Size(53, 12); |
| | | this.label4.TabIndex = 19; |
| | | this.label4.Text = "åæ¥ç¶æ"; |
| | | // |
| | | // label3 |
| | | // |
| | | this.label3.AutoSize = true; |
| | | this.label3.BackColor = System.Drawing.Color.Transparent; |
| | | this.label3.Location = new System.Drawing.Point(569, 42); |
| | | this.label3.Name = "label3"; |
| | | this.label3.Size = new System.Drawing.Size(77, 12); |
| | | this.label3.TabIndex = 18; |
| | | this.label3.Text = "订åè·è¸ªå·ï¼"; |
| | | this.label3.Visible = false; |
| | | // |
| | | // txtHOrderProcNO |
| | | // |
| | | this.txtHOrderProcNO.Location = new System.Drawing.Point(649, 38); |
| | | this.txtHOrderProcNO.Name = "txtHOrderProcNO"; |
| | | this.txtHOrderProcNO.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHOrderProcNO.TabIndex = 17; |
| | | this.txtHOrderProcNO.Visible = false; |
| | | this.txtHOrderProcNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHOrderProcNO_KeyDown); |
| | | // |
| | | // label2 |
| | | // |
| | | this.label2.AutoSize = true; |
| | | this.label2.BackColor = System.Drawing.Color.Transparent; |
| | | this.label2.Location = new System.Drawing.Point(813, 29); |
| | | this.label2.Name = "label2"; |
| | | this.label2.Size = new System.Drawing.Size(65, 12); |
| | | this.label2.TabIndex = 14; |
| | | this.label2.Text = "å·¥ä½ä¸å¿ï¼"; |
| | | this.label2.Visible = false; |
| | | // |
| | | // txtHCenterID |
| | | // |
| | | this.txtHCenterID.Location = new System.Drawing.Point(881, 26); |
| | | this.txtHCenterID.Name = "txtHCenterID"; |
| | | this.txtHCenterID.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHCenterID.TabIndex = 15; |
| | | this.txtHCenterID.Visible = false; |
| | | this.txtHCenterID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHCenterID_KeyDown); |
| | | // |
| | | // label1 |
| | | // |
| | | this.label1.AutoSize = true; |
| | | this.label1.BackColor = System.Drawing.Color.Transparent; |
| | | this.label1.Location = new System.Drawing.Point(452, 15); |
| | | this.label1.Name = "label1"; |
| | | this.label1.Size = new System.Drawing.Size(65, 12); |
| | | this.label1.TabIndex = 8; |
| | | this.label1.Text = "æµè½¬å¡å·ï¼"; |
| | | // |
| | | // txtHBillNo |
| | | // |
| | | this.txtHBillNo.Location = new System.Drawing.Point(520, 11); |
| | | this.txtHBillNo.Name = "txtHBillNo"; |
| | | this.txtHBillNo.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHBillNo.TabIndex = 9; |
| | | this.txtHBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBillNo_KeyDown); |
| | | // |
| | | // panel1 |
| | | // |
| | | this.panel1.Controls.Add(this.lbljl); |
| | | this.panel1.Controls.Add(this.lbldj); |
| | | this.panel1.Dock = System.Windows.Forms.DockStyle.Right; |
| | | this.panel1.Location = new System.Drawing.Point(1049, 0); |
| | | this.panel1.Name = "panel1"; |
| | | this.panel1.Size = new System.Drawing.Size(197, 53); |
| | | this.panel1.TabIndex = 7; |
| | | // |
| | | // lbljl |
| | | // |
| | | this.lbljl.AutoSize = true; |
| | | this.lbljl.Location = new System.Drawing.Point(24, 30); |
| | | this.lbljl.Name = "lbljl"; |
| | | this.lbljl.Size = new System.Drawing.Size(11, 12); |
| | | this.lbljl.TabIndex = 1; |
| | | this.lbljl.Text = " "; |
| | | // |
| | | // lbldj |
| | | // |
| | | this.lbldj.AutoSize = true; |
| | | this.lbldj.Location = new System.Drawing.Point(24, 12); |
| | | this.lbldj.Name = "lbldj"; |
| | | this.lbldj.Size = new System.Drawing.Size(0, 12); |
| | | this.lbldj.TabIndex = 0; |
| | | // |
| | | // lblCaption |
| | | // |
| | | this.lblCaption.AutoSize = true; |
| | | this.lblCaption.BackColor = System.Drawing.Color.Transparent; |
| | | this.lblCaption.Cursor = System.Windows.Forms.Cursors.No; |
| | | this.lblCaption.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.lblCaption.Location = new System.Drawing.Point(12, 15); |
| | | this.lblCaption.Name = "lblCaption"; |
| | | this.lblCaption.Size = new System.Drawing.Size(164, 21); |
| | | this.lblCaption.TabIndex = 4; |
| | | this.lblCaption.Text = "å·¥åºæ¥åºåæ¥è¡¨"; |
| | | this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
| | | // |
| | | // Tool |
| | | // |
| | | this.Tool.AutoSize = false; |
| | | this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage"))); |
| | | this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; |
| | | this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22); |
| | | this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| | | this.toolStripDropDownButton1, |
| | | this.dc, |
| | | this.yl, |
| | | this.toolStripSeparator2, |
| | | this.cx, |
| | | this.sx, |
| | | this.toolStripSeparator1, |
| | | this.xz, |
| | | this.dj, |
| | | this.sc, |
| | | this.toolStripSeparator5, |
| | | this.sh, |
| | | this.qsh, |
| | | this.toolStripSeparator6, |
| | | this.tc, |
| | | this.toolStripSeparator3, |
| | | this.toolStripSeparator9, |
| | | this.mrlk, |
| | | this.toolStripSeparator7, |
| | | this.bclk, |
| | | this.toolStripSeparator8}); |
| | | this.Tool.Location = new System.Drawing.Point(0, 0); |
| | | this.Tool.Name = "Tool"; |
| | | this.Tool.Padding = new System.Windows.Forms.Padding(0); |
| | | this.Tool.Size = new System.Drawing.Size(1246, 50); |
| | | this.Tool.Stretch = true; |
| | | this.Tool.TabIndex = 16; |
| | | this.Tool.Text = "toolStrip1"; |
| | | // |
| | | // toolStripDropDownButton1 |
| | | // |
| | | this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| | | this.eXCELToolStripMenuItem, |
| | | this.cSVToolStripMenuItem}); |
| | | this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image"))); |
| | | this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; |
| | | this.toolStripDropDownButton1.Size = new System.Drawing.Size(45, 47); |
| | | this.toolStripDropDownButton1.Text = "å¼åº"; |
| | | this.toolStripDropDownButton1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.toolStripDropDownButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | // |
| | | // eXCELToolStripMenuItem |
| | | // |
| | | this.eXCELToolStripMenuItem.Name = "eXCELToolStripMenuItem"; |
| | | this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(112, 22); |
| | | this.eXCELToolStripMenuItem.Text = "EXCEL"; |
| | | this.eXCELToolStripMenuItem.Click += new System.EventHandler(this.eXCELToolStripMenuItem_Click); |
| | | // |
| | | // cSVToolStripMenuItem |
| | | // |
| | | this.cSVToolStripMenuItem.Name = "cSVToolStripMenuItem"; |
| | | this.cSVToolStripMenuItem.Size = new System.Drawing.Size(112, 22); |
| | | this.cSVToolStripMenuItem.Text = "CSV"; |
| | | this.cSVToolStripMenuItem.Click += new System.EventHandler(this.cSVToolStripMenuItem_Click); |
| | | // |
| | | // dc |
| | | // |
| | | this.dc.AutoSize = false; |
| | | this.dc.Image = ((System.Drawing.Image)(resources.GetObject("dc.Image"))); |
| | | this.dc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.dc.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.dc.Name = "dc"; |
| | | this.dc.Size = new System.Drawing.Size(36, 47); |
| | | this.dc.Text = "å¼åº"; |
| | | this.dc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.dc.Click += new System.EventHandler(this.dc_Click); |
| | | // |
| | | // yl |
| | | // |
| | | this.yl.AutoSize = false; |
| | | this.yl.Image = ((System.Drawing.Image)(resources.GetObject("yl.Image"))); |
| | | this.yl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.yl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.yl.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.yl.Name = "yl"; |
| | | this.yl.Size = new System.Drawing.Size(36, 47); |
| | | this.yl.Text = "é¢è§"; |
| | | this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.yl.Click += new System.EventHandler(this.yl_Click); |
| | | // |
| | | // toolStripSeparator2 |
| | | // |
| | | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
| | | this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // cx |
| | | // |
| | | this.cx.AutoSize = false; |
| | | this.cx.Image = ((System.Drawing.Image)(resources.GetObject("cx.Image"))); |
| | | this.cx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.cx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.cx.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.cx.Name = "cx"; |
| | | this.cx.Size = new System.Drawing.Size(36, 47); |
| | | this.cx.Text = "æ¥è¯¢"; |
| | | this.cx.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.cx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.cx.Click += new System.EventHandler(this.cx_Click); |
| | | // |
| | | // sx |
| | | // |
| | | this.sx.AutoSize = false; |
| | | this.sx.Image = ((System.Drawing.Image)(resources.GetObject("sx.Image"))); |
| | | this.sx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.sx.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.sx.Name = "sx"; |
| | | this.sx.Size = new System.Drawing.Size(36, 47); |
| | | this.sx.Text = "å·æ°"; |
| | | this.sx.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.sx.Click += new System.EventHandler(this.sx_Click); |
| | | // |
| | | // toolStripSeparator1 |
| | | // |
| | | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
| | | this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50); |
| | | this.toolStripSeparator1.Visible = false; |
| | | // |
| | | // xz |
| | | // |
| | | this.xz.AutoSize = false; |
| | | this.xz.Image = ((System.Drawing.Image)(resources.GetObject("xz.Image"))); |
| | | this.xz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.xz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.xz.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.xz.Name = "xz"; |
| | | this.xz.Size = new System.Drawing.Size(36, 47); |
| | | this.xz.Text = "æ°å¢"; |
| | | this.xz.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.xz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.xz.Visible = false; |
| | | this.xz.Click += new System.EventHandler(this.xz_Click); |
| | | // |
| | | // dj |
| | | // |
| | | this.dj.AutoSize = false; |
| | | this.dj.Image = ((System.Drawing.Image)(resources.GetObject("dj.Image"))); |
| | | this.dj.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dj.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.dj.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.dj.Name = "dj"; |
| | | this.dj.Size = new System.Drawing.Size(36, 47); |
| | | this.dj.Text = "åæ®"; |
| | | this.dj.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dj.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.dj.Visible = false; |
| | | this.dj.Click += new System.EventHandler(this.dj_Click); |
| | | // |
| | | // sc |
| | | // |
| | | this.sc.AutoSize = false; |
| | | this.sc.Image = ((System.Drawing.Image)(resources.GetObject("sc.Image"))); |
| | | this.sc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.sc.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.sc.Name = "sc"; |
| | | this.sc.Size = new System.Drawing.Size(36, 47); |
| | | this.sc.Text = "å é¤"; |
| | | this.sc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.sc.Visible = false; |
| | | this.sc.Click += new System.EventHandler(this.sc_Click); |
| | | // |
| | | // toolStripSeparator5 |
| | | // |
| | | this.toolStripSeparator5.Name = "toolStripSeparator5"; |
| | | this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50); |
| | | this.toolStripSeparator5.Visible = false; |
| | | // |
| | | // sh |
| | | // |
| | | this.sh.AutoSize = false; |
| | | this.sh.Image = ((System.Drawing.Image)(resources.GetObject("sh.Image"))); |
| | | this.sh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.sh.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.sh.Name = "sh"; |
| | | this.sh.Size = new System.Drawing.Size(36, 47); |
| | | this.sh.Text = "å®¡æ ¸"; |
| | | this.sh.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.sh.Visible = false; |
| | | this.sh.Click += new System.EventHandler(this.sh_Click); |
| | | // |
| | | // qsh |
| | | // |
| | | this.qsh.AutoSize = false; |
| | | this.qsh.Image = ((System.Drawing.Image)(resources.GetObject("qsh.Image"))); |
| | | this.qsh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.qsh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.qsh.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.qsh.Name = "qsh"; |
| | | this.qsh.Size = new System.Drawing.Size(36, 47); |
| | | this.qsh.Text = "å审"; |
| | | this.qsh.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.qsh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.qsh.Visible = false; |
| | | this.qsh.Click += new System.EventHandler(this.qsh_Click); |
| | | // |
| | | // toolStripSeparator6 |
| | | // |
| | | this.toolStripSeparator6.Name = "toolStripSeparator6"; |
| | | this.toolStripSeparator6.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // tc |
| | | // |
| | | this.tc.AutoSize = false; |
| | | this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image"))); |
| | | this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.tc.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.tc.Name = "tc"; |
| | | this.tc.Size = new System.Drawing.Size(36, 47); |
| | | this.tc.Text = "éåº"; |
| | | this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.tc.Click += new System.EventHandler(this.tc_Click); |
| | | // |
| | | // toolStripSeparator3 |
| | | // |
| | | this.toolStripSeparator3.Name = "toolStripSeparator3"; |
| | | this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // toolStripSeparator9 |
| | | // |
| | | this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator9.Name = "toolStripSeparator9"; |
| | | this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // mrlk |
| | | // |
| | | this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image"))); |
| | | this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.mrlk.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.mrlk.Name = "mrlk"; |
| | | this.mrlk.Size = new System.Drawing.Size(60, 47); |
| | | this.mrlk.Text = "é»è®¤å宽"; |
| | | this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.mrlk.Click += new System.EventHandler(this.mrlk_Click); |
| | | // |
| | | // toolStripSeparator7 |
| | | // |
| | | this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator7.Name = "toolStripSeparator7"; |
| | | this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // bclk |
| | | // |
| | | this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image"))); |
| | | this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.bclk.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.bclk.Name = "bclk"; |
| | | this.bclk.Size = new System.Drawing.Size(60, 47); |
| | | this.bclk.Text = "ä¿åå宽"; |
| | | this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.bclk.Click += new System.EventHandler(this.bclk_Click); |
| | | // |
| | | // toolStripSeparator8 |
| | | // |
| | | this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator8.Name = "toolStripSeparator8"; |
| | | this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // timer1 |
| | | // |
| | | this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
| | | // |
| | | // timer2 |
| | | // |
| | | this.timer2.Enabled = true; |
| | | this.timer2.Tick += new System.EventHandler(this.timer2_Tick); |
| | | // |
| | | // grdMain |
| | | // |
| | | this.grdMain.AllowUserToAddRows = false; |
| | | this.grdMain.AllowUserToDeleteRows = false; |
| | | this.grdMain.BackgroundColor = System.Drawing.SystemColors.InactiveCaption; |
| | | this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.grdMain.Location = new System.Drawing.Point(0, 103); |
| | | this.grdMain.Name = "grdMain"; |
| | | this.grdMain.ReadOnly = true; |
| | | this.grdMain.RowHeadersWidth = 51; |
| | | this.grdMain.RowTemplate.Height = 23; |
| | | this.grdMain.Size = new System.Drawing.Size(1246, 409); |
| | | this.grdMain.TabIndex = 19; |
| | | this.grdMain.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.grdMain_CellMouseUp); |
| | | this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged); |
| | | this.grdMain.Scroll += new System.Windows.Forms.ScrollEventHandler(this.grdMain_Scroll); |
| | | this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint); |
| | | this.grdMain.DoubleClick += new System.EventHandler(this.grdMain_DblClick); |
| | | // |
| | | // grdPrint |
| | | // |
| | | this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdPrint.Location = new System.Drawing.Point(772, 146); |
| | | this.grdPrint.Name = "grdPrint"; |
| | | this.grdPrint.RowHeadersWidth = 51; |
| | | this.grdPrint.RowTemplate.Height = 23; |
| | | this.grdPrint.Size = new System.Drawing.Size(25, 24); |
| | | this.grdPrint.TabIndex = 8; |
| | | this.grdPrint.Visible = false; |
| | | // |
| | | // grdSum |
| | | // |
| | | this.grdSum.AllowUserToAddRows = false; |
| | | this.grdSum.AllowUserToDeleteRows = false; |
| | | this.grdSum.BackgroundColor = System.Drawing.SystemColors.Control; |
| | | this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.grdSum.Location = new System.Drawing.Point(0, 512); |
| | | this.grdSum.Name = "grdSum"; |
| | | this.grdSum.ReadOnly = true; |
| | | this.grdSum.RowHeadersWidth = 51; |
| | | this.grdSum.RowTemplate.Height = 23; |
| | | this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None; |
| | | this.grdSum.Size = new System.Drawing.Size(1246, 19); |
| | | this.grdSum.TabIndex = 47; |
| | | // |
| | | // MES_StationOutBillList_BaoFei |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(1246, 531); |
| | | this.Controls.Add(this.grdMain); |
| | | this.Controls.Add(this.grdSum); |
| | | this.Controls.Add(this.pPic); |
| | | this.Controls.Add(this.Tool); |
| | | this.Controls.Add(this.grdPrint); |
| | | this.Name = "MES_StationOutBillList_BaoFei"; |
| | | this.Text = "å·¥åºæ¥åºåæ¥è¡¨"; |
| | | this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
| | | this.Load += new System.EventHandler(this.MES_StationOutBillList_BaoFei_Load); |
| | | this.pPic.ResumeLayout(false); |
| | | this.pPic.PerformLayout(); |
| | | this.panel1.ResumeLayout(false); |
| | | this.panel1.PerformLayout(); |
| | | this.Tool.ResumeLayout(false); |
| | | this.Tool.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdSum)).EndInit(); |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private System.Windows.Forms.Panel pPic; |
| | | private System.Windows.Forms.Label lblCaption; |
| | | private System.Windows.Forms.ToolStrip Tool; |
| | | private System.Windows.Forms.ToolStripButton yl; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |
| | | private System.Windows.Forms.ToolStripButton cx; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |
| | | private System.Windows.Forms.ToolStripButton tc; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; |
| | | public System.Windows.Forms.Timer timer1; |
| | | private System.Windows.Forms.ToolStripButton sx; |
| | | private System.Windows.Forms.ToolStripButton dj; |
| | | private System.Windows.Forms.ToolStripButton xz; |
| | | private System.Windows.Forms.ToolStripButton sc; |
| | | private System.Windows.Forms.Timer timer2; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; |
| | | private System.Windows.Forms.ToolStripButton mrlk; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; |
| | | private System.Windows.Forms.ToolStripButton bclk; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; |
| | | private System.Windows.Forms.ToolStripButton sh; |
| | | private System.Windows.Forms.ToolStripButton qsh; |
| | | private System.Windows.Forms.DataGridView grdMain; |
| | | private System.Windows.Forms.Panel panel1; |
| | | private System.Windows.Forms.Label lbljl; |
| | | private System.Windows.Forms.Label lbldj; |
| | | private System.Windows.Forms.DataGridView grdPrint; |
| | | private System.Windows.Forms.DataGridView grdSum; |
| | | private System.Windows.Forms.ToolStripButton dc; |
| | | private System.Windows.Forms.Label label1; |
| | | private System.Windows.Forms.TextBox txtHBillNo; |
| | | private System.Windows.Forms.Label label2; |
| | | private System.Windows.Forms.TextBox txtHCenterID; |
| | | private System.Windows.Forms.TextBox txtHOrderProcNO; |
| | | private System.Windows.Forms.Label label3; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; |
| | | private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1; |
| | | private System.Windows.Forms.ToolStripMenuItem eXCELToolStripMenuItem; |
| | | private System.Windows.Forms.ToolStripMenuItem cSVToolStripMenuItem; |
| | | private System.Windows.Forms.ComboBox cmbHStatus; |
| | | private System.Windows.Forms.Label label4; |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Text; |
| | | using System.Windows.Forms; |
| | | using gregn6Lib; |
| | | using SQLHelper; |
| | | using DBUtility; |
| | | using System.IO; |
| | | using System.Reflection; |
| | | |
| | | namespace WorkM |
| | | { |
| | | public partial class MES_StationOutBillList_GeLi : Form |
| | | { |
| | | public MES_StationOutBillList_GeLi() |
| | | { |
| | | InitializeComponent(); |
| | | } |
| | | public DBUtility.frmBillQueryCondition_New frmCondition; |
| | | public string ViewName = "h_v_MES_StationOutBillList_GeLi"; |
| | | public string ModCaption = "å·¥åºéç¦»åæ¥è¡¨"; |
| | | public const string ModName = "3791"; |
| | | public const string ModRightName = "MES_StationOutBill"; |
| | | public const string ModRightNameEdit = ModRightName + "_Edit"; |
| | | public const string ModRightNameCheck = ModRightName + "_Check"; |
| | | public const string ModRightNameClose = ModRightName + "_Close"; |
| | | public const string ModRightNameDelete = ModRightName + "_Delete"; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | public MES_StationOutBill oFrm; |
| | | Pub_Class.ClsGridListSum oSumGrid = new Pub_Class.ClsGridListSum(); |
| | | public string sDlgWhere = ""; //å¤çªä½éå
¥ |
| | | |
| | | // |
| | | private void initGrid() |
| | | { |
| | | DBUtility.Xt_BaseBillFun.initGridList(grdMain,this.Name); |
| | | } |
| | | // |
| | | |
| | | private void Display() |
| | | { |
| | | ClsCN SubCn = new ClsCN(); |
| | | DataSet DSet; |
| | | string sSql = ""; |
| | | string sWhere = ""; |
| | | |
| | | if (frmCondition.SqlStr.Trim().Length == 0) |
| | | { |
| | | sSql = "Select top 5000 * from " + ViewName + " Where 1=1 " + sWhere + sDlgWhere + " order by hmainid desc "; |
| | | } |
| | | else |
| | | { |
| | | sSql = frmCondition.SqlStr + sWhere + sDlgWhere + " order by hmainid desc "; |
| | | } |
| | | // |
| | | DSet = SubCn.RunProcReturn(sSql, ViewName, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //çæé¦è¡æ é¢ |
| | | if (DSet == null) |
| | | { |
| | | MessageBox.Show("没æè¿åä»»ä½ç»æ,请å¨è¿æ»¤æ¡ä¸ç¹å»ãæ¢å¤ãæé®,å°è¯å次æ¥è¯¢ï¼" + DBUtility.ClsPub.sExeReturnInfo); |
| | | return; |
| | | } |
| | | //éæ¾å»ç» |
| | | DBUtility.Xt_BaseBillFun.CancelFrozenCol(grdMain); |
| | | // |
| | | grdMain.DataSource = DSet.Tables[0].DefaultView; |
| | | //设置å计å |
| | | string sTotalCol = ""; |
| | | sTotalCol = DBUtility.Gy_BaseFun.GetTotalCols(DSet); |
| | | string[] sT; |
| | | sT = sTotalCol.Split(Convert.ToChar(",")); |
| | | oSumGrid.BuildTotalCols(sT); |
| | | // |
| | | //å»ç» |
| | | int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text); |
| | | string s = frmCondition.cmbHComplete.Text; |
| | | DBUtility.Xt_BaseBillFun.DisplayGrid(grdMain, this.Name, s, FrCol); |
| | | //ç»çº¿ |
| | | GraphLine(); |
| | | |
| | | Total(); |
| | | |
| | | |
| | | // |
| | | } |
| | | // |
| | | private void timer1_Tick(object sender, EventArgs e) |
| | | { |
| | | timer1.Enabled=false; |
| | | initGrid(); |
| | | Display(); |
| | | } |
| | | |
| | | private void tc_Click(object sender, EventArgs e) |
| | | { |
| | | this.Close(); |
| | | } |
| | | |
| | | private void sx_Click(object sender, EventArgs e) |
| | | { |
| | | timer1.Enabled = true; |
| | | } |
| | | |
| | | private void dj_Click(object sender, EventArgs e) |
| | | { |
| | | Sub_ShowBill(); |
| | | } |
| | | //æ¾ç¤ºåæ® |
| | | private void Sub_ShowBill() |
| | | { |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |
| | | lngBillKey =DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); |
| | | if (lngBillKey == 0) |
| | | return; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | oFrm = new MES_StationOutBill(); |
| | | oFrm.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_View; |
| | | oFrm.BillOld = oBill; |
| | | oFrm.ShowDialog(); |
| | | if (oFrm.BillChange) |
| | | { |
| | | if (MessageBox.Show("åæ®å表已ç»åçåå,æ¯å¦å·æ°", "æç¤º", MessageBoxButtons.OKCancel, MessageBoxIcon.Question) == DialogResult.OK) |
| | | { |
| | | timer1.Enabled = true; |
| | | } |
| | | } |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åæ®æªæ¾å°", "æç¤º"); |
| | | } |
| | | oBill = null; |
| | | } |
| | | // |
| | | private Int32 Fun_GetCol(string sCol) |
| | | { |
| | | return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdMain); |
| | | } |
| | | // |
| | | private void MES_StationOutBillList_GeLi_Load(object sender, EventArgs e) |
| | | { |
| | | // |
| | | frmCondition = new frmBillQueryCondition_New(); |
| | | this.Text = ModCaption; |
| | | lblCaption.Text = ModCaption; |
| | | oSumGrid.ogrdMain = grdMain; //åå§å new |
| | | oSumGrid.oGridsum = grdSum; |
| | | initGrid(); |
| | | } |
| | | |
| | | private void grdMain_DblClick(object sender, EventArgs e) |
| | | { |
| | | Sub_ShowBill(); |
| | | } |
| | | |
| | | private void cx_Click(object sender, EventArgs e) |
| | | { |
| | | frmCondition = new frmBillQueryCondition_New(); |
| | | SetCondition(frmCondition, ViewName, this.Name); |
| | | frmCondition.ShowDialog(); |
| | | if (frmCondition.Tag.ToString() == "OK") |
| | | { |
| | | Display(); |
| | | } |
| | | } |
| | | |
| | | public void SetCondition(frmBillQueryCondition_New frmCondition, string ViewName, string Name) |
| | | { |
| | | frmCondition.Tag = ""; |
| | | frmCondition.ViewName = ViewName; |
| | | frmCondition.ModName = Name; |
| | | } |
| | | |
| | | private void xz_Click(object sender, EventArgs e) |
| | | { |
| | | // |
| | | MES_StationOutBill oMES_StationOutBill = new MES_StationOutBill(); |
| | | oMES_StationOutBill.BillStatus = DBUtility.ClsPub.Enum_BillStatus.BillStatus_AddNew; |
| | | oMES_StationOutBill.ModCaption = "å·¥åºåºç«æ±æ¥ä¸è¯åæ¸
å"; |
| | | oMES_StationOutBill.ShowDialog(); |
| | | } |
| | | |
| | | private void sc_Click(object sender, EventArgs e) |
| | | { |
| | | Sub_DeleteBill(); |
| | | } |
| | | //å é¤ |
| | | private void Sub_DeleteBill() |
| | | { |
| | | //ç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameDelete, 1, true, DBUtility.ClsPub.CurUserName)) |
| | | { |
| | | return; |
| | | } |
| | | // |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |
| | | lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); |
| | | if (lngBillKey == 0) |
| | | return; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (MessageBox.Show("ç¡®å®è¦å é¤å½ååæ®ï¼", "æç¤º", MessageBoxButtons.OKCancel)==DialogResult.OK) |
| | | { |
| | | if (oBill.omodel.HMaker != ClsPub.CurUserName && (ClsPub.CurUserName != "admin" && ClsPub.CurUserName != "Admin")) |
| | | { |
| | | MessageBox.Show("åªè½å 餿¬äººçåæ®ï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | string c = ""; |
| | | |
| | | SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | //夿çäº§è®¢åæ¯å¦å·²ç»æ¡ï¼è¦æ±è®¡åæå·¥åç»æ¡ 夿æ¯å¦åå¨ ç¸ååæ®å· çå
¥åºå , ä¸éå·¥åºæ¯å¦è¿ç« |
| | | ds = oCn.RunProcReturn("exec h_p_MES_StationOutBill_DelCtrl '" + oBill.omodel.HBillNo + "'", "h_p_MES_StationOutBill_DelCtrl"); |
| | | if (ds == null) |
| | | { |
| | | MessageBox.Show("夿å
³è失败!"); |
| | | return; |
| | | } |
| | | if (ds.Tables[0].Rows.Count > 0 && Pub_Class.ClsPub.isInt(ds.Tables[0].Rows[0][0]) == 2) |
| | | { |
| | | MessageBox.Show(Pub_Class.ClsPub.isStrNull(ds.Tables[0].Rows[0][1])); |
| | | return; |
| | | } |
| | | |
| | | |
| | | //if (oBill.DeleteCheck(oBill.omodel.HInterID,"åºç«å", ref c) == false) |
| | | //{ |
| | | // MessageBox.Show(c, "æç¤º"); |
| | | // return; |
| | | //} |
| | | //if (oBill.omodel.HChecker != "") |
| | | //{ |
| | | // MessageBox.Show("忮已ç»å®¡æ ¸,ä¸è½å é¤ï¼", "æç¤º"); |
| | | // return; |
| | | //} |
| | | //if (!oBill.DeleteBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | //åå
¥å 餿¥å¿ |
| | | string WorkList = "å é¤åºç«åï¼" + oBill.omodel.HBillNo; |
| | | //BLL.ClsPub_BLL.System_Log_DropAdd(WorkList); |
| | | if (!oBill.DeleteBill(oBill.omodel.HInterID, oBill.omodel.HProcExchInterID, oBill.omodel.HProcExchEntryID, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | MessageBox.Show(DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | Display(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åæ®æªæ¾å°", "æç¤º"); |
| | | } |
| | | } |
| | | |
| | | private void timer2_Tick(object sender, EventArgs e) |
| | | { |
| | | timer2.Enabled = false; |
| | | frmCondition = new frmBillQueryCondition_New(); |
| | | SetCondition(frmCondition, ViewName, this.Name); |
| | | frmCondition.ShowDialog(); |
| | | if (frmCondition.Tag.ToString() == "OK") |
| | | { |
| | | timer1.Enabled = true; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | private void bclk_Click(object sender, EventArgs e) |
| | | { |
| | | //ä¿åå宽 |
| | | DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name); |
| | | } |
| | | |
| | | private void mrlk_Click(object sender, EventArgs e) |
| | | { |
| | | DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name); |
| | | } |
| | | // |
| | | private void GraphLine() |
| | | { |
| | | int MainIDCol = Fun_GetCol("hmainid"); |
| | | int SubIDCol = Fun_GetCol("hsubid"); |
| | | string s = frmCondition.cmbHComplete.Text; |
| | | long n=0; |
| | | DBUtility.Xt_BaseBillFun.GraphLine(grdMain, MainIDCol, SubIDCol, s,ref n); |
| | | //æ¾ç¤º |
| | | lbldj.Text = "æ¥è¯¢åº " + n.ToString() + " å¼ åæ®"; |
| | | lbljl.Text = "å
±æ " + grdMain.RowCount.ToString() + " æ¡è®°å½"; |
| | | } |
| | | //å®¡æ ¸ |
| | | private void sh_Click(object sender, EventArgs e) |
| | | { |
| | | this.Sub_CheckBill(); |
| | | } |
| | | |
| | | //å®¡æ ¸åæ® |
| | | private void Sub_CheckBill() |
| | | { |
| | | //å®¡æ ¸æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true, DBUtility.ClsPub.CurUserName)) |
| | | { |
| | | return; |
| | | } |
| | | // |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |
| | | lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); |
| | | if (lngBillKey == 0) |
| | | return; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | //æ¥çæ¯å¦å·²å®¡æ ¸,å
³é,ä½åº |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() != "") |
| | | { |
| | | MessageBox.Show("åæ®å·²å®¡æ ¸!ä¸è½åæ¬¡å®¡æ ¸", "æç¤º"); |
| | | return; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | //å®¡æ ¸ |
| | | if (oBill.CheckBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | MessageBox.Show("å®¡æ ¸æå!", "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("å®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | } |
| | | //å审忮 |
| | | private void Sub_AbandonCheck() |
| | | { |
| | | //å®¡æ ¸æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true,DBUtility.ClsPub.CurUserName)) |
| | | { |
| | | return; |
| | | } |
| | | // |
| | | Int64 lngBillKey = 0; |
| | | if (grdMain.CurrentRow == null) |
| | | return; |
| | | lngBillKey = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.CurrentRow.Index].Cells[Fun_GetCol("hmainid")].Value); |
| | | if (lngBillKey == 0) |
| | | return; |
| | | DAL.ClsSc_StationOutBill oBill = new DAL.ClsSc_StationOutBill(); |
| | | //æ¥çæ¯å¦å·²å®¡æ ¸,å
³é,ä½åº |
| | | if (oBill.ShowBill(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo)) |
| | | { |
| | | if (oBill.omodel.HChecker.Trim() == "") |
| | | { |
| | | MessageBox.Show("åæ®æªå®¡æ ¸!ä¸éè¦åå®¡æ ¸!", "æç¤º"); |
| | | return; |
| | | } |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åæ®ä¸åå¨!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | //åå®¡æ ¸ |
| | | if (oBill.AbandonCheck(lngBillKey, ref DBUtility.ClsPub.sExeReturnInfo) == true) |
| | | { |
| | | MessageBox.Show("åå®¡æ ¸æå!", "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("åå®¡æ ¸å¤±è´¥!åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | } |
| | | //åå®¡æ ¸ |
| | | private void qsh_Click(object sender, EventArgs e) |
| | | { |
| | | Sub_AbandonCheck(); |
| | | } |
| | | |
| | | private void GraphicsGrid() |
| | | { |
| | | DBUtility.Xt_BaseBillFun.GraphicsGrid(grdMain); |
| | | } |
| | | |
| | | #region //æå°è®¾ç½® |
| | | |
| | | GridppReport Report; |
| | | //é¢è§ |
| | | private void yl_Click(object sender, EventArgs e) |
| | | { |
| | | //éæ©æå°æ¨¡æ¿ |
| | | BLL.Gy_OpenTmp oFrm = new BLL.Gy_OpenTmp(); |
| | | oFrm.sBillName = ModName; |
| | | oFrm.sBillModel = ModCaption; |
| | | oFrm.ShowDialog(); |
| | | if (oFrm.OKTag == Pub_Class.ClsPub.Enum_OKTag.OKTag_OK) |
| | | { |
| | | // |
| | | Sub_SetReport(oFrm.sOpenTmp); |
| | | Report.PrintPreview(true); |
| | | } |
| | | } |
| | | |
| | | private void Sub_SetReport(string sOpenTmp) |
| | | { |
| | | //å¤æè¡æ° |
| | | for (int i = 0; i < grdMain.Rows.Count; i++) |
| | | { |
| | | grdMain.Rows[i].Cells[0].Value = ""; |
| | | } |
| | | for (int i = 0; i < grdMain.SelectedRows.Count; i++) |
| | | { |
| | | grdMain.Rows[grdMain.SelectedRows[i].Index].Cells[0].Value = "*"; |
| | | } |
| | | // |
| | | // |
| | | Report = new GridppReport(); |
| | | Report.LoadFromFile(DBUtility.ClsPub.AppPath + @"\" + sOpenTmp + ".grf"); //here . |
| | | Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable); |
| | | } |
| | | |
| | | private void ReportFetchRecordByDataTable() |
| | | { |
| | | DataTable dt = new DataTable(); |
| | | BLL.Utility.FillRecordToReport_Sel(Report, grdMain, dt, Fun_GetCol("éæ©")); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | // |
| | | private void grdMain_Paint(object sender, PaintEventArgs e) |
| | | { |
| | | GraphicsGrid(); |
| | | } |
| | | |
| | | //å计 new |
| | | private void Total() |
| | | { |
| | | if (grdMain.Rows.Count > 0 && grdMain.ColumnCount>0) |
| | | { |
| | | oSumGrid.SetGridsum(); |
| | | //oSumGrid.Total(); |
| | | oSumGrid.TotalAll(); |
| | | } |
| | | } |
| | | //å计 new |
| | | private void grdMain_ColumnWidthChanged(object sender, DataGridViewColumnEventArgs e) |
| | | { |
| | | Total(); |
| | | } |
| | | //å计 new |
| | | private void grdMain_CellMouseUp(object sender, DataGridViewCellMouseEventArgs e) |
| | | { |
| | | //Total(); |
| | | } |
| | | //å¼åºEXCEL |
| | | private void dc_Click(object sender, EventArgs e) |
| | | { |
| | | //DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain); |
| | | DataGridViewToExcel2(); |
| | | } |
| | | |
| | | private void txtHBillNo_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | Sub_FastQuery(); |
| | | } |
| | | } |
| | | |
| | | //å¿«éè¿æ»¤ |
| | | private void Sub_FastQuery() |
| | | { |
| | | string sFastSQL = ""; |
| | | //LOTå· |
| | | if (txtHBillNo.Text.Trim() != "") |
| | | { |
| | | sFastSQL = sFastSQL + " and å·¥åºæµè½¬å¡å· like '%" + txtHBillNo.Text + "%'"; |
| | | } |
| | | //å·¥ä½ä¸å¿ |
| | | if (txtHCenterID.Text.Trim() != "") |
| | | { |
| | | sFastSQL = sFastSQL + " and (å·¥ä½ä¸å¿ like '%" + txtHCenterID.Text + "%' or å·¥ä½ä¸å¿ä»£ç like '%" + txtHCenterID.Text + "%') "; |
| | | } |
| | | //订åè·è¸ªå· |
| | | if (txtHOrderProcNO.Text.Trim() != "") |
| | | { |
| | | sFastSQL = sFastSQL + " and (订åè·è¸ªå· like '%" + txtHOrderProcNO.Text + "%' ) "; |
| | | } |
| | | //åæ¥ç¶æ |
| | | if(cmbHStatus.Text.Trim()=="æªåæ¥") |
| | | { |
| | | sFastSQL = sFastSQL + " and (åæ¥ç¶æ='" + cmbHStatus.Text.Trim() + "' ) "; |
| | | } |
| | | if (cmbHStatus.Text.Trim() == "已忥") |
| | | { |
| | | sFastSQL = sFastSQL + " and (åæ¥ç¶æ='" + cmbHStatus.Text.Trim() + "' ) "; |
| | | } |
| | | sDlgWhere = sFastSQL; |
| | | Display(); |
| | | } |
| | | |
| | | private void DataGridViewToExcel2() |
| | | { |
| | | SaveFileDialog saveFileDialog = new SaveFileDialog(); |
| | | saveFileDialog.Filter = "Execlæä»¶(*.xls)|*.xls"; |
| | | saveFileDialog.FilterIndex = 0; |
| | | saveFileDialog.RestoreDirectory = true; |
| | | saveFileDialog.CreatePrompt = true; |
| | | saveFileDialog.Title = "æ°æ®è§å¾å¯¼åºEXCELæä»¶"; |
| | | saveFileDialog.ShowDialog(); |
| | | if (saveFileDialog.FileName == "") |
| | | { |
| | | return; |
| | | } |
| | | Stream myStream; |
| | | myStream = saveFileDialog.OpenFile(); |
| | | StreamWriter sw = new StreamWriter(myStream, System.Text.Encoding.GetEncoding("gb2312")); |
| | | string str = ""; |
| | | DateTime start = DateTime.Now; |
| | | try |
| | | { |
| | | //åæ é¢ |
| | | for (int i = 0; i < grdMain.ColumnCount; i++) |
| | | { |
| | | if (i > 0) |
| | | { |
| | | str += "\t"; |
| | | } |
| | | str += grdMain.Columns[i].HeaderText; |
| | | } |
| | | sw.WriteLine(str); |
| | | |
| | | //åå
容 |
| | | for (int j = 0; j < grdMain.Rows.Count; j++) |
| | | { |
| | | string tempStr = ""; |
| | | for (int k = 0; k < grdMain.Columns.Count; k++) |
| | | { |
| | | if (k > 0) |
| | | { |
| | | tempStr += "\t"; |
| | | } |
| | | if (grdMain.Rows[j].Cells[k].Value == null) |
| | | { |
| | | tempStr += string.Empty; |
| | | } |
| | | else |
| | | { |
| | | tempStr += grdMain.Rows[j].Cells[k].Value.ToString(); |
| | | } |
| | | } |
| | | sw.WriteLine(tempStr); |
| | | } |
| | | sw.Close(); |
| | | myStream.Close(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | MessageBox.Show(ex.Message); |
| | | } |
| | | finally |
| | | { |
| | | sw.Close(); |
| | | myStream.Close(); |
| | | } |
| | | MessageBox.Show("å°æ¤å·¥ä½è¡¨å¯¼åºä¸ºexcelå
±èæ¶ï¼" + DateTime.Now.Subtract(start).TotalMilliseconds.ToString() + "毫ç§"); |
| | | } |
| | | |
| | | private void txtHCenterID_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | Sub_FastQuery(); |
| | | } |
| | | } |
| | | |
| | | private void grdMain_Scroll(object sender, ScrollEventArgs e) |
| | | { |
| | | if (e.ScrollOrientation == ScrollOrientation.HorizontalScroll) |
| | | { |
| | | Total(); |
| | | } |
| | | } |
| | | |
| | | private void txtHOrderProcNO_KeyDown(object sender, KeyEventArgs e) |
| | | { |
| | | if (e.KeyCode == Keys.Enter) |
| | | { |
| | | Sub_FastQuery(); |
| | | } |
| | | } |
| | | |
| | | |
| | | private void eXCELToolStripMenuItem_Click(object sender, EventArgs e) |
| | | { |
| | | DBUtility.Gy_BaseFun.DataToExcel(this.Text, grdMain); |
| | | |
| | | } |
| | | |
| | | private void cSVToolStripMenuItem_Click(object sender, EventArgs e) |
| | | { |
| | | DBUtility.Gy_BaseFun.DataGridViewToExcel2(grdMain, this.Text, this.Text); |
| | | |
| | | } |
| | | |
| | | private void cmbHStatus_SelectedIndexChanged(object sender, EventArgs e) |
| | | { |
| | | Sub_FastQuery(); |
| | | } |
| | | } |
| | | } |
New file |
| | |
| | | namespace WorkM |
| | | { |
| | | partial class MES_StationOutBillList_GeLi |
| | | { |
| | | /// <summary> |
| | | /// å¿
éç设计å¨åéã |
| | | /// </summary> |
| | | private System.ComponentModel.IContainer components = null; |
| | | |
| | | /// <summary> |
| | | /// æ¸
çæææ£å¨ä½¿ç¨çèµæºã |
| | | /// </summary> |
| | | /// <param name="disposing">妿åºéæ¾æç®¡èµæºï¼ä¸º trueï¼å¦å为 falseã</param> |
| | | protected override void Dispose(bool disposing) |
| | | { |
| | | if (disposing && (components != null)) |
| | | { |
| | | components.Dispose(); |
| | | } |
| | | base.Dispose(disposing); |
| | | } |
| | | |
| | | #region Windows çªä½è®¾è®¡å¨çæç代ç |
| | | |
| | | /// <summary> |
| | | /// è®¾è®¡å¨æ¯ææéçæ¹æ³ - ä¸è¦ |
| | | /// 使ç¨ä»£ç ç¼è¾å¨ä¿®æ¹æ¤æ¹æ³çå
容ã |
| | | /// </summary> |
| | | private void InitializeComponent() |
| | | { |
| | | this.components = new System.ComponentModel.Container(); |
| | | System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MES_StationOutBillList_GeLi)); |
| | | this.pPic = new System.Windows.Forms.Panel(); |
| | | this.cmbHStatus = new System.Windows.Forms.ComboBox(); |
| | | this.label4 = new System.Windows.Forms.Label(); |
| | | this.label3 = new System.Windows.Forms.Label(); |
| | | this.txtHOrderProcNO = new System.Windows.Forms.TextBox(); |
| | | this.label2 = new System.Windows.Forms.Label(); |
| | | this.txtHCenterID = new System.Windows.Forms.TextBox(); |
| | | this.label1 = new System.Windows.Forms.Label(); |
| | | this.txtHBillNo = new System.Windows.Forms.TextBox(); |
| | | this.panel1 = new System.Windows.Forms.Panel(); |
| | | this.lbljl = new System.Windows.Forms.Label(); |
| | | this.lbldj = new System.Windows.Forms.Label(); |
| | | this.lblCaption = new System.Windows.Forms.Label(); |
| | | this.Tool = new System.Windows.Forms.ToolStrip(); |
| | | this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton(); |
| | | this.eXCELToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.cSVToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); |
| | | this.dc = new System.Windows.Forms.ToolStripButton(); |
| | | this.yl = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.cx = new System.Windows.Forms.ToolStripButton(); |
| | | this.sx = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.xz = new System.Windows.Forms.ToolStripButton(); |
| | | this.dj = new System.Windows.Forms.ToolStripButton(); |
| | | this.sc = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.sh = new System.Windows.Forms.ToolStripButton(); |
| | | this.qsh = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.tc = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.mrlk = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.bclk = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.timer1 = new System.Windows.Forms.Timer(this.components); |
| | | this.timer2 = new System.Windows.Forms.Timer(this.components); |
| | | this.grdMain = new System.Windows.Forms.DataGridView(); |
| | | this.grdPrint = new System.Windows.Forms.DataGridView(); |
| | | this.grdSum = new System.Windows.Forms.DataGridView(); |
| | | this.pPic.SuspendLayout(); |
| | | this.panel1.SuspendLayout(); |
| | | this.Tool.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).BeginInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdSum)).BeginInit(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // pPic |
| | | // |
| | | this.pPic.BackColor = System.Drawing.Color.White; |
| | | this.pPic.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pPic.BackgroundImage"))); |
| | | this.pPic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; |
| | | this.pPic.Controls.Add(this.cmbHStatus); |
| | | this.pPic.Controls.Add(this.label4); |
| | | this.pPic.Controls.Add(this.label3); |
| | | this.pPic.Controls.Add(this.txtHOrderProcNO); |
| | | this.pPic.Controls.Add(this.label2); |
| | | this.pPic.Controls.Add(this.txtHCenterID); |
| | | this.pPic.Controls.Add(this.label1); |
| | | this.pPic.Controls.Add(this.txtHBillNo); |
| | | this.pPic.Controls.Add(this.panel1); |
| | | this.pPic.Controls.Add(this.lblCaption); |
| | | this.pPic.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.pPic.Location = new System.Drawing.Point(0, 50); |
| | | this.pPic.Name = "pPic"; |
| | | this.pPic.Size = new System.Drawing.Size(1246, 53); |
| | | this.pPic.TabIndex = 15; |
| | | // |
| | | // cmbHStatus |
| | | // |
| | | this.cmbHStatus.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; |
| | | this.cmbHStatus.FormattingEnabled = true; |
| | | this.cmbHStatus.Items.AddRange(new object[] { |
| | | "æªåæ¥", |
| | | "已忥", |
| | | "å
¨é¨"}); |
| | | this.cmbHStatus.Location = new System.Drawing.Point(346, 11); |
| | | this.cmbHStatus.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmbHStatus.Name = "cmbHStatus"; |
| | | this.cmbHStatus.Size = new System.Drawing.Size(92, 20); |
| | | this.cmbHStatus.TabIndex = 20; |
| | | this.cmbHStatus.SelectedIndexChanged += new System.EventHandler(this.cmbHStatus_SelectedIndexChanged); |
| | | // |
| | | // label4 |
| | | // |
| | | this.label4.AutoSize = true; |
| | | this.label4.BackColor = System.Drawing.Color.Transparent; |
| | | this.label4.Location = new System.Drawing.Point(280, 15); |
| | | this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); |
| | | this.label4.Name = "label4"; |
| | | this.label4.Size = new System.Drawing.Size(53, 12); |
| | | this.label4.TabIndex = 19; |
| | | this.label4.Text = "åæ¥ç¶æ"; |
| | | // |
| | | // label3 |
| | | // |
| | | this.label3.AutoSize = true; |
| | | this.label3.BackColor = System.Drawing.Color.Transparent; |
| | | this.label3.Location = new System.Drawing.Point(569, 42); |
| | | this.label3.Name = "label3"; |
| | | this.label3.Size = new System.Drawing.Size(77, 12); |
| | | this.label3.TabIndex = 18; |
| | | this.label3.Text = "订åè·è¸ªå·ï¼"; |
| | | this.label3.Visible = false; |
| | | // |
| | | // txtHOrderProcNO |
| | | // |
| | | this.txtHOrderProcNO.Location = new System.Drawing.Point(649, 38); |
| | | this.txtHOrderProcNO.Name = "txtHOrderProcNO"; |
| | | this.txtHOrderProcNO.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHOrderProcNO.TabIndex = 17; |
| | | this.txtHOrderProcNO.Visible = false; |
| | | this.txtHOrderProcNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHOrderProcNO_KeyDown); |
| | | // |
| | | // label2 |
| | | // |
| | | this.label2.AutoSize = true; |
| | | this.label2.BackColor = System.Drawing.Color.Transparent; |
| | | this.label2.Location = new System.Drawing.Point(817, 38); |
| | | this.label2.Name = "label2"; |
| | | this.label2.Size = new System.Drawing.Size(65, 12); |
| | | this.label2.TabIndex = 14; |
| | | this.label2.Text = "å·¥ä½ä¸å¿ï¼"; |
| | | this.label2.Visible = false; |
| | | // |
| | | // txtHCenterID |
| | | // |
| | | this.txtHCenterID.Location = new System.Drawing.Point(885, 35); |
| | | this.txtHCenterID.Name = "txtHCenterID"; |
| | | this.txtHCenterID.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHCenterID.TabIndex = 15; |
| | | this.txtHCenterID.Visible = false; |
| | | this.txtHCenterID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHCenterID_KeyDown); |
| | | // |
| | | // label1 |
| | | // |
| | | this.label1.AutoSize = true; |
| | | this.label1.BackColor = System.Drawing.Color.Transparent; |
| | | this.label1.Location = new System.Drawing.Point(456, 15); |
| | | this.label1.Name = "label1"; |
| | | this.label1.Size = new System.Drawing.Size(65, 12); |
| | | this.label1.TabIndex = 8; |
| | | this.label1.Text = "æµè½¬å¡å·ï¼"; |
| | | // |
| | | // txtHBillNo |
| | | // |
| | | this.txtHBillNo.Location = new System.Drawing.Point(524, 11); |
| | | this.txtHBillNo.Name = "txtHBillNo"; |
| | | this.txtHBillNo.Size = new System.Drawing.Size(162, 21); |
| | | this.txtHBillNo.TabIndex = 9; |
| | | this.txtHBillNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBillNo_KeyDown); |
| | | // |
| | | // panel1 |
| | | // |
| | | this.panel1.Controls.Add(this.lbljl); |
| | | this.panel1.Controls.Add(this.lbldj); |
| | | this.panel1.Dock = System.Windows.Forms.DockStyle.Right; |
| | | this.panel1.Location = new System.Drawing.Point(1049, 0); |
| | | this.panel1.Name = "panel1"; |
| | | this.panel1.Size = new System.Drawing.Size(197, 53); |
| | | this.panel1.TabIndex = 7; |
| | | // |
| | | // lbljl |
| | | // |
| | | this.lbljl.AutoSize = true; |
| | | this.lbljl.Location = new System.Drawing.Point(24, 30); |
| | | this.lbljl.Name = "lbljl"; |
| | | this.lbljl.Size = new System.Drawing.Size(11, 12); |
| | | this.lbljl.TabIndex = 1; |
| | | this.lbljl.Text = " "; |
| | | // |
| | | // lbldj |
| | | // |
| | | this.lbldj.AutoSize = true; |
| | | this.lbldj.Location = new System.Drawing.Point(24, 12); |
| | | this.lbldj.Name = "lbldj"; |
| | | this.lbldj.Size = new System.Drawing.Size(0, 12); |
| | | this.lbldj.TabIndex = 0; |
| | | // |
| | | // lblCaption |
| | | // |
| | | this.lblCaption.AutoSize = true; |
| | | this.lblCaption.BackColor = System.Drawing.Color.Transparent; |
| | | this.lblCaption.Cursor = System.Windows.Forms.Cursors.No; |
| | | this.lblCaption.Font = new System.Drawing.Font("å®ä½", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.lblCaption.Location = new System.Drawing.Point(12, 15); |
| | | this.lblCaption.Name = "lblCaption"; |
| | | this.lblCaption.Size = new System.Drawing.Size(164, 21); |
| | | this.lblCaption.TabIndex = 4; |
| | | this.lblCaption.Text = "å·¥åºéç¦»åæ¥è¡¨"; |
| | | this.lblCaption.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; |
| | | // |
| | | // Tool |
| | | // |
| | | this.Tool.AutoSize = false; |
| | | this.Tool.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("Tool.BackgroundImage"))); |
| | | this.Tool.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; |
| | | this.Tool.ImageScalingSize = new System.Drawing.Size(22, 22); |
| | | this.Tool.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| | | this.toolStripDropDownButton1, |
| | | this.dc, |
| | | this.yl, |
| | | this.toolStripSeparator2, |
| | | this.cx, |
| | | this.sx, |
| | | this.toolStripSeparator1, |
| | | this.xz, |
| | | this.dj, |
| | | this.sc, |
| | | this.toolStripSeparator5, |
| | | this.sh, |
| | | this.qsh, |
| | | this.toolStripSeparator6, |
| | | this.tc, |
| | | this.toolStripSeparator3, |
| | | this.toolStripSeparator9, |
| | | this.mrlk, |
| | | this.toolStripSeparator7, |
| | | this.bclk, |
| | | this.toolStripSeparator8}); |
| | | this.Tool.Location = new System.Drawing.Point(0, 0); |
| | | this.Tool.Name = "Tool"; |
| | | this.Tool.Padding = new System.Windows.Forms.Padding(0); |
| | | this.Tool.Size = new System.Drawing.Size(1246, 50); |
| | | this.Tool.Stretch = true; |
| | | this.Tool.TabIndex = 16; |
| | | this.Tool.Text = "toolStrip1"; |
| | | // |
| | | // toolStripDropDownButton1 |
| | | // |
| | | this.toolStripDropDownButton1.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| | | this.eXCELToolStripMenuItem, |
| | | this.cSVToolStripMenuItem}); |
| | | this.toolStripDropDownButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripDropDownButton1.Image"))); |
| | | this.toolStripDropDownButton1.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.toolStripDropDownButton1.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.toolStripDropDownButton1.Name = "toolStripDropDownButton1"; |
| | | this.toolStripDropDownButton1.Size = new System.Drawing.Size(45, 47); |
| | | this.toolStripDropDownButton1.Text = "å¼åº"; |
| | | this.toolStripDropDownButton1.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.toolStripDropDownButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | // |
| | | // eXCELToolStripMenuItem |
| | | // |
| | | this.eXCELToolStripMenuItem.Name = "eXCELToolStripMenuItem"; |
| | | this.eXCELToolStripMenuItem.Size = new System.Drawing.Size(112, 22); |
| | | this.eXCELToolStripMenuItem.Text = "EXCEL"; |
| | | this.eXCELToolStripMenuItem.Click += new System.EventHandler(this.eXCELToolStripMenuItem_Click); |
| | | // |
| | | // cSVToolStripMenuItem |
| | | // |
| | | this.cSVToolStripMenuItem.Name = "cSVToolStripMenuItem"; |
| | | this.cSVToolStripMenuItem.Size = new System.Drawing.Size(112, 22); |
| | | this.cSVToolStripMenuItem.Text = "CSV"; |
| | | this.cSVToolStripMenuItem.Click += new System.EventHandler(this.cSVToolStripMenuItem_Click); |
| | | // |
| | | // dc |
| | | // |
| | | this.dc.AutoSize = false; |
| | | this.dc.Image = ((System.Drawing.Image)(resources.GetObject("dc.Image"))); |
| | | this.dc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.dc.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.dc.Name = "dc"; |
| | | this.dc.Size = new System.Drawing.Size(36, 47); |
| | | this.dc.Text = "å¼åº"; |
| | | this.dc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.dc.Click += new System.EventHandler(this.dc_Click); |
| | | // |
| | | // yl |
| | | // |
| | | this.yl.AutoSize = false; |
| | | this.yl.Image = ((System.Drawing.Image)(resources.GetObject("yl.Image"))); |
| | | this.yl.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.yl.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.yl.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.yl.Name = "yl"; |
| | | this.yl.Size = new System.Drawing.Size(36, 47); |
| | | this.yl.Text = "é¢è§"; |
| | | this.yl.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.yl.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.yl.Click += new System.EventHandler(this.yl_Click); |
| | | // |
| | | // toolStripSeparator2 |
| | | // |
| | | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
| | | this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // cx |
| | | // |
| | | this.cx.AutoSize = false; |
| | | this.cx.Image = ((System.Drawing.Image)(resources.GetObject("cx.Image"))); |
| | | this.cx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.cx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.cx.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.cx.Name = "cx"; |
| | | this.cx.Size = new System.Drawing.Size(36, 47); |
| | | this.cx.Text = "æ¥è¯¢"; |
| | | this.cx.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.cx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.cx.Click += new System.EventHandler(this.cx_Click); |
| | | // |
| | | // sx |
| | | // |
| | | this.sx.AutoSize = false; |
| | | this.sx.Image = ((System.Drawing.Image)(resources.GetObject("sx.Image"))); |
| | | this.sx.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sx.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.sx.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.sx.Name = "sx"; |
| | | this.sx.Size = new System.Drawing.Size(36, 47); |
| | | this.sx.Text = "å·æ°"; |
| | | this.sx.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sx.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.sx.Click += new System.EventHandler(this.sx_Click); |
| | | // |
| | | // toolStripSeparator1 |
| | | // |
| | | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
| | | this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50); |
| | | this.toolStripSeparator1.Visible = false; |
| | | // |
| | | // xz |
| | | // |
| | | this.xz.AutoSize = false; |
| | | this.xz.Image = ((System.Drawing.Image)(resources.GetObject("xz.Image"))); |
| | | this.xz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.xz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.xz.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.xz.Name = "xz"; |
| | | this.xz.Size = new System.Drawing.Size(36, 47); |
| | | this.xz.Text = "æ°å¢"; |
| | | this.xz.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.xz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.xz.Visible = false; |
| | | this.xz.Click += new System.EventHandler(this.xz_Click); |
| | | // |
| | | // dj |
| | | // |
| | | this.dj.AutoSize = false; |
| | | this.dj.Image = ((System.Drawing.Image)(resources.GetObject("dj.Image"))); |
| | | this.dj.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dj.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.dj.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.dj.Name = "dj"; |
| | | this.dj.Size = new System.Drawing.Size(36, 47); |
| | | this.dj.Text = "åæ®"; |
| | | this.dj.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dj.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.dj.Visible = false; |
| | | this.dj.Click += new System.EventHandler(this.dj_Click); |
| | | // |
| | | // sc |
| | | // |
| | | this.sc.AutoSize = false; |
| | | this.sc.Image = ((System.Drawing.Image)(resources.GetObject("sc.Image"))); |
| | | this.sc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.sc.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.sc.Name = "sc"; |
| | | this.sc.Size = new System.Drawing.Size(36, 47); |
| | | this.sc.Text = "å é¤"; |
| | | this.sc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.sc.Visible = false; |
| | | this.sc.Click += new System.EventHandler(this.sc_Click); |
| | | // |
| | | // toolStripSeparator5 |
| | | // |
| | | this.toolStripSeparator5.Name = "toolStripSeparator5"; |
| | | this.toolStripSeparator5.Size = new System.Drawing.Size(6, 50); |
| | | this.toolStripSeparator5.Visible = false; |
| | | // |
| | | // sh |
| | | // |
| | | this.sh.AutoSize = false; |
| | | this.sh.Image = ((System.Drawing.Image)(resources.GetObject("sh.Image"))); |
| | | this.sh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.sh.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.sh.Name = "sh"; |
| | | this.sh.Size = new System.Drawing.Size(36, 47); |
| | | this.sh.Text = "å®¡æ ¸"; |
| | | this.sh.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.sh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.sh.Visible = false; |
| | | this.sh.Click += new System.EventHandler(this.sh_Click); |
| | | // |
| | | // qsh |
| | | // |
| | | this.qsh.AutoSize = false; |
| | | this.qsh.Image = ((System.Drawing.Image)(resources.GetObject("qsh.Image"))); |
| | | this.qsh.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.qsh.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.qsh.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.qsh.Name = "qsh"; |
| | | this.qsh.Size = new System.Drawing.Size(36, 47); |
| | | this.qsh.Text = "å审"; |
| | | this.qsh.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.qsh.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.qsh.Visible = false; |
| | | this.qsh.Click += new System.EventHandler(this.qsh_Click); |
| | | // |
| | | // toolStripSeparator6 |
| | | // |
| | | this.toolStripSeparator6.Name = "toolStripSeparator6"; |
| | | this.toolStripSeparator6.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // tc |
| | | // |
| | | this.tc.AutoSize = false; |
| | | this.tc.Image = ((System.Drawing.Image)(resources.GetObject("tc.Image"))); |
| | | this.tc.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.tc.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.tc.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.tc.Name = "tc"; |
| | | this.tc.Size = new System.Drawing.Size(36, 47); |
| | | this.tc.Text = "éåº"; |
| | | this.tc.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.tc.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.tc.Click += new System.EventHandler(this.tc_Click); |
| | | // |
| | | // toolStripSeparator3 |
| | | // |
| | | this.toolStripSeparator3.Name = "toolStripSeparator3"; |
| | | this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // toolStripSeparator9 |
| | | // |
| | | this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator9.Name = "toolStripSeparator9"; |
| | | this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // mrlk |
| | | // |
| | | this.mrlk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.mrlk.Image = ((System.Drawing.Image)(resources.GetObject("mrlk.Image"))); |
| | | this.mrlk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.mrlk.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.mrlk.Name = "mrlk"; |
| | | this.mrlk.Size = new System.Drawing.Size(60, 47); |
| | | this.mrlk.Text = "é»è®¤å宽"; |
| | | this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.mrlk.Click += new System.EventHandler(this.mrlk_Click); |
| | | // |
| | | // toolStripSeparator7 |
| | | // |
| | | this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator7.Name = "toolStripSeparator7"; |
| | | this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // bclk |
| | | // |
| | | this.bclk.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.bclk.Image = ((System.Drawing.Image)(resources.GetObject("bclk.Image"))); |
| | | this.bclk.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.bclk.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.bclk.Name = "bclk"; |
| | | this.bclk.Size = new System.Drawing.Size(60, 47); |
| | | this.bclk.Text = "ä¿åå宽"; |
| | | this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.bclk.Click += new System.EventHandler(this.bclk_Click); |
| | | // |
| | | // toolStripSeparator8 |
| | | // |
| | | this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; |
| | | this.toolStripSeparator8.Name = "toolStripSeparator8"; |
| | | this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // timer1 |
| | | // |
| | | this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
| | | // |
| | | // timer2 |
| | | // |
| | | this.timer2.Enabled = true; |
| | | this.timer2.Tick += new System.EventHandler(this.timer2_Tick); |
| | | // |
| | | // grdMain |
| | | // |
| | | this.grdMain.AllowUserToAddRows = false; |
| | | this.grdMain.AllowUserToDeleteRows = false; |
| | | this.grdMain.BackgroundColor = System.Drawing.SystemColors.InactiveCaption; |
| | | this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.grdMain.Location = new System.Drawing.Point(0, 103); |
| | | this.grdMain.Name = "grdMain"; |
| | | this.grdMain.ReadOnly = true; |
| | | this.grdMain.RowHeadersWidth = 51; |
| | | this.grdMain.RowTemplate.Height = 23; |
| | | this.grdMain.Size = new System.Drawing.Size(1246, 409); |
| | | this.grdMain.TabIndex = 19; |
| | | this.grdMain.CellMouseUp += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.grdMain_CellMouseUp); |
| | | this.grdMain.ColumnWidthChanged += new System.Windows.Forms.DataGridViewColumnEventHandler(this.grdMain_ColumnWidthChanged); |
| | | this.grdMain.Scroll += new System.Windows.Forms.ScrollEventHandler(this.grdMain_Scroll); |
| | | this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint); |
| | | this.grdMain.DoubleClick += new System.EventHandler(this.grdMain_DblClick); |
| | | // |
| | | // grdPrint |
| | | // |
| | | this.grdPrint.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdPrint.Location = new System.Drawing.Point(772, 146); |
| | | this.grdPrint.Name = "grdPrint"; |
| | | this.grdPrint.RowHeadersWidth = 51; |
| | | this.grdPrint.RowTemplate.Height = 23; |
| | | this.grdPrint.Size = new System.Drawing.Size(25, 24); |
| | | this.grdPrint.TabIndex = 8; |
| | | this.grdPrint.Visible = false; |
| | | // |
| | | // grdSum |
| | | // |
| | | this.grdSum.AllowUserToAddRows = false; |
| | | this.grdSum.AllowUserToDeleteRows = false; |
| | | this.grdSum.BackgroundColor = System.Drawing.SystemColors.Control; |
| | | this.grdSum.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | this.grdSum.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.grdSum.Location = new System.Drawing.Point(0, 512); |
| | | this.grdSum.Name = "grdSum"; |
| | | this.grdSum.ReadOnly = true; |
| | | this.grdSum.RowHeadersWidth = 51; |
| | | this.grdSum.RowTemplate.Height = 23; |
| | | this.grdSum.ScrollBars = System.Windows.Forms.ScrollBars.None; |
| | | this.grdSum.Size = new System.Drawing.Size(1246, 19); |
| | | this.grdSum.TabIndex = 47; |
| | | // |
| | | // MES_StationOutBillList_GeLi |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.ClientSize = new System.Drawing.Size(1246, 531); |
| | | this.Controls.Add(this.grdMain); |
| | | this.Controls.Add(this.grdSum); |
| | | this.Controls.Add(this.pPic); |
| | | this.Controls.Add(this.Tool); |
| | | this.Controls.Add(this.grdPrint); |
| | | this.Name = "MES_StationOutBillList_GeLi"; |
| | | this.Text = "å·¥åºéç¦»åæ¥è¡¨"; |
| | | this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
| | | this.Load += new System.EventHandler(this.MES_StationOutBillList_GeLi_Load); |
| | | this.pPic.ResumeLayout(false); |
| | | this.pPic.PerformLayout(); |
| | | this.panel1.ResumeLayout(false); |
| | | this.panel1.PerformLayout(); |
| | | this.Tool.ResumeLayout(false); |
| | | this.Tool.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdPrint)).EndInit(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdSum)).EndInit(); |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | private System.Windows.Forms.Panel pPic; |
| | | private System.Windows.Forms.Label lblCaption; |
| | | private System.Windows.Forms.ToolStrip Tool; |
| | | private System.Windows.Forms.ToolStripButton yl; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |
| | | private System.Windows.Forms.ToolStripButton cx; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |
| | | private System.Windows.Forms.ToolStripButton tc; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; |
| | | public System.Windows.Forms.Timer timer1; |
| | | private System.Windows.Forms.ToolStripButton sx; |
| | | private System.Windows.Forms.ToolStripButton dj; |
| | | private System.Windows.Forms.ToolStripButton xz; |
| | | private System.Windows.Forms.ToolStripButton sc; |
| | | private System.Windows.Forms.Timer timer2; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator9; |
| | | private System.Windows.Forms.ToolStripButton mrlk; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator7; |
| | | private System.Windows.Forms.ToolStripButton bclk; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator8; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; |
| | | private System.Windows.Forms.ToolStripButton sh; |
| | | private System.Windows.Forms.ToolStripButton qsh; |
| | | private System.Windows.Forms.DataGridView grdMain; |
| | | private System.Windows.Forms.Panel panel1; |
| | | private System.Windows.Forms.Label lbljl; |
| | | private System.Windows.Forms.Label lbldj; |
| | | private System.Windows.Forms.DataGridView grdPrint; |
| | | private System.Windows.Forms.DataGridView grdSum; |
| | | private System.Windows.Forms.ToolStripButton dc; |
| | | private System.Windows.Forms.Label label1; |
| | | private System.Windows.Forms.TextBox txtHBillNo; |
| | | private System.Windows.Forms.Label label2; |
| | | private System.Windows.Forms.TextBox txtHCenterID; |
| | | private System.Windows.Forms.TextBox txtHOrderProcNO; |
| | | private System.Windows.Forms.Label label3; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; |
| | | private System.Windows.Forms.ToolStripDropDownButton toolStripDropDownButton1; |
| | | private System.Windows.Forms.ToolStripMenuItem eXCELToolStripMenuItem; |
| | | private System.Windows.Forms.ToolStripMenuItem cSVToolStripMenuItem; |
| | | private System.Windows.Forms.ComboBox cmbHStatus; |
| | | private System.Windows.Forms.Label label4; |
| | | } |
| | | } |
| | |
| | | public long HProcExchInterID; |
| | | public long HProcExchEntryID; |
| | | public long HMainSourceInterID; |
| | | public string HBillSubType; |
| | | //å®ä¹å |
| | | public const Int16 HTagCol = 0; |
| | | public const Int16 HSnoCol = 1; |
| | |
| | | BillNew.omodel.HGroupName = ClsPub.isStrNull(this.cmbHGroupName.Text); |
| | | BillNew.omodel.HOrderProcNo = ClsPub.isStrNull(this.txtHOrderProcNo.Text); |
| | | BillNew.omodel.HProcExchQty = ClsPub.isDoule(this.txtHProcExchQty.Text); |
| | | BillNew.omodel.HBillSubType = HBillSubType; |
| | | |
| | | //æç»ç±»èµå¼ |
| | | BillNew.DetailColl=new List<Model.ClsQC_NoPassProdCheckBillSub>(); |