|
|
@ -14,7 +14,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
table: { |
|
|
|
width: 120, |
|
|
|
width: 150, |
|
|
|
fixed: 'left' |
|
|
|
}, |
|
|
|
form: { |
|
|
@ -42,8 +42,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
table: { |
|
|
|
width: 120, |
|
|
|
fixed: 'left' |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
@ -70,7 +69,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
table: { |
|
|
|
width: 140 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
@ -97,7 +96,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
table: { |
|
|
|
width: 140 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
@ -123,7 +122,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'maxQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 140 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
@ -138,7 +137,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'minQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 140 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
@ -189,7 +188,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
table: { |
|
|
|
width: 140 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
@ -215,7 +214,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'repleinshQty', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 120 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
@ -225,6 +224,59 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '管理精度', |
|
|
|
field: 'manageMode', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
dictType: DICT_TYPE.MANAGEMENT_MODE, |
|
|
|
dictClass: 'string', |
|
|
|
// colorType: 'danger',
|
|
|
|
isTable: true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '入库自动转为出库包装规格', |
|
|
|
field: 'newlyToOutpackunit', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
// colorType: 'danger',
|
|
|
|
isTable: true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'TRUE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '出库自动转为出库包装规格', |
|
|
|
field: 'surplusToOutpackunit', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
// colorType: 'danger',
|
|
|
|
isTable: true, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'TRUE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '需要接收确认', |
|
|
|
field: 'needReceive', |
|
|
@ -234,7 +286,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
// colorType: 'danger',
|
|
|
|
isTable: true, |
|
|
|
table: { |
|
|
|
width: 140 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
@ -255,7 +307,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
// colorType: 'danger',
|
|
|
|
isTable: true, |
|
|
|
table: { |
|
|
|
width: 120 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
@ -275,7 +327,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
width: 150 |
|
|
|
} , |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
@ -294,7 +346,7 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
width: 150 |
|
|
|
} , |
|
|
|
form: { |
|
|
|
component: 'DatePicker', |
|
|
@ -304,14 +356,6 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '备注', |
|
|
|
field: 'remark', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 120 |
|
|
|
} , |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '创建时间', |
|
|
|
field: 'createTime', |
|
|
@ -330,8 +374,9 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'creator', |
|
|
|
sort: 'custom', |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
table: { |
|
|
|
width: 120 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
@ -340,11 +385,12 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
sort: 'custom', |
|
|
|
formatter: dateFormatter, |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
detail: { |
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
}, |
|
|
|
table: { |
|
|
|
width: 180 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
@ -352,62 +398,18 @@ export const Itemarea = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
field: 'updater', |
|
|
|
sort: 'custom', |
|
|
|
isForm: false, |
|
|
|
isTable: false, |
|
|
|
table: { |
|
|
|
width: 120 |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '管理精度', |
|
|
|
field: 'manageMode', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true, |
|
|
|
dictType: DICT_TYPE.MANAGEMENT_MODE, |
|
|
|
dictClass: 'string', |
|
|
|
// colorType: 'danger',
|
|
|
|
isTable: true, |
|
|
|
table: { |
|
|
|
width: 120 |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '入库自动转为出库包装规格', |
|
|
|
field: 'newlyToOutpackunit', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
// colorType: 'danger',
|
|
|
|
isTable: true, |
|
|
|
table: { |
|
|
|
width: 120 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'TRUE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '出库自动转为出库包装规格', |
|
|
|
field: 'surplusToOutpackunit', |
|
|
|
label: '备注', |
|
|
|
field: 'remark', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
|
dictClass: 'string', |
|
|
|
// colorType: 'danger',
|
|
|
|
isTable: true, |
|
|
|
table: { |
|
|
|
width: 120 |
|
|
|
} , |
|
|
|
form: { |
|
|
|
component: 'Switch', |
|
|
|
value: 'TRUE', |
|
|
|
componentProps: { |
|
|
|
inactiveValue: 'FALSE', |
|
|
|
activeValue: 'TRUE' |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '操作', |
|
|
|