2023-03-09 实业工厂增加坐标
This commit is contained in:
@@ -33,6 +33,14 @@
|
||||
</f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtMapCoordinates" runat="server" Label="坐标" MaxLength="50"></f:TextBox>
|
||||
<f:ContentPanel ID="bottomPanel" RegionPosition="Bottom" ShowBorder="false" ShowHeader="false" EnableCollapse="false" runat="server">
|
||||
<a href="http://api.map.baidu.com/lbsapi/getpoint/index.html" target="_blank">拾取坐标</a>
|
||||
</f:ContentPanel>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
|
||||
</Rows>
|
||||
<Toolbars>
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
this.txtFactoryCode.Text = model.FactoryCode;
|
||||
this.txtFactoryName.Text = model.FactoryName;
|
||||
this.txtAddress.Text = model.Address;
|
||||
this.txtMapCoordinates.Text = model.MapCoordinates;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -67,6 +68,7 @@ namespace FineUIPro.Web.BaseInfo
|
||||
table.FactoryCode = this.txtFactoryCode.Text;
|
||||
table.FactoryName = this.txtFactoryName.Text;
|
||||
table.Address = this.txtAddress.Text;
|
||||
table.MapCoordinates=this.txtMapCoordinates.Text;
|
||||
if (string.IsNullOrEmpty(this.FactoryId))
|
||||
{
|
||||
table.FactoryId = SQLHelper.GetNewID(typeof(Model.Base_Factory));
|
||||
|
||||
@@ -68,6 +68,24 @@ namespace FineUIPro.Web.BaseInfo
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtAddress;
|
||||
|
||||
/// <summary>
|
||||
/// txtMapCoordinates 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMapCoordinates;
|
||||
|
||||
/// <summary>
|
||||
/// bottomPanel 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel bottomPanel;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user