Merge branch 'master' of http://222.71.245.114:9086/r/iWare_RawMaterialWarehouse
| | |
| | | codeGenConfig.WhetherTable = YesOrNo; |
| | | codeGenConfig.WhetherOrderBy = YesOrNo; |
| | | //是否联合主键 update by liuwq 20240418 |
| | | codeGenConfig.WhetherRequired = YesOrNot.N.ToString(); |
| | | codeGenConfig.WhetherUnionKey = YesOrNot.N.ToString(); |
| | | codeGenConfig.ColumnKey = tableColumn.ColumnKey; |
| | | |
| | | codeGenConfig.DataType = tableColumn.DataType; |
| | |
| | | } |
| | | |
| | | }); |
| | | //新增的时候,设置初始值 |
| | | this.$nextTick(() => { |
| | | this.form.setFieldsValue( |
| | | { |
| | | @foreach (var column in Model.TableField){ |
| | | if (@column.EffectType == "switch" && @column.WhetherRequired == "Y" ){ |
| | | @:@(@column.ColumnName): false, |
| | | }} |
| | | }) |
| | | }); |
| | | @foreach (var column in Model.TableField){ |
| | | if (@column.DictTypeCode != ""){ |
| | | if (@column.EffectType == "select" || @column.EffectType == "radio" || @column.EffectType == "checkbox"){ |