using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using CY.BLL.OA;
|
using CY.Model;
|
using CY.Infrastructure.Common;
|
|
namespace CY.WebForm.Pages.financial
|
{
|
public partial class FirmAccountExpensesDetail : BasePage
|
{
|
|
OA_FirmAccountRecord firmAccountRecord = null;
|
OA_FirmAccountRecordBLL _OA_FirmAccountRecordBLL = null;
|
public FirmAccountExpensesDetail()
|
{
|
firmAccountRecord = new OA_FirmAccountRecord();
|
_OA_FirmAccountRecordBLL = new OA_FirmAccountRecordBLL();
|
|
}
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
BindList();
|
}
|
}
|
|
|
protected void BindList()
|
{
|
firmAccountRecord = _OA_FirmAccountRecordBLL.SelectSingleModel(Request["Keyid"].ToString2(), CurrentUser.MemberId);
|
this.spanRemark.InnerText = firmAccountRecord.Remark;
|
this.spnAccountName.InnerText = firmAccountRecord.OA_FirmAccount.AccountName;
|
this.spnAccountType.InnerText = firmAccountRecord.OA_FirmAccount.AccountType;
|
this.spnLastUpdateTime.InnerText = firmAccountRecord.LastUpdateTime.ToString2();
|
this.spnMomeny.InnerText = (firmAccountRecord.Money ?? 0).ToString("0.00") + "元";
|
this.spnOperationalMatters.InnerText = firmAccountRecord.OperationalMatters;
|
this.spnOperator.InnerText = firmAccountRecord.Operator;
|
this.spnPaymentUnit.InnerText = firmAccountRecord.PaymentUnit;
|
|
if (firmAccountRecord.OA_SubjectSet.SubjectName == "")
|
{
|
this.spnSubjectName.InnerText = "外协预付款";
|
}
|
else
|
{
|
this.spnSubjectName.InnerText = firmAccountRecord.OA_SubjectSet.SubjectName;
|
}
|
|
}
|
|
|
|
}
|
}
|