feat:【antd】【erp 系统】purchase/order 重构 2/4

This commit is contained in:
YunaiV
2025-10-04 19:27:44 +08:00
parent 5e13d28d46
commit 2039cbc0d0
5 changed files with 4 additions and 25 deletions

View File

@@ -60,21 +60,6 @@ export function useFormSchema(formType: string): VbenFormSchema[] {
},
rules: 'required',
},
{
fieldName: 'purchaseUserId',
label: '创建人',
component: 'ApiSelect',
componentProps: {
placeholder: '请选择创建人',
allowClear: true,
showSearch: true,
api: getSimpleUserList,
fieldNames: {
label: 'nickname',
value: 'id',
},
},
},
{
fieldName: 'remark',
label: '备注',

View File

@@ -150,7 +150,6 @@ const [Modal, modalApi] = useVbenModal({
<template>
<Modal
v-bind="$attrs"
:title="getTitle"
class="w-3/4"
:show-confirm-button="formType !== 'detail'"

View File

@@ -316,4 +316,4 @@ onMounted(async () => {
/>
</template>
</Grid>
</template>
</template>

View File

@@ -62,10 +62,10 @@ export function useFormSchema(formType: string): VbenFormSchema[] {
},
{
fieldName: 'saleUserId',
label: '创建人',
label: '销售人员',
component: 'ApiSelect',
componentProps: {
placeholder: '请选择创建人',
placeholder: '请选择销售人员',
allowClear: true,
showSearch: true,
api: getSimpleUserList,