private void ShowInfo(int _id)
        {
            BLL.AllotOrder   bll   = new BLL.AllotOrder();
            Model.AllotOrder model = bll.GetModel(_id);

            txtAllotTime.Text = model.AllotTime.ToString("yyyy-MM-dd");
            txtAdmin.Text     = model.Admin;
            txtRemark.Text    = model.Remark;

            BLL.AllotGoods goodsVehicleBLL = new BLL.AllotGoods();
            DataTable      goodsVehicleDT  = goodsVehicleBLL.GetList(" and A.AllotOrderId = " + _id + "").Tables[0];

            this.rptAllotGoodsList.DataSource = goodsVehicleDT;
            this.rptAllotGoodsList.DataBind();
        }
Ejemplo n.º 2
0
        private void RptBind(string _strWhere, string _goodsby)
        {
            this.page = DTRequest.GetQueryInt("page", 1);
            if (this.storein_order_id > 0)
            {
                this.ddlStoreInOrder.SelectedValue = this.storein_order_id.ToString();
            }
            if (this.storein_goods_id > 0)
            {
                this.ddlStoreInGoods.SelectedValue = this.storein_goods_id.ToString();
            }

            BLL.AllotGoods bll = new BLL.AllotGoods();
            this.rptList.DataSource = bll.GetList(this.pageSize, this.page, _strWhere, _goodsby, out this.totalCount);
            this.rptList.DataBind();

            //绑定页码
            txtPageNum.Text = this.pageSize.ToString();
            string pageUrl = Utils.CombUrlTxt("dialog_allot_goods.aspx", "storein_order_id={0}&storein_goods_id={1}&beginTime={2}&endTime={3}&page={4}",
                                              this.storein_order_id.ToString(), this.storein_goods_id.ToString(), this.beginTime.ToString(), this.endTime, "__id__");

            PageContent.InnerHtml = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8);
        }
Ejemplo n.º 3
0
        private void ShowInfo(int _id)
        {
            BLL.AllotOrder bll = new BLL.AllotOrder();
            Model.AllotOrder model = bll.GetModel(_id);

            txtAllotTime.Text = model.AllotTime.ToString("yyyy-MM-dd");
            txtAdmin.Text = model.Admin;
            txtRemark.Text = model.Remark;

            BLL.AllotGoods goodsVehicleBLL = new BLL.AllotGoods();
            DataTable goodsVehicleDT = goodsVehicleBLL.GetList(" and A.AllotOrderId = " + _id + "").Tables[0];
            this.rptAllotGoodsList.DataSource = goodsVehicleDT;
            this.rptAllotGoodsList.DataBind();
        }
Ejemplo n.º 4
0
        private void RptBind(string _strWhere, string _goodsby)
        {
            this.page = DTRequest.GetQueryInt("page", 1);
            if (this.storein_order_id > 0)
            {
                this.ddlStoreInOrder.SelectedValue = this.storein_order_id.ToString();
            }
            if (this.storein_goods_id > 0)
            {
                this.ddlStoreInGoods.SelectedValue = this.storein_goods_id.ToString();
            }

            BLL.AllotGoods bll = new BLL.AllotGoods();
            this.rptList.DataSource = bll.GetList(this.pageSize, this.page, _strWhere, _goodsby, out this.totalCount);
            this.rptList.DataBind();

            //绑定页码
            txtPageNum.Text = this.pageSize.ToString();
            string pageUrl = Utils.CombUrlTxt("dialog_allot_goods.aspx", "storein_order_id={0}&storein_goods_id={1}&beginTime={2}&endTime={3}&page={4}",
                this.storein_order_id.ToString(), this.storein_goods_id.ToString(), this.beginTime.ToString(), this.endTime, "__id__");
            PageContent.InnerHtml = Utils.OutPageList(this.pageSize, this.page, this.totalCount, pageUrl, 8);
        }