private void tsrbtnDeptDraw_Click(object sender, EventArgs e)
        {
            FrmOutOrder frmOrder;

            if (_belongSystem == ConfigManager.YK_SYSTEM)
            {
                frmOrder = new FrmOutOrder(_currentUserId, _currentDeptId, 0, ConfigManager.OP_YK_DEPTDRAW, _belongSystem);
            }
            else
            {
                frmOrder = new FrmOutOrder(_currentUserId, _currentDeptId, 0, ConfigManager.OP_YF_DEPTDRAW, _belongSystem);
            }
            frmOrder.MdiParent   = this.MdiParent;
            frmOrder.WindowState = FormWindowState.Maximized;
            ((GWMHIS.BussinessLogicLayer.Interfaces.IInvokForm) this.Parent.Parent.Parent).AddFormToTabPage(frmOrder);
            frmOrder.Show();
        }
        private void tsrbtnUpdate_Click(object sender, EventArgs e)
        {
            if (_currentMaster == null)
            {
                MessageBox.Show("请选中一行");
                return;
            }
            if (_currentMaster.Audit_Flag == 1 || _currentMaster.OpType == ConfigManager.OP_YK_OUTTOYF)
            {
                MessageBox.Show("无法对单据进行该操作");
                return;
            }

            FrmOutOrder frmOrder = new FrmOutOrder(_currentUserId, _currentDeptId, 1, _currentMaster.OpType, _belongSystem);

            frmOrder.MdiParent      = this.MdiParent;
            frmOrder.WindowState    = FormWindowState.Maximized;
            frmOrder._currentMaster = _currentMaster;
            ((GWMHIS.BussinessLogicLayer.Interfaces.IInvokForm) this.Parent.Parent.Parent).AddFormToTabPage(frmOrder);
            frmOrder.Show();
        }