代码无效引用清理,试压包资料界面看板修改
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
using BLL;
|
||||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using FineUIPro.Web.PHTGL.ContractCompile;
|
||||
|
||||
namespace FineUIPro.Web.PHTGL.Filing
|
||||
{
|
||||
@@ -43,8 +34,8 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
ViewState["ContractId"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public bool IsCreate
|
||||
{
|
||||
@@ -90,7 +81,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
{
|
||||
Model.PHTGL_ContractStandingBook contract = BLL.ContractStandingBookService.GetContractById(contractId);
|
||||
if (contract != null)
|
||||
{
|
||||
{
|
||||
|
||||
txtEPCCode.Text = contract.EPCCode;
|
||||
txtContractAttribute.Text = contract.ContractAttribute;
|
||||
@@ -100,7 +91,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
this.txtProjectCode.Text = contract.ProjectCode;
|
||||
this.txtParties.Text = contract.Parties;
|
||||
this.txtBuildUnit.Text = contract.BuildUnit;
|
||||
this.txtCurrency.Text= contract.Currency;
|
||||
this.txtCurrency.Text = contract.Currency;
|
||||
txtOpeningBank_TT.Text = contract.OpeningBank_TT;
|
||||
txtOpeningBank_Electrophore.Text = contract.OpeningBank_Electrophore;
|
||||
txtBankAccount_TT.Text = contract.BankAccount_TT;
|
||||
@@ -123,12 +114,12 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
txtIsItACentralizedPurchaseSupplier.Text = contract.IsItACentralizedPurchaseSupplier;
|
||||
this.txtAgent.Text = contract.Agent;
|
||||
this.txtContractType.Text = contract.ContractType;
|
||||
this.txtConfirmWay.Text= contract.ConfirmWay;
|
||||
this.txtDepart.Text=BLL.DepartService.getDepartNameById(contract.DepartId);
|
||||
this.txtConfirmWay.Text = contract.ConfirmWay;
|
||||
this.txtDepart.Text = BLL.DepartService.getDepartNameById(contract.DepartId);
|
||||
this.txtContractAmount.Text = contract.ContractAmount;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -157,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
{
|
||||
ContractId = Guid.NewGuid().ToString();
|
||||
}
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ContractStandingBook&menuId={1}", this.ContractId+"-1", BLL.Const.ContractStandingBookMenuId)));
|
||||
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ContractStandingBook&menuId={1}", this.ContractId + "-1", BLL.Const.ContractStandingBookMenuId)));
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -205,9 +196,9 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
contract.ContractType = this.txtContractType.Text;
|
||||
contract.ConfirmWay = this.txtConfirmWay.Text;
|
||||
contract.DepartId = this.CurrUser.DepartId;
|
||||
|
||||
|
||||
contract.ContractAmount = this.txtContractAmount.Text;
|
||||
if (Type==Const.BtnSubmit)
|
||||
if (Type == Const.BtnSubmit)
|
||||
{
|
||||
contract.States = 1;
|
||||
|
||||
@@ -258,7 +249,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
}
|
||||
protected void btnSubmit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!BLL.AttachFileService.Getfile(ContractId , BLL.Const.ContractStandingBookMenuId))
|
||||
if (!BLL.AttachFileService.Getfile(ContractId, BLL.Const.ContractStandingBookMenuId))
|
||||
{
|
||||
ShowNotify("未上传合同签字盖章扫描版文件,无法提交!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user