@ningboyz/types 1.6.109 → 1.6.111

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ningboyz/types",
3
3
  "type": "module",
4
- "version": "1.6.109",
4
+ "version": "1.6.111",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -1,5 +1,6 @@
1
1
  import { IDeptResponse, ILaidResponse } from "../core";
2
2
  import { ICardZcpdBillResponse } from "./ICardZcpdBillResponse";
3
+ import _ from "lodash";
3
4
 
4
5
  export interface ICardZcpdResponse {
5
6
  whoBuild: number;
@@ -25,10 +26,18 @@ export interface ICardZcpdResponse {
25
26
  menuMain: number;
26
27
  menuUUID: string;
27
28
  zcpdDate: number;
29
+ /**
30
+ * 0: 部门
31
+ * 1: 存放地点
32
+ * */
28
33
  zcpdType: number;
29
34
  zcpdCode: string;
30
35
  zcpdName: string;
36
+ /**
37
+ * cardZcpd的zcpdStat=0时,为临时状态 zcpdStat=1时,则为正式状态,调用/card/tzcpd/saveitdb,自动将zcpdStat更新为1
38
+ * */
31
39
  zcpdStat: number;
40
+ // 取得日期
32
41
  cardRzrq: number;
33
42
  zcpdMemo: string;
34
43
 
@@ -71,4 +80,10 @@ export class TCardZcpdResponse implements ICardZcpdResponse {
71
80
  listDept: IDeptResponse[] = [];
72
81
  listLaid: ILaidResponse[] = [];
73
82
  listBill: ICardZcpdBillResponse[] = [];
83
+
84
+ constructor(data: Partial<ICardZcpdResponse> = {}) {
85
+ if (data) {
86
+ _.merge(this, _.pick(data, Object.keys(this)));
87
+ }
88
+ }
74
89
  }
@@ -75,6 +75,7 @@ export interface IHznkFytqResponse {
75
75
  lastMemo: string;
76
76
  userName: string;
77
77
  userGUID: string;
78
+ totalVal: number;
78
79
 
79
80
  /**附件 */
80
81
  listPath: TCore.IPathResponse[];
@@ -149,12 +150,14 @@ export class THznkFytqResponse implements IHznkFytqResponse {
149
150
  lastMemo: string = "";
150
151
  userName: string = "";
151
152
  userGUID: string = "";
153
+ totalVal: number = 0;
152
154
 
153
155
  listPath: TCore.IPathResponse[] = [];
154
156
  listFrom: THznk.IHznkFydwBillResponse[] = [];
155
157
  listSKDW: TCore.IUserAcnoResponse[] = [];
156
158
  listSKYH: TCore.IUserLiteResponse[] = [];
157
159
  listBill: THznk.IHznkFytqBillResponse[] = [];
160
+
158
161
  constructor(data: Partial<IHznkFytqResponse> = {}) {
159
162
  if (data) {
160
163
  _.merge(this, _.pick(data, Object.keys(this)));