系统信息
创建人,修改人
数据源
<Column Key="Creator" Caption="创建人" DataType="Long"/>
<Column Key="CreateTime" Caption="创建时间" DataType="DateTime"/>
<Column Key="Modifier" Caption="修改人" DataType="Long"/>
<Column Key="ModifyTime" Caption="修改时间" DataType="DateTime"/>
<Column Key="EnablePerson" Caption="启用人" DataType="Long"/>
<Column Key="EnableTime" Caption="启用时间" DataType="DateTime"/>
<Column Key="DisablePerson" Caption="停用人" DataType="Long"/>
<Column Key="DisableTime" Caption="停用时间" DataType="DateTime"/>
头表(系统信息)
<GridLayoutPanel Key="GridLayoutPanel1" Padding="5px" Caption="系统信息">
<Dict Key="Creator" Caption="创建人" BuddyKey="Lab_Creator" X="1" Y="0" Enable="false" ItemKey="Operator">
<DataBinding ColumnKey="Creator" DefaultFormulaValue="GetOperator();" TableKey="TM_SalesArea_H"/>
</Dict>
<Label Key="Lab_Creator" Caption="创建人" X="0" Y="0"/>
<Dict Key="Modifier" Caption="修改人" BuddyKey="Lab_Modifier" X="1" Y="1" Enable="false" ItemKey="Operator">
<DataBinding ColumnKey="Modifier" DefaultFormulaValue="GetOperator();" TableKey="TM_SalesArea_H"/>
</Dict>
<Label Key="Lab_Modifier" Caption="修改人" X="0" Y="1"/>
<Dict Key="EnablePerson" Caption="启用人" BuddyKey="Lab_EnablePerson" X="1" Y="2" Enable="false" ItemKey="Operator">
<DataBinding ColumnKey="EnablePerson" DefaultFormulaValue="GetOperator();" TableKey="TM_SalesArea_H"/>
</Dict>
<Label Key="Lab_EnablePerson" Caption="启用人" X="0" Y="2"/>
<Dict Key="DisablePerson" Caption="停用人" BuddyKey="Lab_DisablePerson" X="1" Y="3" Enable="false" ItemKey="Operator">
<DataBinding ColumnKey="DisablePerson" TableKey="TM_SalesArea_H"/>
</Dict>
<Label Key="Lab_DisablePerson" Caption="停用人" X="0" Y="3"/>
<DatePicker Key="CreateTime" Caption="创建时间" BuddyKey="Lab_CreateTime" X="4" Y="0" Enable="false">
<DataBinding ColumnKey="CreateTime" DefaultFormulaValue="ServerDate()" TableKey="TM_SalesArea_H"/>
</DatePicker>
<Label Key="Lab_CreateTime" Caption="创建时间" X="3" Y="0"/>
<DatePicker Key="ModifyTime" Caption="修改时间" BuddyKey="Lab_ModifyTime" X="4" Y="1" Enable="false">
<DataBinding ColumnKey="ModifyTime" DefaultFormulaValue="ServerDate()" TableKey="TM_SalesArea_H"/>
</DatePicker>
<Label Key="Lab_ModifyTime" Caption="修改时间" X="3" Y="1"/>
<DatePicker Key="EnableTime" Caption="启用时间" BuddyKey="Lab_EnableTime" X="4" Y="2" Enable="false">
<DataBinding ColumnKey="EnableTime" DefaultFormulaValue="ServerDate()" TableKey="TM_SalesArea_H"/>
</DatePicker>
<Label Key="Lab_EnableTime" Caption="启用时间" X="3" Y="2"/>
<DatePicker Key="DisableTime" Caption="停用时间" BuddyKey="Lab_DisableTime" X="4" Y="3" Enable="false">
<DataBinding ColumnKey="DisableTime" TableKey="TM_SalesArea_H"/>
</DatePicker>
<Label Key="Lab_DisableTime" Caption="停用时间" X="3" Y="3"/>
<RowDefCollection RowGap="5" RowHeight="25">
<RowDef/>
<RowDef/>
<RowDef Height="30px"/>
<RowDef/>
</RowDefCollection>
<ColumnDefCollection ColumnGap="5">
<ColumnDef Width="100px"/>
<ColumnDef Width="50%"/>
<ColumnDef Width="25px"/>
<ColumnDef Width="100px"/>
<ColumnDef Width="50%"/>
</ColumnDefCollection>
</GridLayoutPanel>
明细表
表格
第一行
<GridColumn Key="Creator_L" Caption="创建人" Width="100px"/>
<GridColumn Key="CreateTime_L" Caption="创建时间" Width="150px"/>
<GridColumn Key="Modifier_L" Caption="修改人" Width="100px"/>
<GridColumn Key="ModifyTime_L" Caption="修改时间" Width="150px"/>
<GridColumn Key="EnablePerson" Caption="启用人" Width="80px"/>
<GridColumn Key="EnableTime" Caption="启用时间" Width="80px"/>
<GridColumn Key="DisablePerson" Caption="停用人" Width="80px"/>
<GridColumn Key="DisableTime" Caption="停用时间" Width="80px"/>
明细行
<GridCell Key="Creator_L" Caption="创建人" CellType="Dict" Enable="false" ItemKey="Operator">
<DataBinding ColumnKey="Creator" DefaultFormulaValue="GetOperator()"/>
<CellFormat HAlign="Center"/>
</GridCell>
<GridCell Key="CreateTime_L" Caption="创建时间" CellType="DatePicker" Enable="false">
<DataBinding ColumnKey="CreateTime" DefaultFormulaValue="ServerDate();"/>
<CellFormat HAlign="Center"/>
</GridCell>
<GridCell Key="Modifier_L" Caption="修改人" CellType="Dict" Enable="false" ItemKey="Operator">
<DataBinding ColumnKey="Modifier" DefaultFormulaValue="GetOperator()"/>
<CellFormat HAlign="Center"/>
</GridCell>
<GridCell Key="ModifyTime_L" Caption="修改时间" CellType="DatePicker" Enable="false">
<DataBinding ColumnKey="ModifyTime" DefaultFormulaValue="ServerDate()"/>
<CellFormat HAlign="Center"/>
</GridCell>
<GridCell Key="EnablePerson_L" Caption="启用人" CellType="Dict" Enable="false" ItemKey="Operator">
<DataBinding ColumnKey="EnablePerson" DefaultFormulaValue="GetOperator();"/>
<CellFormat HAlign="Center"/>
</GridCell>
<GridCell Key="EnableTime_L" Caption="启用时间" CellType="DatePicker" Enable="false">
<DataBinding ColumnKey="EnableTime" DefaultFormulaValue="ServerDate()"/>
<CellFormat HAlign="Center"/>
</GridCell>
<GridCell Key="DisablePerson_L" Caption="停用人" CellType="Dict" Enable="false" ItemKey="Operator">
<DataBinding ColumnKey="DisablePerson"/>
<CellFormat HAlign="Center"/>
</GridCell>
<GridCell Key="DisableTime_L" Caption="停用时间" CellType="DatePicker" Enable="false">
<DataBinding ColumnKey="DisableTime"/>
<CellFormat HAlign="Center"/>
</GridCell>