| | |
| | | Kf_WeighToBarCode oKf_WeighToBarCode = new Kf_WeighToBarCode(); |
| | | oKf_WeighToBarCode.ShowDialog(); |
| | | break; |
| | | case "kf_weightobarcode_stationoutbill": |
| | | // |
| | | Kf_WeighToBarCode_StationOutBill oKf_WeighToBarCode_StationOutBill = new Kf_WeighToBarCode_StationOutBill(); |
| | | oKf_WeighToBarCode_StationOutBill.ShowDialog(); |
| | | break; |
| | | case "kf_barcodeoutinreport": |
| | | //æé |
| | | Kf_BarCodeOutInReport oKf_BarCodeOutInReport = new Kf_BarCodeOutInReport(); |
| | |
| | | <Compile Include="ç产管ç\设å¤ç®¡ç\ClsSb_EquipConkBookBillMain.cs" /> |
| | | <Compile Include="ç产管ç\设å¤ç®¡ç\ClsSb_EquipConkBookBillSub.cs" /> |
| | | <Compile Include="è´¨æ£ç®¡ç\ClsQC_FirstPieceCheckBillSub_ValueGrid.cs" /> |
| | | <Compile Include="è´¨æ£ç®¡ç\ClsQC_PatrolProcCheckBillSub_BadReason.cs" /> |
| | | <Compile Include="è´¨æ£ç®¡ç\ClsQC_ProcessCheckBillSub_ValueGrid.cs" /> |
| | | <Compile Include="è´¨æ£ç®¡ç\ClsCrm_CustomerAppealBillSub.cs" /> |
| | | <Compile Include="è´¨æ£ç®¡ç\ClsCrm_CustomerAppealBillMain.cs" /> |
| | |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationEntrustOutBillSub_Item.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationInBillMain.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationInBillSub.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsQC_TestSampleCheckBillMain.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationOutBillMain.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsQC_TestSampleCheckBillSub.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationOutBillSub.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationOutBillSub_Emp.cs" /> |
| | | <Compile Include="车é´ç®¡ç\ClsSc_StationOutBillSub_Item.cs" /> |
| | |
| | | public Int64 HPrintQty; |
| | | public Int64 HICMOEntryID; |
| | | public Int64 HQCSchemeID; |
| | | public Int64 HUnitID; |
| | | public Int64 HProcID; |
| | | |
| | | } |
| | | } |
| | |
| | | public Int64 HProcExchQty; |
| | | public Int64 HMaterID; |
| | | public Int64 HFirstCheckEmp; |
| | | |
| | | public Int64 HMainProcID; |
| | | |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Model |
| | | { |
| | | public class ClsQC_PatrolProcCheckBillSub_BadReason : DBUtility.ClsXt_BaseBillSub |
| | | { |
| | | public Int64 HInterID; |
| | | public string HBillNo_bak; |
| | | public Int64 HEntryID; |
| | | public Int64 HItemID; |
| | | public Int64 HSEQ; |
| | | public DateTime HCreateDate; |
| | | public Int64 HBadReasonID; |
| | | public Int64 HEmpID ; |
| | | public Int64 HProcID ; |
| | | public Int64 HCheckEmpID; |
| | | public DateTime HFinishDate; |
| | | public Int64 HMaterID ; |
| | | public double HQty; |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Model |
| | | { |
| | | public class ClsQC_TestSampleCheckBillMain : DBUtility.ClsXt_BaseBillMain |
| | | { |
| | | public Int64 HPrintQty; |
| | | public Int64 HICMOInterID; |
| | | public Int64 HICMOEntryID; |
| | | public String HICMOBillNo; |
| | | public Int64 HProcPlanInterID; |
| | | public Int64 HProcPlanEntryID; |
| | | public String HProcPlanBillNo; |
| | | public Int64 HProcExchInterID; |
| | | public Int64 HProcExchEntryID; |
| | | public String HProcExchBillNo; |
| | | public Int64 HMaterID; |
| | | public Int64 HUnitID; |
| | | public Int64 HProcID; |
| | | public Int64 HPayProcID; |
| | | public double HICMOQty; |
| | | public double HPlanQty; |
| | | public double HDSQty; |
| | | public DateTime HStationOutTime; |
| | | public Int64 HSourceID; |
| | | public Int64 HGroupID; |
| | | public Int64 HDeptID; |
| | | public Int64 HEmpID; |
| | | public String HReportType; |
| | | public String HBarCode; |
| | | public String HAddr; |
| | | public String HBarCodeMaker; |
| | | public DateTime HBarCodeMakeDate; |
| | | public Int64 HSupID; |
| | | public double HQty; |
| | | public double HPieceQty; |
| | | public double HPrice; |
| | | public double HMoney; |
| | | public double HBadCount; |
| | | public double HWasterQty; |
| | | public String HSourceName; |
| | | public double HPlanPieceQty; |
| | | public double HBadPNL; |
| | | public Int64 HCenterID; |
| | | public int HProcNo; |
| | | public string HOrderProcNO; |
| | | public bool HLastSubProc; |
| | | public double HChongQty; |
| | | public double HPriceRate; |
| | | public string HMouldNum;//æ¨¡ç©´å· |
| | | public string HBarCode_Cus;//å®¢æ·æ¡ç ç¼ç |
| | | public Single HWorkTimes;//å·¥æ¶ |
| | | public Int64 HQCCheckID;//æ£éªå |
| | | public string HSourceNameList;//è®¾å¤æ¸
å |
| | | public Int64 HPersonNums; //äººåæ° |
| | | public Int64 HMachineNums; //æºå¨æ° |
| | | public string HEmpNum; //èå代ç |
| | | public string eventType { get; set; } |
| | | public Int64 HLastResult;//è¯æ ·ç»è®º |
| | | } |
| | | } |
New file |
| | |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Model |
| | | { |
| | | public class ClsQC_TestSampleCheckBillSub : DBUtility.ClsXt_BaseBillSub |
| | | { |
| | | |
| | | public string HBillNo_bak;// varchar(50) --åæ®å·ï¼å¤ä»½ï¼ä»¥å
å
ç ä¸¢å¤±ï¼æ¾ä¸å°å¯¹åºä¸»è¡¨ï¼ |
| | | |
| | | public Int64 HProcID;// int --å·¥åº |
| | | public Int64 HMaterID;// int --ç©æ |
| | | public Int64 HEmpID;// int --æä½å·¥ |
| | | public Int64 HSourceID;// int --çäº§èµæºID(Gy_Source) |
| | | public Int64 HSourceID2;// int --çäº§èµæºID(Gy_Source) |
| | | public Int64 HSourceID3;// int --çäº§èµæºID(Gy_Source) |
| | | public Int64 HSourceID4;// int --çäº§èµæºID(Gy_Source) |
| | | public Int64 HSourceID5;// int --çäº§èµæºID(Gy_Source) |
| | | public DateTime HRelBeginDate;// datetime --å®é
å¼å·¥æ¥æ |
| | | public DateTime HRelEndDate;// datetime --å®é
å®å·¥æ¥æ |
| | | public double HTimes;// money --å®ä½æ¶é´ |
| | | public double HQty;// dec --å®ä½æ°é |
| | | public double HPieceQty;// dec --æ¿æ° |
| | | public double HCheckQty; //dec(18,8) --åæ ¼æ°é |
| | | public double HBadCount; //ä¸è¯åæ° |
| | | public double HWasterQty;// å å·¥æ¥åºæ°é |
| | | public double HWasterQty2;// å ææ¥åºæ°é |
| | | |
| | | public double HWeight;// dec(18,8) --éé |
| | | public double HPrice;// dec(18,8) --å·¥åºå·¥ä»· |
| | | public double HMoney;// money -- 计件éé¢ |
| | | public double HOtherDeduct;// money --å
¶ä»æ£æ¬¾ |
| | | public double HRelPay;// money --å®å¾å·¥èµ |
| | | public string HOtherItem1;// varchar(50) --å
¶ä»å±æ§1 |
| | | public string HOtherItem2;// varchar(50) --å
¶ä»å±æ§2 |
| | | public long HCheckEmpID;// int --æ£éªå(gy_employee) |
| | | |
| | | public Int64 HProcPlanInterID;// int --å·¥åºè®¡ååID |
| | | public Int64 HProcPlanEntryID;// int --å·¥åºè®¡åååID |
| | | public string HProcPlanBillNo;// varchar(50) --å·¥åºè®¡ååå· |
| | | public Int64 HICMOInterID;// int --ä»»å¡åID |
| | | public string HICMOBillNo;// varchar(50) --ä»»å¡åå· |
| | | public Int64 HSeOrderInterID;// int --éå®è®¢å主ID |
| | | public Int64 HSeOrderEntryID;// int --éå®åID |
| | | public string HSeOrderBillNo;// varchar(50) --éå®è®¢åå· |
| | | public Int64 HWWOrderInterID;// int --å§å¤è®¢åå
ç |
| | | public Int64 HWWOrderEntryID;// int --å§å¤è®¢ååå
ç |
| | | public string HWWOrderBillNo;// varchar(50) --å§å¤è®¢åå· |
| | | public Int64 HProcExchInterID;// int --å·¥åºæµè½¬å¡ID |
| | | public Int64 HProcExchEntryID;// int --å·¥åºæµè½¬å¡åID |
| | | public string HProcExchBillNo;// varchar(50) --å·¥åºæµè½¬å¡å· |
| | | public Int64 HProcNo;// int --å·¥åºå· |
| | | public string HSourceName;// æºå° |
| | | } |
| | | } |
| | |
| | | <Compile Include="æ¡ç æå°\Kf_AGVRequestBill_FastList.designer.cs"> |
| | | <DependentUpon>Kf_AGVRequestBill_FastList.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="æ¡ç æå°\Kf_WeighToBarCode_StationOutBill.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | | <Compile Include="æ¡ç æå°\Kf_WeighToBarCode_StationOutBill.designer.cs"> |
| | | <DependentUpon>Kf_WeighToBarCode_StationOutBill.cs</DependentUpon> |
| | | </Compile> |
| | | <Compile Include="æ¡ç æå°\Kf_WeighToBarCode.cs"> |
| | | <SubType>Form</SubType> |
| | | </Compile> |
| | |
| | | <DependentUpon>Kf_AGVRequestBill_FastList.cs</DependentUpon> |
| | | <SubType>Designer</SubType> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="æ¡ç æå°\Kf_WeighToBarCode_StationOutBill.resx"> |
| | | <DependentUpon>Kf_WeighToBarCode_StationOutBill.cs</DependentUpon> |
| | | <SubType>Designer</SubType> |
| | | </EmbeddedResource> |
| | | <EmbeddedResource Include="æ¡ç æå°\Kf_WeighToBarCode.resx"> |
| | | <DependentUpon>Kf_WeighToBarCode.cs</DependentUpon> |
| | | <SubType>Designer</SubType> |
| | |
| | | + ", " + HStockOrgID.ToString() + "," + HStockOrgID.ToString() + ") "); |
| | | //æ´æ°å
³èæ°é |
| | | oCn.RunProc("exec h_p_Sc_UpDateRelation_ICMOToProductIn_Add " + HInterID.ToString()); |
| | | //åå¡«å·²çåç¶æ |
| | | oCn.RunProc("Update KF_WeighSource_Temp set HRelationInterID=1 where HInterID= " + HInterID.ToString()); |
| | | MessageBox.Show("çæç产å
¥åºåï¼" + HBillNo + " æåï¼", "æç¤º"); |
| | | oCn.Commit(); |
| | | return true; |
| | |
| | | MessageBox.Show("请è¾å
¥æ£ç¡®ééï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isDoule(txtHQty.Text)- DBUtility.ClsPub.isDoule(txtHKDQty.Text) <= 0) |
| | | { |
| | | MessageBox.Show("è¾å
¥çæ£ç¹æ°ä¸è½å¤§äºç±³æ°ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isInt(txtHBarcodeNo.Text) == 0) |
| | | { |
| | | MessageBox.Show("请è¾å
¥å
å·ï¼", "æç¤º"); |
| | |
| | | |
| | | string HBarCode = ""; |
| | | string HBarCodeType = ""; |
| | | double HQty = 0; //ç±³æ° |
| | | double HNowQty = 0; //ç±³æ° |
| | | double HMaterialJQty = 0; //éé |
| | | double HMaterialMQty = 0; //æ£ç¹æ° |
| | | double HQty = 0; //æ°é |
| | | Int64 HDeptID = 0; |
| | | string HRemark = ""; |
| | | string HMaterName = ""; |
| | |
| | | |
| | | HBarCode = TM; |
| | | HBarCodeType = DBUtility.ClsPub.isStrNull(cmbHBarCodeType.Text); |
| | | HQty = DBUtility.ClsPub.isDoule(txtHQty.Text); |
| | | HNowQty = DBUtility.ClsPub.isDoule(txtHQty.Text); |
| | | HMaterialJQty = DBUtility.ClsPub.isDoule(txtHWeightQyt.Text); |
| | | HMaterialMQty = DBUtility.ClsPub.isDoule(txtHKDQty.Text); |
| | | HQty = HNowQty- HMaterialMQty; |
| | | HDeptID = DBUtility.ClsPub.isLong(txtHDeptName.Tag); |
| | | HRemark = DBUtility.ClsPub.isStrNull(txtHRemark.Text); |
| | | HMaterName = DBUtility.ClsPub.isStrNull(txtHMaterName.Text); |
| | |
| | | try |
| | | { |
| | | oCn.BeginTran(); |
| | | //åå
¥æ¡ç æ¡£æ¡ (客æ·ç©æåç§°HCusMaterNameåå
¥HMaterialModelåæ®µï¼å®¢æ·è§æ ¼åå·HCusModelåå
¥HCusModelåæ®µ |
| | | //åå
¥æ¡ç æ¡£æ¡ (客æ·ç©æåç§°HCusMaterNameåå
¥HMaterialModelåæ®µï¼å®¢æ·è§æ ¼åå·HCusModelåå
¥HCusModelåæ®µï¼ä¸è¯åå IDåå
¥HCustomQty1åæ®µï¼ |
| | | oCn.RunProc("Insert into Gy_BarCodeBill " + |
| | | "(HBarCode,HBarCodeType,HMaterID,HUnitID,HQty" + |
| | | ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HinitQty" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HEndQty " + |
| | | ",HBarcodeQtys,HBarcodeNo,HDeptID,HWhID,HSPID,HRemark " + |
| | | ",HCusID,HCusType,HEndDate,HWorkLineName,HBarCodeDate,HMaterialJQty,HMaterialMQty " + |
| | | ",HCusID,HCusType,HEndDate,HWorkLineName,HBarCodeDate,HMaterialJQty,HMaterialMQty,HNowQty " + |
| | | ",HSTOCKORGID,HOWNERID,HSeOrderBillNo,HInterID,HGiveAwayFlag " + |
| | | ",HOrderInterID,HOrderEntryID,HOrderBillNo,HCustomQty1,HMaterialModel,HCusModel " + |
| | | ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo,HInnerBillNo " + |
| | | ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo,HInnerBillNo,HLogo " + |
| | | ") Values (" |
| | | + "'" + HBarCode + "','" + HBarCodeType + "'," + HMaterID.ToString() + "," + HUnitID.ToString() + "," + HQty.ToString() |
| | | + ",'" + HBatchNo + "'," + HSupID.ToString() + ",0,'" + HMaker + "',getdate(),0," + HQty.ToString() |
| | | + ", " + HSourceInterID.ToString() + "," + HSourceEntryID.ToString() + ",'" + HSourceBillNo + "','" + HSourceBillType + "',''" |
| | | + ", 1," + HBarcodeNo.ToString() + "," + HDeptID.ToString() + "," + HWhID.ToString() + "," + HSPID.ToString() + ",'" + HRemark + "'" |
| | | + ", 0,'',getdate(),'','" + sDate + "'," + HMaterialJQty.ToString() + "," + HMaterialMQty.ToString() |
| | | + ", 0,'',getdate(),'','" + sDate + "'," + HMaterialJQty.ToString() + "," + HMaterialMQty.ToString() + "," + HNowQty.ToString() |
| | | + ", " + HStockOrgID.ToString() + "," + HStockOrgID.ToString() + ",''," + HInterID.ToString() + ",0" |
| | | + ", " + ProcessExchangeInterID.ToString() + ",0,'" + ProcessExchangeBillNo + "'," + HBadReasonID.ToString() + ",'" + HCusMaterName + "','" + HCusModel + "'" |
| | | + ",'" + HMaterName + "','" + HMaterModel + "',''," + HAuxPropID.ToString() + ",'','')"); |
| | | + ",'" + HMaterName + "','" + HMaterModel + "',''," + HAuxPropID.ToString() + ",'','','1')"); |
| | | |
| | | //åå¡«æå¤§æµæ°´å· |
| | | oCn.RunProc("exec h_p_WMS_SetMaxNo_QTY '" + sTMNumber + "',1 "); |
| | | |
| | | //åå¡«æºå临æ¶è¡¨HInterID |
| | | oCn.RunProc("update a set a.HInterID=" + HInterID.ToString() + ",a.HBillNo='" + HBillNo + "' from KF_WeighSource_Temp a where a.HInterID<>" + HInterID.ToString() + " and a.HMaker='" + HMaker + "' and convert(varchar(10),a.HMakeDate,120)=convert(varchar(10),getdate(),120)"); |
| | | oCn.RunProc("update a set a.HInterID=" + HInterID.ToString() + ",a.HBillNo='" + HBillNo +"',a.HRelationInterID= 0 from KF_WeighSource_Temp a where a.HInterID<>" + HInterID.ToString() + " and a.HMaker='" + HMaker + "' and a.HSourceBillNo='" + ProcessExchangeBillNo + "'"); |
| | | |
| | | //åå
¥æ¡ç åºå
¥åºä¸´æ¶è¡¨ |
| | | oCn.RunProc("Insert into KF_PonderationBillMain_Temp " + |
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.Threading; |
| | | using System.IO; |
| | | using Pub_Class; |
| | | |
| | | namespace WarM |
| | | { |
| | | public partial class Kf_WeighToBarCode_StationOutBill : Form |
| | | { |
| | | public Kf_WeighToBarCode_StationOutBill() |
| | | { |
| | | InitializeComponent(); |
| | | } |
| | | public frmBillQueryCondition_New frmCondition; |
| | | public string ModCaption = "涤纶åæåçææ¡ç "; |
| | | public const string ModName = "85"; |
| | | public Int64 HInterID = 0; |
| | | public string HBillNo = ""; |
| | | public string HBillType = "1202"; |
| | | public Int64 HUnitID = 0; |
| | | public Int64 HSourceInterID = 0; |
| | | public Int64 HSourceEntryID = 0; |
| | | public string HSourceBillNo = ""; |
| | | public string HSourceBillType = ""; |
| | | public Int64 HProcessExchangeInterID = 0; |
| | | public Int64 HProcessExchangeEntryID = 0; |
| | | public Int64 HSupID = 0; |
| | | public double HSourceQty = 0; |
| | | public string HCusMaterName = ""; //客æ·ç©æåç§° |
| | | public string HCusModel = ""; //客æ·è§æ ¼åå· |
| | | public string HMaker = DBUtility.ClsPub.CurUserName; |
| | | public Int64 HStockOrgID = DBUtility.ClsPub.HOrgID; |
| | | public DateTime HDate = DateTime.Today; |
| | | public long PrintQty = 0; //å
许æ¡ç æå°æ¬¡æ° |
| | | public string PrintQtyCtl = ""; //æ¡ç æå°æ¬¡æ°æ§å¶ |
| | | public string UpdatePrintQtyCtl = ""; //æ¡ç æå°æ¬¡æ°æ´æ° |
| | | public string sBarCodeItemID = ""; //æ¡ç èªå¢å |
| | | public DAL.ClsGy_BarCodeBill_Ctl oBar = new DAL.ClsGy_BarCodeBill_Ctl(); |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | SQLHelper.ClsCN oCn = new SQLHelper.ClsCN(); |
| | | |
| | | #region //åºå®ä»£ç |
| | | |
| | | //æ¸
空çé¢ |
| | | public void Sub_ClearBill() |
| | | { |
| | | cmbHBarCodeType.Items.Clear(); |
| | | cmbHBarCodeType.Items.Add("å¯ä¸æ¡ç "); |
| | | DBUtility.Xt_BaseBillFun.Sub_ClearBill(gbUp); |
| | | txtHBarCode.Text = ""; |
| | | grdMain.DataSource = null; |
| | | grdSub.DataSource = null; |
| | | chkHDYFlag.Checked = true; |
| | | } |
| | | |
| | | //çªä½å è½½ |
| | | private void Kf_WeighToBarCode_StationOutBill_Load(object sender, EventArgs e) |
| | | { |
| | | frmCondition = new frmBillQueryCondition_New(); |
| | | this.Text = ModCaption; |
| | | Sub_GetSystemParameter(); |
| | | } |
| | | |
| | | private void initGrid() |
| | | { |
| | | DBUtility.Xt_BaseBillFun.initGridList(grdMain, this.Name); |
| | | DBUtility.Xt_BaseBillFun.initGridList(grdSub, this.Name + "grdSub"); |
| | | } |
| | | |
| | | //è·åç³»ç»åæ°ä¿¡æ¯ |
| | | private void Sub_GetSystemParameter() |
| | | { |
| | | //è·åç³»ç»åæ° |
| | | ClsXt_SystemParameter oSystemParameter = new ClsXt_SystemParameter(); |
| | | if (oSystemParameter.ShowBill(ref DBUtility.ClsPub.sExeReturnInfo) == false) |
| | | { |
| | | MessageBox.Show("è·åç³»ç»åæ°å¤±è´¥ï¼åå :" + DBUtility.ClsPub.sExeReturnInfo, "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | PrintQty = oSystemParameter.omodel.BarCode_PrintQty; |
| | | PrintQtyCtl = oSystemParameter.omodel.BarCode_PrintQtyCtl; |
| | | UpdatePrintQtyCtl = oSystemParameter.omodel.BarCode_UpdatePrintQtyCtl; |
| | | } |
| | | } |
| | | |
| | | private void timer1_Tick(object sender, EventArgs e) |
| | | { |
| | | timer1.Enabled = false; |
| | | initGrid(); |
| | | this.Sub_ClearBill();//æ¸
空çé¢ |
| | | |
| | | //è·åæ¡ç ID |
| | | DataSet Ds = oCn.RunProcReturn("exec h_p_KF_GetBCPWeighSource_TempList '" + HMaker + "'," + HStockOrgID.ToString(), "h_p_KF_GetBCPWeighSource_TempList"); |
| | | if (Ds == null || Ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | HInterID = DBUtility.ClsPub.CreateBillID_Prod(HBillType, ref DBUtility.ClsPub.sExeReturnInfo); //å¾å°æ°åæ®ID |
| | | } |
| | | else if (DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HBack"]) == 1) |
| | | { |
| | | HInterID = DBUtility.ClsPub.CreateBillID_Prod(HBillType, ref DBUtility.ClsPub.sExeReturnInfo); //å¾å°æ°åæ®ID |
| | | } |
| | | else |
| | | { |
| | | HInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HInterID"]); |
| | | } |
| | | Source_Display(); |
| | | BarCode_Display(); |
| | | if (grdSub.Rows.Count > 0) |
| | | { |
| | | grdSub.Rows[0].Selected = true; |
| | | SourceBill(); |
| | | txtHQty.Focus(); |
| | | } |
| | | else |
| | | { |
| | | txtHBarCode.Focus(); |
| | | } |
| | | } |
| | | |
| | | private void grdMain_Paint(object sender, PaintEventArgs e) |
| | | { |
| | | GraphicsGrid(); |
| | | } |
| | | |
| | | private void GraphicsGrid() |
| | | { |
| | | DBUtility.Xt_BaseBillFun.GraphicsGrid(grdMain); |
| | | } |
| | | |
| | | private void grdSub_Paint(object sender, PaintEventArgs e) |
| | | { |
| | | GraphicsGridSub(); |
| | | } |
| | | |
| | | private void GraphicsGridSub() |
| | | { |
| | | DBUtility.Xt_BaseBillFun.GraphicsGrid(grdSub); |
| | | } |
| | | |
| | | private Int32 Fun_GetCol(string sCol) |
| | | { |
| | | return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdMain); |
| | | } |
| | | |
| | | private Int32 Fun_GetSubCol(string sCol) |
| | | { |
| | | return DBUtility.Xt_BaseBillFun.Fun_GetCol(sCol, grdSub); |
| | | } |
| | | |
| | | //ä¿åå宽 |
| | | private void bclk_Click(object sender, EventArgs e) |
| | | { |
| | | DBUtility.Xt_BaseBillFun.SaveGrid(grdMain, this.Name); |
| | | DBUtility.Xt_BaseBillFun.SaveGrid(grdSub, this.Name + "grdSub"); |
| | | } |
| | | |
| | | //é»è®¤å宽 |
| | | private void mrlk_Click(object sender, EventArgs e) |
| | | { |
| | | DBUtility.Xt_BaseBillFun.DefaultGridView(grdMain, this.Name); |
| | | DBUtility.Xt_BaseBillFun.DefaultGridView(grdSub, this.Name + "grdSub"); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //å·æ° |
| | | |
| | | private void sx_Click_1(object sender, EventArgs e) |
| | | { |
| | | timer1.Enabled = true; |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //æå° |
| | | |
| | | GridppReport Report; |
| | | |
| | | private void dy_Click_1(object sender, EventArgs e) |
| | | { |
| | | //æå°å夿æ¡ç æ¯å¦è¶
è¿å
è®¸å¯æå°æ¬¡æ° |
| | | if (ReportPrintBegin()) |
| | | { |
| | | return; |
| | | } |
| | | |
| | | //éæ©æå°æ¨¡æ¿ |
| | | 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.Print(false); |
| | | Thread.Sleep(1000); |
| | | } |
| | | } |
| | | |
| | | //æå°å夿æ¡ç æ¯å¦è¶
è¿å
è®¸å¯æå°æ¬¡æ° |
| | | private bool ReportPrintBegin() |
| | | { |
| | | DAL.ClsGy_BarCodeBill_Ctl oBar = new DAL.ClsGy_BarCodeBill_Ctl(); |
| | | string sHRemark = ""; |
| | | sBarCodeItemID = ""; |
| | | for (int i = 0; i < grdMain.SelectedRows.Count; i++) |
| | | { |
| | | sBarCodeItemID = sBarCodeItemID + "," + DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.SelectedRows[i].Index].Cells[Fun_GetCol("HItemID")].Value).ToString(); |
| | | } |
| | | sBarCodeItemID = sBarCodeItemID.Remove(0, 1); |
| | | |
| | | if (PrintQtyCtl == "Y") |
| | | { |
| | | if (oBar.Set_CheckPrintQty(sBarCodeItemID, PrintQty, ref sHRemark)) |
| | | { |
| | | MessageBox.Show(sHRemark); |
| | | return true; |
| | | } |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | 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.BeforePostRecord += new _IGridppReportEvents_BeforePostRecordEventHandler(ReportBeforePostRecord); |
| | | Report.FetchRecord += new _IGridppReportEvents_FetchRecordEventHandler(ReportFetchRecordByDataTable); |
| | | Report.PrintEnd += new _IGridppReportEvents_PrintEndEventHandler(ReportPrintEnd); |
| | | } |
| | | |
| | | //å¡«å
¥åæ®è¡¨å¤´ä¿¡æ¯ |
| | | private void ReportBeforePostRecord()//your report?kao |
| | | { |
| | | try |
| | | { |
| | | //Report.FieldByName("ç©æä»£ç ").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("ç©æä»£ç ")].Value.ToString(); |
| | | //Report.FieldByName("ç©æåç§°").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("ç©æåç§°")].Value.ToString(); |
| | | //Report.FieldByName("è§æ ¼åå·").AsString = grdMain.Rows[CurRows].Cells[Fun_GetCol("è§æ ¼åå·")].Value.ToString(); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | MessageBox.Show("æå°å¤±è´¥!表头ï¼" + e.Message); |
| | | } |
| | | } |
| | | |
| | | //å¡«å
¥åæ®è¡¨ä½ä¿¡æ¯ |
| | | private void ReportFetchRecordByDataTable() |
| | | { |
| | | try |
| | | { |
| | | DataTable ds = new DataTable(); |
| | | BLL.Utility.FillRecordToReport_Sel(Report, grdMain, ds, Fun_GetCol("éæ©")); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | MessageBox.Show("æå°å¤±è´¥!表ä½ï¼" + e.Message); |
| | | } |
| | | } |
| | | |
| | | //æå°ç»æååå¡«æ¡ç æå°æ¬¡æ° |
| | | private void ReportPrintEnd() |
| | | { |
| | | DAL.ClsGy_BarCodeBill_Ctl oBar = new DAL.ClsGy_BarCodeBill_Ctl(); |
| | | if (UpdatePrintQtyCtl == "Y") |
| | | { |
| | | oBar.Set_UpdatePrintQty(sBarCodeItemID); |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //çå |
| | | |
| | | private void hb_Click(object sender, EventArgs e) |
| | | { |
| | | this.Sub_SaveBill(); |
| | | timer1.Enabled = true; |
| | | } |
| | | |
| | | private bool Sub_SaveBill() |
| | | { |
| | | //æ¡ç è®°å½å表æ¯å¦æè®°å½å¤æ |
| | | bool b = false; |
| | | for (int i = 0; i < grdMain.RowCount; i++) |
| | | { |
| | | b = true; |
| | | break; |
| | | } |
| | | if (b == false) |
| | | { |
| | | MessageBox.Show("å½åæ¡ç è®°å½åè¡¨æ æ°æ®ï¼ä¸å
许çæåæ®ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | |
| | | //夿ä¼è®¡ææ¯å¦åç |
| | | string s = ""; |
| | | int sYear = 0; |
| | | int sPeriod = 0; |
| | | if (DBUtility.Xt_BaseBillFun.Fun_AllowYearPeriod(HDate, ref sYear, ref sPeriod, ref s) == false) |
| | | { |
| | | MessageBox.Show(s, "æç¤º"); |
| | | return false; |
| | | } |
| | | |
| | | try |
| | | { |
| | | oCn.BeginTran(); |
| | | DataSet Ds = oCn.RunProcReturn("exec h_p_KF_GetBCPWeighSource_StationOutBill " + HInterID.ToString(), "h_p_KF_GetBCPWeighSource_StationOutBill"); |
| | | if (Ds == null || Ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | oCn.RollBack(); |
| | | MessageBox.Show("çæå·¥åºåºç«æ±æ¥å失败ï¼å½åæ¡ç è®°å½åè¡¨æ æ°æ®ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | for (int y = 0; y < Ds.Tables[0].Rows.Count; y++) |
| | | { |
| | | Int64 sInterID = 0; |
| | | string sBillNo = ""; |
| | | string sBillType = "3791"; |
| | | sInterID = DBUtility.ClsPub.CreateBillID(sBillType, ref DBUtility.ClsPub.sExeReturnInfo); //å¾å°æ°åæ®ID |
| | | sBillNo = DBUtility.ClsPub.CreateBillCode(sBillType, ref DBUtility.ClsPub.sExeReturnInfo, true); //å¾å°æ°åæ®å· |
| | | |
| | | Int64 sHBarCodeInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HInterID"]); |
| | | Int64 sHMaterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HMaterID"]); |
| | | Int64 sHUnitID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HUnitID"]); |
| | | string sHBatchNo = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[y]["HBatchNo"]); |
| | | Int64 sHSupID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HSupID"]); |
| | | Int64 sHGroupID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HGroupID"]); |
| | | Int64 sHDeptID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HDeptID"]); |
| | | Int64 sHProcID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HProcID"]); |
| | | Int64 sHCenterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HCenterID"]); |
| | | Int64 sHSourceID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HSourceID"]); |
| | | Int64 sHProcNo = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HLayerNumber"]); |
| | | Double sHQty = DBUtility.ClsPub.isDoule(Ds.Tables[0].Rows[y]["HQty"]); |
| | | Double sHICMOQty = DBUtility.ClsPub.isDoule(Ds.Tables[0].Rows[y]["HReadyQty"]); |
| | | Int64 sHICMOInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HSourceInterID"]); |
| | | Int64 sHICMOEntryID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HSourceEntryID"]); |
| | | string sHICMOBillNo = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[y]["HSourceBillNo"]); |
| | | Int64 sHProcExchInterID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HOrderInterID"]); |
| | | Int64 sHProcExchEntryID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[y]["HOrderEntryID"]); |
| | | string sHProcExchBillNo = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[y]["HOrderBillNo"]); |
| | | |
| | | //çæå·¥åºåºç«æ±æ¥å (æ¡ç IDåå
¥HMainInterIDåæ®µï¼ |
| | | oCn.RunProc("Insert Into Sc_StationOutBillMain " + |
| | | "(HBillType,HBillSubType,HInterID,HBillNo,HBillStatus,HDate,HMaker,HMakeDate,HMouldNum" + |
| | | ",HYear,HPeriod,HRemark,HSourceName,HPieceQty,HWasterQty,HPlanPieceQty,HBadPNL" + |
| | | ",HICMOInterID,HICMOEntryID,HICMOBillNo,HProcPlanInterID,HProcPlanEntryID,HProcPlanBillNo,HProcExchInterID,HProcExchEntryID" + |
| | | ",HProcExchBillNo,HMaterID,HProcID,HICMOQty,HPlanQty,HStationOutTime,HSourceID,HPayProcID" + |
| | | ",HGroupID,HDeptID,HEmpID,HBarCode,HAddr,HBarCodeMaker,HBarCodeMakeDate,HSourceID2,HSourceID3,HSourceID4,HSourceID5" + |
| | | ",HSupID,HQty,HPrice,HMoney,HBadCount,HCenterID,HProcNo,HOrderProcNO,HSourceNameList" + |
| | | ",HMainSourceInterID,HMainSourceBillNo,HMainSourceBillType,HLastSubProc" + |
| | | ",HEmpID2,HEmpID3,HEmpID4,HEmpID5,HDSQty,HChongQty,HPriceRate,HWorkTimes,HQCCheckID" + |
| | | ",HPersonNums,HMachineNums,HEmpNum,HMainInterID,HPRDORGID" + |
| | | ") " + |
| | | " values('" + sBillType + "','" + sBillType + "'," + sInterID.ToString() + ",'" + sBillNo + "',0,getdate(),'" + DBUtility.ClsPub.CurUserName + "',getdate(),''" + |
| | | "," + sYear.ToString() + "," + sPeriod.ToString() + ",'涤纶åæåçææ¡ç 模åçåçæ','',0,0,0,0" + |
| | | "," + sHICMOInterID.ToString() + "," + sHICMOEntryID.ToString() + ",'" + sHICMOBillNo + "',0,0,''," + sHProcExchInterID.ToString() + "," + sHProcExchEntryID.ToString() + |
| | | ",'" + sHProcExchBillNo + "'," + sHMaterID.ToString() + "," + sHProcID.ToString() + "," + sHICMOQty.ToString() + "," + sHICMOQty.ToString() + ",getdate()," + sHSourceID.ToString() + ",0" + |
| | | "," + sHGroupID.ToString() + "," + sHDeptID.ToString() + ",0,'','','',getdate(),0,0,0,0" + |
| | | "," + sHSupID.ToString() + "," + sHQty.ToString() + ",0,0,0," + sHCenterID.ToString() + "," + sHProcNo.ToString() + ",'',''" + |
| | | ",0,'','',0" + |
| | | ",0,0,0,0,0,0,0,0,0" + |
| | | ",0,0,''," + sHBarCodeInterID.ToString() + "," + HStockOrgID.ToString() + |
| | | ") "); |
| | | } |
| | | |
| | | //åå¡«å·²çåç¶æ |
| | | oCn.RunProc("Update KF_BCPWeighSource_Temp set HRelationInterID=1 where HInterID= " + HInterID.ToString()); |
| | | MessageBox.Show("çæå·¥åºåºç«æ±æ¥åæåï¼", "æç¤º"); |
| | | oCn.Commit(); |
| | | return true; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCn.RollBack(); |
| | | MessageBox.Show("çæå·¥åºåºç«æ±æ¥å失败ï¼" + e.Message); |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //éåº |
| | | |
| | | private void tc_Click(object sender, EventArgs e) |
| | | { |
| | | this.Close(); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //æ«ææ¡ç |
| | | |
| | | private void txtHBarCode_KeyPress(object sender, KeyPressEventArgs e) |
| | | { |
| | | if (e.KeyChar == (char)Keys.Return) |
| | | { |
| | | if (!AddSource()) |
| | | { |
| | | txtHBarCode.Focus(); |
| | | txtHBarCode.SelectAll(); |
| | | return; |
| | | } |
| | | Source_Display(); |
| | | grdSub.Rows[0].Selected = true; |
| | | DBUtility.Xt_BaseBillFun.Sub_ClearBill(gbUp); |
| | | SourceBill(); |
| | | txtHBarCode.Text = ""; |
| | | txtHQty.Focus(); |
| | | } |
| | | } |
| | | |
| | | private void cmdOK_Click(object sender, EventArgs e) |
| | | { |
| | | if (!AddSource()) |
| | | { |
| | | txtHBarCode.Focus(); |
| | | txtHBarCode.SelectAll(); |
| | | return; |
| | | } |
| | | Source_Display(); |
| | | grdSub.Rows[0].Selected = true; |
| | | DBUtility.Xt_BaseBillFun.Sub_ClearBill(gbUp); |
| | | SourceBill(); |
| | | txtHBarCode.Text = ""; |
| | | txtHQty.Focus(); |
| | | } |
| | | |
| | | private bool AddSource() |
| | | { |
| | | //å°æ«æåæ®å·åå
¥ä¸´æ¶è¡¨ |
| | | DataSet ds = oCn.RunProcReturn("exec h_p_Kf_AddSource_BCPWeighToBarCode " + HInterID.ToString() + ",'" + HBillNo + "','" + txtHBarCode.Text.Trim() + "','" + HMaker + "'," + HStockOrgID.ToString(), "h_p_Kf_AddSource_BCPWeighToBarCode"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | MessageBox.Show("æ«ææ¡ç åå
¥ä¸´æ¶è¡¨åçé误ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isLong(ds.Tables[0].Rows[0][0]) == 1) |
| | | { |
| | | MessageBox.Show(DBUtility.ClsPub.isStrNull(ds.Tables[0].Rows[0]["HRemark"]), "æç¤º"); |
| | | return false; |
| | | } |
| | | else |
| | | { |
| | | return true; |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //éå |
| | | |
| | | private void cmdSourceBillNo_Click(object sender, EventArgs e) |
| | | { |
| | | //åå§åå³è¾¹è¡¨å¤´ä¿¡æ¯ |
| | | cmbHBarCodeType.Items.Clear(); |
| | | cmbHBarCodeType.Items.Add("å¯ä¸æ¡ç "); |
| | | DBUtility.Xt_BaseBillFun.Sub_ClearBill(gbUp); |
| | | |
| | | if (grdSub.CurrentRow == null) |
| | | { |
| | | MessageBox.Show("请å¨å·¦è¾¹åæ®å表ä¸éæ©ä¸è¡åæ®ï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | else if (grdSub.SelectedRows.Count != 1) |
| | | { |
| | | MessageBox.Show("ä¸å
è®¸åæ¶éæ©å¤è¡åæ®ï¼è¯·éæ°éæ©åæ®ï¼"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | SourceBill(); |
| | | txtHQty.Focus(); |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //ä¿å |
| | | |
| | | private void cmdSave_Click(object sender, EventArgs e) |
| | | { |
| | | if (!Sub_AllowSave()) |
| | | { |
| | | return; |
| | | } |
| | | SaveBarCode(); |
| | | BarCode_Display(); |
| | | grdMain.Rows[0].Selected = true; |
| | | |
| | | sBarCodeItemID = DBUtility.ClsPub.isLong(grdMain.Rows[grdMain.SelectedRows[0].Index].Cells[Fun_GetCol("HItemID")].Value).ToString(); |
| | | //èªå¨æå° |
| | | if (chkHDYFlag.Checked == true) |
| | | { |
| | | //æå°æ¡ç |
| | | Sub_SetReport("ç©ææ¡ç "); |
| | | Report.Print(false); |
| | | Thread.Sleep(1000); |
| | | } |
| | | else |
| | | { |
| | | //éæ©æå°æ¨¡æ¿ |
| | | 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.Print(false); |
| | | Thread.Sleep(1000); |
| | | } |
| | | } |
| | | |
| | | txtHQty.Text = ""; |
| | | txtHQty.Focus(); |
| | | } |
| | | |
| | | //æ¡ç çæå夿 |
| | | private bool Sub_AllowSave() |
| | | { |
| | | //夿å½ååæ®IDæ¯å¦å·²ä¸ä¼ çæåæ® |
| | | DataSet Ds = oCn.RunProcReturn("select top 1 1 from KF_BCPWeighSource_Temp with(nolock) where HInterID=" + HInterID.ToString() + " and HRelationInterID=1 ", "KF_BCPWeighSource_Temp", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | if (Ds == null || Ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("å½åæ¡ç è®°å½å·²è¢«ä¸ä¼ çæåæ®ï¼è¯·éåºåéæ°è¿å
¥è¯¥æ¨¡åè¿è¡æ¡ç çææä½ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | |
| | | if (HInterID==0) |
| | | { |
| | | MessageBox.Show("è·åæ¡ç 对åºåæ®ID失败ï¼è¯·éæ°å·æ°çé¢ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isLong(txtHMaterNumber.Tag) == 0) |
| | | { |
| | | MessageBox.Show("请å
æ«æå·¥åºæµè½¬å¡å·ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isDoule(txtHQty.Text) == 0) |
| | | { |
| | | MessageBox.Show("请è¾å
¥æ£ç¡®ç±³æ°ï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | else if (DBUtility.ClsPub.isDoule(txtHProcID.Tag) == 0) |
| | | { |
| | | MessageBox.Show("请å
鿩工åºï¼", "æç¤º"); |
| | | return false; |
| | | } |
| | | |
| | | return true; |
| | | } |
| | | |
| | | //çææ¡ç |
| | | private void SaveBarCode() |
| | | { |
| | | int LSHlen = 6; //æµæ°´å·é¿åº¦ |
| | | Int64 LSH = 0; //æµæ°´å· |
| | | string LSH2 = ""; //æµæ°´å·è½¬æ¢æå符 |
| | | string HMaterID = ""; //ç©æå
ç |
| | | string HBatchNo = ""; //æ¹æ¬¡ |
| | | string sDate = ""; //æ¥æ |
| | | string sYear = ""; //å¹´ |
| | | string sPeriod = ""; //æ |
| | | string sDay = ""; //æ¥ |
| | | string sTMNumber = ""; //æ¡ç èªå®ä¹åç¼ |
| | | string TM = ""; //æ¡ç ç¼å· |
| | | DataSet Ds; |
| | | |
| | | HMaterID = DBUtility.ClsPub.isStrNull(txtHMaterNumber.Tag); |
| | | HBatchNo = DBUtility.ClsPub.isStrNull(txtHBatchNo.Text); |
| | | //æ¥æè·åæ¹å¼ |
| | | sDate = dtpHDate.Value.ToShortDateString(); |
| | | sYear = DBUtility.ClsPub.isDate(sDate).Year.ToString().Substring(2, 2); |
| | | sPeriod = "0" + DBUtility.ClsPub.isDate(sDate).Month.ToString(); |
| | | sPeriod = sPeriod.Substring(sPeriod.Length - 2, 2); |
| | | sDay = "0" + DBUtility.ClsPub.isDate(sDate).Day.ToString(); |
| | | sDay = sDay.Substring(sDay.Length - 2, 2); |
| | | //================================== |
| | | if (cmbHBarCodeType.Text == "å¯ä¸æ¡ç ") |
| | | { |
| | | //æ¡ç åç¼ = ç»ç»ä»£ç + ç©æå
ç + å¹´ + æ + æ¥ |
| | | sTMNumber = DBUtility.ClsPub.HOrgNumber + HMaterID + sYear + sPeriod + sDay; |
| | | Ds = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + sTMNumber + "'", "h_p_WMS_GetMaxNo"); //è·åæå¤§æµæ°´å· |
| | | LSH = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0][0]); |
| | | LSH = LSH + 1; |
| | | LSH2 = LSH.ToString(); |
| | | while (LSH2.Length < LSHlen) //å¦ææµæ°´å·å°äº6使°åé¢è¡¥0 |
| | | { |
| | | LSH2 = "0" + LSH2; |
| | | } |
| | | TM = sTMNumber + LSH2; |
| | | } |
| | | else if (cmbHBarCodeType.Text == "åç§æ¡ç ") |
| | | { |
| | | TM = DBUtility.ClsPub.HOrgNumber + HMaterID; |
| | | } |
| | | else if (cmbHBarCodeType.Text == "æ¹æ¬¡æ¡ç ") |
| | | { |
| | | TM = DBUtility.ClsPub.HOrgNumber + HMaterID + HBatchNo; |
| | | } |
| | | else |
| | | { |
| | | MessageBox.Show("éè¯¯çæ¡ç ç±»åï¼ä¸è½çææ¡ç ï¼"); |
| | | return; |
| | | } |
| | | |
| | | string HBarCode = ""; |
| | | string HBarCodeType = ""; |
| | | Int64 HMaterID2 = 0; |
| | | double HQty = 0; //ç±³æ° |
| | | Int64 HGroupID = 0; |
| | | Int64 HDeptID = 0; |
| | | string HProcessExchangeBillNo = ""; |
| | | string HMaterName = ""; |
| | | string HMaterModel = ""; |
| | | Int64 HProcID = 0; |
| | | Int64 HCenterID = 0; |
| | | Int64 HSourceID = 0; |
| | | Int64 HProcNo = 0; |
| | | |
| | | HBarCode = TM; |
| | | HBarCodeType = DBUtility.ClsPub.isStrNull(cmbHBarCodeType.Text); |
| | | HMaterID2 = DBUtility.ClsPub.isLong(txtHMaterNumber.Tag); |
| | | HQty = DBUtility.ClsPub.isDoule(txtHQty.Text); |
| | | HGroupID = DBUtility.ClsPub.isLong(txtHGroupID.Tag); |
| | | HDeptID = DBUtility.ClsPub.isLong(txtHDeptName.Tag); |
| | | HProcessExchangeBillNo = DBUtility.ClsPub.isStrNull(txtHBillNo.Text); |
| | | HMaterName = DBUtility.ClsPub.isStrNull(txtHMaterName.Text); |
| | | HMaterModel = DBUtility.ClsPub.isStrNull(txtHMaterModel.Text); |
| | | HProcID = DBUtility.ClsPub.isLong(txtHProcID.Tag); |
| | | HCenterID = DBUtility.ClsPub.isLong(txtHCenterID.Tag); |
| | | HSourceID = DBUtility.ClsPub.isLong(txtHSourceID.Tag); |
| | | HProcNo = DBUtility.ClsPub.isLong(txtHProcNo.Text); |
| | | |
| | | try |
| | | { |
| | | oCn.BeginTran(); |
| | | //åå
¥æ¡ç æ¡£æ¡ (客æ·ç©æåç§°HCusMaterNameåå
¥HMaterialModelåæ®µï¼å®¢æ·è§æ ¼åå·HCusModelåå
¥HCusModelåæ®µï¼æµæ°´å·åå
¥HLayerNumberåæ®µï¼æºåæ°éåå
¥HReadyQtyåæ®µï¼ |
| | | oCn.RunProc("Insert into Gy_BarCodeBill " + |
| | | "(HBarCode,HBarCodeType,HMaterID,HUnitID,HQty" + |
| | | ",HBatchNo,HSupID,HGroupID,HMaker,HMakeDate,HPrintQty,HinitQty" + |
| | | ",HSourceInterID,HSourceEntryID,HSourceBillNo,HSourceBillType,HEndQty " + |
| | | ",HBarcodeQtys,HBarcodeNo,HDeptID,HWhID,HSPID,HRemark " + |
| | | ",HCusID,HCusType,HEndDate,HWorkLineName,HBarCodeDate,HMaterialJQty,HMaterialMQty " + |
| | | ",HSTOCKORGID,HOWNERID,HSeOrderBillNo,HInterID,HGiveAwayFlag " + |
| | | ",HOrderInterID,HOrderEntryID,HOrderBillNo,HCustomQty1,HMaterialModel,HCusModel " + |
| | | ",HProcID,HCenterID,HSourceID,HLayerNumber,HReadyQty " + |
| | | ",HMaterName,HMaterModel,HPinfan,HAuxPropID,HMTONo,HInnerBillNo,HLogo " + |
| | | ") Values (" |
| | | + " '" + HBarCode + "','" + HBarCodeType + "'," + HMaterID2.ToString() + "," + HUnitID.ToString() + "," + HQty.ToString() |
| | | + ",'" + HBatchNo + "'," + HSupID.ToString() + "," + HGroupID.ToString() + ",'" + HMaker + "',getdate(),0," + HQty.ToString() |
| | | + ", " + HSourceInterID.ToString() + "," + HSourceEntryID.ToString() + ",'" + HSourceBillNo + "','" + HSourceBillType + "',''" |
| | | + ", 1,1," + HDeptID.ToString() + ",0,0,''" |
| | | + ", 0,'',getdate(),'','" + sDate + "',0,0" |
| | | + ", " + HStockOrgID.ToString() + "," + HStockOrgID.ToString() + ",''," + HInterID.ToString() + ",0" |
| | | + ", " + HProcessExchangeInterID.ToString() + "," + HProcessExchangeEntryID.ToString() + ",'" + HProcessExchangeBillNo + "',0,'" + HCusMaterName + "','" + HCusModel + "'" |
| | | + ", " + HProcID.ToString() + "," + HCenterID.ToString() + "," + HSourceID.ToString() + "," + HProcNo.ToString() + "," + HSourceQty.ToString() |
| | | + ",'" + HMaterName + "','" + HMaterModel + "','',0,'','','1')"); |
| | | |
| | | //åå¡«æå¤§æµæ°´å· |
| | | oCn.RunProc("exec h_p_WMS_SetMaxNo_QTY '" + sTMNumber + "',1 "); |
| | | //åå¡«æºå临æ¶è¡¨HInterID |
| | | oCn.RunProc("update a set a.HInterID=" + HInterID.ToString() + ",a.HRelationInterID= 0 from KF_BCPWeighSource_Temp a where a.HInterID<>" + HInterID.ToString() + " and a.HMaker='" + HMaker + "' and a.HSourceBillNo='" + HProcessExchangeBillNo + "'"); |
| | | oCn.Commit(); |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCn.RollBack(); |
| | | MessageBox.Show("æ¡ç çæå¤±è´¥ï¼" + e.Message); |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //è¿åä¿¡æ¯ |
| | | |
| | | //è¿åæºååè¡¨ä¿¡æ¯ |
| | | private void SourceBill() |
| | | { |
| | | txtHBillNo.Text = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("åæ®å·")].Value); |
| | | txtHDeptName.Tag = DBUtility.ClsPub.isLong(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HDeptID")].Value); |
| | | txtHDeptName.Text = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("车é´")].Value); |
| | | txtHMaterNumber.Tag = DBUtility.ClsPub.isLong(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HMaterID")].Value); |
| | | txtHMaterNumber.Text = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("ç©æä»£ç ")].Value); |
| | | txtHMaterName.Text = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("ç©æåç§°")].Value); |
| | | txtHMaterModel.Text = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("è§æ ¼åå·")].Value); |
| | | txtHBatchNo.Text = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("æ¹å·")].Value); |
| | | txtHICMOBillNo.Text = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("ç产订å")].Value); |
| | | HUnitID = DBUtility.ClsPub.isLong(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HUnitID")].Value); |
| | | HSourceInterID = DBUtility.ClsPub.isLong(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HSourceInterID")].Value); |
| | | HSourceEntryID = DBUtility.ClsPub.isLong(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HSourceEntryID")].Value); |
| | | HSourceBillNo = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("ç产订å")].Value); |
| | | HSourceBillType = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HSourceBillType")].Value); |
| | | HSourceQty = DBUtility.ClsPub.isDoule(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("æ°é")].Value); |
| | | HProcessExchangeInterID = DBUtility.ClsPub.isLong(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HProcessExchangeInterID")].Value); |
| | | HSupID = DBUtility.ClsPub.isLong(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HSupID")].Value); |
| | | HCusMaterName = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HCusMaterName")].Value); |
| | | HCusModel = DBUtility.ClsPub.isStrNull(grdSub.SelectedRows[0].Cells[Fun_GetSubCol("HCusModel")].Value); |
| | | } |
| | | |
| | | //è¿åæºååè¡¨ä¿¡æ¯ |
| | | private void Source_Display() |
| | | { |
| | | DataSet DSet = oCn.RunProcReturn("exec h_p_KF_GetBCPWeighSource_TempList '" + HMaker + "'," + HStockOrgID.ToString(), "h_p_KF_GetBCPWeighSource_TempList"); |
| | | grdSub.DataSource = DSet.Tables[0].DefaultView; |
| | | //å»ç» |
| | | int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text); |
| | | string s = frmCondition.cmbHComplete.Text; |
| | | DBUtility.Xt_BaseBillFun.DisplayGrid(grdSub, this.Name + "grdSub", s, FrCol); |
| | | //ç»çº¿ |
| | | GraphLine(); |
| | | } |
| | | |
| | | //è¿åæ¡ç è®°å½åè¡¨ä¿¡æ¯ |
| | | private void BarCode_Display() |
| | | { |
| | | DataSet DSet = oCn.RunProcReturn("select * from h_v_IF_BarCodeBillList Where HinterID=" + HInterID.ToString() + " order by HItemID desc", "h_v_IF_BarCodeBillList", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | grdMain.DataSource = DSet.Tables[0].DefaultView; |
| | | //å»ç» |
| | | int FrCol = DBUtility.ClsPub.isInt(frmCondition.txtFrozenCol.Text); |
| | | string s = frmCondition.cmbHComplete.Text; |
| | | DBUtility.Xt_BaseBillFun.DisplayGrid(grdMain, this.Name, s, FrCol); |
| | | //ç»çº¿ |
| | | GraphLine(); |
| | | } |
| | | |
| | | 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); |
| | | |
| | | int MainIDCol2 = Fun_GetSubCol("hmainid"); |
| | | int SubIDCol2 = Fun_GetSubCol("hsubid"); |
| | | string s2 = frmCondition.cmbHComplete.Text; |
| | | long n2 = 0; |
| | | DBUtility.Xt_BaseBillFun.GraphLine(grdSub, MainIDCol2, SubIDCol2, s2, ref n2); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //ä½åº |
| | | private void cmdZF_Click(object sender, EventArgs e) |
| | | { |
| | | if (grdMain.CurrentRow == null) |
| | | { |
| | | MessageBox.Show("请å
éæ©éè¦ä½åºçæ¡ç ï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | if (MessageBox.Show("ç¡®å®è¦ä½åºæéæ¡ç ï¼", "æç¤º", MessageBoxButtons.OKCancel) == DialogResult.Cancel) |
| | | { |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | string HRemark = ""; |
| | | string HItemID = ""; |
| | | string HBarCode = ""; |
| | | string HBarCode2 = ""; |
| | | for (int i = 0; i <= grdMain.SelectedRows.Count - 1; i++) |
| | | { |
| | | HItemID = HItemID + "," + DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("hmainid")].Value.ToString()); |
| | | HBarCode = HBarCode + ",'" + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value) + "'"; |
| | | if (i != 0 && i % 100 == 0) |
| | | { |
| | | HBarCode2 = HBarCode2 + "#" + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); |
| | | } |
| | | else |
| | | { |
| | | HBarCode2 = HBarCode2 + "," + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); |
| | | } |
| | | if (DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("ä½åºæ è®°")].Value) != "") |
| | | { |
| | | HRemark = HRemark + "ã" + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); |
| | | } |
| | | } |
| | | if (HRemark != "") |
| | | { |
| | | MessageBox.Show("æéæ¡ç ç¼å·ï¼"+ HRemark.Remove(0, 1)+" å·²ä½åºï¼ä¸å
许éå¤ä½åºï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | HItemID = HItemID.Remove(0, 1); //廿å符串第ä¸ä¸ªå符 |
| | | HBarCode = HBarCode.Remove(0, 1); |
| | | HBarCode2 = HBarCode2.Remove(0, 1); |
| | | |
| | | try |
| | | { |
| | | oCn.BeginTran(); |
| | | string[] NewBarCode; |
| | | NewBarCode = HBarCode2.Split(Convert.ToChar("#")); |
| | | |
| | | //ä½åºæ¡ç |
| | | oCn.RunProc("update Gy_BarCodeBill set HStopflag=1,HDeleteMan='" + DBUtility.ClsPub.CurUserName + "',HDeleteDate=getdate() where HItemID in (" + HItemID + ")", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //åå
¥ç³»ç»æ¥å¿ |
| | | for (int i = 0; i <= NewBarCode.Length - 1; i++) |
| | | { |
| | | oCn.RunProc("Insert into System_log (GeginDate, userid, WorkstationName, WorkList, SystemName, NetuserName, State) select GETDATE(),'" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.ComputerName + "','ä½åºæ¡ç ï¼" + NewBarCode[i] + "','涤纶åæåçææ¡ç 模å','" + DBUtility.ClsPub.IPAddress + "','ä½åº'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | oCn.Commit(); |
| | | } |
| | | catch (Exception e2) |
| | | { |
| | | oCn.RollBack(); |
| | | MessageBox.Show("ä½åºæ¡ç 失败ï¼" + e2.Message, "æç¤º"); |
| | | return; |
| | | } |
| | | //å·æ°æ¡ç è®°å½åè¡¨ä¿¡æ¯ |
| | | BarCode_Display(); |
| | | MessageBox.Show("æéæ¡ç ç¼å·ï¼" + HBarCode.Remove(0, 1) + " ä½åºæåï¼", "æç¤º"); |
| | | } |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region //åä½åº |
| | | private void cmdFZF_Click(object sender, EventArgs e) |
| | | { |
| | | if (grdMain.CurrentRow == null) |
| | | { |
| | | MessageBox.Show("请å
éæ©éè¦åä½åºçæ¡ç ï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | if (MessageBox.Show("ç¡®å®è¦åä½åºæéæ¡ç ï¼", "æç¤º", MessageBoxButtons.OKCancel) == DialogResult.Cancel) |
| | | { |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | string HRemark = ""; |
| | | string HItemID = ""; |
| | | string HBarCode = ""; |
| | | string HBarCode2 = ""; |
| | | for (int i = 0; i <= grdMain.SelectedRows.Count - 1; i++) |
| | | { |
| | | HItemID = HItemID + "," + DBUtility.ClsPub.isLong(grdMain.SelectedRows[i].Cells[Fun_GetCol("hmainid")].Value.ToString()); |
| | | HBarCode = HBarCode + ",'" + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value) + "'"; |
| | | if (i != 0 && i % 100 == 0) |
| | | { |
| | | HBarCode2 = HBarCode2 + "#" + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); |
| | | } |
| | | else |
| | | { |
| | | HBarCode2 = HBarCode2 + "," + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); |
| | | } |
| | | if (DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("ä½åºæ è®°")].Value) == "") |
| | | { |
| | | HRemark = HRemark + "ã" + DBUtility.ClsPub.isStrNull(grdMain.SelectedRows[i].Cells[Fun_GetCol("æ¡ç ç¼å·")].Value); |
| | | } |
| | | } |
| | | if (HRemark != "") |
| | | { |
| | | MessageBox.Show("æéæ¡ç ç¼å·ï¼" + HRemark.Remove(0, 1) + " æªä½åºï¼ä¸å
许åä½åºï¼", "æç¤º"); |
| | | return; |
| | | } |
| | | HItemID = HItemID.Remove(0, 1); //廿å符串第ä¸ä¸ªå符 |
| | | HBarCode = HBarCode.Remove(0, 1); |
| | | HBarCode2 = HBarCode2.Remove(0, 1); |
| | | |
| | | try |
| | | { |
| | | oCn.BeginTran(); |
| | | string[] NewBarCode; |
| | | NewBarCode = HBarCode2.Split(Convert.ToChar("#")); |
| | | |
| | | //åä½åºæ¡ç |
| | | oCn.RunProc("update Gy_BarCodeBill set HStopflag=0,HDeleteMan='',HDeleteDate=null where HItemID in (" + HItemID + ")", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | |
| | | //åå
¥ç³»ç»æ¥å¿ |
| | | for (int i = 0; i <= NewBarCode.Length - 1; i++) |
| | | { |
| | | oCn.RunProc("Insert into System_log (GeginDate, userid, WorkstationName, WorkList, SystemName, NetuserName, State) select GETDATE(),'" + DBUtility.ClsPub.CurUserName + "','" + DBUtility.ClsPub.ComputerName + "','åä½åºæ¡ç ï¼" + NewBarCode[i] + "','涤纶åæåçææ¡ç 模å','" + DBUtility.ClsPub.IPAddress + "','åä½åº'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | oCn.Commit(); |
| | | } |
| | | catch (Exception e2) |
| | | { |
| | | oCn.RollBack(); |
| | | MessageBox.Show("åä½åºæ¡ç 失败ï¼" + e2.Message, "æç¤º"); |
| | | return; |
| | | } |
| | | //å·æ°æ¡ç è®°å½åè¡¨ä¿¡æ¯ |
| | | BarCode_Display(); |
| | | MessageBox.Show("æéæ¡ç ç¼å·ï¼" + HBarCode.Remove(0, 1) + " åä½åºæåï¼", "æç¤º"); |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | #endregion |
| | | |
| | | #region //å·¥åºéæ© |
| | | |
| | | private void cmdHProcID_Click(object sender, EventArgs e) |
| | | { |
| | | DAL.ClsGy_Process_View oProcess = new DAL.ClsGy_Process_View(); |
| | | if (oProcess.RefreshView()) |
| | | { |
| | | this.txtHProcID.Text = oProcess.oModel.HName; |
| | | this.txtHProcID.Tag = oProcess.oModel.HItemID.ToString(); |
| | | } |
| | | |
| | | if(oProcess.oModel.HItemID!=0 && HProcessExchangeInterID != 0) |
| | | { |
| | | //æ ¹æ®è½¬å¡ä¸»IDãå·¥åºå¸¦åºæµè½¬å¡ä¸ç¸åºæµæ°´å·ãçç»ãå·¥ä½ä¸å¿ãçäº§èµæº |
| | | DataSet Ds = oCn.RunProcReturn("exec h_p_KF_GetBCPWeighSource_ProcID " + HProcessExchangeInterID.ToString() + "," + oProcess.oModel.HItemID.ToString(), "h_p_KF_GetBCPWeighSource_ProcID"); |
| | | if (Ds == null || Ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | this.txtHProcID.Text = ""; |
| | | this.txtHProcID.Tag = 0; |
| | | MessageBox.Show("æéå·¥åºä¸å¨å½åå·¥åºæµè½¬å¡ä¸ï¼è¯·éæ°éæ©æ£ç¡®å·¥åºï¼"); |
| | | return; |
| | | } |
| | | else |
| | | { |
| | | HProcessExchangeEntryID = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HSourceEntryID"]); |
| | | txtHProcNo.Text = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HProcNo"]); |
| | | txtHCenterID.Tag = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HCenterID"]); |
| | | txtHCenterID.Text = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HCenterName"]); |
| | | txtHGroupID.Tag = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HGroupID"]); |
| | | txtHGroupID.Text = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HGroupName"]); |
| | | txtHSourceID.Tag = DBUtility.ClsPub.isLong(Ds.Tables[0].Rows[0]["HSourceID"]); |
| | | txtHSourceID.Text = DBUtility.ClsPub.isStrNull(Ds.Tables[0].Rows[0]["HSourceName"]); |
| | | } |
| | | } |
| | | } |
| | | |
| | | private void txtHProcID_TextChanged(object sender, EventArgs e) |
| | | { |
| | | BLL.ClsPub_BLL.Sub_ClearText(txtHProcID); |
| | | } |
| | | |
| | | #endregion |
| | | } |
| | | } |
New file |
| | |
| | | namespace WarM |
| | | { |
| | | partial class Kf_WeighToBarCode_StationOutBill |
| | | { |
| | | /// <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(Kf_WeighToBarCode_StationOutBill)); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); |
| | | this.Tool = new System.Windows.Forms.ToolStrip(); |
| | | 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.sx = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.dy = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.hb = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.tc = new System.Windows.Forms.ToolStripButton(); |
| | | this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); |
| | | this.timer1 = new System.Windows.Forms.Timer(this.components); |
| | | this.grdMain = new System.Windows.Forms.DataGridView(); |
| | | this.label2 = new System.Windows.Forms.Label(); |
| | | this.txtHMaterModel = new System.Windows.Forms.TextBox(); |
| | | this.label3 = new System.Windows.Forms.Label(); |
| | | this.txtHProcID = new System.Windows.Forms.TextBox(); |
| | | this.label4 = new System.Windows.Forms.Label(); |
| | | this.txtHMaterNumber = new System.Windows.Forms.TextBox(); |
| | | this.gbUp = new System.Windows.Forms.GroupBox(); |
| | | this.label17 = new System.Windows.Forms.Label(); |
| | | this.txtHProcNo = new System.Windows.Forms.TextBox(); |
| | | this.label16 = new System.Windows.Forms.Label(); |
| | | this.txtHICMOBillNo = new System.Windows.Forms.TextBox(); |
| | | this.label13 = new System.Windows.Forms.Label(); |
| | | this.txtHCenterID = new System.Windows.Forms.TextBox(); |
| | | this.cmdHProcID = new System.Windows.Forms.Button(); |
| | | this.chkHDYFlag = new System.Windows.Forms.CheckBox(); |
| | | this.cmdFZF = new System.Windows.Forms.Button(); |
| | | this.cmdZF = new System.Windows.Forms.Button(); |
| | | this.txtHDeptName = new System.Windows.Forms.TextBox(); |
| | | this.label12 = new System.Windows.Forms.Label(); |
| | | this.txtHBatchNo = new System.Windows.Forms.TextBox(); |
| | | this.label11 = new System.Windows.Forms.Label(); |
| | | this.label10 = new System.Windows.Forms.Label(); |
| | | this.txtHSourceID = new System.Windows.Forms.TextBox(); |
| | | this.label9 = new System.Windows.Forms.Label(); |
| | | this.txtHGroupID = new System.Windows.Forms.TextBox(); |
| | | this.label7 = new System.Windows.Forms.Label(); |
| | | this.txtHQty = new System.Windows.Forms.TextBox(); |
| | | this.label14 = new System.Windows.Forms.Label(); |
| | | this.txtHMaterName = new System.Windows.Forms.TextBox(); |
| | | this.cmdSave = new System.Windows.Forms.Button(); |
| | | this.label5 = new System.Windows.Forms.Label(); |
| | | this.cmdSourceBillNo = new System.Windows.Forms.Button(); |
| | | this.txtHBillNo = new System.Windows.Forms.TextBox(); |
| | | this.cmbHBarCodeType = new System.Windows.Forms.ComboBox(); |
| | | this.label8 = new System.Windows.Forms.Label(); |
| | | this.dtpHDate = new System.Windows.Forms.DateTimePicker(); |
| | | this.label6 = new System.Windows.Forms.Label(); |
| | | this.grdSub = new System.Windows.Forms.DataGridView(); |
| | | this.tabControl1 = new System.Windows.Forms.TabControl(); |
| | | this.tabPage1 = new System.Windows.Forms.TabPage(); |
| | | this.panel1 = new System.Windows.Forms.Panel(); |
| | | this.groupBox1 = new System.Windows.Forms.GroupBox(); |
| | | this.label1 = new System.Windows.Forms.Label(); |
| | | this.txtHBarCode = new System.Windows.Forms.TextBox(); |
| | | this.cmdOK = new System.Windows.Forms.Button(); |
| | | this.panel2 = new System.Windows.Forms.Panel(); |
| | | this.左侧 = new System.Windows.Forms.Panel(); |
| | | this.ä¸é´ = new System.Windows.Forms.Panel(); |
| | | this.åºé¨ = new System.Windows.Forms.Panel(); |
| | | this.å³ä¾§ = new System.Windows.Forms.Panel(); |
| | | this.Tool.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit(); |
| | | this.gbUp.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdSub)).BeginInit(); |
| | | this.tabControl1.SuspendLayout(); |
| | | this.tabPage1.SuspendLayout(); |
| | | this.panel1.SuspendLayout(); |
| | | this.groupBox1.SuspendLayout(); |
| | | this.panel2.SuspendLayout(); |
| | | this.SuspendLayout(); |
| | | // |
| | | // 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.toolStripSeparator9, |
| | | this.mrlk, |
| | | this.toolStripSeparator7, |
| | | this.bclk, |
| | | this.toolStripSeparator8, |
| | | this.sx, |
| | | this.toolStripSeparator1, |
| | | this.dy, |
| | | this.toolStripSeparator2, |
| | | this.hb, |
| | | this.toolStripSeparator3, |
| | | this.tc, |
| | | this.toolStripSeparator4}); |
| | | 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(1396, 50); |
| | | this.Tool.Stretch = true; |
| | | this.Tool.TabIndex = 16; |
| | | this.Tool.Text = "toolStrip1"; |
| | | // |
| | | // 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); |
| | | // |
| | | // 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.White; |
| | | this.sx.Name = "sx"; |
| | | this.sx.Size = new System.Drawing.Size(35, 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_1); |
| | | // |
| | | // toolStripSeparator1 |
| | | // |
| | | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
| | | this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // dy |
| | | // |
| | | this.dy.AutoSize = false; |
| | | this.dy.Image = ((System.Drawing.Image)(resources.GetObject("dy.Image"))); |
| | | this.dy.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dy.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.dy.ImageTransparentColor = System.Drawing.Color.White; |
| | | this.dy.Name = "dy"; |
| | | this.dy.Size = new System.Drawing.Size(35, 47); |
| | | this.dy.Text = "æå°"; |
| | | this.dy.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.dy.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.dy.Click += new System.EventHandler(this.dy_Click_1); |
| | | // |
| | | // toolStripSeparator2 |
| | | // |
| | | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
| | | this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // hb |
| | | // |
| | | this.hb.AutoSize = false; |
| | | this.hb.Image = ((System.Drawing.Image)(resources.GetObject("hb.Image"))); |
| | | this.hb.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.hb.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; |
| | | this.hb.ImageTransparentColor = System.Drawing.Color.Magenta; |
| | | this.hb.Name = "hb"; |
| | | this.hb.Size = new System.Drawing.Size(40, 47); |
| | | this.hb.Text = "çå"; |
| | | this.hb.TextAlign = System.Drawing.ContentAlignment.BottomCenter; |
| | | this.hb.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; |
| | | this.hb.Click += new System.EventHandler(this.hb_Click); |
| | | // |
| | | // toolStripSeparator3 |
| | | // |
| | | this.toolStripSeparator3.Name = "toolStripSeparator3"; |
| | | this.toolStripSeparator3.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); |
| | | // |
| | | // toolStripSeparator4 |
| | | // |
| | | this.toolStripSeparator4.Name = "toolStripSeparator4"; |
| | | this.toolStripSeparator4.Size = new System.Drawing.Size(6, 50); |
| | | // |
| | | // timer1 |
| | | // |
| | | this.timer1.Enabled = true; |
| | | this.timer1.Tick += new System.EventHandler(this.timer1_Tick); |
| | | // |
| | | // grdMain |
| | | // |
| | | this.grdMain.AllowUserToAddRows = false; |
| | | this.grdMain.AllowUserToDeleteRows = false; |
| | | this.grdMain.BackgroundColor = System.Drawing.SystemColors.ControlLightLight; |
| | | this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; |
| | | dataGridViewCellStyle1.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; |
| | | dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
| | | dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.grdMain.DefaultCellStyle = dataGridViewCellStyle1; |
| | | this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.grdMain.Location = new System.Drawing.Point(3, 3); |
| | | this.grdMain.Margin = new System.Windows.Forms.Padding(0); |
| | | this.grdMain.Name = "grdMain"; |
| | | this.grdMain.ReadOnly = true; |
| | | this.grdMain.RowHeadersWidth = 51; |
| | | this.grdMain.RowTemplate.Height = 23; |
| | | this.grdMain.Size = new System.Drawing.Size(1091, 377); |
| | | this.grdMain.TabIndex = 19; |
| | | this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint); |
| | | // |
| | | // label2 |
| | | // |
| | | this.label2.AutoSize = true; |
| | | this.label2.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label2.ForeColor = System.Drawing.Color.Black; |
| | | this.label2.Location = new System.Drawing.Point(442, 60); |
| | | this.label2.Name = "label2"; |
| | | this.label2.Size = new System.Drawing.Size(53, 12); |
| | | this.label2.TabIndex = 49; |
| | | this.label2.Text = "è§æ ¼åå·"; |
| | | // |
| | | // txtHMaterModel |
| | | // |
| | | this.txtHMaterModel.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHMaterModel.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHMaterModel.Location = new System.Drawing.Point(498, 56); |
| | | this.txtHMaterModel.Name = "txtHMaterModel"; |
| | | this.txtHMaterModel.ReadOnly = true; |
| | | this.txtHMaterModel.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHMaterModel.TabIndex = 50; |
| | | // |
| | | // label3 |
| | | // |
| | | this.label3.AutoSize = true; |
| | | this.label3.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label3.ForeColor = System.Drawing.Color.Black; |
| | | this.label3.Location = new System.Drawing.Point(272, 88); |
| | | this.label3.Name = "label3"; |
| | | this.label3.Size = new System.Drawing.Size(29, 12); |
| | | this.label3.TabIndex = 52; |
| | | this.label3.Text = "å·¥åº"; |
| | | // |
| | | // txtHProcID |
| | | // |
| | | this.txtHProcID.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHProcID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHProcID.Location = new System.Drawing.Point(303, 84); |
| | | this.txtHProcID.Name = "txtHProcID"; |
| | | this.txtHProcID.ReadOnly = true; |
| | | this.txtHProcID.Size = new System.Drawing.Size(112, 21); |
| | | this.txtHProcID.TabIndex = 53; |
| | | this.txtHProcID.TextChanged += new System.EventHandler(this.txtHProcID_TextChanged); |
| | | // |
| | | // label4 |
| | | // |
| | | this.label4.AutoSize = true; |
| | | this.label4.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label4.ForeColor = System.Drawing.Color.Black; |
| | | this.label4.Location = new System.Drawing.Point(39, 60); |
| | | this.label4.Name = "label4"; |
| | | this.label4.Size = new System.Drawing.Size(53, 12); |
| | | this.label4.TabIndex = 55; |
| | | this.label4.Text = "ç©æä»£ç "; |
| | | // |
| | | // txtHMaterNumber |
| | | // |
| | | this.txtHMaterNumber.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHMaterNumber.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHMaterNumber.Location = new System.Drawing.Point(95, 56); |
| | | this.txtHMaterNumber.Name = "txtHMaterNumber"; |
| | | this.txtHMaterNumber.ReadOnly = true; |
| | | this.txtHMaterNumber.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHMaterNumber.TabIndex = 56; |
| | | // |
| | | // gbUp |
| | | // |
| | | this.gbUp.BackColor = System.Drawing.Color.Transparent; |
| | | this.gbUp.Controls.Add(this.label17); |
| | | this.gbUp.Controls.Add(this.txtHProcNo); |
| | | this.gbUp.Controls.Add(this.label16); |
| | | this.gbUp.Controls.Add(this.txtHICMOBillNo); |
| | | this.gbUp.Controls.Add(this.label13); |
| | | this.gbUp.Controls.Add(this.txtHCenterID); |
| | | this.gbUp.Controls.Add(this.cmdHProcID); |
| | | this.gbUp.Controls.Add(this.chkHDYFlag); |
| | | this.gbUp.Controls.Add(this.cmdFZF); |
| | | this.gbUp.Controls.Add(this.cmdZF); |
| | | this.gbUp.Controls.Add(this.txtHDeptName); |
| | | this.gbUp.Controls.Add(this.label12); |
| | | this.gbUp.Controls.Add(this.txtHBatchNo); |
| | | this.gbUp.Controls.Add(this.label11); |
| | | this.gbUp.Controls.Add(this.label10); |
| | | this.gbUp.Controls.Add(this.txtHSourceID); |
| | | this.gbUp.Controls.Add(this.label9); |
| | | this.gbUp.Controls.Add(this.txtHGroupID); |
| | | this.gbUp.Controls.Add(this.label7); |
| | | this.gbUp.Controls.Add(this.txtHQty); |
| | | this.gbUp.Controls.Add(this.label14); |
| | | this.gbUp.Controls.Add(this.txtHMaterName); |
| | | this.gbUp.Controls.Add(this.cmdSave); |
| | | this.gbUp.Controls.Add(this.label5); |
| | | this.gbUp.Controls.Add(this.cmdSourceBillNo); |
| | | this.gbUp.Controls.Add(this.txtHBillNo); |
| | | this.gbUp.Controls.Add(this.cmbHBarCodeType); |
| | | this.gbUp.Controls.Add(this.label8); |
| | | this.gbUp.Controls.Add(this.dtpHDate); |
| | | this.gbUp.Controls.Add(this.label6); |
| | | this.gbUp.Controls.Add(this.label4); |
| | | this.gbUp.Controls.Add(this.txtHMaterNumber); |
| | | this.gbUp.Controls.Add(this.label3); |
| | | this.gbUp.Controls.Add(this.txtHMaterModel); |
| | | this.gbUp.Controls.Add(this.txtHProcID); |
| | | this.gbUp.Controls.Add(this.label2); |
| | | this.gbUp.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.gbUp.Location = new System.Drawing.Point(0, 0); |
| | | this.gbUp.Name = "gbUp"; |
| | | this.gbUp.Size = new System.Drawing.Size(1105, 218); |
| | | this.gbUp.TabIndex = 58; |
| | | this.gbUp.TabStop = false; |
| | | // |
| | | // label17 |
| | | // |
| | | this.label17.AutoSize = true; |
| | | this.label17.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label17.ForeColor = System.Drawing.Color.Black; |
| | | this.label17.Location = new System.Drawing.Point(454, 88); |
| | | this.label17.Name = "label17"; |
| | | this.label17.Size = new System.Drawing.Size(41, 12); |
| | | this.label17.TabIndex = 324; |
| | | this.label17.Text = "æµæ°´å·"; |
| | | // |
| | | // txtHProcNo |
| | | // |
| | | this.txtHProcNo.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHProcNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHProcNo.Location = new System.Drawing.Point(498, 84); |
| | | this.txtHProcNo.Name = "txtHProcNo"; |
| | | this.txtHProcNo.ReadOnly = true; |
| | | this.txtHProcNo.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHProcNo.TabIndex = 325; |
| | | // |
| | | // label16 |
| | | // |
| | | this.label16.AutoSize = true; |
| | | this.label16.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label16.ForeColor = System.Drawing.Color.Black; |
| | | this.label16.Location = new System.Drawing.Point(626, 88); |
| | | this.label16.Name = "label16"; |
| | | this.label16.Size = new System.Drawing.Size(65, 12); |
| | | this.label16.TabIndex = 320; |
| | | this.label16.Text = "ç产订åå·"; |
| | | // |
| | | // txtHICMOBillNo |
| | | // |
| | | this.txtHICMOBillNo.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHICMOBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHICMOBillNo.Location = new System.Drawing.Point(693, 84); |
| | | this.txtHICMOBillNo.Name = "txtHICMOBillNo"; |
| | | this.txtHICMOBillNo.ReadOnly = true; |
| | | this.txtHICMOBillNo.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHICMOBillNo.TabIndex = 321; |
| | | // |
| | | // label13 |
| | | // |
| | | this.label13.AutoSize = true; |
| | | this.label13.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label13.ForeColor = System.Drawing.Color.Black; |
| | | this.label13.Location = new System.Drawing.Point(248, 116); |
| | | this.label13.Name = "label13"; |
| | | this.label13.Size = new System.Drawing.Size(53, 12); |
| | | this.label13.TabIndex = 318; |
| | | this.label13.Text = "å·¥ä½ä¸å¿"; |
| | | // |
| | | // txtHCenterID |
| | | // |
| | | this.txtHCenterID.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHCenterID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHCenterID.Location = new System.Drawing.Point(303, 112); |
| | | this.txtHCenterID.Name = "txtHCenterID"; |
| | | this.txtHCenterID.ReadOnly = true; |
| | | this.txtHCenterID.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHCenterID.TabIndex = 319; |
| | | // |
| | | // cmdHProcID |
| | | // |
| | | this.cmdHProcID.BackColor = System.Drawing.Color.Transparent; |
| | | this.cmdHProcID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHProcID.Image"))); |
| | | this.cmdHProcID.ImageAlign = System.Drawing.ContentAlignment.TopRight; |
| | | this.cmdHProcID.Location = new System.Drawing.Point(409, 83); |
| | | this.cmdHProcID.Name = "cmdHProcID"; |
| | | this.cmdHProcID.Size = new System.Drawing.Size(22, 22); |
| | | this.cmdHProcID.TabIndex = 317; |
| | | this.cmdHProcID.UseVisualStyleBackColor = false; |
| | | this.cmdHProcID.Click += new System.EventHandler(this.cmdHProcID_Click); |
| | | // |
| | | // chkHDYFlag |
| | | // |
| | | this.chkHDYFlag.AutoSize = true; |
| | | this.chkHDYFlag.Location = new System.Drawing.Point(558, 188); |
| | | this.chkHDYFlag.Margin = new System.Windows.Forms.Padding(2); |
| | | this.chkHDYFlag.Name = "chkHDYFlag"; |
| | | this.chkHDYFlag.Size = new System.Drawing.Size(72, 16); |
| | | this.chkHDYFlag.TabIndex = 316; |
| | | this.chkHDYFlag.Text = "èªå¨æå°"; |
| | | this.chkHDYFlag.UseVisualStyleBackColor = true; |
| | | // |
| | | // cmdFZF |
| | | // |
| | | this.cmdFZF.BackColor = System.Drawing.Color.White; |
| | | this.cmdFZF.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.cmdFZF.Location = new System.Drawing.Point(729, 174); |
| | | this.cmdFZF.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmdFZF.Name = "cmdFZF"; |
| | | this.cmdFZF.Size = new System.Drawing.Size(86, 32); |
| | | this.cmdFZF.TabIndex = 157; |
| | | this.cmdFZF.Text = "åä½åº"; |
| | | this.cmdFZF.UseVisualStyleBackColor = false; |
| | | this.cmdFZF.Click += new System.EventHandler(this.cmdFZF_Click); |
| | | // |
| | | // cmdZF |
| | | // |
| | | this.cmdZF.BackColor = System.Drawing.Color.White; |
| | | this.cmdZF.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.cmdZF.Location = new System.Drawing.Point(635, 174); |
| | | this.cmdZF.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmdZF.Name = "cmdZF"; |
| | | this.cmdZF.Size = new System.Drawing.Size(86, 32); |
| | | this.cmdZF.TabIndex = 156; |
| | | this.cmdZF.Text = "ä½åº"; |
| | | this.cmdZF.UseVisualStyleBackColor = false; |
| | | this.cmdZF.Click += new System.EventHandler(this.cmdZF_Click); |
| | | // |
| | | // txtHDeptName |
| | | // |
| | | this.txtHDeptName.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHDeptName.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHDeptName.Location = new System.Drawing.Point(498, 28); |
| | | this.txtHDeptName.Name = "txtHDeptName"; |
| | | this.txtHDeptName.ReadOnly = true; |
| | | this.txtHDeptName.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHDeptName.TabIndex = 155; |
| | | // |
| | | // label12 |
| | | // |
| | | this.label12.AutoSize = true; |
| | | this.label12.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label12.ForeColor = System.Drawing.Color.Black; |
| | | this.label12.Location = new System.Drawing.Point(466, 32); |
| | | this.label12.Name = "label12"; |
| | | this.label12.Size = new System.Drawing.Size(29, 12); |
| | | this.label12.TabIndex = 154; |
| | | this.label12.Text = "车é´"; |
| | | // |
| | | // txtHBatchNo |
| | | // |
| | | this.txtHBatchNo.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHBatchNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHBatchNo.Location = new System.Drawing.Point(693, 56); |
| | | this.txtHBatchNo.Name = "txtHBatchNo"; |
| | | this.txtHBatchNo.ReadOnly = true; |
| | | this.txtHBatchNo.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHBatchNo.TabIndex = 153; |
| | | // |
| | | // label11 |
| | | // |
| | | this.label11.AutoSize = true; |
| | | this.label11.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label11.ForeColor = System.Drawing.Color.Black; |
| | | this.label11.Location = new System.Drawing.Point(662, 60); |
| | | this.label11.Name = "label11"; |
| | | this.label11.Size = new System.Drawing.Size(29, 12); |
| | | this.label11.TabIndex = 152; |
| | | this.label11.Text = "æ¹å·"; |
| | | // |
| | | // label10 |
| | | // |
| | | this.label10.AutoSize = true; |
| | | this.label10.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label10.ForeColor = System.Drawing.Color.Black; |
| | | this.label10.Location = new System.Drawing.Point(442, 116); |
| | | this.label10.Name = "label10"; |
| | | this.label10.Size = new System.Drawing.Size(53, 12); |
| | | this.label10.TabIndex = 150; |
| | | this.label10.Text = "çäº§èµæº"; |
| | | // |
| | | // txtHSourceID |
| | | // |
| | | this.txtHSourceID.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHSourceID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHSourceID.Location = new System.Drawing.Point(498, 112); |
| | | this.txtHSourceID.Name = "txtHSourceID"; |
| | | this.txtHSourceID.ReadOnly = true; |
| | | this.txtHSourceID.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHSourceID.TabIndex = 151; |
| | | // |
| | | // label9 |
| | | // |
| | | this.label9.AutoSize = true; |
| | | this.label9.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label9.ForeColor = System.Drawing.Color.Black; |
| | | this.label9.Location = new System.Drawing.Point(39, 116); |
| | | this.label9.Name = "label9"; |
| | | this.label9.Size = new System.Drawing.Size(53, 12); |
| | | this.label9.TabIndex = 148; |
| | | this.label9.Text = "ç产çç»"; |
| | | // |
| | | // txtHGroupID |
| | | // |
| | | this.txtHGroupID.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHGroupID.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHGroupID.Location = new System.Drawing.Point(95, 112); |
| | | this.txtHGroupID.Name = "txtHGroupID"; |
| | | this.txtHGroupID.ReadOnly = true; |
| | | this.txtHGroupID.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHGroupID.TabIndex = 149; |
| | | // |
| | | // label7 |
| | | // |
| | | this.label7.AutoSize = true; |
| | | this.label7.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label7.ForeColor = System.Drawing.Color.Black; |
| | | this.label7.Location = new System.Drawing.Point(63, 88); |
| | | this.label7.Name = "label7"; |
| | | this.label7.Size = new System.Drawing.Size(29, 12); |
| | | this.label7.TabIndex = 146; |
| | | this.label7.Text = "ç±³æ°"; |
| | | // |
| | | // txtHQty |
| | | // |
| | | this.txtHQty.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHQty.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHQty.Location = new System.Drawing.Point(95, 84); |
| | | this.txtHQty.Name = "txtHQty"; |
| | | this.txtHQty.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHQty.TabIndex = 147; |
| | | // |
| | | // label14 |
| | | // |
| | | this.label14.AutoSize = true; |
| | | this.label14.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label14.ForeColor = System.Drawing.Color.Black; |
| | | this.label14.Location = new System.Drawing.Point(248, 60); |
| | | this.label14.Name = "label14"; |
| | | this.label14.Size = new System.Drawing.Size(53, 12); |
| | | this.label14.TabIndex = 144; |
| | | this.label14.Text = "ç©æåç§°"; |
| | | // |
| | | // txtHMaterName |
| | | // |
| | | this.txtHMaterName.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHMaterName.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHMaterName.Location = new System.Drawing.Point(303, 56); |
| | | this.txtHMaterName.Name = "txtHMaterName"; |
| | | this.txtHMaterName.ReadOnly = true; |
| | | this.txtHMaterName.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHMaterName.TabIndex = 145; |
| | | // |
| | | // cmdSave |
| | | // |
| | | this.cmdSave.BackColor = System.Drawing.Color.White; |
| | | this.cmdSave.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.cmdSave.Location = new System.Drawing.Point(209, 174); |
| | | this.cmdSave.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmdSave.Name = "cmdSave"; |
| | | this.cmdSave.Size = new System.Drawing.Size(86, 32); |
| | | this.cmdSave.TabIndex = 139; |
| | | this.cmdSave.Text = "ä¿å"; |
| | | this.cmdSave.UseVisualStyleBackColor = false; |
| | | this.cmdSave.Click += new System.EventHandler(this.cmdSave_Click); |
| | | // |
| | | // label5 |
| | | // |
| | | this.label5.AutoSize = true; |
| | | this.label5.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label5.ForeColor = System.Drawing.Color.Black; |
| | | this.label5.Location = new System.Drawing.Point(51, 32); |
| | | this.label5.Name = "label5"; |
| | | this.label5.Size = new System.Drawing.Size(41, 12); |
| | | this.label5.TabIndex = 142; |
| | | this.label5.Text = "åæ®å·"; |
| | | // |
| | | // cmdSourceBillNo |
| | | // |
| | | this.cmdSourceBillNo.BackColor = System.Drawing.Color.White; |
| | | this.cmdSourceBillNo.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.cmdSourceBillNo.Location = new System.Drawing.Point(102, 174); |
| | | this.cmdSourceBillNo.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmdSourceBillNo.Name = "cmdSourceBillNo"; |
| | | this.cmdSourceBillNo.Size = new System.Drawing.Size(86, 32); |
| | | this.cmdSourceBillNo.TabIndex = 138; |
| | | this.cmdSourceBillNo.Text = "éå"; |
| | | this.cmdSourceBillNo.UseVisualStyleBackColor = false; |
| | | this.cmdSourceBillNo.Click += new System.EventHandler(this.cmdSourceBillNo_Click); |
| | | // |
| | | // txtHBillNo |
| | | // |
| | | this.txtHBillNo.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHBillNo.Location = new System.Drawing.Point(95, 28); |
| | | this.txtHBillNo.Name = "txtHBillNo"; |
| | | this.txtHBillNo.ReadOnly = true; |
| | | this.txtHBillNo.Size = new System.Drawing.Size(128, 21); |
| | | this.txtHBillNo.TabIndex = 143; |
| | | // |
| | | // cmbHBarCodeType |
| | | // |
| | | this.cmbHBarCodeType.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.cmbHBarCodeType.FormattingEnabled = true; |
| | | this.cmbHBarCodeType.Items.AddRange(new object[] { |
| | | "å¯ä¸æ¡ç "}); |
| | | this.cmbHBarCodeType.Location = new System.Drawing.Point(693, 28); |
| | | this.cmbHBarCodeType.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmbHBarCodeType.Name = "cmbHBarCodeType"; |
| | | this.cmbHBarCodeType.Size = new System.Drawing.Size(128, 20); |
| | | this.cmbHBarCodeType.TabIndex = 139; |
| | | // |
| | | // label8 |
| | | // |
| | | this.label8.AutoSize = true; |
| | | this.label8.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label8.ForeColor = System.Drawing.Color.Black; |
| | | this.label8.Location = new System.Drawing.Point(638, 32); |
| | | this.label8.Name = "label8"; |
| | | this.label8.Size = new System.Drawing.Size(53, 12); |
| | | this.label8.TabIndex = 138; |
| | | this.label8.Text = "æ¡ç ç±»å"; |
| | | // |
| | | // dtpHDate |
| | | // |
| | | this.dtpHDate.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.dtpHDate.Format = System.Windows.Forms.DateTimePickerFormat.Short; |
| | | this.dtpHDate.Location = new System.Drawing.Point(303, 28); |
| | | this.dtpHDate.Margin = new System.Windows.Forms.Padding(2); |
| | | this.dtpHDate.Name = "dtpHDate"; |
| | | this.dtpHDate.Size = new System.Drawing.Size(128, 21); |
| | | this.dtpHDate.TabIndex = 100; |
| | | // |
| | | // label6 |
| | | // |
| | | this.label6.AutoSize = true; |
| | | this.label6.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label6.ForeColor = System.Drawing.Color.Black; |
| | | this.label6.Location = new System.Drawing.Point(272, 32); |
| | | this.label6.Name = "label6"; |
| | | this.label6.Size = new System.Drawing.Size(29, 12); |
| | | this.label6.TabIndex = 99; |
| | | this.label6.Text = "æ¥æ"; |
| | | // |
| | | // grdSub |
| | | // |
| | | this.grdSub.AllowUserToAddRows = false; |
| | | this.grdSub.AllowUserToDeleteRows = false; |
| | | this.grdSub.BackgroundColor = System.Drawing.SystemColors.ControlLightLight; |
| | | this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; |
| | | dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; |
| | | dataGridViewCellStyle2.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText; |
| | | dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; |
| | | dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| | | dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| | | this.grdSub.DefaultCellStyle = dataGridViewCellStyle2; |
| | | this.grdSub.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.grdSub.Location = new System.Drawing.Point(0, 73); |
| | | this.grdSub.Margin = new System.Windows.Forms.Padding(0); |
| | | this.grdSub.Name = "grdSub"; |
| | | this.grdSub.ReadOnly = true; |
| | | this.grdSub.RowHeadersWidth = 51; |
| | | this.grdSub.RowTemplate.Height = 23; |
| | | this.grdSub.Size = new System.Drawing.Size(257, 554); |
| | | this.grdSub.TabIndex = 18; |
| | | this.grdSub.Paint += new System.Windows.Forms.PaintEventHandler(this.grdSub_Paint); |
| | | // |
| | | // tabControl1 |
| | | // |
| | | this.tabControl1.Controls.Add(this.tabPage1); |
| | | this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.tabControl1.Location = new System.Drawing.Point(0, 218); |
| | | this.tabControl1.Name = "tabControl1"; |
| | | this.tabControl1.SelectedIndex = 0; |
| | | this.tabControl1.Size = new System.Drawing.Size(1105, 409); |
| | | this.tabControl1.TabIndex = 149; |
| | | // |
| | | // tabPage1 |
| | | // |
| | | this.tabPage1.Controls.Add(this.grdMain); |
| | | this.tabPage1.Location = new System.Drawing.Point(4, 22); |
| | | this.tabPage1.Name = "tabPage1"; |
| | | this.tabPage1.Padding = new System.Windows.Forms.Padding(3); |
| | | this.tabPage1.Size = new System.Drawing.Size(1097, 383); |
| | | this.tabPage1.TabIndex = 0; |
| | | this.tabPage1.Text = "æ¡ç è®°å½"; |
| | | this.tabPage1.UseVisualStyleBackColor = true; |
| | | // |
| | | // panel1 |
| | | // |
| | | this.panel1.Controls.Add(this.grdSub); |
| | | this.panel1.Controls.Add(this.groupBox1); |
| | | this.panel1.Dock = System.Windows.Forms.DockStyle.Left; |
| | | this.panel1.Location = new System.Drawing.Point(11, 50); |
| | | this.panel1.Name = "panel1"; |
| | | this.panel1.Size = new System.Drawing.Size(257, 627); |
| | | this.panel1.TabIndex = 59; |
| | | // |
| | | // groupBox1 |
| | | // |
| | | this.groupBox1.Controls.Add(this.label1); |
| | | this.groupBox1.Controls.Add(this.txtHBarCode); |
| | | this.groupBox1.Controls.Add(this.cmdOK); |
| | | this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; |
| | | this.groupBox1.Location = new System.Drawing.Point(0, 0); |
| | | this.groupBox1.Name = "groupBox1"; |
| | | this.groupBox1.Size = new System.Drawing.Size(257, 73); |
| | | this.groupBox1.TabIndex = 146; |
| | | this.groupBox1.TabStop = false; |
| | | // |
| | | // label1 |
| | | // |
| | | this.label1.AutoSize = true; |
| | | this.label1.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.label1.ForeColor = System.Drawing.Color.Black; |
| | | this.label1.Location = new System.Drawing.Point(11, 40); |
| | | this.label1.Name = "label1"; |
| | | this.label1.Size = new System.Drawing.Size(41, 12); |
| | | this.label1.TabIndex = 151; |
| | | this.label1.Text = "æ¡å½¢ç "; |
| | | // |
| | | // txtHBarCode |
| | | // |
| | | this.txtHBarCode.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.txtHBarCode.ImeMode = System.Windows.Forms.ImeMode.NoControl; |
| | | this.txtHBarCode.Location = new System.Drawing.Point(57, 36); |
| | | this.txtHBarCode.Name = "txtHBarCode"; |
| | | this.txtHBarCode.Size = new System.Drawing.Size(127, 21); |
| | | this.txtHBarCode.TabIndex = 152; |
| | | this.txtHBarCode.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtHBarCode_KeyPress); |
| | | // |
| | | // cmdOK |
| | | // |
| | | this.cmdOK.BackColor = System.Drawing.Color.White; |
| | | this.cmdOK.Cursor = System.Windows.Forms.Cursors.Default; |
| | | this.cmdOK.Font = new System.Drawing.Font("å®ä½", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |
| | | this.cmdOK.Location = new System.Drawing.Point(189, 33); |
| | | this.cmdOK.Margin = new System.Windows.Forms.Padding(2); |
| | | this.cmdOK.Name = "cmdOK"; |
| | | this.cmdOK.Size = new System.Drawing.Size(55, 27); |
| | | this.cmdOK.TabIndex = 150; |
| | | this.cmdOK.Text = "确认"; |
| | | this.cmdOK.UseVisualStyleBackColor = false; |
| | | this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click); |
| | | // |
| | | // panel2 |
| | | // |
| | | this.panel2.Controls.Add(this.tabControl1); |
| | | this.panel2.Controls.Add(this.gbUp); |
| | | this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; |
| | | this.panel2.Location = new System.Drawing.Point(279, 50); |
| | | this.panel2.Name = "panel2"; |
| | | this.panel2.Size = new System.Drawing.Size(1105, 627); |
| | | this.panel2.TabIndex = 60; |
| | | // |
| | | // 左侧 |
| | | // |
| | | this.左侧.Dock = System.Windows.Forms.DockStyle.Left; |
| | | this.左侧.Location = new System.Drawing.Point(0, 50); |
| | | this.左侧.Name = "左侧"; |
| | | this.左侧.Size = new System.Drawing.Size(11, 627); |
| | | this.左侧.TabIndex = 61; |
| | | // |
| | | // ä¸é´ |
| | | // |
| | | this.ä¸é´.Dock = System.Windows.Forms.DockStyle.Left; |
| | | this.ä¸é´.Location = new System.Drawing.Point(268, 50); |
| | | this.ä¸é´.Name = "ä¸é´"; |
| | | this.ä¸é´.Size = new System.Drawing.Size(11, 627); |
| | | this.ä¸é´.TabIndex = 62; |
| | | // |
| | | // åºé¨ |
| | | // |
| | | this.åºé¨.Dock = System.Windows.Forms.DockStyle.Bottom; |
| | | this.åºé¨.Location = new System.Drawing.Point(0, 677); |
| | | this.åºé¨.Name = "åºé¨"; |
| | | this.åºé¨.Size = new System.Drawing.Size(1396, 10); |
| | | this.åºé¨.TabIndex = 63; |
| | | // |
| | | // å³ä¾§ |
| | | // |
| | | this.å³ä¾§.Dock = System.Windows.Forms.DockStyle.Right; |
| | | this.å³ä¾§.Location = new System.Drawing.Point(1384, 50); |
| | | this.å³ä¾§.Name = "å³ä¾§"; |
| | | this.å³ä¾§.Size = new System.Drawing.Size(12, 627); |
| | | this.å³ä¾§.TabIndex = 64; |
| | | // |
| | | // Kf_WeighToBarCode_StationOutBill |
| | | // |
| | | this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |
| | | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| | | this.AutoSize = true; |
| | | this.BackColor = System.Drawing.SystemColors.ActiveCaption; |
| | | this.ClientSize = new System.Drawing.Size(1396, 687); |
| | | this.Controls.Add(this.panel2); |
| | | this.Controls.Add(this.ä¸é´); |
| | | this.Controls.Add(this.panel1); |
| | | this.Controls.Add(this.左侧); |
| | | this.Controls.Add(this.å³ä¾§); |
| | | this.Controls.Add(this.åºé¨); |
| | | this.Controls.Add(this.Tool); |
| | | this.Name = "Kf_WeighToBarCode_StationOutBill"; |
| | | this.Text = "涤纶åæåçææ¡ç "; |
| | | this.WindowState = System.Windows.Forms.FormWindowState.Maximized; |
| | | this.Load += new System.EventHandler(this.Kf_WeighToBarCode_StationOutBill_Load); |
| | | this.Tool.ResumeLayout(false); |
| | | this.Tool.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit(); |
| | | this.gbUp.ResumeLayout(false); |
| | | this.gbUp.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)(this.grdSub)).EndInit(); |
| | | this.tabControl1.ResumeLayout(false); |
| | | this.tabPage1.ResumeLayout(false); |
| | | this.panel1.ResumeLayout(false); |
| | | this.groupBox1.ResumeLayout(false); |
| | | this.groupBox1.PerformLayout(); |
| | | this.panel2.ResumeLayout(false); |
| | | this.ResumeLayout(false); |
| | | |
| | | } |
| | | |
| | | #endregion |
| | | private System.Windows.Forms.ToolStrip Tool; |
| | | private System.Windows.Forms.ToolStripButton tc; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator3; |
| | | public System.Windows.Forms.Timer timer1; |
| | | 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.DataGridView grdMain; |
| | | private System.Windows.Forms.Label label2; |
| | | private System.Windows.Forms.TextBox txtHMaterModel; |
| | | private System.Windows.Forms.Label label3; |
| | | private System.Windows.Forms.TextBox txtHProcID; |
| | | private System.Windows.Forms.Label label4; |
| | | private System.Windows.Forms.TextBox txtHMaterNumber; |
| | | private System.Windows.Forms.GroupBox gbUp; |
| | | private System.Windows.Forms.DateTimePicker dtpHDate; |
| | | private System.Windows.Forms.Label label6; |
| | | private System.Windows.Forms.Button cmdSourceBillNo; |
| | | private System.Windows.Forms.Button cmdSave; |
| | | private System.Windows.Forms.Label label8; |
| | | private System.Windows.Forms.ComboBox cmbHBarCodeType; |
| | | private System.Windows.Forms.DataGridView grdSub; |
| | | private System.Windows.Forms.TabControl tabControl1; |
| | | private System.Windows.Forms.TabPage tabPage1; |
| | | private System.Windows.Forms.Label label5; |
| | | private System.Windows.Forms.TextBox txtHBillNo; |
| | | private System.Windows.Forms.Label label14; |
| | | private System.Windows.Forms.TextBox txtHMaterName; |
| | | private System.Windows.Forms.ToolStripButton dy; |
| | | private System.Windows.Forms.ToolStripButton hb; |
| | | private System.Windows.Forms.ToolStripButton sx; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator2; |
| | | private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; |
| | | private System.Windows.Forms.Panel panel1; |
| | | private System.Windows.Forms.GroupBox groupBox1; |
| | | private System.Windows.Forms.Label label1; |
| | | private System.Windows.Forms.TextBox txtHBarCode; |
| | | private System.Windows.Forms.Button cmdOK; |
| | | private System.Windows.Forms.Panel panel2; |
| | | private System.Windows.Forms.Label label10; |
| | | private System.Windows.Forms.TextBox txtHSourceID; |
| | | private System.Windows.Forms.Label label9; |
| | | private System.Windows.Forms.TextBox txtHGroupID; |
| | | private System.Windows.Forms.Label label7; |
| | | private System.Windows.Forms.TextBox txtHQty; |
| | | private System.Windows.Forms.TextBox txtHDeptName; |
| | | private System.Windows.Forms.Label label12; |
| | | private System.Windows.Forms.TextBox txtHBatchNo; |
| | | private System.Windows.Forms.Label label11; |
| | | private System.Windows.Forms.Panel 左侧; |
| | | private System.Windows.Forms.Panel ä¸é´; |
| | | private System.Windows.Forms.Panel åºé¨; |
| | | private System.Windows.Forms.Panel å³ä¾§; |
| | | private System.Windows.Forms.Button cmdFZF; |
| | | private System.Windows.Forms.Button cmdZF; |
| | | private System.Windows.Forms.CheckBox chkHDYFlag; |
| | | private System.Windows.Forms.Button cmdHProcID; |
| | | private System.Windows.Forms.Label label13; |
| | | private System.Windows.Forms.TextBox txtHCenterID; |
| | | private System.Windows.Forms.Label label16; |
| | | private System.Windows.Forms.TextBox txtHICMOBillNo; |
| | | private System.Windows.Forms.Label label17; |
| | | private System.Windows.Forms.TextBox txtHProcNo; |
| | | } |
| | | } |
New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <root> |
| | | <!-- |
| | | Microsoft ResX Schema |
| | | |
| | | Version 2.0 |
| | | |
| | | The primary goals of this format is to allow a simple XML format |
| | | that is mostly human readable. The generation and parsing of the |
| | | various data types are done through the TypeConverter classes |
| | | associated with the data types. |
| | | |
| | | Example: |
| | | |
| | | ... ado.net/XML headers & schema ... |
| | | <resheader name="resmimetype">text/microsoft-resx</resheader> |
| | | <resheader name="version">2.0</resheader> |
| | | <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> |
| | | <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> |
| | | <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> |
| | | <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> |
| | | <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> |
| | | <value>[base64 mime encoded serialized .NET Framework object]</value> |
| | | </data> |
| | | <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> |
| | | <comment>This is a comment</comment> |
| | | </data> |
| | | |
| | | There are any number of "resheader" rows that contain simple |
| | | name/value pairs. |
| | | |
| | | Each data row contains a name, and value. The row also contains a |
| | | type or mimetype. Type corresponds to a .NET class that support |
| | | text/value conversion through the TypeConverter architecture. |
| | | Classes that don't support this are serialized and stored with the |
| | | mimetype set. |
| | | |
| | | The mimetype is used for serialized objects, and tells the |
| | | ResXResourceReader how to depersist the object. This is currently not |
| | | extensible. For a given mimetype the value must be set accordingly: |
| | | |
| | | Note - application/x-microsoft.net.object.binary.base64 is the format |
| | | that the ResXResourceWriter will generate, however the reader can |
| | | read any of the formats listed below. |
| | | |
| | | mimetype: application/x-microsoft.net.object.binary.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.soap.base64 |
| | | value : The object must be serialized with |
| | | : System.Runtime.Serialization.Formatters.Soap.SoapFormatter |
| | | : and then encoded with base64 encoding. |
| | | |
| | | mimetype: application/x-microsoft.net.object.bytearray.base64 |
| | | value : The object must be serialized into a byte array |
| | | : using a System.ComponentModel.TypeConverter |
| | | : and then encoded with base64 encoding. |
| | | --> |
| | | <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> |
| | | <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> |
| | | <xsd:element name="root" msdata:IsDataSet="true"> |
| | | <xsd:complexType> |
| | | <xsd:choice maxOccurs="unbounded"> |
| | | <xsd:element name="metadata"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" use="required" type="xsd:string" /> |
| | | <xsd:attribute name="type" type="xsd:string" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="assembly"> |
| | | <xsd:complexType> |
| | | <xsd:attribute name="alias" type="xsd:string" /> |
| | | <xsd:attribute name="name" type="xsd:string" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="data"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> |
| | | <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> |
| | | <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> |
| | | <xsd:attribute ref="xml:space" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | <xsd:element name="resheader"> |
| | | <xsd:complexType> |
| | | <xsd:sequence> |
| | | <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> |
| | | </xsd:sequence> |
| | | <xsd:attribute name="name" type="xsd:string" use="required" /> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:choice> |
| | | </xsd:complexType> |
| | | </xsd:element> |
| | | </xsd:schema> |
| | | <resheader name="resmimetype"> |
| | | <value>text/microsoft-resx</value> |
| | | </resheader> |
| | | <resheader name="version"> |
| | | <value>2.0</value> |
| | | </resheader> |
| | | <resheader name="reader"> |
| | | <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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> |
| | | </resheader> |
| | | <metadata name="Tool.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>17, 17</value> |
| | | </metadata> |
| | | <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/4QSARXhpZgAATU0AKgAAAAgABwESAAMAAAABAAEAAAEaAAUAAAAB |
| | | AAAAYgEbAAUAAAABAAAAagEoAAMAAAABAAIAAAExAAIAAAAUAAAAcgEyAAIAAAAUAAAAhodpAAQAAAAB |
| | | AAAAmgAAAMYASAAAAAEAAABIAAAAAQAAQWRvYmUgUGhvdG9zaG9wIDcuMAAyMDA0OjEwOjE0IDE1OjUw |
| | | OjUwAAADoAEAAwAAAAH//wAAoAIABAAAAAEAAAQAoAMABAAAAAEAAABoAAAAAAAAAAYBAwADAAAAAQAG |
| | | AAABGgAFAAAAAQAAARQBGwAFAAAAAQAAARwBKAADAAAAAQACAAACAQAEAAAAAQAAASQCAgAEAAAAAQAA |
| | | A1QAAAAAAAAASAAAAAEAAABIAAAAAf/Y/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4d |
| | | GhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIy |
| | | MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgABgCgAwEhAAIRAQMR |
| | | Af/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkKC//EALUQAAIBAwMCBAMFBQQEAAABfQECAwAE |
| | | EQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElK |
| | | U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1t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Zv8A4qj2HmCkfr/g+h/KjB9D+VfkB/wtrxX/ANDN4h/8GM3/AMVR/wALa8V/9DN4h/8ABjN/8VR7 |
| | | DzBSP1/wfQ/lRg+h/KvyA/4W14r/AOhm8Q/+DGb/AOKo/wCFteK/+hm8Q/8Agxm/+Ko9h5i5/I/X/B9D |
| | | +VGD6H8q/ID/AIW14r/6GbxD/wCDGb/4qj/hbXiv/oZvEP8A4MZv/iqPYeY1M//Z |
| | | </value> |
| | | </data> |
| | | <data name="mrlk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH/SURBVDhPfZHfS1NhGMefkCLQu/A/6MK6SbMQFlg3dudN |
| | | oBFDY9BF05XMMAoLL3bhxGB4zjzoVCKim4iCgkCMSam1cqP9aO4YJlpIDmqh00IRv73Pe87OWuV54Mt7 |
| | | znm/n895z0aF8Stj6FdGoARDUAf/H97jTp96FyZmjC8QwuRUBB0zACkiwT0i9rxvgBcvX4MZEye65Vex |
| | | vp6HJ7yJ+1nYpmNyE3nRZcbEiW74AljL5UB3gOk84J8HnFPA0UfirZqIaoZPMQDZZcbEibp6+vE9mwUF |
| | | AG0RaJ0Gqp8A+0ICGBIZLkZLifXv8Xb3YnVlRdrdb23gtAHHjpdj5hAVRVdv+vBlaVkes+6pPVzhieHn |
| | | YQKiwHtHpSFp6+rB4sIn+Y37R+3hB5kNec2SSKV5isvebuiZj8YPxoKxYrSMAR90RyWc2AZqgp/lKSzB |
| | | Jc91xJI6nEoUdCECchrRJlZl4YA7XgJL+Yl7BszjauvEu9QCZoUk8UFHMq3jW+6HLJS1p+1hniZXO6pq |
| | | 63Hk5Bkr/Fy9SHvC4+FXhuTa7V6s/dopydbOriXA7Ll/YN7nHrNSENeXMDA4aq0WvP0V2IpLSQFOpuaQ |
| | | mF+WPSm4Iv7CxmaXNBbWPwUtDpLhZ8/HwyU9ZolvjjkaUH3qrBUuV9WeBkv4mufh42clHWYaz7vwG72U |
| | | TLZQdeFnAAAAAElFTkSuQmCC |
| | | </value> |
| | | </data> |
| | | <data name="bclk.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAH4SURBVDhPjZPNS1RRGMZfI2jRLlqUEKLUQgsl3EauEoRW |
| | | /QN+phG4CQXTNrPLbzFrpZAuBIfEqChctFRndHI0YzKnxkHFYQgH50NH5+o8Pm/HwQ/s4oGHc++5z/O7 |
| | | 77nnvSKPPZDyKYSfA8tN55N6NfMvK1XT+LIBxAH8PqfUqxnNitR+g1x/yQuRlJWCZVm2Uo965RozmpXq |
| | | aRR/Io1jYgJwTdlLPeqt92QqqHLj7phZTCST2Nqxl3rUWzrOTKX7JGBykm9x2Us96r3p1ApOAf5G49iI |
| | | JWylHvVeGGCm+hBQnNlCNIatWNxW6lGv9B0D3PsIXOrnQts2pGsX0mOdLX3WuYsbjT8gvTyNmsOPeJ+n |
| | | cOUtAa2bkEdfIbkdkLyuk8rtZGAGUuGCYzxBb/QUYJCAlpAp73+jnIEKN979pNcRPgPQEDSA7HZI4xpW |
| | | /pgvP+vdRzCwx/Y1AKeP3uZVtjIr0rJKPhMwxMX6RQO41U1AAL45YP77Pny/Ugitc//HAc/8BpD1wIkc |
| | | xxKuDnOxdh7pbc45rKBuAX4aNexfTiISYQNlALqFpwv068/EcbF0BJdfBEj0IhoGgktAKAisrXIO7yGy |
| | | mUI6vcPGYe/XePA+QECdF/Jk1gB0ZJWNQgpfQ273QQpeHSmf96oCquiN0R1eF1IPP+AAgRmsjnCqFmoA |
| | | AAAASUVORK5CYII= |
| | | </value> |
| | | </data> |
| | | <data name="sx.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFtSURBVDhPtVPLTsJAFOUj+kV+gWv9CaAWBApoITzER6UJ |
| | | EYMuNLIiigkaCKAGEhWN78ToQqMLTTS60I3GzXHu2CpxCsGFJ5l0eu8959y50zr+DcrYAPoH+4RFcbOk |
| | | M6jQaIXReDFQf9JRuptA4SqJhfMYAqUhSJLUWYTIe28ZHHzM8GeTiVQedRRvUli6iCN3rCHNxG1FqD1y |
| | | JvIZZvmeCq1F7nMnER6nvXAccm+8Gmi9Z77JZorDEknvhhDfCohdkED9eZqfXUiaoBp9O4jYhs9eoHQ/ |
| | | icrDVFeB8aaKSHX4q4YC7atwncTKbYon2+Mmn9cnNv0Il70/JrTJHo5i/jSKRXZVeTbt/GWCP393QgIa |
| | | cxeuk14y+yPIHmnIsUnTtO3I0ZoP6poCpSgLeS6i7wT5lNuT1jG0qhfqugIPI7sKLvuvkoh2zqGyB37W |
| | | tqfoZmSn6N4NJOBdlSEvu+H8K5lAAlZnPf1MvcPh+AQXey/m/1+IkwAAAABJRU5ErkJggg== |
| | | </value> |
| | | </data> |
| | | <data name="dy.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADmSURBVDhPlY6xDYMwFES9U3bKCmzACEh0FJmACRiAnoqK |
| | | jo6OzvH7yVk/OFHg0MnC/vfuhzOq6zrK76vzIrRtm3nf92sgBpdlieu6ZgCe5xmAXEot0zTZMABBXLiU |
| | | grRUVRWHYTATYpOfYR9kiGbMnQelUTu5wzmsoDWk796GOI6jGRDDzH0BxAyQ1Z5e4xhuGUSQWbkAaE2B |
| | | FMRN05h9uAD4JoHato1d9yjCOjOAH9Y+QggDOW5gwZdfEgR7iAf4YG53yq0eBADzjlWk/+QP2WXf9xmk |
| | | u3/Bo2wICEG/Oo9XdCIYwhNr8dl8ZRwfdQAAAABJRU5ErkJggg== |
| | | </value> |
| | | </data> |
| | | <data name="hb.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGgSURBVDhPlZPPK8NhHMc/5T7tRM0cOCAHJXGbxQ7c/AEc |
| | | d1EcjEwytSiH4SZcRHLQ7FemtlJDOPiZml8XSzMWMz9mK7Xevs/z7DvDzLzr9X2253k+r8+nvn0pM10t |
| | | hGykjnMndRE1ZWJlVKvF+qdErytIF/1G6k72sMPTBULIRcCF4H2bcOMknC8SNsb/IXheJ8R8hAfPPwUH |
| | | M4Qz6fKVlXBtJwRWxP99aX/NnKfgcJZwMkfwS9OwdW86TwFLc6MGmxPE2Zok+CwCzwjB5XDkLpbDJHYj |
| | | cax9ArbHDzukt5HJ9wxbpuGe7+fvvL1esLU6BTmsSHpyfggGRiaxe3yJaJzfhbI/wGHJ7MqKS1ZKv+xx |
| | | gWFoDDtH57h7jCGeSGDQHoTJGUwL5M6MSrsKFd5y/jst6DaapQkuEI6+4eU1hoZRP4dFFhTMK6FYUKB4 |
| | | SQHVciGKbMpPQafBxAWhiDRBPA7S73O4gH0HWtGtza9BrVslCnUSrSmBPAET3Eee0GO9Ra8tjGQyySUs |
| | | 8iQ1XvVn58xU1WnxG1zAJmn61pmIPgBiIY95z/CSIgAAAABJRU5ErkJggg== |
| | | </value> |
| | | </data> |
| | | <data name="tc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 |
| | | YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADCSURBVDhPpZJdCoMwEIRzpxxJ6Ak2z/ZZnysIBXuUHMA7 |
| | | bXeWrGBMYkoHh+gk8xl/XEneP7jXqXIWJkIgHscnT/PEy2vhz7ZhMQ/Dm5l3ObRcB1ACzAKQ6FTcV69G |
| | | rgWTbUl3QFQtFgGpfAAoAVDOi2ZbrwW5hwY4N+P6FmDlkrsBq6zOy3AXIEkhGHMbIMaorgGgI8Cu7CsY |
| | | wOZbAEgDBch/gOveRzgJAKLwH0CGJsDmxU1dAMiSu3R5iZr+oJuic1+SJ5jRbOqnmgAAAABJRU5ErkJg |
| | | gg== |
| | | </value> |
| | | </data> |
| | | <metadata name="timer1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> |
| | | <value>102, 16</value> |
| | | </metadata> |
| | | <data name="cmdHProcID.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> |
| | | <value> |
| | | R0lGODlhEAAQAIZBAAAzmQBmzP///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> |
| | | <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> |
| | | <value>37</value> |
| | | </metadata> |
| | | </root> |
| | |
| | | |
| | | |
| | | //ç®±å·çæè§å æ¥æ + æºå° + çæ¬¡ + ç©æ åªè¦è·åæå¤§çæµæ°´å· |
| | | string sBoxYear; |
| | | string sBoxPeriod; |
| | | string sBoxDay; |
| | | DateTime HBoxDate = DBUtility.ClsPub.isDate(DBUtility.ClsPub.GetServerDate(0)); |
| | | sBoxYear = HBoxDate.Year.ToString().Substring(2, 2); |
| | | sBoxPeriod = "0" + HBoxDate.Month.ToString(); |
| | | sBoxPeriod = HPeriod.Substring(HPeriod.Length - 2, 2); |
| | | sBoxDay = "0" + HBoxDate.Day.ToString(); |
| | | sBoxDay = HDay.Substring(HDay.Length - 2, 2); |
| | | HJT = DBUtility.ClsPub.isStrNull(grdMain.Rows[j].Cells[Fun_GetCol("设å¤")].Value); |
| | | HXH = HYear + HPeriod + HDay + HBC + HJT + HMaterNumber; |
| | | HXH = sBoxYear + sBoxPeriod + sBoxDay + HBC + HJT + HMaterNumber; |
| | | Ds99 = oCn.RunProcReturn("exec h_p_WMS_GetMaxNo '" + HXH + "'", "h_p_WMS_GetMaxNo"); //è·åæå¤§æµæ°´å· |
| | | LSH3 = ClsPub.isLong(Ds99.Tables[0].Rows[0][0]) + 1; |
| | | LSH4 = LSH3.ToString(); |
| | |
| | | long HProcID = list[0].HProcID; |
| | | int HUSEORGID = list[0].HUSEORGID; |
| | | bool HTProcessFlag = list[0].HTProcessFlag; |
| | | int HQCSchemeID_Fst = list[0].HQCSchemeID_Fst; |
| | | int HQCSchemeID_Proc = list[0].HQCSchemeID_Proc; |
| | | int HQCSchemeID_Patrol = list[0].HQCSchemeID_Patrol; |
| | | |
| | | |
| | | |
| | | |
| | |
| | | ",HTypeFlow,HTypeCount,HDeptNumber,HSNo" + |
| | | ",HLevel,HEndFlag,HStopflag,HRemark,HDeptID,HBarCodeForBase,HProcessID_K3,HBillSubType,HAutoTrunFlag" + |
| | | ",HFixPrice,HOverFixPrice,HProcMulID,HProcCheckNote" + |
| | | ",HUSEORGID,HWorkCenterID,HBadWHID,HWasterWHID,HBadCountDevelopWHID,HWWBadWHID,HWWWasterWHID,HWHID,HTProcessFlag) " + |
| | | ",HUSEORGID,HWorkCenterID,HBadWHID,HWasterWHID,HBadCountDevelopWHID,HWWBadWHID,HWWWasterWHID,HWHID,HTProcessFlag" + |
| | | ",HQCSchemeID_Fst,HQCSchemeID_Proc,HQCSchemeID_Patrol) " + |
| | | " Values('" + HNumber + "','" + HName + "','" + HHelpCode + "','" + HShortNumber + "'," + HParentID.ToString() + |
| | | "," + Convert.ToString(HTypeFlow ? 1 : 0) + "," + Convert.ToString(HTypeCount ? 1 : 0) + ",'" + HDeptNumber + "','" + HSNo.ToString() + |
| | | "'," + HLevel.ToString() + "," + Convert.ToString(HEndFlag ? 1 : 0) + "," + Convert.ToString(HStopflag ? 1 : 0) + ",'" + HRemark + "'," + HDeptID + |
| | | ",'" + HBarCode + "'," + HProcessID_K3 + ",'" + HBillSubType + "'," + Convert.ToString(HAutoTrunFlag ? 1 : 0) + |
| | | ",'" + HFixPrice.ToString() + "'," + HOverFixPrice.ToString() + "," + HProcMulID.ToString() + ",'" + HProcCheckNote.ToString() + "'" + |
| | | "," + HUSEORGID + "," + HWorkCenterID + "," + HBadWHID + "," + HWasterWHID + "," + HBadCountDevelopWHID + "," + HWWBadWHID + "," + HWWWasterWHID + "," + HWHID + "," + Convert.ToString(HTProcessFlag ? 1 : 0) + ")", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | "," + HUSEORGID + "," + HWorkCenterID + "," + HBadWHID + "," + HWasterWHID + "," + HBadCountDevelopWHID + "," + HWWBadWHID + "," + HWWWasterWHID + "," + HWHID + "," + Convert.ToString(HTProcessFlag ? 1 : 0) + "," + HQCSchemeID_Fst + "," + HQCSchemeID_Proc + "," + HQCSchemeID_Patrol + ")", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹ä¸çº§ä¸ºéæ«çº§ä»£ç |
| | | oCN.RunProc("Update Gy_Process set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | oCN.Commit(); |
| | |
| | | ",HWWBadWHID= " + HWWBadWHID + |
| | | ",HWWWasterWHID= " + HWWWasterWHID + |
| | | ",HWHID= " + HWHID + |
| | | ",HQCSchemeID_Fst= " + HQCSchemeID_Fst + |
| | | ",HQCSchemeID_Proc= " + HQCSchemeID_Proc + |
| | | ",HQCSchemeID_Patrol= " + HQCSchemeID_Patrol + |
| | | ",HProcCheckNote='" + HProcCheckNote + "' Where HItemID=" + HItemID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹ä¸çº§ä¸ºéæ«çº§ä»£ç |
| | | oCN.RunProc("Update Gy_Process set HEndflag=0 where HItemID=" + HParentID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | //夿æ¯å¦ææ¥è¯¢æé |
| | | |
| | | //if (!DBUtility.ClsPub.Security_Log("Cg_POOrderBillQuery", 1, false, user)) |
| | |
| | | string sql = "select * from h_v_IF_POOrderBillList where 1 = 1 " + sWhere; |
| | | ds = oCN.RunProcReturn(sql, "h_v_IF_POOrderBillList"); |
| | | |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region æå¼å¡æ«ç è·åä¿¡æ¯ |
| | | [Route("MES_SampleRecordBill_PDA/SampleRecordBillHBarCode_KeyDown")] |
| | | [HttpGet] |
| | | public object SampleRecordBillHBarCode_KeyDown(string HBarCode, string HInterID, string UserID, string HBillType) |
| | | { |
| | | try |
| | | { |
| | | if (HBarCode == null || HBarCode.Equals("")) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "空ç½ç ,æ¡å½¢ç ä¸è½ä¸ºç©ºï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //æåæ¡å½¢ç |
| | | string sBillBarCode = HBarCode.Trim(); |
| | | string[] NewBarCode; |
| | | if (sBillBarCode.CompareTo("#") > 0) |
| | | { |
| | | NewBarCode = sBillBarCode.Split(Convert.ToChar("#")); |
| | | sBillBarCode = NewBarCode[0]; |
| | | } |
| | | string sBillNo = sBillBarCode; //æ¡å½¢ç |
| | | |
| | | string[] arr = sBillNo.Split('&'); //以符å·â&âå岿¡å½¢ç |
| | | string BillNo_PGD = arr[0]; //åæ®å· |
| | | string entryid_PGD = "";//åid |
| | | if (arr.Length > 1) |
| | | { |
| | | entryid_PGD = arr[1]; |
| | | } |
| | | |
| | | |
| | | //æªåæ¡ç ç±»å2 ååä½ |
| | | string BillNoType2 = BillNo_PGD.Substring(0, Math.Min(4, BillNo_PGD.Length)); |
| | | |
| | | switch (BillNoType2) |
| | | { |
| | | case "GXLX"://æµè½¬å¡ |
| | | string sErr = ""; |
| | | if (oSystemParameter.ShowBill(ref sErr)) |
| | | { |
| | | if (oSystemParameter.omodel.WMS_CampanyName == "ä¹ä¸") |
| | | { //ç³»ç»åæ°æ¯å¦ä¸ºåªæ¾ç¤ºå½åç»å½ç¨æ·å
³èçå·¥åºä¿¡æ¯,N为å¦ï¼Yä¸ºæ¯ |
| | | ds = oCN.RunProcReturn("select top 1 * from h_v_Sc_ProcessExchangeBillList where åæ®å·= '" + BillNo_PGD + "'", "h_v_Sc_ProcessExchangeBillList"); |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn("select top 1 * from h_v_Sc_ProcessExchangeBillList where åæ®å·= '" + BillNo_PGD + "'", "h_v_Sc_ProcessExchangeBillList"); |
| | | } |
| | | } |
| | | break; |
| | | default: |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¡ç é误!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | 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("MES_SampleRecordBill_PDA/SampleRecordList")] |
| | | [HttpGet] |
| | | public object SampleRecordList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦æç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log("QC_TestSampleCheckBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | string sql = "select * from h_v_QC_TestSampleCheckBillList where 1=1 " + sWhere + " order by æ¥æ "; |
| | | |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_TestSampleCheckBillList"); |
| | | |
| | | DataTable dt = ds.Tables[0]; |
| | | |
| | | //è·ååå |
| | | List<object> columnNameList = new List<object>(); |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.list = columnNameList; |
| | | objJsonResult.data = dt; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region è¯æ ·è®°å½æ°å¢ä¿å |
| | | [Route("MES_SampleRecordBill_PDA/SampleRecordAddBill")] |
| | | [HttpPost] |
| | | public object SampleRecordAddBill([FromBody] JObject oMain) |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | try |
| | | { |
| | | //ååºåå |
| | | string msg2 = "[" + sArray[0].ToString() + "]"; |
| | | string user = sArray[1].ToString();//ç¨æ·å |
| | | string OperationType = sArray[2].ToString();//ç±»å |
| | | |
| | | //夿æ¯å¦æç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log("QC_TestSampleCheckBill_Edit", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ç¼è¾æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | List<Model.ClsQC_TestSampleCheckBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsQC_TestSampleCheckBillMain>>(msg2); |
| | | string BillType = "7510"; |
| | | string HBillSubType = "7510"; |
| | | string eventType = list[0].eventType; |
| | | long HInterID = list[0].HInterID;//éå
¥typeå¾å°çåæ®ID |
| | | string HBillNo = list[0].HBillNo;//éå
¥typeå¾å°çåæ®å· |
| | | int HBillStatus = 1; |
| | | string HMaker = user;//å¶å人 |
| | | int HYear = DateTime.Now.Year; |
| | | double HPeriod = DateTime.Now.Month; |
| | | long HSourceID = list[0].HSourceID;//çäº§èµæº |
| | | long HICMOInterID = list[0].HICMOInterID;//ä»»å¡åID |
| | | string HICMOBillNo = list[0].HICMOBillNo;//ä»»å¡å |
| | | string HProcExchBillNo = list[0].HProcExchBillNo;//æå¼å¡ |
| | | long HMaterID = list[0].HMaterID;//产åID |
| | | long HUnitID = list[0].HUnitID;//计éåä½ |
| | | long HProcID = list[0].HProcID;//å·¥åºID |
| | | long HPRDORGID = list[0].HPRDORGID;//ç»ç»ID |
| | | long HLastResult = list[0].HLastResult;//è¯æ ·ç»è®º |
| | | |
| | | //忮宿´æ§å¤æ |
| | | if (HProcExchBillNo =="") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æµè½¬å¡æ²¡æéæ©ï¼è¯·æ«ææ¡å½¢ç æè¾å
¥æ¡å½¢ç åå车"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | var num = 0; |
| | | |
| | | oCN.BeginTran(); |
| | | if ("Add".Equals(eventType)) |
| | | { |
| | | num = 1; |
| | | |
| | | ds = oCN.RunProcReturn("select * from QC_TestSampleCheckBillMain where HBillNo='" + HBillNo + "'", "QC_TestSampleCheckBillMain"); |
| | | if (ds.Tables[0].Rows.Count == 1) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·éå¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | oCN.RunProc("Insert Into QC_TestSampleCheckBillMain " + |
| | | "(HBillType,HBillSubType,HInterID,HBillNo,HBillStatus,HDate,HMaker,HMakeDate" + |
| | | ",HYear,HPeriod,HMaterID,HSourceID,HICMOInterID,HICMOBillNo,HProcExchBillNo,HUnitID" + |
| | | ",HPRDORGID,HLastResult)" + |
| | | " values('" + BillType + "','" + HBillSubType + "'," + HInterID + ",'" + HBillNo + "'," + HBillStatus + ",getdate(),'" + HMaker + "',getdate()" + |
| | | "," + HYear + "," + HPeriod + ",'" + HMaterID + "','" + HSourceID + "'," + HICMOInterID + ",'" + HICMOBillNo + "','" + HProcExchBillNo + "'," + HUnitID + |
| | | "," + HPRDORGID + ",'" + HLastResult + "') "); |
| | | } |
| | | else |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æä½ç±»åæ æï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ°å¢åæ®æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region è¯æ ·è®°å½ å®¡æ ¸/åå®¡æ ¸åè½ |
| | | [Route("MES_SampleRecordBill_PDA/CheckSampleRecordBill")] |
| | | [HttpGet] |
| | | public object CheckSampleRecordBill(string HInterID, int Type, string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦æå 餿é |
| | | if (!DBUtility.ClsPub.Security_Log("QC_TestSampleCheckBill_Check", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (string.IsNullOrWhiteSpace(HInterID)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | BillOld.MvarItemKey = "QC_TestSampleCheckBillMain"; |
| | | oCN.BeginTran();//å¼å§äºå¡ |
| | | |
| | | //Type 1 å®¡æ ¸ 2 åå®¡æ ¸ |
| | | if (Type == 1) |
| | | { |
| | | //夿忮æ¯å¦å·²ç»å®¡æ ¸ |
| | | DataSet ds; |
| | | string sql = "select * from " + BillOld.MvarItemKey + " where HinterID = " + HInterID; |
| | | ds = oCN.RunProcReturn(sql, BillOld.MvarItemKey); |
| | | if (ds.Tables[0] != null && ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | if (ds.Tables[0].Rows[0]["HChecker"] != null && ds.Tables[0].Rows[0]["HChecker"].ToString() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·²å®¡æ ¸!ä¸éè¦åå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | //å®¡æ ¸åæ® |
| | | oCN.RunProc(" Update " + BillOld.MvarItemKey + " set HChecker='" + user + "',HCheckDate=getdate(),HBillStatus=2 Where HInterID=" + HInterID.ToString()); |
| | | |
| | | } |
| | | else |
| | | { |
| | | //夿忮æ¯å¦å·²ç»åå®¡æ ¸ |
| | | DataSet ds; |
| | | string sql = "select * from " + BillOld.MvarItemKey + " where HinterID = " + HInterID; |
| | | ds = oCN.RunProcReturn(sql, BillOld.MvarItemKey); |
| | | if (ds.Tables[0] != null && ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | if (ds.Tables[0].Rows[0]["HChecker"] == null || ds.Tables[0].Rows[0]["HChecker"].ToString() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已åå®¡æ ¸!ä¸éè¦ååå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | //åå®¡æ ¸åæ® |
| | | oCN.RunProc(" Update " + BillOld.MvarItemKey + " set HChecker='',HCheckDate=null,HBillStatus=1 Where HInterID=" + HInterID.ToString()); |
| | | } |
| | | |
| | | oCN.Commit();//æäº¤äºå¡ |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ§è¡æåï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; ; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ§è¡å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region è¯æ ·è®°å½ å é¤åè½ |
| | | [Route("MES_SampleRecordBill_PDA/DelSampleRecordBill")] |
| | | [HttpGet] |
| | | public object DelSampleRecordBill(Int64 lngBillKey, string user) |
| | | { |
| | | DataSet ds; |
| | | string ModRightNameCheck = "QC_TestSampleCheckBill_Detete"; |
| | | try |
| | | { |
| | | //å 餿é |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å é¤å¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®id为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | oCN.BeginTran();//å¼å§äºå¡ |
| | | ds = oCN.RunProcReturn("select * from QC_TestSampleCheckBillMain where HInterID=" + lngBillKey, "QC_TestSampleCheckBillMain"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ°æ®ï¼æ æ³å é¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; ; |
| | | } |
| | | string HChecker = Convert.ToString(ds.Tables[0].Rows[0]["HChecker"]); |
| | | if (HChecker != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已ç»å®¡æ ¸,ä¸è½å é¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | oCN.RunProc("delete from QC_TestSampleCheckBillMain where HInterID=" + lngBillKey); |
| | | |
| | | oCN.Commit();//æäº¤äºå¡ |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "* æ°æ®å 餿åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; ; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å é¤å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 对è²è®°å½ æ¥è¯¢å表 |
| | | [Route("ColorRecord/ColorRecordList")] |
| | | [HttpGet] |
| | | public object ColorRecordList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | |
| | | //夿æ¯å¦æç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log("QC_FirstPieceCheckBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥è¯¢æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | string sql = "select * from h_v_QC_FirstPieceCheckBillMainList where 1=1 " + sWhere + " order by æ¥æ "; |
| | | |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_FirstPieceCheckBillMainList"); |
| | | |
| | | DataTable dt = ds.Tables[0]; |
| | | |
| | | //è·ååå |
| | | List<object> columnNameList = new List<object>(); |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.list = columnNameList; |
| | | objJsonResult.data = dt; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 对è²è®°å½æ°å¢ä¿å |
| | | [Route("ColorRecord/ColorRecordAddBill")] |
| | | [HttpPost] |
| | | public object ColorRecordAddBill([FromBody] JObject oMain) |
| | | { |
| | | var _value = oMain["oMain"].ToString(); |
| | | string msg1 = _value.ToString(); |
| | | string[] sArray = msg1.Split(new string[] { ";" }, StringSplitOptions.RemoveEmptyEntries); |
| | | try |
| | | { |
| | | //ååºåå |
| | | string msg2 = "[" + sArray[0].ToString() + "]"; |
| | | string user = sArray[1].ToString();//ç¨æ·å |
| | | string OperationType = sArray[2].ToString();//ç±»å |
| | | |
| | | //夿æ¯å¦æç¼è¾æé |
| | | if (!DBUtility.ClsPub.Security_Log("QC_FirstPieceCheckBill_Edit", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ ç¼è¾æé!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | List<Model.ClsQC_FirstPieceCheckBillMain> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsQC_FirstPieceCheckBillMain>>(msg2); |
| | | string BillType = "7505"; |
| | | string HBillSubType = "7505"; |
| | | long HInterID = list[0].HInterID;//éå
¥typeå¾å°çåæ®ID |
| | | string HBillNo = list[0].HBillNo;//éå
¥typeå¾å°çåæ®å· |
| | | int HBillStatus = 1; |
| | | string HMaker = user;//å¶å人 |
| | | int HYear = DateTime.Now.Year; |
| | | double HPeriod = DateTime.Now.Month; |
| | | long HSourceID = list[0].HSourceID;//çäº§èµæº |
| | | long HICMOInterID = list[0].HICMOInterID;//ä»»å¡åID |
| | | string HICMOBillNo = list[0].HICMOBillNo;//ä»»å¡å |
| | | string HProcExchBillNo = list[0].HProcExchBillNo;//æå¼å¡ |
| | | long HMaterID = list[0].HMaterID;//产åID |
| | | //long HUnitID = list[0].HUnitID;//计éåä½ |
| | | long HProcID = list[0].HProcID;//å·¥åºID |
| | | long HPRDORGID = list[0].HPRDORGID;//ç»ç»ID |
| | | bool HLastResult = list[0].HLastResult;//è¯æ ·ç»è®º |
| | | |
| | | //忮宿´æ§å¤æ |
| | | if (HProcExchBillNo == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æµè½¬å¡æ²¡æéæ©ï¼è¯·æ«ææ¡å½¢ç æè¾å
¥æ¡å½¢ç åå车"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | var num = 0; |
| | | |
| | | oCN.BeginTran(); |
| | | if (OperationType=="1") |
| | | { |
| | | num = 1; |
| | | |
| | | ds = oCN.RunProcReturn("select * from QC_FirstPieceCheckBillMain where HBillNo='" + HBillNo + "'", "QC_FirstPieceCheckBillMain"); |
| | | if (ds.Tables[0].Rows.Count == 1) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·éå¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | oCN.RunProc("Insert Into QC_FirstPieceCheckBillMain " + |
| | | "(HBillType,HBillSubType,HInterID,HBillNo,HBillStatus,HDate,HMaker,HMakeDate" + |
| | | ",HYear,HPeriod,HMaterID,HSourceID,HICMOInterID,HICMOBillNo,HProcExchBillNo" + |
| | | ",HPRDORGID,HLastResult)" + |
| | | " values('" + BillType + "','" + HBillSubType + "'," + HInterID + ",'" + HBillNo + "'," + HBillStatus + ",getdate(),'" + HMaker + "',getdate()" + |
| | | "," + HYear + "," + HPeriod + ",'" + HMaterID + "','" + HSourceID + "'," + HICMOInterID + ",'" + HICMOBillNo + "','" + HProcExchBillNo + "'" + |
| | | "," + HPRDORGID + ",'" + HLastResult + "') "); |
| | | } |
| | | else |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æä½ç±»åæ æï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | oCN.Commit(); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ°å¢åæ®æåï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | oCN.RollBack(); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 对è²è®°å½ å®¡æ ¸/åå®¡æ ¸åè½ |
| | | [Route("ColorRecord/CheckColorRecordBill")] |
| | | [HttpGet] |
| | | public object CheckColorRecordBill(string HInterID, int Type, string user) |
| | | { |
| | | try |
| | | { |
| | | //夿æ¯å¦æå 餿é |
| | | if (!DBUtility.ClsPub.Security_Log("QC_FirstPieceCheckBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æéå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (string.IsNullOrWhiteSpace(HInterID)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | BillOld.MvarItemKey = "QC_FirstPieceCheckBillMain"; |
| | | oCN.BeginTran();//å¼å§äºå¡ |
| | | |
| | | //Type 1 å®¡æ ¸ 2 åå®¡æ ¸ |
| | | if (Type == 1) |
| | | { |
| | | //夿忮æ¯å¦å·²ç»å®¡æ ¸ |
| | | DataSet ds; |
| | | string sql = "select * from " + BillOld.MvarItemKey + " where HinterID = " + HInterID; |
| | | ds = oCN.RunProcReturn(sql, BillOld.MvarItemKey); |
| | | if (ds.Tables[0] != null && ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | if (ds.Tables[0].Rows[0]["HChecker"] != null && ds.Tables[0].Rows[0]["HChecker"].ToString() != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®å·²å®¡æ ¸!ä¸éè¦åå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | //å®¡æ ¸åæ® |
| | | oCN.RunProc(" Update " + BillOld.MvarItemKey + " set HChecker='" + user + "',HCheckDate=getdate(),HBillStatus=2 Where HInterID=" + HInterID.ToString()); |
| | | |
| | | } |
| | | else |
| | | { |
| | | //夿忮æ¯å¦å·²ç»åå®¡æ ¸ |
| | | DataSet ds; |
| | | string sql = "select * from " + BillOld.MvarItemKey + " where HinterID = " + HInterID; |
| | | ds = oCN.RunProcReturn(sql, BillOld.MvarItemKey); |
| | | if (ds.Tables[0] != null && ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | if (ds.Tables[0].Rows[0]["HChecker"] == null || ds.Tables[0].Rows[0]["HChecker"].ToString() == "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已åå®¡æ ¸!ä¸éè¦ååå®¡æ ¸!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | //åå®¡æ ¸åæ® |
| | | oCN.RunProc(" Update " + BillOld.MvarItemKey + " set HChecker='',HCheckDate=null,HBillStatus=1 Where HInterID=" + HInterID.ToString()); |
| | | } |
| | | |
| | | oCN.Commit();//æäº¤äºå¡ |
| | | |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "æ§è¡æåï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; ; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ§è¡å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 对è²è®°å½ å é¤åè½ |
| | | [Route("ColorRecord/DelColorRecordBill")] |
| | | [HttpGet] |
| | | public object DelColorRecordBill(Int64 lngBillKey, string user) |
| | | { |
| | | DataSet ds; |
| | | string ModRightNameCheck = "QC_FirstPieceCheckBill_Delete"; |
| | | try |
| | | { |
| | | //å 餿é |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å é¤å¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | if (lngBillKey == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ®id为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | |
| | | oCN.BeginTran();//å¼å§äºå¡ |
| | | ds = oCN.RunProcReturn("select * from QC_FirstPieceCheckBillMain where HInterID=" + lngBillKey, "QC_FirstPieceCheckBillMain"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ°æ®ï¼æ æ³å é¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; ; |
| | | } |
| | | string HChecker = Convert.ToString(ds.Tables[0].Rows[0]["HChecker"]); |
| | | if (HChecker != "") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "忮已ç»å®¡æ ¸,ä¸è½å é¤ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | oCN.RunProc("delete from QC_FirstPieceCheckBillMain where HInterID=" + lngBillKey); |
| | | |
| | | oCN.Commit();//æäº¤äºå¡ |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "* æ°æ®å 餿åï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; ; |
| | | |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å é¤å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region æ ¹æ®ç»å½ç¨æ·è·åå·¥åº |
| | | [Route("Sc_StationInBill/autoGetProcNo")] |
| | | [HttpGet] |
| | |
| | | ",HProcID_S,HCenterID_S,HWorkQty_S,HSubStdEmpQty_S,HMouldNo,HChangeMould" + |
| | | ",HPackStd,HPack,HPutArea,HMyWorkDays,HMyFixWorkDays,HPassRate" + |
| | | ",HTechnologyParameter,HPicNum,HProcCheckNote" + |
| | | ",HOverRate,HProcWorkNum,HBadWHID,HWasterWHID, HWHID,HEstimate,HIsTime " + |
| | | ",HOverRate,HProcWorkNum,HBadWHID,HWasterWHID, HWHID,HEstimate,HIsTime" + |
| | | ",HQCSchemeID_Fst,HQCSchemeID_Proc,HQCSchemeID_Patrol" + |
| | | ") values(" |
| | | + HInterID + "," + i + "," + oSub.HProcID.ToString() + ",'" + oSub.HProcNo + "'," + oSub.HSupID.ToString() + "," + Convert.ToString(oSub.HSupFlag ? 1 : 0) + "" + |
| | | "," + oSub.HWorkQty.ToString() + "," + oSub.HCenterID.ToString() + ",'" + oSub.HTimeUnit.ToString() + "'," + oSub.HUnitTime.ToString() + |
| | |
| | | "," + oSub.HProcID_S.ToString() + "," + oSub.HCenterID_S.ToString() + "," + oSub.HWorkQty_S.ToString() + ", " + oSub.HSubStdEmpQty_S.ToString() + ",'" + oSub.HMouldNo + "'," + oSub.HChangeMould.ToString() + |
| | | ",'" + oSub.HPackStd + "','" + oSub.HPack + "','" + oSub.HPutArea + "'," + oSub.HMyWorkDays.ToString() + "," + oSub.HMyFixWorkDays.ToString() + "," + oSub.HPassRate.ToString() + |
| | | ",'" + oSub.HTechnologyParameter.ToString() + "','" + oSub.HPicNum.ToString() + "','" + oSub.HProcCheckNote.ToString() + |
| | | "', " + oSub.HOverRate.ToString() + ",'" + oSub.HProcWorkNum.ToString() + "'," + oSub.HBadWHID.ToString() + "," + oSub.HWasterWHID.ToString() + "," + oSub.HWHID.ToString() + "," + oSub.HEstimate.ToString() + "," + Convert.ToString(oSub.HIsTime ? 1 : 0) + |
| | | "', " + oSub.HOverRate.ToString() + ",'" + oSub.HProcWorkNum.ToString() + "'," + oSub.HBadWHID.ToString() + "," + oSub.HWasterWHID.ToString() + "," + oSub.HWHID.ToString() + "," + oSub.HEstimate.ToString() + "," + Convert.ToString(oSub.HIsTime ? 1 : 0) + "," + oSub.HQCSchemeID_Fst + "," + |
| | | oSub.HQCSchemeID_Proc + "," + oSub.HQCSchemeID_Patrol + |
| | | ") "); |
| | | //计价æ¹å¼ä¸ä¸ºè®¡æ¶ï¼åæè®¡æ¶æä¼°åæ®µæ´æ°ä¸ºç©º |
| | | if (oSub.HIsTime == false) |
| | |
| | | // } |
| | | //} |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// é¦ä»¶æ£éªé»è¾å é¤åè½ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route("DeltetQC_FirstPieceCheck")] |
| | | [HttpGet] |
| | | public object DeltetQC_FirstPieceCheck(string HInterID, string user) |
| | | { |
| | | string ModRightNameCheck = "QC_FirstPieceCheckBill_Delete"; |
| | | try |
| | | { |
| | | //å 餿é |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å é¤å¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (string.IsNullOrWhiteSpace(HInterID)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //å¼å§äºç© |
| | | oCN.BeginTran(); |
| | | oCN.RunProc("Delete From QC_FirstPieceCheckBillMain where HInterID = " + HInterID); |
| | | oCN.RunProc("Delete From QC_FirstPieceCheckBillSub where HInterID = " + HInterID); |
| | | oCN.RunProc("Delete From QC_FirstPieceCheckBillSub_ValueGrid where HInterID = " + HInterID); |
| | | oCN.RunProc("Delete From QC_FirstPieceCheckBillSub_Result 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 = "å é¤å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region å·¡æ£ |
| | |
| | | string msg2 = sArray[0].ToString(); |
| | | string msg3 = sArray[1].ToString(); |
| | | string user = sArray[2].ToString(); |
| | | string badmsg = sArray[3].ToString(); |
| | | |
| | | |
| | | string UserName = ""; |
| | |
| | | oItemSub.HRelationQty = 0; |
| | | oItemSub.HRelationMoney = 0; |
| | | oItemSub.HCloseMan = ""; |
| | | oItemSub.HRemark = ""; |
| | | //oItemSub.HRemark = ""; |
| | | oBill.DetailColl.Add(oItemSub); |
| | | |
| | | } |
| | | badmsg = badmsg.Substring(1, badmsg.Length - 2); |
| | | badmsg = badmsg.Replace("\\", ""); |
| | | badmsg = badmsg.Replace("\n", ""); //\n |
| | | List<Model.ClsQC_PatrolProcCheckBillSub_BadReason> bs = new List<Model.ClsQC_PatrolProcCheckBillSub_BadReason>(); |
| | | bs = oListModels.getObjectByJson_ClsQC_PatrolProcCheckBillSub_BadReason(badmsg); |
| | | int j = 0; |
| | | foreach (Model.ClsQC_PatrolProcCheckBillSub_BadReason badSub in bs) |
| | | { |
| | | badSub.HBillNo_bak = oBill.omodel.HBillNo;//åæ®å·ï¼å¤ä»½ï¼ä»¥å
å
ç ä¸¢å¤±ï¼æ¾ä¸å°å¯¹åºä¸»è¡¨ï¼ |
| | | j++; |
| | | if (string.IsNullOrWhiteSpace(badSub.HBillNo_bak)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "ä¿åå¤±è´¥ï¼æ²¡å¤ä»½åæ®å·ï¼æ æ³ä¿åï¼"; |
| | | objJsonResult.data = 1; |
| | | return objJsonResult; |
| | | } |
| | | badSub.HInterID = oBill.omodel.HInterID; |
| | | badSub.HEntryID = j; |
| | | badSub.HSEQ = j; |
| | | oBill.DetailColl_Bad.Add(badSub); |
| | | } |
| | | |
| | | //ä¿å |
| | | //ä¿å宿¯åå¤ç |
| | | bool bResult; |
| | |
| | | try |
| | | { |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | string sql = "select c.HItemID HQCCheckItemID,c.HName æ£éªé¡¹ç®,b.HQCStd,b.HQCUnit HUnit,b.HAnalysisMethod,b.HStatus HResult from Gy_QCCheckProjectMain a left join Gy_QCCheckProjectSub b on a.HInterID = b.HInterID left join Gy_QCCheckItem c on b.HQCCheckItemID = c.HItemID where a.HInterID = " + CheckProjectID; |
| | | string sql = "select * from h_v_Gy_GetQCCheckItemByProject where hmainid = " + CheckProjectID; |
| | | ds = oCN.RunProcReturn(sql, "Gy_QCCheckProjectMain"); |
| | | if (ds == null || ds.Tables[0].Rows.Count <= 0) |
| | | { |
New file |
| | |
| | | using Newtonsoft.Json; |
| | | 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_PatrolProcCheckBillController : ApiController |
| | | { |
| | | public DBUtility.ClsPub.Enum_BillStatus BillStatus; |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | //è·åç³»ç»åæ° |
| | | Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | //è·åç³»ç»åæ° |
| | | Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); |
| | | |
| | | #region å·¥åºæ£éªåå表 |
| | | [Route("QC_ProcessCheckBill/QC_ProcessCheckBillList")] |
| | | [HttpGet] |
| | | public object QC_ProcessCheckBillList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | |
| | | string sql1 = "select * from h_v_QC_ProcessCheckBill where 1 = 1 "; |
| | | string sql = sql1 + sWhere + " order by hmainid desc"; |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_ProcessCheckBill"); |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | if (ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.list = columnNameList; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¥è¯¢å°æ°æ®"; |
| | | objJsonResult.list = columnNameList; |
| | | 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 |
| | | |
| | | /// <summary> |
| | | /// è¿åå·¥åºæ£éªåå表 |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("QC_ProcessCheckBill/GetProcessCheckBillList")] |
| | | [HttpGet] |
| | | public object GetProcessCheckBillList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | //æ¥çæé |
| | | if (!DBUtility.ClsPub.Security_Log("QC_ProcessCheckBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥çæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_QC_ProcessCheckBillListDetail order by hmainid desc ", "h_v_QC_ProcessCheckBillListDetail"); |
| | | } |
| | | else |
| | | { |
| | | string sql1 = "select * from h_v_QC_ProcessCheckBillListDetail where 1 = 1 "; |
| | | string sql = sql1 + sWhere + " order by hmainid desc "; |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_ProcessCheckBillListDetail"); |
| | | } |
| | | |
| | | //if (ds.Tables[0].Rows.Count != 0 || ds != null) |
| | | //{ |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | 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; |
| | | } |
| | | } |
| | | |
| | | |
| | | #region å·¥åºæ£éªåä¿å |
| | | /// <summary> |
| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |
| | | #region å·¥åºæ£éªåæ ¹æ®æºåç±»åè·åä¿¡æ¯-æºå为çäº§ç¶æä¸´æ¶è¡¨ï¼3722ï¼ |
| | | /// <summary> |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("QC_ProcessCheckBill/get_ICMOBillStatus_Tmp")] |
| | | [HttpGet] |
| | | public object get_ICMOBillStatus_Tmp(int HInterID, int HEntryID, string HBillType) |
| | | { |
| | | try |
| | | { |
| | | if (HInterID == 0 || HBillType.Equals("")) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ°ä¸å
¨ï¼è·åæºåä¿¡æ¯å¤±è´¥ï¼HInterIDï¼" + HInterID + "ï¼HEntryIDï¼" + HEntryID + "ï¼HBillTypeï¼" + HBillType + "ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn("exec h_p_QC_GetInfoByICMOStatusBill " + HInterID + "," + HEntryID + "," + HBillType, "h_p_QC_GetInfoByICMOStatusBill"); |
| | | } |
| | | 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 = "æ¥è¯¢æ°æ®å¼å¸¸ï¼è¯·ä¸ç®¡çåèç³»ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region å·¥åºæ£éªåOld |
| | | /// <summary> |
| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// è¿åå·¥åºæ£éªåå表 |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("QC_ProcessCheckBill/GetProcessCheckBillList")] |
| | | [HttpGet] |
| | | public object GetProcessCheckBillList(string sWhere,string user) |
| | | { |
| | | try |
| | | { |
| | | //æ¥çæé |
| | | if (!DBUtility.ClsPub.Security_Log("QC_ProcessCheckBill_Query", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ æ¥çæéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("select * from h_v_QC_ProcessCheckBillListDetail order by hmainid desc ", "h_v_QC_ProcessCheckBillListDetail"); |
| | | } |
| | | else |
| | | { |
| | | string sql1 = "select * from h_v_QC_ProcessCheckBillListDetail where 1 = 1 "; |
| | | string sql = sql1 + sWhere+ " order by hmainid desc "; |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_ProcessCheckBillListDetail"); |
| | | } |
| | | |
| | | //if (ds.Tables[0].Rows.Count != 0 || ds != null) |
| | | //{ |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | 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("QC_ProcessCheckBill/QC_ProcessCheckBillList")] |
| | | [HttpGet] |
| | | public object QC_ProcessCheckBillList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | |
| | | string sql1 = "select * from h_v_QC_ProcessCheckBill where 1 = 1 "; |
| | | string sql = sql1 + sWhere + " order by hmainid desc"; |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_ProcessCheckBill"); |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.list = columnNameList; |
| | | 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 |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | ///è¿åæ£éªå¼å表 |
| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | #region é¦ä»¶æ£éªåæ ¹æ®æºåç±»åè·åä¿¡æ¯-æºå为工åºåºç«å |
| | | [Route("QC_ProcessCheckBill/get_StationOutBill")] |
| | | [HttpGet] |
| | | public object get_StationOutBill(string HInterID, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | |
| | | string sReturn = ""; |
| | | string sql = ""; |
| | | if (oSystemParameter.ShowBill(ref sReturn)) |
| | | { |
| | | switch (oSystemParameter.omodel.QC_ProcessCheckBill_QCSchemeSource) |
| | | { |
| | | case "å·¥åº": |
| | | sql = "exec h_p_QC_ProcessCheck_GetStationOutBillList " + "'å·¥åº','" + HInterID + "'"; |
| | | break; |
| | | case "ç©æ": |
| | | sql = "exec h_p_QC_ProcessCheck_GetStationOutBillList " + "'ç©æ','" + HInterID + "'"; |
| | | break; |
| | | case "å·¥èºè·¯çº¿": |
| | | sql = "exec h_p_QC_ProcessCheck_GetStationOutBillList " + "'å·¥èºè·¯çº¿','" + HInterID + "'"; |
| | | break; |
| | | } |
| | | |
| | | } |
| | | ds = oCN.RunProcReturn(sql, "h_p_QC_ProcessCheck_GetStationOutBillList"); |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.list = columnNameList; |
| | | 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 å·¥åºæ£éªåæ ¹æ®æºåç±»åè·åä¿¡æ¯-æºå为çäº§ç¶æä¸´æ¶è¡¨ï¼3722ï¼ |
| | | /// <summary> |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("QC_ProcessCheckBill/get_ICMOBillStatus_Tmp")] |
| | | [HttpGet] |
| | | public object get_ICMOBillStatus_Tmp(int HInterID, int HEntryID, string HBillType) |
| | | { |
| | | try |
| | | { |
| | | if (HInterID == 0 || HBillType.Equals("")) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ°ä¸å
¨ï¼è·åæºåä¿¡æ¯å¤±è´¥ï¼HInterIDï¼" + HInterID + "ï¼HEntryIDï¼" + HEntryID + "ï¼HBillTypeï¼" + HBillType + "ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn("exec h_p_QC_GetInfoByICMOStatusBill " + HInterID + "," + HEntryID + "," + HBillType, "h_p_QC_GetInfoByICMOStatusBill"); |
| | | } |
| | | 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 = "æ¥è¯¢æ°æ®å¼å¸¸ï¼è¯·ä¸ç®¡çåèç³»ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | private json objJsonResult = new json(); |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | DataSet ds; |
| | | //è·åç³»ç»åæ° |
| | | Pub_Class.ClsXt_SystemParameter oSystemParameter = new Pub_Class.ClsXt_SystemParameter(); |
| | | |
| | | #region é¦ä»¶æ£éªåå表 |
| | | [Route("QC_FirstPieceCheckBill/QC_FirstPieceCheckBillList")] |
| | | [HttpGet] |
| | | public object QC_FirstPieceCheckBillList(string sWhere, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | |
| | | string sql1 = "select * from h_v_QC_FirstPieceCheckBill where 1 = 1 "; |
| | | string sql = sql1 + sWhere + " order by hmainid desc"; |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_FirstPieceCheckBill"); |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | if (ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.list = columnNameList; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ²¡ææ¥è¯¢å°æ°æ®"; |
| | | objJsonResult.list = columnNameList; |
| | | 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("QC_FirstPieceCheckBill/set_SaveBill")] |
| | |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region é¦ä»¶æ£éªåæ ¹æ®æºåç±»åè·åä¿¡æ¯-æºå为çäº§ç¶æä¸´æ¶è¡¨ï¼3722ï¼ |
| | | /// <summary> |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("QC_FirstPieceCheckBill/get_ICMOBillStatus_Tmp")] |
| | | [HttpGet] |
| | | public object get_ICMOBillStatus_Tmp(int HInterID,int HEntryID,string HBillType) |
| | | { |
| | | try |
| | | { |
| | | if (HInterID == 0 || HBillType.Equals("")) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ°ä¸å
¨ï¼è·åæºåä¿¡æ¯å¤±è´¥ï¼HInterIDï¼"+ HInterID+ "ï¼HEntryIDï¼"+ HEntryID + "ï¼HBillTypeï¼"+ HBillType+"ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn("exec h_p_QC_GetInfoByICMOStatusBill " + HInterID + "," + HEntryID + "," + HBillType, "h_p_QC_GetInfoByICMOStatusBill"); |
| | | } |
| | | 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 = "æ¥è¯¢æ°æ®å¼å¸¸ï¼è¯·ä¸ç®¡çåèç³»ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region æ£éªå¼ä¿å |
| | | [Route("QC_FirstPieceCheckBill/set_SaveValue")] |
| | |
| | | } |
| | | } |
| | | |
| | | #region é¦ä»¶æ£éªåå表 |
| | | [Route("QC_FirstPieceCheckBill/QC_FirstPieceCheckBillList")] |
| | | /// <summary> |
| | | /// é¦ä»¶æ£éªé»è¾å é¤åè½ |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route("DeltetQC_FirstPieceCheck")] |
| | | [HttpGet] |
| | | public object QC_FirstPieceCheckBillList(string sWhere, string user) |
| | | public object DeltetQC_FirstPieceCheck(string HInterID, string user) |
| | | { |
| | | string ModRightNameCheck = "QC_FirstPieceCheckBill_Delete"; |
| | | try |
| | | { |
| | | //å 餿é |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "å é¤å¤±è´¥ï¼æ æéï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | if (string.IsNullOrWhiteSpace(HInterID)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "HInterID为空ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | //å¼å§äºç© |
| | | oCN.BeginTran(); |
| | | oCN.RunProc("Delete From QC_FirstPieceCheckBillMain where HInterID = " + HInterID); |
| | | oCN.RunProc("Delete From QC_FirstPieceCheckBillSub where HInterID = " + HInterID); |
| | | oCN.RunProc("Delete From QC_FirstPieceCheckBillSub_ValueGrid where HInterID = " + HInterID); |
| | | oCN.RunProc("Delete From QC_FirstPieceCheckBillSub_Result 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 = "å é¤å¤±è´¥ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | #region é¦ä»¶æ£éªåæ ¹æ®æºåç±»åè·åä¿¡æ¯-æºå为工åºè¿ç«å |
| | | [Route("QC_FirstPieceCheckBill/get_StationInBill")] |
| | | [HttpGet] |
| | | public object get_StationInBill(string HInterID, string user) |
| | | { |
| | | try |
| | | { |
| | | List<object> columnNameList = new List<object>(); |
| | | |
| | | string sql1 = "select * from h_v_QC_FirstPieceCheckBill where 1 = 1 "; |
| | | string sql = sql1 + sWhere + " order by hmainid desc"; |
| | | ds = oCN.RunProcReturn(sql, "h_v_QC_FirstPieceCheckBill"); |
| | | string sReturn = ""; |
| | | string sql = ""; |
| | | if (oSystemParameter.ShowBill(ref sReturn)) |
| | | { |
| | | switch (oSystemParameter.omodel.QC_FirstPieceCheckBill_QCSchemeSource) |
| | | { |
| | | case "å·¥åº": |
| | | sql = "exec h_p_QC_FirstPiece_GetStationInBillList " + "'å·¥åº','" + HInterID + "'"; |
| | | break; |
| | | case "ç©æ": |
| | | sql = "exec h_p_QC_FirstPiece_GetStationInBillList " + "'ç©æ','" + HInterID + "'"; |
| | | break; |
| | | case "å·¥èºè·¯çº¿": |
| | | sql = "exec h_p_QC_FirstPiece_GetStationInBillList " + "'å·¥èºè·¯çº¿','" + HInterID + "'"; |
| | | break; |
| | | } |
| | | |
| | | } |
| | | |
| | | ds = oCN.RunProcReturn(sql, "h_p_QC_FirstPiece_GetStationInBillList"); |
| | | |
| | | //æ·»å åå |
| | | foreach (DataColumn col in ds.Tables[0].Columns) |
| | | { |
| | |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList.Add(JsonConvert.DeserializeObject(ColmString));//è·åå°DataColumnå对象çåå |
| | | } |
| | | |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.list = columnNameList; |
| | | objJsonResult.data = ds.Tables[0]; |
| | | return objJsonResult; |
| | | objJsonResult.list = columnNameList; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.Message = "æ¥è¯¢æ°æ®å¼å¸¸ï¼è¯·ä¸ç®¡çåèç³»ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region é¦ä»¶æ£éªåæ ¹æ®æºåç±»åè·åä¿¡æ¯-æºå为çäº§ç¶æä¸´æ¶è¡¨ï¼3722ï¼ |
| | | /// <summary> |
| | | ///åæ°ï¼string sqlã |
| | | ///è¿åå¼ï¼objectã |
| | | /// </summary> |
| | | [Route("QC_FirstPieceCheckBill/get_ICMOBillStatus_Tmp")] |
| | | [HttpGet] |
| | | public object get_ICMOBillStatus_Tmp(int HInterID, int HEntryID, string HBillType) |
| | | { |
| | | try |
| | | { |
| | | if (HInterID == 0 || HBillType.Equals("")) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "åæ°ä¸å
¨ï¼è·åæºåä¿¡æ¯å¤±è´¥ï¼HInterIDï¼" + HInterID + "ï¼HEntryIDï¼" + HEntryID + "ï¼HBillTypeï¼" + HBillType + "ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | else |
| | | { |
| | | ds = oCN.RunProcReturn("exec h_p_QC_GetInfoByICMOStatusBill " + HInterID + "," + HEntryID + "," + HBillType, "h_p_QC_GetInfoByICMOStatusBill"); |
| | | } |
| | | 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 = "æ¥è¯¢æ°æ®å¼å¸¸ï¼è¯·ä¸ç®¡çåèç³»ï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | |
| | | ",HKeepDays,HPlanPrice,HstdPrice,HQtyMin,HQtyMax" + |
| | | ",HSubjoin,HSubjoin2,HColor,HVersion,HEngName,HEngModel,HPropertyTypeID,HSPGroupID,HSPID,HMinPickQty,HUSEORGID,HERPItemID" + |
| | | ",HSALEUNITID,HSALEPRICEUNITID,HBASEUNITID,HSTOREUNITID,HCHECKINCOMING,HCHECKPRODUCT,HPERUNITSTANDHOUR" + |
| | | ",HSTDLABORPREPARETIME,HSTDMACHINEPREPARETIME,HWidth,HWeight,HColorRemark) " + |
| | | ",HSTDLABORPREPARETIME,HSTDMACHINEPREPARETIME,HWidth,HWeight,HColorRemark,HQCSchemeID_Fst,HQCSchemeID_Proc,HQCSchemeID_Patrol) " + |
| | | " Values('" + oModel.HNumber + "','" + oModel.HName + "','" + oModel.HHelpCode + "','" + oModel.HShortNumber + "'," + oModel.HParentID.ToString() + |
| | | ", " + oModel.HLevel.ToString() + "," + Convert.ToString(oModel.HEndFlag ? 1 : 0) + "," + Convert.ToString(oModel.HStopflag ? 1 : 0) + ",'" + oModel.HRemark + "'" + |
| | | ",'" + oModel.HModel + "'," + oModel.HUnitID.ToString() + "," + oModel.HMaterClsID.ToString() + "," + oModel.HMaterTypeID.ToString() + "," + oModel.HUnitGroupID.ToString() + |
| | | ", " + oModel.HWhID.ToString() + "," + oModel.HRoutingID.ToString() + "," + oModel.HBomID.ToString() + "," + oModel.HSecUnitID.ToString() + "," + oModel.HSecUnitRate.ToString() + |
| | | ", " + oModel.HHighStock.ToString() + "," + oModel.HLowStock.ToString() + "," + oModel.HSafeStock.ToString() + "," + oModel.HOrderPrice.ToString() + ",'" + oModel.HSalePrice + "'" + |
| | | ", " + oModel.HKeepDays.ToString() + "," + oModel.HPlanPrice.ToString() + "," + oModel.HstdPrice.ToString() + "," + oModel.HQtyMin.ToString() + "," + oModel.HQtyMax.ToString() + |
| | | ",'" + oModel.HSubjoin + "','" + oModel.HSubjoin2 + "','" + oModel.HColor + "','" + oModel.HVersion + "','" + oModel.HEngName + "','" + oModel.HEngModel + "'," + oModel.HPropertyTypeID.ToString() + "," + oModel.HSPGroupID.ToString() + "," + oModel.HSPID.ToString() + "," + oModel.HMinPickQty.ToString() + "," + oModel.HUSEORGID + "," + oModel.HERPItemID + "," + oModel.HSALEUNITID + "," + oModel.HSALEPRICEUNITID + "," + oModel.HBASEUNITID + "," + oModel.HSTOREUNITID + "," + oModel.HCHECKINCOMING + "," + oModel.HCHECKPRODUCT + "," + oModel.HPERUNITSTANDHOUR + "," + oModel.HSTDLABORPREPARETIME + "," + oModel.HSTDMACHINEPREPARETIME + ","+ oModel.HWidth + "," + oModel.HWeight + ",'"+ oModel.HColorRemark + "')", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | ",'" + oModel.HSubjoin + "','" + oModel.HSubjoin2 + "','" + oModel.HColor + "','" + oModel.HVersion + "','" + oModel.HEngName + "','" + oModel.HEngModel + "'," + oModel.HPropertyTypeID.ToString() + "," + oModel.HSPGroupID.ToString() + "," + oModel.HSPID.ToString() + "," + oModel.HMinPickQty.ToString() + "," + oModel.HUSEORGID + "," + oModel.HERPItemID + "," + oModel.HSALEUNITID + "," + oModel.HSALEPRICEUNITID + "," + oModel.HBASEUNITID + "," + oModel.HSTOREUNITID + "," + oModel.HCHECKINCOMING + "," + oModel.HCHECKPRODUCT + "," + oModel.HPERUNITSTANDHOUR + "," + oModel.HSTDLABORPREPARETIME + "," + oModel.HSTDMACHINEPREPARETIME + ","+ oModel.HWidth + "," + oModel.HWeight + ",'"+ oModel.HColorRemark + "'," + oModel.HQCSchemeID_Fst + "," |
| | | + oModel.HQCSchemeID_Proc + "," + oModel.HQCSchemeID_Patrol + ")", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹ä¸çº§ä¸ºéæ«çº§ä»£ç |
| | | oCn.RunProc("Update " + MvarItemKey + " set HEndflag=0 where HItemID=" + oModel.HParentID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | oCn.Commit(); |
| | |
| | | ",HWeight=" + oModel.HWeight.ToString() + |
| | | ",HWidth=" + oModel.HWidth.ToString() + |
| | | ",HColorRemark='" + oModel.HColorRemark.ToString() + "'" + |
| | | ",HQCSchemeID_Fst= " + oModel.HQCSchemeID_Fst + |
| | | ",HQCSchemeID_Proc= " + oModel.HQCSchemeID_Proc + |
| | | ",HQCSchemeID_Patrol= " + oModel.HQCSchemeID_Patrol + |
| | | ",HSTDMACHINEPREPARETIME=" + oModel.HSTDMACHINEPREPARETIME.ToString() + "Where HItemID=" + sItemID, ref DBUtility.ClsPub.sExeReturnInfo); |
| | | //ä¿®æ¹å项ç®ä»£ç |
| | | oCn.RunProc("exec h_p_Gy_UpdateNumber '" + MvarItemKey + "','" + oModel.HNumber + ".','" + this.HOldNumber + ".'", ref DBUtility.ClsPub.sExeReturnInfo); |
| | |
| | | { |
| | | public Model.ClsQC_PatrolProcCheckBillMain omodel = new Model.ClsQC_PatrolProcCheckBillMain(); |
| | | public List<Model.ClsQC_PatrolProcCheckBillSub> DetailColl = new List<Model.ClsQC_PatrolProcCheckBillSub>(); |
| | | public List<Model.ClsQC_PatrolProcCheckBillSub_BadReason> DetailColl_Bad = new List<Model.ClsQC_PatrolProcCheckBillSub_BadReason>(); |
| | | //public List<Model.ClsQC_PatrolProcCheckBillSub_Item> DetailColl1 = new List<Model.ClsQC_PatrolProcCheckBillSub_Item>(); |
| | | public ClsQC_PatrolProcCheckBill() |
| | | { |
| | | base.MvarItemKeySub = "QC_PatrolProcCheckBillSub"; |
| | | base.MvarItemKeySub2 = ""; |
| | | base.MvarItemKeySub2 = "QC_PatrolProcCheckBillSub_BadReason"; |
| | | base.MvarItemKeySub3 = ""; |
| | | base.MvarItemKeySub4 = ""; |
| | | base.MvarItemKey="QC_PatrolProcCheckBillMain"; |
| | |
| | | //",HCloseType="+omodel.HCloseType.ToString()+ |
| | | //",HDeleteMan='" + omodel.HDeleteMan + "'" + |
| | | //",HDeleteDate='" + omodel.HDeleteDate + "'" + |
| | | ",HPrintQty=" + omodel.HPrintQty.ToString() + |
| | | //",HPrintQty=" + omodel.HPrintQty.ToString() + |
| | | //======================================== |
| | | //",HSupID=" + omodel.HSupID.ToString() + |
| | | //",HEmpID=" + omodel.HEmpID.ToString() + |
| | | ",HSourceID=" + omodel.HSourceID.ToString() + |
| | | ",HICMOInterID=" + omodel.HICMOInterID.ToString() + |
| | | ",HICMOBillNo='" + omodel.HICMOBillNo + "'" + |
| | | ",HICMOQty=" + omodel.HICMOQty.ToString() + |
| | | ",HProcExchInterID=" + omodel.HICMOQty.ToString() + |
| | | ",HProcExchEntryID=" + omodel.HICMOQty.ToString() + |
| | | ",HProcExchBillNo='" + omodel.HProcExchBillNo + "'" + |
| | | ",HProcExchQty=" + omodel.HICMOQty.ToString() + |
| | | ",HMaterID=" + omodel.HMaterID.ToString() + |
| | | //",HSourceID=" + omodel.HSourceID.ToString() + |
| | | //",HICMOInterID=" + omodel.HICMOInterID.ToString() + |
| | | //",HICMOBillNo='" + omodel.HICMOBillNo + "'" + |
| | | //",HICMOQty=" + omodel.HICMOQty.ToString() + |
| | | //",HProcExchInterID=" + omodel.HICMOQty.ToString() + |
| | | //",HProcExchEntryID=" + omodel.HICMOQty.ToString() + |
| | | //",HProcExchBillNo='" + omodel.HProcExchBillNo + "'" + |
| | | //",HProcExchQty=" + omodel.HICMOQty.ToString() + |
| | | //",HMaterID=" + omodel.HMaterID.ToString() + |
| | | ",HFirstCheckEmp=" + omodel.HFirstCheckEmp.ToString() + |
| | | ",HMainProcID=" + omodel.HMainProcID.ToString() + |
| | | " where HInterID=" + lngBillKey.ToString(); |
| | | //æ´æ°ä¸»è¡¨ |
| | | oCn.RunProc(sqlerro); |
| | |
| | | DeleteRelation(ref sReturn, lngBillKey); |
| | | //å é¤å表 |
| | | DeleteBillSub(lngBillKey); |
| | | //å é¤å表2 |
| | | DeleteBillSub2(lngBillKey); |
| | | //æå
¥å表 |
| | | omodel.HInterID = lngBillKey; |
| | | //æå
¥å表 |
| | | foreach (Model.ClsQC_PatrolProcCheckBillSub oSub in DetailColl) |
| | | { |
| | | oCn.RunProc("Insert into QC_PatrolProcCheckBillSub " + |
| | |
| | | ",HEntryCloseDate,HCloseType,HRemark,HSourceInterID" + |
| | | ",HSourceEntryID,HSourceBillNo,HSourceBillType,HRelationQty,HRelationMoney" + |
| | | ",HQCCheckItemID,HQCStd,HQCNote1,HQCNote2,HQCNote3,HQCNote4" + |
| | | ",HQCNote5,HQCNote6,HQCNote7,HQCNote8,HQCNote9,HQCNote10"+ |
| | | ",HQCNote5,HQCNote6,HQCNote7,HQCNote8,HQCNote9,HQCNote10" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + ",'" + oSub.HBillNo_bak + "'," + oSub.HEntryID.ToString() + ",'" + oSub.HCloseMan + "'" + |
| | | ",getdate()," + Convert.ToString(oSub.HCloseType ? 1 : 0) + ",'" + oSub.HRemark + "'," + oSub.HSourceInterID.ToString() + |
| | | "," + oSub.HSourceEntryID.ToString() + ",'" + oSub.HSourceBillNo + "','" + oSub.HSourceBillType + "'," + oSub.HRelationQty.ToString() + "," + oSub.HRelationMoney.ToString() + |
| | | "," + oSub.HQCCheckItemID.ToString() + ",'" + oSub.HQCStd + "','" + oSub.HQCNote1 + "','" + oSub.HQCNote2 + "','" + oSub.HQCNote3+ "','" + oSub.HQCNote4+ "'" + |
| | | ",'" + oSub.HQCNote5+ "','" + oSub.HQCNote6 + "','" + oSub.HQCNote7 + "','" + oSub.HQCNote8 + "','" + oSub.HQCNote9 + "','" + oSub.HQCNote10 + "'" + |
| | | "," + oSub.HQCCheckItemID.ToString() + ",'" + oSub.HQCStd + "','" + oSub.HQCNote1 + "','" + oSub.HQCNote2 + "','" + oSub.HQCNote3 + "','" + oSub.HQCNote4 + "'" + |
| | | ",'" + oSub.HQCNote5 + "','" + oSub.HQCNote6 + "','" + oSub.HQCNote7 + "','" + oSub.HQCNote8 + "','" + oSub.HQCNote9 + "','" + oSub.HQCNote10 + "'" + |
| | | ") "); |
| | | } |
| | | |
| | | //æå
¥å表2 |
| | | foreach (Model.ClsQC_PatrolProcCheckBillSub_BadReason oBad in DetailColl_Bad) |
| | | { |
| | | oCn.RunProc("Insert into QC_PatrolProcCheckBillSub_BadReason " + |
| | | " (HInterID,HBillNo_bak,HEntryID,HSEQ" + |
| | | ",HCreateDate,HBadReasonID,HEmpID,HProcID" + |
| | | ",HCheckEmpID,HFinishDate,HMaterID,HQty,HRemark" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + ",'" + oBad.HBillNo_bak + "'," + oBad.HEntryID + "," + oBad.HSEQ + ",'" + oBad.HCreateDate + "'," |
| | | + oBad.HBadReasonID + "," + oBad.HEmpID + "," + oBad.HProcID + "," + oBad.HCheckEmpID + ",'" + oBad.HFinishDate + "'," |
| | | + oBad.HMaterID + "," + oBad.HQty + ",'" + oBad.HRemark + "'" |
| | | + ") "); |
| | | } |
| | | //foreach (Model.ClsQC_PatrolProcCheckBillSub_Item oSub2 in DetailColl1) |
| | | //{ |
| | |
| | | "(HBillType,HBillSubType,HInterID,HBillNo,HBillStatus,HDate,HMaker,HMakeDate" + |
| | | ",HYear,HPeriod,HRemark" + |
| | | ",HSourceID,HICMOInterID,HICMOBillNo,HICMOQty,HProcExchInterID,HProcExchEntryID" + |
| | | ",HProcExchBillNo,HProcExchQty,HMaterID,HFirstCheckEmp" + |
| | | ",HProcExchBillNo,HProcExchQty,HMaterID,HFirstCheckEmp,HMainProcID" + |
| | | ") " + |
| | | " values('" + this.BillType + "','" + this.HBillSubType + "'," + omodel.HInterID.ToString() + ",'" + omodel.HBillNo + "'," + omodel.HBillStatus.ToString() + ",'" + omodel.HDate + "','" + DBUtility.ClsPub.CurUserName + "',getdate()" + |
| | | "," + omodel.HYear.ToString() + "," + omodel.HPeriod.ToString() + ",'" + omodel.HRemark + "'" + |
| | | "," + omodel.HSourceID.ToString() + "," + omodel.HICMOInterID.ToString() + ",'" + omodel.HICMOBillNo + "'," + omodel.HICMOQty.ToString() + "," + omodel.HProcExchInterID.ToString() + "," + omodel.HProcExchEntryID.ToString() + |
| | | ",'" + omodel.HProcExchBillNo + "'," + omodel.HProcExchQty.ToString() + "," + omodel.HMaterID.ToString() + "," + omodel.HFirstCheckEmp.ToString() + |
| | | ",'" + omodel.HProcExchBillNo + "'," + omodel.HProcExchQty.ToString() + "," + omodel.HMaterID.ToString() + "," + omodel.HFirstCheckEmp.ToString() + "," + omodel.HMainProcID + |
| | | ") "); |
| | | //æå
¥å表 |
| | | foreach (Model.ClsQC_PatrolProcCheckBillSub oSub in DetailColl) |
| | |
| | | ",'" + oSub.HQCNote5 + "','" + oSub.HQCNote6 + "','" + oSub.HQCNote7 + "','" + oSub.HQCNote8 + "','" + oSub.HQCNote9 + "','" + oSub.HQCNote10 + "'" + |
| | | ") "); |
| | | } |
| | | //æå
¥å表2 |
| | | foreach (Model.ClsQC_PatrolProcCheckBillSub_BadReason oBad in DetailColl_Bad) |
| | | { |
| | | oCn.RunProc("Insert into QC_PatrolProcCheckBillSub_BadReason " + |
| | | " (HInterID,HBillNo_bak,HEntryID,HSEQ" + |
| | | ",HCreateDate,HBadReasonID,HEmpID,HProcID" + |
| | | ",HCheckEmpID,HFinishDate,HMaterID,HQty,HRemark" + |
| | | ") values(" |
| | | + omodel.HInterID.ToString() + ",'" + oBad.HBillNo_bak + "'," + oBad.HEntryID + "," + oBad.HSEQ + ",'" + oBad.HCreateDate + "'," |
| | | + oBad.HBadReasonID + "," + oBad.HEmpID + "," + oBad.HProcID + "," + oBad.HCheckEmpID + ",'" + oBad.HFinishDate + "'," |
| | | + oBad.HMaterID + "," + oBad.HQty + ",'" + oBad.HRemark + "'" |
| | | + ") "); |
| | | } |
| | | //foreach (Model.ClsQC_PatrolProcCheckBillSub_Item oSub2 in DetailColl1) |
| | | //{ |
| | | // oCn.RunProc("Insert into QC_PatrolProcCheckBillSub_Item " + |
| | |
| | | return list; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¤çæ°å¢å·¡æ£åå表çjson |
| | | /// </summary> |
| | | /// <param name="jsonString"></param> |
| | | /// <returns></returns> |
| | | public List<Model.ClsQC_PatrolProcCheckBillSub_BadReason> getObjectByJson_ClsQC_PatrolProcCheckBillSub_BadReason(string jsonString) |
| | | { |
| | | jsonString = "[" + jsonString.ToString() + "]"; |
| | | List<Model.ClsQC_PatrolProcCheckBillSub_BadReason> list = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Model.ClsQC_PatrolProcCheckBillSub_BadReason>>(jsonString); |
| | | return list; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¤çæ°å¢æ¨¡å
·ç»´ä¿®ä¸»è¡¨çjson |
| | |
| | | public double HPERUNITSTANDHOUR; //æ åå·¥æ¶ |
| | | public double HSTDLABORPREPARETIME; //æ å人ååå¤å·¥æ¶ |
| | | public double HSTDMACHINEPREPARETIME; //æ åæºå¨åå¤å·¥æ¶ |
| | | |
| | | public int HQCSchemeID_Fst; |
| | | public int HQCSchemeID_Proc; |
| | | public int HQCSchemeID_Patrol; |
| | | } |
| | | } |
| | |
| | | |
| | | public double HEstimate;//è®¡æ¶æä¼° |
| | | public bool HIsTime;//æ¯å¦è®¡æ¶ |
| | | |
| | | public int HQCSchemeID_Fst; |
| | | public int HQCSchemeID_Proc; |
| | | public int HQCSchemeID_Patrol; |
| | | } |
| | | } |
| | |
| | | public long HWWBadWHID { get; set; } |
| | | public long HWWWasterWHID { get; set; } |
| | | public long HWHID { get; set; } |
| | | public int HQCSchemeID_Fst { get; set; } |
| | | public int HQCSchemeID_Proc { get; set; } |
| | | public int HQCSchemeID_Patrol { get; set; } |
| | | } |
| | | } |
| | |
| | | <Compile Include="Controllers\忥èªå¨æ«ç 线\ScanlineAPIController.cs" /> |
| | | <Compile Include="Controllers\å质管ç\产线质æ£å¹³å°\Sc_ICMOBillQualityStatus_TmpController.cs" /> |
| | | <Compile Include="Controllers\å质管ç\产线è¿ä¿®å¹³å°\Sc_SourceLineRepairBillController.cs" /> |
| | | <Compile Include="Controllers\å质管ç\客è¯å¤çå\Crm_CustomerAppealBillController.cs" /> |
| | | <Compile Include="Controllers\å质管ç\å·¡æ£å\QC_PatrolProcCheckBillController.cs" /> |
| | | <Compile Include="Controllers\åºç¡èµæ\åºç¡èµæ\Gy_COMMONCONTACTBillController.cs" /> |
| | | <Compile Include="Controllers\åºç¡èµæ\åºç¡èµæ\Gy_CustLocationController.cs" /> |
| | | <Compile Include="Controllers\åºç¡èµæ\åºç¡èµæ\Gy_DutyBillController.cs" /> |
| | |
| | | <Folder Include="Views\ProductionPlanReport\" /> |
| | | <Folder Include="Views\ProductionReturnBill\" /> |
| | | <Folder Include="Views\QC_Management\" /> |
| | | <Folder Include="Views\QC_PatrolProcCheckBill\" /> |
| | | <Folder Include="Views\Sb_EquipRepairSendWorkBill\" /> |
| | | <Folder Include="Views\Sb_EquipSparepartsBill\" /> |
| | | <Folder Include="Views\Sb_EquipSparepartsChangeBill\" /> |