fix(pl): 优化证件行内绑定并保护已关联数据免于误改

This commit is contained in:
wuzilong committed 2026-11-02 12:45:55 +08:00
1 parent ed22f7df4e
commit d30a406aa6
12 files changed
+300 -54

No files matched your search

+2
View File
@@ -51,6 +51,7 @@ export interface QuotaCert extends Omit<CertBody, 'status'> {
id: string
status: 'draft' | 'active' | 'suspended' | 'void'
bindingsEditable?: boolean
referencesEditable?: boolean
revision: number
reservedQty: string | number
usedQty: string | number
@@ -347,6 +348,7 @@ export const quotaAdjustmentApi = {
export type QuotaQuantity = string | number
export interface CertificateContractBinding {
editLocked?: boolean
id?: string
contractId: string
linkStatus?: 'active' | 'inactive'