Files
N_XLXSBJ----MX/TJYZJDKCBPLSZInfo.aspx.cs
T
2026-08-21 17:03:02 +08:00

124 lines
3.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using GThinking.N_MISPRO;
using GThinking.N_MISPRO.Data;
using GThinking.N_MODEL.Page;
using GThinking.N_CONTROL;
using GThinking.N_PUBLIC;
using GThinking.N_MISPRO.Caching;
using GThinking.N_MISPRO.Utility;
using System.Collections.Generic;
namespace GThinking.N_XLXSBJ
{
[TableMap(DB = "DBERP", DbTableName = "TJYZJDKCB", Umid = 100860130, IsWorkFlow = false)]
public class TJYZJDKCBPLSZ : EntityManager
{
}
public partial class TJYZJDKCBPLSZInfo : SingleCardBase
{
TJYZJDKCBPLSZ entity = new TJYZJDKCBPLSZ();
protected void Page_Load(object sender, EventArgs e)
{
this.UMID = 100860130;
this.UMName = "调价因子加点扩充表";
base.CurMaster = Master;
base.CurEntity = entity;
this.PageHeight = 180;
this.PageWidth = 420;
Master.EnableAttachBtn = false;
Master.EnableCancelBtn = false;
Master.EnableCopyBtn = false;
Master.EnableDeleteBtn = false;
Master.EnableEditBtn = false;
Master.EnableInsertBtn = false;
Master.EnablePrintBtn = false;
Master.EnableRefreshBtn = false;
Master.EnableSaveBtn = false;
base.InitPage();
if (!IsPostBack)
{
InitControl();
}
}
#region 模板
protected override void SetControlState()
{
base.SetControlState();
}
protected override void SetComboxItems()
{
base.SetComboxItems();
}
#endregion
#region 自定义函数
private void InitControl()
{
cbxSZFW.ClearItems();
if (PageParam.GetRTrimString("PLSZAll").Equals("N"))
{
cbxSZFW.Items.Add(new ListItem("勾选记录", "N"));
cbxSZFW.SelectedValue = "N";
}
cbxSZFW.Items.Add(new ListItem("所查记录", "Y"));
if (cbxSZFW.ItemsCount == 1)
cbxSZFW.SelectedIndex = 0;
}
#endregion
#region 自定义按钮
protected void btnOK_Click(object sender, EventArgs e)
{
if (cbxSZFW.SelectedValue.Trim().Equals(""))
{
ShowMessage("调价范围--不允许为空!");
return;
}
if (txtYZZ.Value <= 0)
{
ShowMessage("加点值必须大于0!");
return;
}
DialogOperationScript dos = new DialogOperationScript(this);
dos.SetOwnerControlValue(PageParam.GetRTrimString("txtPLTZJDZ"), txtYZZ.Value.ToString().Trim());
dos.ClickOwnerButton(PageParam.GetRTrimString("btnRefreshCID"));
dos.CloseSelf();
dos.Execute();
}
protected void btnQX_Click(object sender, EventArgs e)
{
CloseWindow();
}
#endregion
#region 控件事件
#endregion
}
}