Пример #1
0
        public UCSaleOrderDetail()
            : base("v_sale_order_detail_report", "销售订单明细表")
        {
            InitializeComponent();
            dgvReport.ColumnHeadersHeight         = 40;
            dgvReport.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;

            colPrice.DefaultCellStyle             = styleMoney;
            colOrderNum.DefaultCellStyle          = styleNum;
            colOrderAssist.DefaultCellStyle       = styleNum;
            colOrderMoney.DefaultCellStyle        = styleMoney;
            colDoneNum.DefaultCellStyle           = styleNum;
            colDoneAssist.DefaultCellStyle        = styleNum;
            colDoneMoney.DefaultCellStyle         = styleMoney;
            colSuspendNum.DefaultCellStyle        = styleNum;
            colSuspendAssist.DefaultCellStyle     = styleNum;
            colSuspendMoney.DefaultCellStyle      = styleMoney;
            colUncollectedNum.DefaultCellStyle    = styleNum;
            colUncollectedAssist.DefaultCellStyle = styleNum;
            colUncollectedMoney.DefaultCellStyle  = styleMoney;

            Quick quick = new Quick();

            quick.BindCustomer(txtcCustCode);
            txtcCustCode.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);

            quick.BindParts(txtcPartsCode);
            txtcPartsCode.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcparts_code_DataBacked);
        }
Пример #2
0
        public UCReceivableChecking()
            : base("v_receivable_checking", "应收款对账单")
        {
            InitializeComponent();
            Quick qCust = new Quick();

            qCust.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
        }
Пример #3
0
        public UCReceivableDanDetail()
            : base("v_receivable_dan_detail", "应收款单明细表")
        {
            InitializeComponent();
            Quick qCust = new Quick();

            qCust.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
        }
Пример #4
0
        public UCSaleGathering()
            : base("v_sale_gathering", "销售开单收款一览表")
        {
            InitializeComponent();
            Quick qCust = new Quick();

            qCust.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
        }
Пример #5
0
        public UCRepairClientReconciliation()
            : base("v_repair_client_reconciliation_report", "维修客户对账统计")
        {
            InitializeComponent();

            Quick quick = new Quick();

            quick.BindCustomer(txtcCustomerCode);
            txtcCustomerCode.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCustCode_DataBacked);
        }
Пример #6
0
        public UCRepairAddOrDrain()
            : base("v_repair_add_or_drain_report", "新增与流失客户统计")
        {
            InitializeComponent();

            Quick quick = new Quick();

            quick.BindCustomer(txtcCustCode);
            txtcCustCode.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCustCode_DataBacked);
        }
Пример #7
0
        public UCReceivableAbove()
            : base("v_receivable_above", "应收款超信用额度报表")
        {
            InitializeComponent();
            colYingShou.DefaultCellStyle = styleMoney;
            colEDu.DefaultCellStyle      = styleMoney;
            colChao.DefaultCellStyle     = styleMoney;
            dtEndDate.Value = DateTime.Now;
            Quick qCust = new Quick();

            qCust.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
        }
Пример #8
0
        public UCReceivableDetail()
            : base("v_receivable_detail", "应收账款明细表")
        {
            InitializeComponent();
            colBenQiFaSheng.DefaultCellStyle = styleMoney;
            colQiMo.DefaultCellStyle         = styleMoney;
            colShangYe.DefaultCellStyle      = styleMoney;
            colShouKuan.DefaultCellStyle     = styleMoney;
            colXianJin.DefaultCellStyle      = styleMoney;
            Quick qCust = new Quick();

            qCust.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
        }
Пример #9
0
        public UCSaleReturnDetail()
            : base("v_sale_return_detail_report", "销售退换货")
        {
            InitializeComponent();
            dgvReport.ColumnHeadersHeight         = 40;
            dgvReport.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.DisableResizing;

            Quick quick = new Quick();

            quick.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);

            quick.BindParts(txtcparts_code);
            txtcparts_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcparts_code_DataBacked);
        }
