Ejemplo n.º 1
0
        private void checkAccountBillDetaile()
        {
            if (m_isSelectOrderNumber)
            {
                this.Close();
                return;
            }
            // checkAccountBillDetaile函数需要完成弹出一个新的窗口,用来显示单据编号关联的具体单据

            if (m_billNumber.Length > 0)
            {
                if (m_orderType == OrderType.SaleOrder || m_orderType == OrderType.SaleOrderExcute)
                {
                    FormSaleOrder fpo = new FormSaleOrder(m_billNumber);
                    fpo.ShowDialog();
                    updateDataGridView();
                }
                else if (m_orderType == OrderType.SaleOut || m_orderType == OrderType.SaleOutOrderExcute)
                {
                    FormSaleOutOrder fpo = new FormSaleOutOrder(m_billNumber);
                    fpo.ShowDialog();
                    updateDataGridView();
                }
                else if (m_orderType == OrderType.SaleInvoice)
                {
                    //销售发票序时薄
                }
                else if (m_orderType == OrderType.SaleQuotation)
                {
                    FormSaleQuotationOrder fsqo = new FormSaleQuotationOrder(m_billNumber);
                    fsqo.ShowDialog();
                    updateDataGridView();
                }
                else if (m_orderType == OrderType.StorageMaterielOut)
                {
                    FormMaterielOutOrder fmoo = new FormMaterielOutOrder(m_billNumber);
                    fmoo.ShowDialog();
                    updateDataGridView();
                }
                else if (m_orderType == OrderType.StorageOutCheck)
                {
                    FormMaterielOutEarningsOrder fmoo = new FormMaterielOutEarningsOrder(m_billNumber);
                    fmoo.ShowDialog();
                    updateDataGridView();
                }
                else if (m_orderType == OrderType.StorageOutOther)
                {
                    FormMaterielOutOtherOrder fmoo = new FormMaterielOutOtherOrder(m_billNumber);
                    fmoo.ShowDialog();
                    updateDataGridView();
                }
                else
                {
                    MessageBoxExtend.messageWarning("暂时不支持的序时薄类型");
                }
            }
        }
Ejemplo n.º 2
0
        private void panelSalePrice_Click(object sender, EventArgs e)
        {
            FormSaleQuotationOrder fsqo = new FormSaleQuotationOrder();

            fsqo.ShowDialog();
        }