推送数据
This commit is contained in:
@@ -285,7 +285,28 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||
}
|
||||
if (type == "updata") //保存并上报
|
||||
{
|
||||
Update(drillConductedQuarterlyReport.DrillConductedQuarterlyReportId);
|
||||
// Update(drillConductedQuarterlyReport.DrillConductedQuarterlyReportId);
|
||||
|
||||
if (drillConductedQuarterlyReport.UpState == BLL.Const.UpState_2)
|
||||
{
|
||||
string code = CNCECHSSEWebService.UpDrillConductedQuarterlyReport(drillConductedQuarterlyReport.DrillConductedQuarterlyReportId, this.CurrUser);
|
||||
if (code == "1")
|
||||
{
|
||||
ShowNotify("同步成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInParent("同步异常,请退出后重试!", MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("当前单据状态不能同步!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
if (type == "submit")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user