Ejemplo n.º 1
0
        void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
        {
            WJs.alert(e.Msg.Msg);


            if (!isAdd || !WJs.confirm("是否继续添加物资信息?"))
            {
                WZDM.ReLoadData(TvList.getValue(this.ytComboBox_KindCode).ToString());
                this.Close();
            }
            else
            {
                this.ytComboBox_CountCode.SelectedIndex    = -1;
                this.ytComboBox_ifUse.SelectedIndex        = 0;
                this.ytComboBox_WORKUNITCODE.SelectedIndex = -1;
                this.selTextInpt_PRODUCTPLACE.Value        = null;
                this.selTextInpt_PRODUCTPLACE.Text         = null;
                this.ytComboBox_SingerCode.SelectedIndex   = -1;
                this.ytComboBox_IFJL.SelectedIndex         = -1;
                this.ytComboBox_ZJTYPE.SelectedIndex       = -1;
                this.yTextBox_BM.Clear();
                this.yTextBox_BMJM.Clear();
                this.yTextBox_GuiG.Clear();
                this.yTextBox_ZJRATE.Clear();
                this.yTextBox_XH.Clear();
                this.yTextBox_JC.Clear();
                this.yTextBox_JM.Clear();
                this.yTextBox_Name.Clear();
                this.yTextBox_PY.Clear();
                this.yTextBox_Rec.Clear();
                this.yTextBox_TiaoXM.Clear();
                this.yTextBox_WB.Clear();
                this.yTextBox_EQID.Clear();
            }
        }
Ejemplo n.º 2
0
        void ac_ServiceLoad_SH(object sender, YtClient.data.events.LoadEvent e)
        {
            WJs.alert(e.Msg.Msg);

            AskB.ReLoadData();
            this.Close();
        }
Ejemplo n.º 3
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     WJs.alert(e.Msg.Msg);
     Main.ReLoadData();
     if (!isAdd || !WJs.confirm("是否继续添加厂商信息?"))
     {
         isSc = true;
         this.Close();
     }
     else
     {
         this.ytComboBox_IfAfford.SelectedIndex = -1;
         this.ytComboBox_IfMake.SelectedIndex   = -1;
         this.ytComboBox_ifUse.SelectedIndex    = 0;
         this.ytComboBox_Pperty.SelectedIndex   = -1;
         this.yTextBox_Address.Clear();
         this.yTextBox_Bank.Clear();
         this.yTextBox_BANKACCOUNT.Clear();
         this.yTextBox_Fax.Clear();
         this.yTextBox_FRDB.Clear();
         this.yTextBox_JYXKZ.Clear();
         this.yTextBox_Name.Clear();
         this.yTextBox_Phone.Clear();
         this.yTextBox_POST.Clear();
         this.yTextBox_PY.Clear();
         this.yTextBox_QYDM.Clear();
         this.yTextBox_Rec.Clear();
         this.yTextBox_RELMAN.Clear();
         this.yTextBox_SupplyID.Clear();
         this.yTextBox_WB.Clear();
         this.yTextBox_YYZZ.Clear();
         this.yTextBox_SWDJH.Clear();
     }
 }
Ejemplo n.º 4
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     WJs.alert(e.Msg.Msg);
     pr.ReLoadData(this.yTextBox_Name.Text);
     isSc = true;
     this.Close();
 }
Ejemplo n.º 5
0
        void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)//成功返回函数
        {
            //isOk = true;


            if (this.isAdd)
            {
                if (e.Msg.Msg.Equals("已经存在该设备项目信息!") || e.Msg.Msg.Equals("已经存在该设备项目信息,不能修改成该名称!"))
                {
                    WJs.alert(e.Msg.Msg);
                    //InitForm();
                }
                else if (!WJs.confirm("保存成功,是否继续添加?"))
                {
                    this.Close();
                }
                else
                {
                    InitForm();
                }
            }
            else
            {
                WJs.alert(e.Msg.Msg);
                this.Close();
            }
        }
Ejemplo n.º 6
0
        void ac_ServiceLoad_SHTG(object sender, YtClient.data.events.LoadEvent e)
        {
            WJs.alert(e.Msg.Msg);

            Main.Reload(3);
            this.Close();
        }
