| | |
| | | public double HFixPrice;// money //ç产å®é¢ (8å°æ¶å·¥èµ) New |
| | | public double HOverFixPrice;// money //å ç补贴å®é¢ ï¼8å°æ¶å·¥èµï¼ New |
| | | public Int64 HProcMulID;//New |
| | | public string HProcNo; |
| | | } |
| | | } |
| | |
| | | { |
| | | base.MvarReportTitle = "å·¥åºè®¾ç½®"; |
| | | base.MvarItemKey = "h_v_IF_Process"; |
| | | base.SQLName = "Select HItemID,HNumber å·¥åºä»£ç ,HName å·¥åº from h_v_IF_Process where HStopflag=0 "; |
| | | base.SQLName = "Select HItemID,HNumber å·¥åºä»£ç ,HName å·¥åº,HProcNo å·¥åºå· from h_v_IF_Process where HStopflag=0 "; |
| | | base.SQLOrder = " Order by HItemID "; |
| | | base.SQLList = "Select top 100 * from " + MvarItemKey + " "; |
| | | //䏿SQL |
| | | base.SQLNameForDown = " Select top 30 HItemID,HNumber å·¥åºä»£ç ,HName å·¥åº from h_v_IF_Process "; |
| | | base.SQLNameForDown = " Select top 30 HItemID,HNumber å·¥åºä»£ç ,HName å·¥åº,HProcNo å·¥åºå· from h_v_IF_Process "; |
| | | base.SQLOrderForDown = " Order by HNumber "; |
| | | base.SQLWhereForDown = " where HStopflag=0 "; |
| | | } |
| | |
| | | omodel.HStopflag = DBUtility.ClsPub.isBool(DS.Tables[0].Rows[0]["HStopflag"]); |
| | | omodel.HBarCode = DS.Tables[0].Rows[0]["HBarCode"].ToString().Trim(); |
| | | omodel.HRemark = DBUtility.ClsPub.isStrNull(DS.Tables[0].Rows[0]["HRemark"]); |
| | | omodel.HProcNo = DS.Tables[0].Rows[0]["HProcNo"].ToString().Trim(); |
| | | return true; |
| | | |
| | | } |
| | |
| | | oModel.HItemID = Pub_Class.ClsPub.isLong(ofrm.grdShow.Rows[ofrm.grdShow.CurrentRow.Index].Cells[0].Value); |
| | | oModel.HNumber = Pub_Class.ClsPub.isStrNull(ofrm.grdShow.Rows[ofrm.grdShow.CurrentRow.Index].Cells[1].Value); |
| | | oModel.HName = Pub_Class.ClsPub.isStrNull(ofrm.grdShow.Rows[ofrm.grdShow.CurrentRow.Index].Cells[2].Value); |
| | | oModel.HRemark = Pub_Class.ClsPub.isStrNull(ofrm.grdShow.Rows[ofrm.grdShow.CurrentRow.Index].Cells[3].Value); |
| | | } |
| | | else |
| | | { |
| | |
| | | public Pub_Class.ClsPub.Enum_InputMode InputMode; //å½å
¥ç¶ææ å¿(0-éå½å
¥ç¶æ 1-å¢å 2-ä¿®æ¹) |
| | | public string Czybm; |
| | | public Int64 HOrgID = -1; |
| | | public string HProcNo = ""; |
| | | //çªä½å è½½ |
| | | private void Xt_UserNew_Load(object sender, EventArgs e) |
| | | { |
| | |
| | | SCM.ClsXt_ORGANIZATIONS_View oORG = new ClsXt_ORGANIZATIONS_View(); |
| | | try |
| | | { |
| | | oDs = oWeb.getDataSetBySQL("select Czybm,Czymc,Explain,HEmpID,HK3UserID,HCloudUserName,HCloudUserPsd,HKeeperID,HKeeper,HSecManagerID,HSecManager,HSellManID,HSellMan,HDeptID,HDept,HWhID,HWHName,HSupID,HSupName,HUSEORGID,HGroup,HGroupID,HProc,HProcNo,HSource,HSourceID,HWorkCenter,HWorkCenterID from Gy_Czygl where Czybm='" + sCzybm + "'", "Gy_Czygl", ref ClsPub.sExeReturnInfo); |
| | | oDs = oWeb.getDataSetBySQL("select Czybm,Czymc,Explain,HEmpID,HK3UserID,HCloudUserName,HCloudUserPsd,HKeeperID,HKeeper,HSecManagerID,HSecManager,HSellManID,HSellMan,HDeptID,HDept,HWhID,HWHName,HSupID,HSupName,HUSEORGID,HGroup,HGroupID,HProc,HProcNo,HProcName,HSource,HSourceID,HWorkCenter,HWorkCenterID from Gy_Czygl where Czybm='" + sCzybm + "'", "Gy_Czygl", ref ClsPub.sExeReturnInfo); |
| | | if (oDs == null) |
| | | { |
| | | MessageBox.Show("æ¾ç¤ºå¤±è´¥ï¼åå ï¼" + ClsPub.sExeReturnInfo); |
| | |
| | | textHGroupID.Text = oDs.Tables[0].Rows[0]["HGroup"].ToString().Trim(); |
| | | textHGroupID.Tag = oDs.Tables[0].Rows[0]["HGroupID"].ToString().Trim(); |
| | | textHProcNo.Text = oDs.Tables[0].Rows[0]["HProc"].ToString().Trim(); |
| | | textHProcNo.Tag = oDs.Tables[0].Rows[0]["HProcNo"].ToString().Trim(); |
| | | textHProcNo.Tag = oDs.Tables[0].Rows[0]["HProcName"].ToString().Trim(); |
| | | textHWorkCenterID.Text = oDs.Tables[0].Rows[0]["HWorkCenter"].ToString().Trim(); |
| | | textHWorkCenterID.Tag = oDs.Tables[0].Rows[0]["HWorkCenterID"].ToString().Trim(); |
| | | textHSourceID.Text = oDs.Tables[0].Rows[0]["HSource"].ToString().Trim(); |
| | | textHSourceID.Tag = oDs.Tables[0].Rows[0]["HSourceID"].ToString().Trim(); |
| | | HProcNo = oDs.Tables[0].Rows[0]["HProcNo"].ToString().Trim(); |
| | | } |
| | | } |
| | | catch (Exception e) |
| | |
| | | ",HGroup='" + textHGroupID.Text.ToString() + "'" + |
| | | ",HGroupID=" + ClsPub.isLong(textHGroupID.Tag).ToString() + |
| | | ",HProc='" + textHProcNo.Text.ToString() +"'"+ |
| | | ",HProcNo='" + textHProcNo.Tag.ToString() +"'"+ |
| | | ",HProcName='" + textHProcNo.Tag.ToString() +"'"+ |
| | | ",HProcNo='" + HProcNo + "'" + |
| | | ",HWorkCenter='" + textHWorkCenterID.Text.ToString() + "'" + |
| | | ",HWorkCenterID=" + ClsPub.isLong(textHWorkCenterID.Tag).ToString() + |
| | | ",HSource='" + textHSourceID.Text.ToString() + "'" + |
| | |
| | | oWeb.getRunProc("insert into System_UserGroupInfo (GroupId,UserId) values (" + ClsPub.isLong(Get_Code(this.LbYes.Items[i].ToString())) + ",'" + Czybm + "')", ref DBUtility.ClsPub.sExeReturnInfo); |
| | | } |
| | | lblError.Text = "* ä¿®æ¹æåï¼"; |
| | | tabControl1.SelectedIndex = 0; |
| | | tabControl1.SelectedIndex = 0; |
| | | } |
| | | } |
| | | //忮宿´æ§å¤æ |
| | |
| | | { |
| | | this.textHProcNo.Text = oEmp.oModel.HName; |
| | | this.textHProcNo.Tag = oEmp.oModel.HNumber; |
| | | HProcNo = oEmp.oModel.HRemark; |
| | | } |
| | | else |
| | | { |