using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
using System.Data;
|
using System.Data.SqlClient;
|
using CY.Model;
|
using CY.BLL;
|
using CY.Infrastructure.Common;
|
using CY.BLL.Sys;
|
using CY.BLL.EC;
|
using CY.Infrastructure.DESEncrypt;
|
using CY.Infrastructure.Query;
|
|
namespace CY.WebForm.Pages.workcar
|
{
|
//吴辉
|
//维修记录明细
|
public partial class CarrepairDetail : BasePage
|
{
|
Sys_DictionaryBLL bll_Sys_DictionaryBLL = null;
|
OA_CarrepairBLL oA_WorkReminderBll = null;
|
|
public CarrepairDetail()
|
{
|
bll_Sys_DictionaryBLL = new Sys_DictionaryBLL();
|
oA_WorkReminderBll = new OA_CarrepairBLL();
|
}
|
|
//页面加载
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
InitData();
|
}
|
}
|
|
//数据加载
|
public void InitData()
|
{
|
OA_Carrepair m_OA_Carrepair = oA_WorkReminderBll.GetModelByKeyid(Request["keyid"].ToInt32());
|
if (m_OA_Carrepair != null)
|
{
|
this.txtrepairTime.InnerText = m_OA_Carrepair.repairTime.Value.ToString("yyyy-MM-dd");
|
this.txtrepairPerson.InnerText = m_OA_Carrepair.repairPerson.ToString2();
|
this.txtrepairMoney.InnerText = m_OA_Carrepair.repairMoney.Value.ToString("0.00");
|
//this.txtrepairType.InnerText = m_OA_Carrepair.repairType.ToString2();
|
this.txtrepairRecord.InnerText = m_OA_Carrepair.repairRecord.ToString2();
|
}
|
}
|
|
}
|
}
|