@foreach (var column in Model.TableField){
if(@column.ColumnKey == "True"){
@:
}else{
if (@column.WhetherAddUpdate == "Y"){
if (@column.EffectType == "select" || @column.EffectType == "radio" || @column.EffectType == "checkbox"){
@:
}else{
@:
}
if (@column.EffectType == "user"){
if (@column.WhetherRequired == "Y"){
@:
}else{
@:
}
}
if (@column.EffectType == "depart"){
if (@column.WhetherRequired == "Y"){
@:
}else{
@:
}
}
if (@column.EffectType == "input"){
if (@column.WhetherRequired == "Y"){
@:
}else{
@:
}
}
if (@column.EffectType == "textarea"){
if (@column.WhetherRequired == "Y"){
@:
}else{
@:
}
}
if (@column.EffectType == "inputnumber"){
if (@column.WhetherRequired == "Y"){
@:
}else{
@:
}
}
if (@column.EffectType == "select"){
if (@column.WhetherRequired == "Y"){
@:
@:{{ item.name }}
@:
}else{
@:
@:{{ item.name }}
@:
}
}
if (@column.EffectType == "radio"){
if (@column.WhetherRequired == "Y"){
@:
@:{{ item.name }}
@:
}else{
@:
@:{{ item.name }}
@:
}
}
if (@column.EffectType == "checkbox"){
if (@column.WhetherRequired == "Y"){
@:
@:{{ item.name }}
@:
}else{
@:
@:{{ item.name }}
@:
}
}
if (@column.EffectType == "switch"){
if (@column.WhetherRequired == "Y"){
@:
}else{
@:
}
}
if (@column.EffectType == "datepicker"){
if (@column.WhetherRequired == "Y"){
@:
}else{
@:
}
}
if (@column.EffectType == "fk"){
if (@column.WhetherRequired == "Y"){
@:
@:{{ item.name }}
@:
}else{
@:
@:{{ item.name }}
@:
}
}
@:
}
}
}