@foreach (var column in Model.TableField){
if(@column.ColumnKey == "True"){
@:
}else{
if (@column.WhetherAddUpdate == "Y"){
if(@column.EffectType == "fk"){
@:
@:
@:
@:
@:
@:
@:
}else if(@column.EffectType == "Input"){
@:
@:
@:
@:
@:
}else if(@column.EffectType == "InputNumber"){
@:
@:
@:
@:
@:
}else if(@column.EffectType == "InputTextArea"){
@:
@:
@:
@:
@:
}else if(@column.EffectType == "Select"){
@:
@:
@:
@:
@:
@:
@:
}else if(@column.EffectType == "ConstSelector"){
@:
@:
@:
@:{{ item.name }}
@:
@:
@:
}else if(@column.EffectType == "Switch"){
@:
@:
@:
@:
@:
}else if(@column.EffectType == "DatePicker"){
@:
@:
@:
@:
@:
}else if(@column.EffectType == "Upload"){
@:
@:
@:
@:
@:
@:
@:
@:
}else{
}
}
}
}
@{
string LowerFirstLetter(string text)
{
return text.ToString()[..1].ToLower() + text[1..]; // 首字母小写
}
}