fix: 新增直接申请license等

This commit is contained in:
caiyuchao
2025-07-21 11:15:06 +08:00
parent ef8c083ea6
commit 99667bc0e7
4 changed files with 14 additions and 14 deletions

View File

@@ -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'),

View File

@@ -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'),

View File

@@ -37,7 +37,7 @@ function onRefresh() {
/** 创建License */
function onCreate() {
formModalApi.setData({}).open();
formModalApi.setData({ action: 1 }).open();
}
/** 申请License */

View File

@@ -416,7 +416,7 @@ export function useGridColumns(
{
field: 'createTime',
title: $t('project.creationTime'),
visible: false,
// visible: false,
minWidth: 120,
formatter: 'formatDateTime',
},