代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.PHTGL.InvoiceManage
|
||||
{
|
||||
public partial class InvoiceStandingBook :PageBase
|
||||
public partial class InvoiceStandingBook : PageBase
|
||||
{
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
@@ -30,9 +25,9 @@ namespace FineUIPro.Web.PHTGL.InvoiceManage
|
||||
private void BindGrid()
|
||||
{
|
||||
Model.PHTGL_Invoice table = new Model.PHTGL_Invoice();
|
||||
table.ProjectId=this.CurrUser.LoginProjectId;
|
||||
table.ProjectId = this.CurrUser.LoginProjectId;
|
||||
table.State = PhtglInvoiceService.StateDataIn;
|
||||
var tb = BLL.PhtglInvoiceService.GetListData(table, Grid1);
|
||||
var tb = BLL.PhtglInvoiceService.GetListData(table, Grid1);
|
||||
Grid1.RecordCount = PhtglInvoiceService.Count;
|
||||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
Grid1.DataSource = tb;
|
||||
@@ -177,7 +172,7 @@ namespace FineUIPro.Web.PHTGL.InvoiceManage
|
||||
{
|
||||
if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||
{
|
||||
// this.btnNew.Hidden = false;
|
||||
// this.btnNew.Hidden = false;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnModify))
|
||||
{
|
||||
@@ -263,7 +258,7 @@ namespace FineUIPro.Web.PHTGL.InvoiceManage
|
||||
}
|
||||
string ID = Grid1.SelectedRowID;
|
||||
var model = BLL.PhtglInvoiceService.GetPHTGL_InvoiceById(ID);
|
||||
if (model != null && !string.IsNullOrEmpty(model.ContractId))
|
||||
if (model != null && !string.IsNullOrEmpty(model.ContractId))
|
||||
{
|
||||
PhtglInvoiceService.ChangeStateToCreate(model.InvoiceId);
|
||||
ShowNotify("操作成功!", MessageBoxIcon.Success);
|
||||
|
||||
Reference in New Issue
Block a user