Пример #10
0
        public UCSalePerformance()
            : base("v_sale_performance_report", "销售业绩报表")
        {
            InitializeComponent();

            colBackMoney.DefaultCellStyle     = styleMoney;
            colAmount.DefaultCellStyle        = styleMoney;
            colReturnedMoney.DefaultCellStyle = styleMoney;
            colActual.DefaultCellStyle        = styleMoney;
            colRate.DefaultCellStyle          = styleMoney;

            Quick quick = new Quick();

            quick.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
        }
Пример #11
0
        public UCSaleBillingummariz()
            : base("v_sale_billing_summariz_report", "销售开单汇总表")
        {
            InitializeComponent();

            colPayment.DefaultCellStyle = styleMoney;
            colTax.DefaultCellStyle     = styleMoney;
            colMoney.DefaultCellStyle   = styleMoney;

            Quick quick = new Quick();

            quick.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);

            quick.BindParts(txtcparts_code);
            txtcparts_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcparts_code_DataBacked);
        }
Пример #12
0
        public UCSaleProfitSummariz()
            : base("v_sale_profit_summariz_report", "销售毛利汇总表")
        {
            InitializeComponent();

            colIncome.DefaultCellStyle      = styleMoney;
            colCost.DefaultCellStyle        = styleMoney;
            colGrossMargin.DefaultCellStyle = styleMoney;
            colRate.DefaultCellStyle        = styleMoney;

            Quick quick = new Quick();

            quick.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);

            quick.BindParts(txtcparts_code);
            txtcparts_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcparts_code_DataBacked);
        }
Пример #13
0
        public UCSaleOrderSummariz()
            : base("v_sale_order_summariz", "销售订单汇总表")
        {
            InitializeComponent();

            colOrderMoney.DefaultCellStyle       = styleMoney;
            colDoneMoney.DefaultCellStyle        = styleMoney;
            colSuspendMoney.DefaultCellStyle     = styleMoney;
            colUncollectedMoney.DefaultCellStyle = styleMoney;

            Quick quick = new Quick();

            quick.BindCustomer(txtcCustCode);
            txtcCustCode.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);

            quick.BindParts(txtcPartsCode);
            txtcPartsCode.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcparts_code_DataBacked);
        }
Пример #14
0
        public UCReceivableSummariz()
            : base("v_receivable_summariz", "应收账款汇总表")
        {
            InitializeComponent();
            colBenQi.DefaultCellStyle    = styleMoney;
            colQiChu.DefaultCellStyle    = styleMoney;
            colShangYe.DefaultCellStyle  = styleMoney;
            colYingShou.DefaultCellStyle = styleMoney;
            colXianJin.DefaultCellStyle  = styleMoney;
            colQiMo.DefaultCellStyle     = styleMoney;
            colShouRu.DefaultCellStyle   = styleMoney;
            colMaoLi.DefaultCellStyle    = styleMoney;
            colLiLv.DefaultCellStyle     = styleMoney;
            Quick qCust = new Quick();

            qCust.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
        }
Пример #15
0
        public UCSaleDiscountSummariz()
            : base("v_sale_discount_summariz_report", "销售商品折扣汇总表")
        {
            InitializeComponent();

            colNum.DefaultCellStyle           = styleNum;
            colPrice.DefaultCellStyle         = styleMoney;
            colMoney.DefaultCellStyle         = styleMoney;
            colDiscount.DefaultCellStyle      = styleMoney;
            colDiscountPrice.DefaultCellStyle = styleMoney;
            colDiscountMoney.DefaultCellStyle = styleMoney;

            Quick quick = new Quick();

            quick.BindCustomer(txtcCust_code);
            txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);

            quick.BindParts(txtcparts_code);
            txtcparts_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcparts_code_DataBacked);
        }