Ejemplo n.º 7
0
        void ac_ServiceLoad_Return(object sender, YtClient.data.events.LoadEvent e)
        {
            WJs.alert(e.Msg.Msg);
            Main.CallBack();

            this.Close();
        }
Ejemplo n.º 8
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)  //提交成功返回后触发
 {
     string[] t = e.Msg.Msg.Split('|');
     PDID1 = t[1];
     WJs.alert(t[0]);
     //WZPDZ.ReLoadData();
     //Main.toolStripButton4_Click(null, null);
     EQSlect.callback(this.selTextInpt_Ware.Value);
     isSc = true;
     this.Close();
 }
Ejemplo n.º 9
0
 private void ld_ServiceLoadcSF(object sender, YtClient.data.events.LoadEvent e)
 {
     mzd = e.Msg.GetDataTable();
     if (mzd != null)
     {
         if (mzd.Rows.Count >= 1)
         {
             reSetValue();
         }
     }
 }
Ejemplo n.º 10
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     if (e.Msg.Msg.Equals("增加设备状态信息成功!") || (e.Msg.Msg.Equals("修改设备状态信息成功!")))
     {
         isOk = true;
     }
     else
     {
         isOk = false;
         WJs.alert(e.Msg.Msg);
     }
 }
Ejemplo n.º 11
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     if (e.Msg.Msg.Equals("执行成功!"))
     {
         isOK = true;
     }
     else
     {
         isOK = false;
         WJs.alert(e.Msg.Msg);
     }
 }
Ejemplo n.º 12
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     if (e.Msg.Msg.Equals("已经存在该统计类别名称!") || (e.Msg.Msg.Equals("更新设备统计类别失败!")) || (e.Msg.Msg.Equals("该节点下包含子节点,不能设置其为末节点!")))
     {
         isOk = false;
         WJs.alert(e.Msg.Msg);
     }
     else
     {
         isOk = true;
         WJs.alert(e.Msg.Msg);
     }
 }
Ejemplo n.º 13
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     if (e.Msg.Msg.Equals("已经存在该库房信息,不能修改成该名称!") || e.Msg.Msg.Equals("已经存在该库房信息!"))
     {
         isOK = false;
         WJs.alert(e.Msg.Msg);
     }
     else
     {
         isOK = true;
         wd   = e.Msg.Msg.ToString().Split(',')[0]; //类别编码
         ms   = e.Msg.Msg.ToString().Split(',')[1]; //返回信息
     }
 }
Ejemplo n.º 14
0
        void ac3_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
        {
            //更新入库细表的库存流水号
            string     flowno   = e.Msg.Msg.Split('+')[0];
            string     DETAILNO = e.Msg.Msg.Split('+')[1];
            ActionLoad ac2      = new ActionLoad();

            ac2.Action = "LKWZSVR.lkeq.EQWareManag.EQInSvr";
            ac2.Sql    = "UpdateEQInDetailInfo";
            ac2.Add("DETAILNO", DETAILNO);
            ac2.Add("STOCKFLOWNO", flowno);
            ac2.ServiceLoad += new YtClient.data.events.LoadEventHandle(ac0_ServiceLoad);
            ac2.Post();
        }
Ejemplo n.º 15
0
        void acUnitcode_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
        {
            DataTable EQUnitInfo = e.Msg.GetDataTable();
            TvList    tv         = TvList.newBind();

            ((DataGridViewComboBoxColumn)this.Unitcode_Column).Items.Clear();
            if (EQUnitInfo != null)
            {
                foreach (DataRow r in EQUnitInfo.Rows)
                {
                    tv.add(r[1].ToString(), r[0].ToString());
                }
                tv.Bind(this.Unitcode_Column);
            }
        }
Ejemplo n.º 16
0
        void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
        {
            WJs.alert(e.Msg.Msg);
            Main.ReLoadData();
            if (!isAdd || !WJs.confirm("是否继续添加期间划分信息?"))
            {
                isSc = true;
                this.Close();
            }
            else
            {
                this.yTextBox_Name.Text = this.ytDateTime_Start.Value.Year + "年" + this.ytDateTime_Start.Value.Month + "月";

                //this.yTextBox_Name.Clear();

                this.yTextBox_Rec.Clear();
            }
        }
