feat: 支持系统单位和多语言配置

通过系统环境维护单位及语言开关,并调整相关页面和接口以使用当前配置。
This commit is contained in:
2026-11-07 15:22:32 +08:00
parent 2f547f217d
commit 626ad445d4
76 changed files with 312 additions and 163 deletions
@@ -69,7 +69,7 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync
}
else
{
var base_Unit = BLL.UnitService.GetUnitByUnitId(BLL.Const.UnitId_SEDIN);
var base_Unit = BLL.UnitService.GetUnitByUnitId(BLL.CommonService.GetThisUnitId());
txtUnitName.Text = base_Unit.UnitName;
txtCollCropCode.Text = base_Unit.CollCropCode;
txtReportDate.SelectedDate = DateTime.Now;
@@ -107,7 +107,7 @@ namespace FineUIPro.Web.ZHGL.DataSync.ProjectDataSync
}
Model.Project_HJGLData_HJGL table = new Model.Project_HJGLData_HJGL();
table.UnitId = BLL.Const.UnitId_SEDIN;
table.UnitId = BLL.CommonService.GetThisUnitId();
table.ProjectId = this.CurrUser.LoginProjectId;
table.CollCropCode = this.txtCollCropCode.Text;
table.UnitName = this.txtUnitName.Text;