Ejemplo n.º 1
0
        /*
         * 填充报表头
         * 
         * Param repack 头对象
         */
        private void FillHead(PrintBillMaster bill)
        {
            //创建时间:
            this.SetRowCell(2, 2, bill.CreateDate.ToString("yyyy-MM-dd HH:mm"));

            //最后修改时间:
            this.SetRowCell(2, 6, bill.LastModifyDate.ToString("yyyy-MM-dd HH:mm"));

            //客户
            this.SetRowCell(3, 2, bill.Party);
            //账单号
            this.SetRowCell(3, 8, bill.BillNo);
        }
        /*
         * 填充报表头
         * 
         * Param repack 头对象
         */
        private void FillHead(PrintBillMaster bill)
        {
            //创建时间:
            this.SetRowCell(5, 3, bill.CreateDate.ToString("yyyy-MM-dd HH:mm"));

            //最后修改时间:
            this.SetRowCell(6, 3, bill.LastModifyDate.ToString("yyyy-MM-dd HH:mm"));

            //供应商
            this.SetRowCell(8, 2, bill.Party);
            //账单号
            this.SetRowCell(8, 5, bill.BillNo);
            //对账员
            this.SetRowCell(8, 10, bill.CreateUserName);
        }