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);
        }
Esempio n. 2
0
 public UCReceivableAged()
     : base("v_receivable_aged", "应收账款账龄明细分析")
 {
     InitializeComponent();
     Quick qCust = new Quick();
     qCust.BindCustomer(txtcCust_code);
     txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
 }
Esempio n. 3
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);
 }
 public UCReceivableDanSummariz()
     : base("v_receivable_dan_summariz", "应收款单汇总表")
 {
     InitializeComponent();
     Quick qCust = new Quick();
     qCust.BindCustomer(txtcCust_code);
     txtcCust_code.DataBacked += new ServiceStationClient.ComponentUI.TextBox.TextChooser.DataBackHandler(txtcCust_code_DataBacked);
 }
        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);
        }
        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);
        }
 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);
 }
 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);
 }
        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);
        }
        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);
        }
Esempio n. 11
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);

        }
        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);
        }
 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);
 }
        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);
        }
        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);
        }