diff --git a/src/views/wms/basicDataManage/subject/subjectAccount/index.vue b/src/views/wms/basicDataManage/subject/subjectAccount/index.vue index c17d92f32..4c6654736 100644 --- a/src/views/wms/basicDataManage/subject/subjectAccount/index.vue +++ b/src/views/wms/basicDataManage/subject/subjectAccount/index.vue @@ -99,9 +99,9 @@ const { getList, setSearchParams } = tableMethods // 列表头部按钮 const HeadButttondata = [ - defaultButtons.defaultAddBtn({hasPermi:'wms:subjectAccount:create'}), // 新增 - defaultButtons.defaultImportBtn({hasPermi:'wms:subjectAccount:import'}), // 导入 - defaultButtons.defaultExportBtn({hasPermi:'wms:subjectAccount:export'}), // 导出 + defaultButtons.defaultAddBtn({hasPermi:'wms:subject-account:create'}), // 新增 + defaultButtons.defaultImportBtn({hasPermi:'wms:subject-account:import'}), // 导入 + defaultButtons.defaultExportBtn({hasPermi:'wms:subject-account:export'}), // 导出 defaultButtons.defaultFreshBtn(null), // 刷新 defaultButtons.defaultFilterBtn(null), // 筛选 defaultButtons.defaultSetBtn(null), // 设置 @@ -133,8 +133,8 @@ const buttonBaseClick = (val, item) => { // 列表-操作按钮 const butttondata = [ - defaultButtons.mainListEditBtn({hasPermi:'wms:subjectAccount:update'}), // 编辑 - defaultButtons.mainListDeleteBtn({hasPermi:'wms:subjectAccount:delete'}), // 删除 + defaultButtons.mainListEditBtn({hasPermi:'wms:subject-account:update'}), // 编辑 + defaultButtons.mainListDeleteBtn({hasPermi:'wms:subject-account:delete'}), // 删除 ] // 列表-操作按钮事件 diff --git a/src/views/wms/basicDataManage/subject/subjectAccount/subjectAccount.data.ts b/src/views/wms/basicDataManage/subject/subjectAccount/subjectAccount.data.ts index d82220542..c53804311 100644 --- a/src/views/wms/basicDataManage/subject/subjectAccount/subjectAccount.data.ts +++ b/src/views/wms/basicDataManage/subject/subjectAccount/subjectAccount.data.ts @@ -33,20 +33,19 @@ export const SubjectAccount = useCrudSchemas(reactive([ field: 'usageDescription', sort: 'custom', isSearch: true, - form: { - component: 'Editor', - componentProps: { - valueHtml: '', - height: 200 - } - }, }, { - label: '成本中心ID', + label: '成本中心ID111', field: 'costecentreId', sort: 'custom', isSearch: false, isTable:false, + disabled:true, + from:{ + componentProps:{ + disabled:true + } + } }, { label: '成本中心代码', @@ -59,9 +58,6 @@ export const SubjectAccount = useCrudSchemas(reactive([ field: 'costecentreType', sort: 'custom', isSearch: false, - form: { - component: 'SelectV2' - }, }, { label: '项目ID', @@ -69,6 +65,12 @@ export const SubjectAccount = useCrudSchemas(reactive([ sort: 'custom', isSearch: false, isTable:false, + disabled:true, + from:{ + componentProps:{ + disabled:true + } + } }, { label: '项目代码', @@ -107,60 +109,6 @@ export const SubjectAccount = useCrudSchemas(reactive([ }, isForm: false, }, - { - label: '删除时间', - field: 'deletionTime', - sort: 'custom', - formatter: dateFormatter, - isTable:false, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - valueFormat: 'x' - } - }, - }, - { - label: '删除者ID', - field: 'deleterId', - sort: 'custom', - isSearch: false, - isTable:false, - }, - { - label: '扩展属性', - field: 'extraProperties', - sort: 'custom', - isSearch: false, - isTable:false, - }, - { - label: '并发乐观锁', - field: 'concurrencyStamp', - sort: 'custom', - isSearch: false, - form: { - component: 'InputNumber', - value: 0 - }, - isTable:false, - }, - { - label: '地点ID', - field: 'siteId', - sort: 'custom', - isSearch: false, - isTable:false - }, { label: '操作', field: 'action',