diff --git a/apps/web-antd/src/views/license/customer/data.ts b/apps/web-antd/src/views/license/customer/data.ts index 2044e6f..783ed17 100644 --- a/apps/web-antd/src/views/license/customer/data.ts +++ b/apps/web-antd/src/views/license/customer/data.ts @@ -153,14 +153,6 @@ export function useGridFormSchema(): VbenFormSchema[] { allowClear: true, }, }, - { - fieldName: 'code', - label: $t('customer.customerSn'), - component: 'Input', - componentProps: { - allowClear: true, - }, - }, { fieldName: 'type', label: $t('customer.customerType'), @@ -170,6 +162,14 @@ export function useGridFormSchema(): VbenFormSchema[] { options: getDictOptions(DICT_TYPE.LIC_CUSTOMER_TYPE, 'number'), }, }, + { + fieldName: 'code', + label: $t('customer.customerSn'), + component: 'Input', + componentProps: { + allowClear: true, + }, + }, { fieldName: 'contacts', label: $t('customer.contacts'), diff --git a/apps/web-antd/src/views/license/license/data.ts b/apps/web-antd/src/views/license/license/data.ts index db50566..58999fd 100644 --- a/apps/web-antd/src/views/license/license/data.ts +++ b/apps/web-antd/src/views/license/license/data.ts @@ -477,10 +477,10 @@ export function useGridColumns( }, name: 'CellOperation', options: [ - { - code: 'edit', - show: hasAccessByCodes(['license:license:update']), - }, + // { + // code: 'edit', + // show: hasAccessByCodes(['license:license:update']), + // }, { code: 'apply', text: $t('license.apply'), diff --git a/apps/web-antd/src/views/license/license/index.vue b/apps/web-antd/src/views/license/license/index.vue index 509ead5..ed901eb 100644 --- a/apps/web-antd/src/views/license/license/index.vue +++ b/apps/web-antd/src/views/license/license/index.vue @@ -37,7 +37,7 @@ function onRefresh() { /** 创建License */ function onCreate() { - formModalApi.setData({}).open(); + formModalApi.setData({ action: 1 }).open(); } /** 申请License */ diff --git a/apps/web-antd/src/views/license/project/data.ts b/apps/web-antd/src/views/license/project/data.ts index 89dd0aa..633d4ae 100644 --- a/apps/web-antd/src/views/license/project/data.ts +++ b/apps/web-antd/src/views/license/project/data.ts @@ -416,7 +416,7 @@ export function useGridColumns( { field: 'createTime', title: $t('project.creationTime'), - visible: false, + // visible: false, minWidth: 120, formatter: 'formatDateTime', },