Exemple #1
0
        /// <summary>
        /// 根据POGUID查询明细记录数
        /// </summary>
        /// <param name="_poGuid">采购明细POGUID</param>
        private int GetOrderDetailCountsByID(Guid _poGuid)
        {
            ORD_PurchaseOrderLineParam param = new ORD_PurchaseOrderLineParam();

            param.POGuid = _poGuid;
            List <ORD_PurchaseOrderLineResult> orderList = orderLineLogic.GetList(param);

            return(orderList.Count);
        }
Exemple #2
0
        private void BindDataGridView()
        {
            ORD_PurchaseOrderLineParam param = new ORD_PurchaseOrderLineParam();

            param.POGuid        = POGuid;
            param.Model         = txtModel.Text.Trim();
            param.NoPOLineGuids = NoPOLineGuids;
            param.POLineGuid    = POLineGuid;
            List <ORD_PurchaseOrderLineResult> lstRst = lineLogic.GetList(param);

            dgvPurchaseOrder.DataSource = lstRst;
            this.SetDataSource <ORD_PurchaseOrderLineResult>(lstRst);
            SetGridCheck(this.dgvPurchaseOrder, _idColName, _chkColName);
        }