Beispiel #1
0
        private void MutiEdit(EIMSInvoiceEntryVM selectView)
        {
            UCInvoiceInput uc = new UCInvoiceInput(selectView, "Edit");

            uc.Dialog = Window.ShowDialog("发票信息编辑", uc, (o, s) =>
            {
                if (s.isForce)
                {
                    LoadingDataEventArgs e = new LoadingDataEventArgs(this.CurrentPageIndex, this.CurrentPageSize, null, null);
                    dataGrid_LoadingDataSource(null, e);
                }
            }, new Size(700, 350));
        }
Beispiel #2
0
        /// <summary>
        /// 录入
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void hlbtnInput_Click(object sender, RoutedEventArgs e)
        {
            if (!AuthMgr.HasFunctionPoint(AuthKeyConst.EIMS_InvoiceEntry_Input))
            {
                Window.Alert(ResEIMSInvoiceEntry.Msg_HasNoRight);
                return;
            }
            EIMSInvoiceEntryVM selectView = this.dgQueryResult.SelectedItem as EIMSInvoiceEntryVM;
            UCInvoiceInput     uc         = new UCInvoiceInput(selectView, "Input");

            uc.Dialog = Window.ShowDialog("发票信息录入", uc, (obj, args) =>
            {
                if (args.isForce)
                {
                    LoadingDataEventArgs s = new LoadingDataEventArgs(this.CurrentPageIndex, this.CurrentPageSize, null, null);
                    dataGrid_LoadingDataSource(null, s);
                }
            }, new Size(700, 350));
        }