Browse Source

配置文件更新

master
陈薪名 1 year ago
parent
commit
681ac23227
  1. 306
      src/utils/disposition/tableColumns.ts

306
src/utils/disposition/tableColumns.ts

@ -6843,7 +6843,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
}, },
{ {
@ -6854,7 +6854,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
}, },
{ {
@ -6865,7 +6865,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
}, },
{ {
@ -6876,7 +6876,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
}, },
{ {
@ -6903,7 +6903,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
}, },
{ {
@ -6914,7 +6914,7 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
}, },
{ {
@ -7056,26 +7056,6 @@ export const Businesstype = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '是否软删除',
field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -7132,6 +7112,7 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '描述', label: '描述',
@ -7146,7 +7127,6 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'type', field: 'type',
dictType: DICT_TYPE.DOCUMENT_TYPE, dictType: DICT_TYPE.DOCUMENT_TYPE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7198,7 +7178,6 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'resetPeriod', field: 'resetPeriod',
dictType: DICT_TYPE.RESET_PERIOD, dictType: DICT_TYPE.RESET_PERIOD,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7301,26 +7280,6 @@ export const Documentsetting = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '是否软删除',
field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -7378,7 +7337,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'requestMode', field: 'requestMode',
dictType: DICT_TYPE.REQEUST_MODE, dictType: DICT_TYPE.REQEUST_MODE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7390,7 +7348,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoCommit', field: 'autoCommit',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7410,7 +7367,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoAgree', field: 'autoAgree',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7430,7 +7386,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoExecute', field: 'autoExecute',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7450,7 +7405,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'directCreateRecord', field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7485,26 +7439,6 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '是否软删除',
field: 'isSoftDeleted',
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'
}
},
},
{ {
label: '生效时间', label: '生效时间',
field: 'activeTime', field: 'activeTime',
@ -7566,11 +7500,12 @@ export const Requestsetting = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '备注', label: '备注',
field: 'remark', field: 'remark',
isTable: false, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
isSearch: true,
}, },
{ {
label: '创建者', label: '创建者',
@ -7644,7 +7579,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'autoComplete', field: 'autoComplete',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7664,7 +7598,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyLocation', field: 'allowModifyLocation',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7684,7 +7617,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyQty', field: 'allowModifyQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7704,7 +7636,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowBiggerQty', field: 'allowBiggerQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7724,7 +7655,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowSmallerQty', field: 'allowSmallerQty',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7744,7 +7674,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyInventoryStatus', field: 'allowModifyInventoryStatus',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7764,7 +7693,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowContinuousScanning', field: 'allowContinuousScanning',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7784,7 +7712,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowPartialComplete', field: 'allowPartialComplete',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7804,7 +7731,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyBach', field: 'allowModifyBach',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7824,7 +7750,6 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
field: 'allowModifyPackingNumber', field: 'allowModifyPackingNumber',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
sort: 'custom', sort: 'custom',
table: { table: {
@ -7860,41 +7785,40 @@ export const Jobsetting = useCrudSchemas(reactive<CrudSchema[]>([
}, },
}, },
{ {
label: '是否软删除', label: '生效时间',
field: 'isSoftDeleted', field: 'activeTime',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
isTable: true, isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 150 width: 180
}, },
form: { form: {
component: 'Switch', component: 'DatePicker',
value: 'TRUE',
componentProps: { componentProps: {
inactiveValue: 'FALSE', type: 'datetime',
activeValue: 'TRUE'
} }
}, },
}, },
{ {
label: '生效时间', label: '是否软删除',
field: 'activeTime', field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true, isTable: true,
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom', sort: 'custom',
table: { table: {
width: 180 width: 150
}, },
form: { form: {
component: 'DatePicker', component: 'Switch',
value: 'TRUE',
componentProps: { componentProps: {
type: 'datetime', inactiveValue: 'FALSE',
activeValue: 'TRUE'
} }
}, },
}, },
@ -8127,26 +8051,6 @@ export const Recordsetting = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '是否软删除',
field: 'isSoftDeleted',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isSearch: true,
sort: 'custom',
table: {
width: 150
},
form: {
component: 'Switch',
value: 'TRUE',
componentProps: {
inactiveValue: 'FALSE',
activeValue: 'TRUE'
}
},
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
@ -10591,9 +10495,20 @@ export const PurchaseDetail = useCrudSchemas(reactive<CrudSchema[]>([
* @returns {Array} * @returns {Array}
*/ */
export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '单据号',
field: 'number',
isForm:false,
table: {
width: 150
}
},
{ {
label: '发货单号', label: '发货单号',
field: 'asnNumber' field: 'asnNumber',
table: {
width: 150
}
}, },
{ {
label: '要货计划单号', label: '要货计划单号',
@ -10602,6 +10517,9 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
componentProps:{ componentProps:{
disabled:true, disabled:true,
} }
},
table: {
width: 150
} }
}, },
{ {
@ -10611,21 +10529,26 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
componentProps:{ componentProps:{
disabled:true, disabled:true,
} }
}
}, },
{ table: {
label: '单据号', width: 150
field: 'number', }
isForm:false,
}, },
{ {
label: '业务类型', label: '状态',
field: 'businessType', field: 'status',
form:{ dictType: DICT_TYPE.REQUEST_STATUS,
value:'PurchaseClaim', dictClass: 'string',
isSearch: true,
isTable: true,
form: {
value:'1',
componentProps:{ componentProps:{
disabled:true, disabled:true,
} }
},
table: {
width: 100
} }
}, },
{ {
@ -10641,6 +10564,9 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
} }
}, },
{ {
@ -10655,6 +10581,9 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
} }
}, },
{ {
@ -10666,54 +10595,27 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
disabled:true, disabled:true,
} }
}, },
table: {
width: 100
}
}, },
{ {
label: '状态', label: '业务类型',
field: 'status', field: 'businessType',
dictType: DICT_TYPE.REQUEST_STATUS, form:{
dictClass: 'string', value:'PurchaseClaim',
isSearch: true,
isTable: true,
form: {
value:'1',
componentProps:{ componentProps:{
disabled:true, disabled:true,
} }
}, },
}, table: {
{ width: 130
label: '备注',
field: 'remark'
},
{
label: '创建者',
field: 'creator',
isForm:false
},
{
label: '创建时间',
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm:false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
} }
}, },
{ {
label: '最后更新者', label: '备注',
field: 'updater', field: 'remark',
isForm:false isTable: false
},
{
label: '最后更新时间',
field: 'updateTime',
isTable: true,
formatter: dateFormatter,
isForm:false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
}, },
{ {
label: '自动提交', label: '自动提交',
@ -10723,7 +10625,7 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isTable: true, isTable: true,
table: { table: {
width: 150 width: 100
}, },
form:{ form:{
component:'Switch', component:'Switch',
@ -10743,7 +10645,7 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isTable: true, isTable: true,
table: { table: {
width: 150 width: 100
}, },
form:{ form:{
component:'Switch', component:'Switch',
@ -10763,7 +10665,7 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
isSearch: true, isSearch: true,
isTable: true, isTable: true,
table: { table: {
width: 150 width: 100
}, },
form:{ form:{
component:'Switch', component:'Switch',
@ -10776,14 +10678,14 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
{ {
label: '跳过任务直接生成记录', label: '直接生成记录',
field: 'directCreateRecord', field: 'directCreateRecord',
dictType: DICT_TYPE.TRUE_FALSE, dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string', dictClass: 'string',
isSearch: false, isSearch: false,
isTable: true, isTable: true,
table: { table: {
width: 150 width: 120
}, },
form:{ form:{
component:'Switch', component:'Switch',
@ -10795,13 +10697,55 @@ export const PurchaseclaimRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
} }
}, },
{
label: '创建者',
field: 'creator',
isForm:false,
table: {
width: 120
}
},
{
label: '创建时间',
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm:false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
}
},
{
label: '最后更新者',
field: 'updater',
isForm:false,
table: {
width: 120
}
},
{
label: '最后更新时间',
field: 'updateTime',
isTable: true,
formatter: dateFormatter,
isForm:false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
table: {
width: 180
}
},
{ {
label: '操作', label: '操作',
field: 'action', field: 'action',
isDetail: false, isDetail: false,
isForm: false , isForm: false ,
table: { table: {
width: 150 width: 300
} }
} }
])) ]))
@ -10839,7 +10783,11 @@ export const PurchaseclaimRequestMainRules = reactive({
export const PurchaseclaimRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([ export const PurchaseclaimRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
{ {
label: '订单号', label: '订单号',
field: 'poNumber' field: 'poNumber',
tableForm:{
isInpuFocusShow: true
}
}, },
{ {
label: '订单行', label: '订单行',

Loading…
Cancel
Save