示例#1
0
 public 父窗口界面(InfoObjectBase _infObj = null)
 {
     InitializeComponent();
     infObj    = _infObj;
     this.Text = infObj != null ? infObj.progName : this.Text;
     ShowPanel();
 }
示例#2
0
 public 生产排程部门添加(InfoObjectBase infObj = null)
 {
     InitializeComponent();
     this.connWG = infObj.connWG;
     ComboBoxDptType.Items.Add("导入");
     ComboBoxDptType.SelectedIndex = 0;
 }
示例#3
0
 public 客户配置维护_勾选项替换(string text = "", InfoObjectBase infObj = null)
 {
     InitializeComponent();
     this.Text = text == "" ? this.Text : text;
     connYF    = infObj.connYF;
     infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);
     Init();
 }
示例#4
0
 public 订单信息查询(string text = "", InfoObjectBase infObj = null)
 {
     InitializeComponent();
     this.Text   = text == "" ? this.Text : text;
     this.connYF = infObj.connYF;
     infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);
     FormMain_Resized_Work();
 }
示例#5
0
 public 工单领用成本明细表税务(string text = "", InfoObjectBase infObj = null)
 {
     InitializeComponent();
     Text   = text == "" ? Text : text;
     connSW = infObj.connSW;
     infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);
     FormMain_Init();
     FormMain_Resized_Work();
 }
示例#6
0
 public 生产排程导入(DataTable dt, InfoObjectBase infObj = null)
 {
     InitializeComponent();
     inputDt     = dt;
     this.connWG = infObj.connWG;
     this.connYF = infObj.connYF;
     this.userId = infObj.userId;
     Init();
 }
示例#7
0
        public 自动LRP计划队列(string text = "", InfoObjectBase infObj = null)
        {
            InitializeComponent();
            this.Text   = text == "" ? this.Text : text;
            this.connYF = infObj.connYF;
            this.connWG = infObj.connWG;
            infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);

            DgvOpt.SetRowBackColor(DgvMain);
        }
示例#8
0
 public 录入进货单_Excel导入(string text = "", InfoObjectBase infObj = null)
 {
     InitializeComponent();
     this.Text      = text == "" ? this.Text : text;
     this.connYF    = infObj.connYF;
     this.userId    = infObj.userId;
     this.userGroup = infObj.userGroup;
     createPurtg    = new ERP_Create_Purtg(connYF);
     infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);
     Init();
 }
示例#9
0
 public 工单信息管理(string text = "", DataGridViewRow dr = null, InfoObjectBase infObj = null)
 {
     InitializeComponent();
     this.Text   = text == "" ? this.Text : text;
     this.dgvr   = dr;
     this.connYF = infObj.connYF;
     this.connWG = infObj.connWG;
     this.userId = infObj.userId;
     Init();
     FormMain_Resized_Work();
 }
示例#10
0
        public LldGenerate(InfoObjectBase infObj)
        {
            infObjLL.connYF = infObj.connYF;
            infObjLL.connWG = infObj.connWG;

            infObjLL.userId   = infObj.userId;
            infObjLL.userName = infObj.userName;
            infObjLL.userDpt  = infObj.userDpt;

            InitDict();
            InitGdDt();
            GetCreateSingleLL();
        }
示例#11
0
        public 录入退货单(string text = "", InfoObjectBase infObj = null)
        {
            InitializeComponent();
            this.Text      = text == "" ? this.Text : text;
            this.connYF    = infObj.connYF;
            this.userId    = infObj.userId;
            this.userGroup = infObj.userGroup;
            createPurti    = new ERP_Create_Purti(connYF);
            infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);
            Init();

            DgvOpt.SetRowBackColor(DataGridView_List);
            DgvOpt.SetColHeadMiddleCenter(DataGridView_List);
        }
示例#12
0
        public 扫描领料单(string text = "", InfoObjectBase infObj = null)
        {
            InitializeComponent();
            this.Text      = text == "" ? this.Text : text;
            this.connYF    = infObj.connYF;
            this.userId    = infObj.userId;
            this.userGroup = infObj.userGroup;
            infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);
            Button_Upload.Enabled       = false;
            checkedListBoxGroup.Enabled = false;
            checkBox2.Enabled           = false;
            DgvOpt.SetRowBackColor(DataGridView_List);
            dateTimePicker1.Value = DateTime.Now.AddDays(2);

            //工作组
            foreach (string tmp in GetGroupList())
            {
                checkedListBoxGroup.Items.Add(tmp);
            }
        }
示例#13
0
        public 生产排程修改(string mode, string index, string dd, InfoObjectBase infObj = null)
        {
            InitializeComponent();

            saveFlag           = false;
            textBoxDd.ReadOnly = true;
            this.mode          = mode;
            this.index         = index;
            this.dd            = dd;
            this.connWG        = infObj.connWG;
            this.connYF        = infObj.connYF;
            this.userId        = infObj.userId;
            indexRtn           = index;

            label1.Text    = "排程序号:" + index;
            textBoxDd.Text = dd;

            Init();

            if (mode == "Add")
            {
                GetInfo();
                textBoxDd.ReadOnly = true;
            }
            if (mode == "New")
            {
                if (textBoxDd.Text != "")
                {
                    GetInfo();
                }
                textBoxDd.ReadOnly = false;
            }
            if (mode == "Edit")
            {
                GetInfo();
                textBoxDd.ReadOnly = true;
            }
        }
示例#14
0
        public 成品标签打印(string text = "", InfoObjectBase infObj = null, string dd = null, string num = null)
        {
            InitializeComponent();
            this.Text          = text == "" ? this.Text : text;
            connWG             = infObj.connWG;
            connYF             = infObj.connYF;
            TextBoxDd.Text     = dd == null ? "" : dd;
            TextBoxNumber.Text = num == null ? "" : num;


            if (TextBoxNumber.Text == "")
            {
                BtnPrint.Enabled = false;
            }
            else
            {
                BtnPrint.Enabled = true;
            }

            infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);
            Init();
            FormMain_Resized_Work();
        }
示例#15
0
        public 生成领料单(string text = "", string gdStr = null, InfoObjectBase infObj = null)
        {
            InitializeComponent();
            this.Text   = text == "" ? this.Text : text;
            this.infObj = infObj;
            generate    = new LldGenerate(infObj);
            infObjLL    = generate.infObjLL;

            infObj.userPermission.GetPermUserDetail(infObj.userId, this.Text, out newFlag, out editFlag, out delFlag, out outFlag, out lockFlag, out printFlag);
            FormMain_Resized_Work();

            if (gdStr != null)
            {
                var gdTmp = gdStr.Split('|');
                foreach (string tmp in gdTmp)
                {
                    gdList.Add(tmp.Trim());
                }
                AutoAdd();
            }

            Init();
        }
示例#16
0
 public 生产排程部门选择(InfoObjectBase infObj = null)
 {
     InitializeComponent();
     this.connWG = infObj.connWG;
     Init();
 }