yxj
2024-01-08 b2abf37fac8885c23706eee389ccb4be07aceaa4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
 
namespace NETERPNoWin
{
    public partial class OA_MessageBox : Form
    {
        public OA_MessageBox()
        {
            InitializeComponent();
        }
 
        public Int64 HInterID;
        public string HBillNo;
        public string HBillType;
        public string HBillTypeName;
 
        public void init()
        {
            
        }
 
        private void lblClose_Click(object sender, EventArgs e)
        {
            this.Close();
        }
 
        private void timer1_Tick(object sender, EventArgs e)
        {
            timer1.Enabled = false;
            lblMessage.Text = "ÄúÓÐ1ÕÅδÉóºËµ¥¾Ý£¬µ¥¾ÝºÅΪ£º"+HBillNo+"  µ¥¾ÝÀàÐÍΪ£º" + HBillTypeName +" ";
        }
 
        private void lblMessage_Click(object sender, EventArgs e)
        {
            ShowBill();
        }
 
        private void ShowBill()
        {
            if (HBillType == "1101") //²É¹ºÉêÇëµ¥
            {
                //ClsCg_PORequestBillMain oBill = new ClsCg_PORequestBillMain();
                //if (oBill.ShowBill(HInterID, ref ClsPub.sExeReturnInfo))
                //{
                //    Cg_PORequestBill oFrm = new Cg_PORequestBill();
                //    oFrm.BillStatus = Enum_BillStatus.BillStatus_View;
                //    oFrm.BillOld = oBill;
                //    oFrm.ShowDialog();
                //}
                //else
                //{
                //    MessageBox.Show("µ¥¾ÝδÕÒµ½", "Ìáʾ");
                //}
                //oBill = null;
            }
            else if (HBillType == "1214") //ÁìÓÃÉêÇëµ¥
            {
                //ClsKf_MateOutRequestBillMain oBill = new ClsKf_MateOutRequestBillMain();
                //if (oBill.ShowBill(HInterID, ref ClsPub.sExeReturnInfo))
                //{
                //    Kf_MateOutRequestBill oFrm = new Kf_MateOutRequestBill();
                //    oFrm.BillStatus = Enum_BillStatus.BillStatus_View;
                //    oFrm.BillOld = oBill;
                //    oFrm.ShowDialog();
                //}
                //else
                //{
                //    MessageBox.Show("µ¥¾ÝδÕÒµ½", "Ìáʾ");
                //}
                //oBill = null;
            }
            else if (HBillType == "1214") //ÁìÓÃÉêÇëµ¥
            {
                //ClsKf_MateOutRequestBillMain oBill = new ClsKf_MateOutRequestBillMain();
                //if (oBill.ShowBill(HInterID, ref ClsPub.sExeReturnInfo))
                //{
                //    Kf_MateOutRequestBill oFrm = new Kf_MateOutRequestBill();
                //    oFrm.BillStatus = Enum_BillStatus.BillStatus_View;
                //    oFrm.BillOld = oBill;
                //    oFrm.ShowDialog();
                //}
                //else
                //{
                //    MessageBox.Show("µ¥¾ÝδÕÒµ½", "Ìáʾ");
                //}
                //oBill = null;
            }
            this.Close();
        }
    }
}