feat:【antd】【erp 系统】warehouse 迁移

This commit is contained in:
YunaiV
2025-10-03 11:38:08 +08:00
parent 2572824d1a
commit c208c56f72
8 changed files with 2 additions and 19 deletions

View File

@@ -66,8 +66,6 @@ async function handleDelete(ids: number[]) {
key: 'action_process_msg',
});
onRefresh();
} catch {
// 处理错误
} finally {
hideLoading();
}

View File

@@ -64,8 +64,6 @@ async function handleDelete(row: ErpPurchaseOrderApi.PurchaseOrder) {
key: 'action_process_msg',
});
onRefresh();
} catch {
// 处理错误
} finally {
hideLoading();
}
@@ -87,8 +85,6 @@ async function handleBatchDelete() {
key: 'action_process_msg',
});
onRefresh();
} catch {
// 处理错误
} finally {
hideLoading();
}

View File

@@ -66,8 +66,6 @@ async function handleDelete(ids: number[]) {
key: 'action_process_msg',
});
onRefresh();
} catch {
// 处理错误
} finally {
hideLoading();
}
@@ -90,8 +88,6 @@ async function handleUpdateStatus(
key: 'action_process_msg',
});
onRefresh();
} catch {
// 处理错误
} finally {
hideLoading();
}

View File

@@ -75,8 +75,7 @@ export function useFormSchema(): VbenFormSchema[] {
buttonStyle: 'solid',
optionType: 'button',
},
rules: 'required',
defaultValue: CommonStatusEnum.ENABLE,
rules: z.number().default(CommonStatusEnum.ENABLE),
},
{
fieldName: 'sort',

View File

@@ -46,7 +46,7 @@ async function handleDelete(row: ErpSupplierApi.Supplier) {
await deleteSupplier(row.id!);
message.success($t('ui.actionMessage.deleteSuccess', [row.name]));
handleRefresh();
} catch {
} finally {
hideLoading();
}
}

View File

@@ -72,8 +72,6 @@ async function handleDelete(ids: number[]) {
key: 'action_process_msg',
});
onRefresh();
} catch {
// 处理错误
} finally {
hideLoading();
}

View File

@@ -73,8 +73,6 @@ async function handleDelete(ids: number[]) {
key: 'action_process_msg',
});
onRefresh();
} catch {
// 处理错误
} finally {
hideLoading();
}

View File

@@ -73,8 +73,6 @@ async function handleDelete(ids: number[]) {
key: 'action_process_msg',
});
onRefresh();
} catch {
// 处理错误
} finally {
hideLoading();
}