|
@ -44,6 +44,24 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '计划类型', |
|
|
|
|
|
field: 'planType', |
|
|
|
|
|
dictType: DICT_TYPE.PLAN_PRODUCTION_TYPE, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Select', |
|
|
|
|
|
value: 'predictSparePart', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '状态', |
|
|
label: '状态', |
|
|
field: 'status', |
|
|
field: 'status', |
|
@ -61,7 +79,6 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
// disabled: true
|
|
|
// disabled: true
|
|
|
// }
|
|
|
// }
|
|
|
// },
|
|
|
// },
|
|
|
isForm:false, |
|
|
|
|
|
isSearch: true, |
|
|
isSearch: true, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -78,7 +95,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '机台', |
|
|
label: '车间', |
|
|
field: 'workshop', |
|
|
field: 'workshop', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -131,8 +148,8 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '班次', |
|
|
label: '班组', |
|
|
field: 'shift', |
|
|
field: 'team', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -141,11 +158,11 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, |
|
|
isSearchList: true, |
|
|
searchListPlaceholder: '请选择班次', |
|
|
searchListPlaceholder: '请选择班组', |
|
|
searchField: 'code', |
|
|
searchField: 'code', |
|
|
searchTitle: '班次信息', |
|
|
searchTitle: '班组信息', |
|
|
searchAllSchemas: Shift.allSchemas, |
|
|
searchAllSchemas: Team.allSchemas, |
|
|
searchPage: ShiftApi.getShiftPage, |
|
|
searchPage: TeamApi.getTeamPage, |
|
|
searchCondition:[{ |
|
|
searchCondition:[{ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
@ -155,8 +172,8 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '班组', |
|
|
label: '班次', |
|
|
field: 'team', |
|
|
field: 'shift', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -165,11 +182,11 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
isSearchList: true, |
|
|
isSearchList: true, |
|
|
searchListPlaceholder: '请选择班组', |
|
|
searchListPlaceholder: '请选择班次', |
|
|
searchField: 'code', |
|
|
searchField: 'code', |
|
|
searchTitle: '班组信息', |
|
|
searchTitle: '班次信息', |
|
|
searchAllSchemas: Team.allSchemas, |
|
|
searchAllSchemas: Shift.allSchemas, |
|
|
searchPage: TeamApi.getTeamPage, |
|
|
searchPage: ShiftApi.getShiftPage, |
|
|
searchCondition:[{ |
|
|
searchCondition:[{ |
|
|
key: 'available', |
|
|
key: 'available', |
|
|
value: 'TRUE', |
|
|
value: 'TRUE', |
|
@ -178,6 +195,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '物料代码', |
|
|
label: '物料代码', |
|
|
field: 'detailItemCode', |
|
|
field: 'detailItemCode', |
|
@ -186,6 +204,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -195,6 +214,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -208,6 +228,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 120 |
|
|
width: 120 |
|
|
}, |
|
|
}, |
|
|
|
|
|
sortTableDefault:1000, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -229,6 +250,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
sortTableDefault:1000, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -250,6 +272,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
sortTableDefault:1000, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -267,6 +290,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
value: 'ProductReceipt', |
|
|
value: 'ProductReceipt', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -275,24 +299,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '计划类型', |
|
|
|
|
|
field: 'planType', |
|
|
|
|
|
dictType: DICT_TYPE.PLAN_PRODUCTION_TYPE, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Select', |
|
|
|
|
|
value: 'predictSparePart', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '备注', |
|
|
field: 'remark', |
|
|
field: 'remark', |
|
@ -307,7 +314,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'available', |
|
|
field: 'available', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -326,7 +333,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'autoCommit', |
|
|
field: 'autoCommit', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -347,7 +354,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'autoAgree', |
|
|
field: 'autoAgree', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -368,7 +375,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
field: 'autoExecute', |
|
|
field: 'autoExecute', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isTable: true, |
|
|
isTable: false, |
|
|
isForm:false, |
|
|
isForm:false, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
@ -478,6 +485,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -491,6 +499,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -509,6 +518,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
@ -522,6 +532,7 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -634,6 +645,14 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}], |
|
|
}], |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '物料名称', |
|
|
|
|
|
field: 'itemName', |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: 'Bom版本', |
|
|
label: 'Bom版本', |
|
|
field: 'bomVersion', |
|
|
field: 'bomVersion', |
|
@ -682,8 +701,8 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '合格数量', |
|
|
label: '计划数量', |
|
|
field: 'goodQty', |
|
|
field: 'planQty', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
@ -691,25 +710,39 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
min: 1, |
|
|
min: 0, |
|
|
precision: 6 |
|
|
precision: 6 |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'InputNumber', |
|
|
type: 'InputNumber', |
|
|
min: 1, |
|
|
min: 0, |
|
|
precision: 6 |
|
|
precision: 6 |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '不合格数量', |
|
|
label: '计量单位', |
|
|
field: 'notGoodQty', |
|
|
field: 'uom', |
|
|
|
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm:{ |
|
|
|
|
|
type: 'Select' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: '合格数量', |
|
|
|
|
|
field: 'goodQty', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
hiddenInMain: true, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -726,27 +759,40 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isForm: false |
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '单据号', |
|
|
label: '不合格数量', |
|
|
field: 'number', |
|
|
field: 'notGoodQty', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
hiddenInMain: true, |
|
|
form: { |
|
|
form: { |
|
|
|
|
|
component: 'InputNumber', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
disabled: true |
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
min: 1, |
|
|
|
|
|
precision: 6 |
|
|
|
|
|
}, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '备注', |
|
|
label: '创建者', |
|
|
field: 'remark', |
|
|
field: 'creator', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
hiddenInMain: true, |
|
|
|
|
|
isTableForm: false, |
|
|
|
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
|
field: 'createTime', |
|
|
field: 'createTime', |
|
@ -758,6 +804,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
hiddenInMain: true, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -771,49 +818,55 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '创建者', |
|
|
label: '是否可用', |
|
|
field: 'creator', |
|
|
field: 'available', |
|
|
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
hiddenInMain: true, |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
isTableForm: false, |
|
|
form: { |
|
|
isForm: false, |
|
|
component: 'Switch', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
inactiveValue: 'FALSE', |
|
|
|
|
|
activeValue: 'TRUE' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'Select', |
|
|
|
|
|
default: 'TRUE' |
|
|
|
|
|
}, |
|
|
|
|
|
// isTableForm: false,
|
|
|
|
|
|
// isForm: false
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '计划数量', |
|
|
label: '单据号', |
|
|
field: 'planQty', |
|
|
field: 'number', |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isTableForm: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'InputNumber', |
|
|
|
|
|
componentProps: { |
|
|
componentProps: { |
|
|
min: 0, |
|
|
disabled: true |
|
|
precision: 6 |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
} |
|
|
tableForm: { |
|
|
|
|
|
type: 'InputNumber', |
|
|
|
|
|
min: 0, |
|
|
|
|
|
precision: 6 |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '计量单位', |
|
|
label: '备注', |
|
|
field: 'uom', |
|
|
field: 'remark', |
|
|
dictType: DICT_TYPE.UOM, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm:{ |
|
|
isTable: false, |
|
|
type: 'Select' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '最后更新时间', |
|
|
label: '最后更新时间', |
|
@ -826,6 +879,7 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
form: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
@ -845,35 +899,10 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
|
|
|
isTable: false, |
|
|
isTableForm: false, |
|
|
isTableForm: false, |
|
|
isForm: false, |
|
|
isForm: false, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '是否可用', |
|
|
|
|
|
field: 'available', |
|
|
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isSearch: true, |
|
|
|
|
|
isTable: true, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Switch', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
inactiveValue: 'FALSE', |
|
|
|
|
|
activeValue: 'TRUE' |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
tableForm: { |
|
|
|
|
|
type: 'Select', |
|
|
|
|
|
default: 'TRUE' |
|
|
|
|
|
}, |
|
|
|
|
|
// isTableForm: false,
|
|
|
|
|
|
// isForm: false
|
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '操作', |
|
|
label: '操作', |
|
|
hiddenInMain:true, |
|
|
hiddenInMain:true, |
|
|