Ejemplo n.º 17
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     WJs.alert(e.Msg.Msg);
     Main.ReLoadData();
     if (!isAdd || !WJs.confirm("是否继续添加维修类别信息?"))
     {
         isSc = true;
         this.Close();
     }
     else
     {
         this.ytComboBox_IfDefault.SelectedIndex = -1;
         this.ytComboBox_ifUse.SelectedIndex     = 0;
         this.yTextBox_Name.Clear();
         this.yTextBox_PY.Clear();
         this.yTextBox_WB.Clear();
         this.yTextBox_Rec.Clear();
     }
 }
Ejemplo n.º 18
0
        void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
        {
            WJs.alert(e.Msg.Msg);

            AskB.ReLoadData();
            if (!isAdd || !WJs.confirm("是否继续添加设备请购信息?"))
            {
                this.Close();
            }
            else
            {
                this.yTextBox_QGID.Text       = null;
                this.selTextInpt_QGKSID.Value = null;
                this.selTextInpt_QGKSID.Text  = null;

                this.selTextInpt_EQID.Value = null;
                this.selTextInpt_EQID.Text  = null;

                this.yTextBox_Name.Clear();
                this.yTextBox_GuiG.Clear();
                this.yTextBox_XH.Clear();
                this.selTextInpt_Country.Text  = "中国";
                this.selTextInpt_Country.Value = null;
                this.ytComboBox_Unitcode.Value = null;
                this.ytComboBox_Unitcode.Text  = null;
                this.yTextBox_QGNum.Clear();

                this.yTextBox_YJPRICE.Clear();
                this.yTextBox_YJMONEY.Clear();

                this.yTextBox_REASON.Clear();
                this.yTextBox_PTTJ.Clear();
                this.yTextBox_XYFX.Clear();
                this.yTextBox_Rec.Clear();
            }
        }
Ejemplo n.º 19
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     WJs.alert(e.Msg.Msg);
     ReLoadData();
 }
Ejemplo n.º 20
0
 void ac0_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     // WJs.alert(e.Msg.Msg);
 }
Ejemplo n.º 21
0
 void ac2_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     WJs.alert(e.Msg.Msg);
     // this.Close();
 }
Ejemplo n.º 22
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)//执行成功返回事件
 {
     WJs.alert(e.Msg.Msg);
     toolStripButton4_Click_1(null, null);
     GetAllNodeText(this.ytTreeView1.Nodes);
 }
Ejemplo n.º 23
0
 void ac_ServiceDetailDeleteLoad(object sender, YtClient.data.events.LoadEvent e)//删除成功返回触发
 {
     WJs.alert(e.Msg.Msg);
     toolStripButton4_Click(null, null);
 }
Ejemplo n.º 24
0
 void ac_ServiceLoad_JieZhuang(object sender, YtClient.data.events.LoadEvent e)  //冲销成功返回触发
 {
     WJs.alert(e.Msg.Msg);
     this.comboBox1.Value = "6";
     toolStripButton4_Click(null, null);
 }
Ejemplo n.º 25
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     this.dataGView1.reLoad(new object[] { His.his.Choscode, wd });
     InitForm();
 }
Ejemplo n.º 26
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     WJs.alert(e.Msg.Msg);
     refresh_toolStrip_Click(null, null);
 }
Ejemplo n.º 27
0
        } //点击查询按钮触发事件

        void ac_ServiceDetailDeleteLoad(object sender, YtClient.data.events.LoadEvent e) //提交成功返回后触发(删除)
        {
            WJs.alert(e.Msg.Msg);
            button1_Click_2(null, null);  //查询数据
        }
Ejemplo n.º 28
0
 private void ld_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)
 {
     WJs.alert(e.Msg.Msg);
     reLoad();
 }
Ejemplo n.º 29
0
 void ac_ServiceLoad(object sender, YtClient.data.events.LoadEvent e)//删除成功返回事件
 {
     WJs.alert(e.Msg.Msg);
 }
Ejemplo n.º 30
0
 void ac_ServiceLoad_ShenHe(object sender, YtClient.data.events.LoadEvent e)  //审核不通过成功返回触发
 {
     WJs.alert(e.Msg.Msg);
     this.comboBox1.Value = "3";
     toolStripButton4_Click(null, null);
 }