|
|
@@ -373,6 +373,13 @@ export interface IScopeType {
|
|
|
value: string;
|
|
|
}
|
|
|
|
|
|
+export enum ECodeRule {
|
|
|
+ currentYear = 'currentYear', // 当前年份
|
|
|
+ currentMonth = 'currentMont', // 当前月份
|
|
|
+ fixedText = 'fixedText', // 固定文本
|
|
|
+ autoCode = 'autoCode', // 自动编号
|
|
|
+}
|
|
|
+
|
|
|
export interface IApproval {
|
|
|
ID: string;
|
|
|
name: string;
|
|
|
@@ -390,6 +397,10 @@ export interface IApproval {
|
|
|
approvalLog: IScopeType[];
|
|
|
approvalProgress: IScopeType[];
|
|
|
};
|
|
|
+ code?: {
|
|
|
+ rules: [{ type: ECodeRule; value?: string; digit: string }];
|
|
|
+ connector: string;
|
|
|
+ };
|
|
|
}
|
|
|
|
|
|
export enum ApprovalStatus {
|