Browse Source

scp中英文翻译衍生问题

master
qian 11 months ago
parent
commit
6f017485b9
  1. 13
      北京北汽/Models/ScpCache.cs
  2. 6
      北京北汽/SCP/Views/PlanData/SCP_PO_CREATE_ASK.aspx
  3. 8
      北京北汽/SCP/Views/PlanData/SCP_PO_CREATE_ASK.aspx.cs

13
北京北汽/Models/ScpCache.cs

@ -18,6 +18,7 @@ namespace CK.SCP.Models
private static List<User> _usersList;
private static List<TB_RECEIVE> _ReceiveList;
private static List<TB_FACTORY> _FactoryList;
private static List<TB_ADDRESS> _ADRESSList;
private static List<TA_REVICE_PORT> _PortList;
private static ScpConfig _config;
public static ScpConfig Config
@ -234,6 +235,18 @@ namespace CK.SCP.Models
set { _FactoryList = value; }
}
public static List<TB_ADDRESS> ADRESSList
{
get
{
_ADRESSList = ScpDb.TB_ADDRESS.ToList();
return _ADRESSList;
}
set { _ADRESSList = value; }
}
private static List<TA_LANGUAGE> _LangauageList;
public static List<TA_LANGUAGE> LangauageList

6
北京北汽/SCP/Views/PlanData/SCP_PO_CREATE_ASK.aspx

@ -47,12 +47,12 @@
<f:DatePicker runat="server" Required ="true" DateFormatString="yyyy-MM-dd" Label="要货日期" EmptyText="请选择日期" ID="DP_BeginTime" />
<f:TextBox runat = "server" Label = "发往地点" EmptyText = "" ID = "TXT_Site" Hidden="true" />
<f:DropDownList runat="server" ID="DDL_Site" Label="送货地址" Hidden="true">
<f:ListItem Text="重庆市渝北区石香路5号(重庆厂内)" Value="重庆市渝北区石香路5号(重庆厂内)" />
<f:DropDownList runat="server" ID="DDL_Site" Label="送货地址" Hidden="true" DataTextField="Address" DataValueField ="Address">
<%--<f:ListItem Text="重庆市渝北区石香路5号(重庆厂内)" Value="重庆市渝北区石香路5号(重庆厂内)" />
<f:ListItem Text="合肥市包河区卧云路68号宝供物流再包装基地" Value="合肥市包河区卧云路68号宝供物流再包装基地"/>
<f:ListItem Text="重庆市渝北区石香路(重庆外库)" Value="重庆市渝北区石香路(重庆外库)" />
<f:ListItem Text="成都市龙泉驿区经开区车城大道668号" Value="成都市龙泉驿区经开区车城大道668号" />
<f:ListItem Text="四川省成都市龙泉驿区龙安路199号" Value="四川省成都市龙泉驿区龙安路199号" />
<f:ListItem Text="四川省成都市龙泉驿区龙安路199号" Value="四川省成都市龙泉驿区龙安路199号" />--%>
</f:DropDownList>
<%-- <f:DropDownList ID="DDL_PORT" DataTextField="PORT_DESCRIPTION" DataValueField="PORT_NO" Required="true" runat="server" Label="收货口">

8
北京北汽/SCP/Views/PlanData/SCP_PO_CREATE_ASK.aspx.cs

@ -12,6 +12,7 @@ using FineUI;
using SCP.Common;
using CK.SCP.Models;
using System.Data;
using NPOI.Util;
namespace SCP.PlanData
{
@ -26,8 +27,15 @@ namespace SCP.PlanData
BindDetail();
SetRoleRule();
CheckRolesMenu();
BindDDL_Site();
}
}
private void BindDDL_Site()
{
var _ls = ScpCache.ADRESSList;
DDL_Site.DataSource = _ls;
DDL_Site.DataBind();
}
private void SetRoleRule()
{

Loading…
Cancel
Save