private void btnSearch_Click(object sender, EventArgs e)
        {
            if (m_operateMode != CE_BusinessOperateMode.仓库核实)
            {
                FormQueryInfo form = QueryInfoDialog.GetOrderFormInfoDialog(m_strProvider);

                if (DialogResult.OK == form.ShowDialog())
                {
                    txtAssociateID.Text = form.GetDataItem("订单号").ToString();
                }
            }
        }
        private void btnFindOrderForm_Click(object sender, EventArgs e)
        {
            if (lblBillStatus.Text != OrdinaryInDepotBillStatus.新建单据.ToString())
            {
                return;
            }

            FormQueryInfo form = QueryInfoDialog.GetOrderFormInfoDialog(CE_BillTypeEnum.普通入库单);

            if (DialogResult.OK == form.ShowDialog())
            {
                txtOrderFormNumber.Text = form.GetDataItem("订单号").ToString();
                txtProvider.Text        = form.GetDataItem("供货单位").ToString();

                IOrderFormInfoServer orderFormServer = ServerModuleFactory.GetServerModule <IOrderFormInfoServer>();
                IBargainInfoServer   bargainServer   = ServerModuleFactory.GetServerModule <IBargainInfoServer>();
            }
        }
        private void btnFindOrderForm_Click(object sender, EventArgs e)
        {
            FormQueryInfo form = QueryInfoDialog.GetOrderFormInfoDialog(CE_BillTypeEnum.样品确认申请单);

            if (DialogResult.OK == form.ShowDialog())
            {
                txtCode.Text      = "";
                txtName.Text      = "";
                txtSpec.Text      = "";
                txtVersion.Text   = "";
                txtOrderForm.Text = form.GetDataItem("订单号").ToString();
                txtProvider.Text  = form.GetDataItem("供货单位").ToString();

                View_B_OrderFormInfo lnqOrderForm = m_serverOrderFormInfo.GetOrderFormInfo(txtOrderForm.Text);

                View_B_BargainInfo lnqBargain = m_serverBargainInfo.GetBargainInfo(lnqOrderForm.合同号);

                chkIsOutsourcing.Checked = lnqBargain.是否委外合同;
            }
        }