Browse Source

配置文件修改

master
陈薪名 1 year ago
parent
commit
84dff5a40a
  1. 311
      src/utils/disposition/tableColumns.ts

311
src/utils/disposition/tableColumns.ts

@ -811,7 +811,7 @@ export const Stdcostprice = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '是否可用',
field: 'avaliable',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isSearch: true,
@ -945,6 +945,15 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1107,6 +1116,15 @@ export const Supplier = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1242,6 +1260,15 @@ export const Supplieritem = useCrudSchemas(reactive<CrudSchema[]>([
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1333,6 +1360,15 @@ export const Purchaseprice = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1408,7 +1444,8 @@ export const Customer = useCrudSchemas(reactive<CrudSchema[]>([
field: 'currency',
dictType: DICT_TYPE.CURRENCY,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '税率',
@ -1419,14 +1456,16 @@ export const Customer = useCrudSchemas(reactive<CrudSchema[]>([
field: 'type',
dictType: DICT_TYPE.CUSTOMER_TYPE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '是否可用',
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -1462,6 +1501,15 @@ export const Customer = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1528,7 +1576,8 @@ export const Customerdock = useCrudSchemas(reactive<CrudSchema[]>([
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true,
isForm: false
isForm: false,
isSearch: true
},
{
label: '生效时间',
@ -1564,6 +1613,15 @@ export const Customerdock = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1680,6 +1738,15 @@ export const Customeritem = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1726,7 +1793,8 @@ export const Project = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -1762,6 +1830,15 @@ export const Project = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1804,7 +1881,8 @@ export const Saleprice = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -1840,6 +1918,15 @@ export const Saleprice = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1891,7 +1978,8 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -1927,6 +2015,15 @@ export const Warehouse = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -1989,7 +2086,8 @@ export const Dock = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -2025,6 +2123,15 @@ export const Dock = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -2066,7 +2173,7 @@ export const Area = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '类型',
field: 'type',
dictType: DICT_TYPE.TRUE_FALSE,
dictType: DICT_TYPE.AREA_TYPE,
dictClass: 'string',
isSearch: true,
isTable: true
@ -2084,7 +2191,8 @@ export const Area = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -2120,6 +2228,15 @@ export const Area = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -2149,7 +2266,7 @@ export const Locationgroup = useCrudSchemas(reactive<CrudSchema[]>([
},
{
label: '名称',
field: 'mame'
field: 'name'
},
{
label: '仓库代码',
@ -2164,7 +2281,8 @@ export const Locationgroup = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -2200,6 +2318,15 @@ export const Locationgroup = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -2300,7 +2427,8 @@ export const Location = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true,
},
{
label: '生效时间',
@ -2336,6 +2464,15 @@ export const Location = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -2421,13 +2558,21 @@ export const Workshop = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{ label: '备注', field: 'remark', isTable: false },
{ label: '创建者', field: 'creator', isTable: false, isForm: false }
{ label: '备注', field: 'remark' },
{ label: '创建者', field: 'creator' },
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
//表单校验
@ -2503,13 +2648,21 @@ export const Productionline = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{ label: '备注', field: 'remark', isTable: false },
{ label: '创建者', field: 'creator', isTable: false, isForm: false }
{ label: '备注', field: 'remark' },
{ label: '创建者', field: 'creator' },
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
//表单校验
@ -2592,13 +2745,21 @@ export const Workstation = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{ label: '备注', field: 'remark', isTable: false },
{ label: '创建者', field: 'creator', isTable: false, isForm: false }
{ label: '备注', field: 'remark' },
{ label: '创建者', field: 'creator' },
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
//表单检验
@ -2676,13 +2837,21 @@ export const Process = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{ label: '备注', field: 'remark', isTable: false },
{ label: '创建者', field: 'creator', isTable: false, isForm: false }
{ label: '备注', field: 'remark' },
{ label: '创建者', field: 'creator' },
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
//表单检验
@ -2758,13 +2927,21 @@ export const Systemcalendar = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{ label: '备注', field: 'remark', isTable: false },
{ label: '创建者', field: 'creator', isTable: false, isForm: false }
{ label: '备注', field: 'remark' },
{ label: '创建者', field: 'creator' },
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
//表单校验
@ -2851,13 +3028,21 @@ export const Accountcalendar = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{ label: '备注', field: 'remark', isTable: false },
{ label: '创建者', field: 'creator', isTable: false, isForm: false }
{ label: '备注', field: 'remark', },
{ label: '创建者', field: 'creator' },
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
//表单校验
@ -2937,13 +3122,21 @@ export const Currencyexchange = useCrudSchemas(reactive<CrudSchema[]>([
field: 'createTime',
isTable: true,
formatter: dateFormatter,
isForm: false,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
}
},
{ label: '备注', field: 'remark', isTable: false },
{ label: '创建者', field: 'creator', isTable: false, isForm: false }
{ label: '备注', field: 'remark' },
{ label: '创建者', field: 'creator' },
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
//表单校验
@ -3035,7 +3228,8 @@ export const Owner = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -3071,6 +3265,15 @@ export const Owner = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -3160,7 +3363,8 @@ export const Carrier = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -3196,6 +3400,15 @@ export const Carrier = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -3254,7 +3467,8 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -3290,6 +3504,15 @@ export const Shift = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))
@ -3333,7 +3556,8 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
field: 'available',
dictType: DICT_TYPE.TRUE_FALSE,
dictClass: 'string',
isTable: true
isTable: true,
isSearch: true
},
{
label: '生效时间',
@ -3369,6 +3593,15 @@ export const Team = useCrudSchemas(reactive<CrudSchema[]>([
{
label: '创建者',
field: 'creator'
},
{
label: '操作',
field: 'action',
isDetail: false,
isForm: false ,
table: {
width: 150
}
}
]))

Loading…
Cancel
Save