Пример #1
0
        public 生成领料单_获取单据信息(InfoObjectLL infObjLL, LldGenerate _generate, List <string> _gdList = null)
        {
            InitializeComponent();

            this.infObjLL = infObjLL;
            this.connYF   = infObjLL.connYF;
            this.generate = _generate;
            gdList        = _gdList;

            Init();
        }
Пример #2
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();
        }