@ningboyz/types 1.6.108 → 1.6.110
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
|
@@ -163,6 +163,7 @@ export interface IBillMainResponse {
|
|
|
163
163
|
fromOutMoney: number;
|
|
164
164
|
fromFinalOut: number;
|
|
165
165
|
fromNowMoney: number;
|
|
166
|
+
didFirst: number;
|
|
166
167
|
|
|
167
168
|
listLock: IBillMainResponse[];
|
|
168
169
|
}
|
|
@@ -328,6 +329,7 @@ export class TBillMainResponse implements IBillMainResponse {
|
|
|
328
329
|
fromOutMoney: number = 0;
|
|
329
330
|
fromFinalOut: number = 0;
|
|
330
331
|
fromNowMoney: number = 0;
|
|
332
|
+
didFirst: number = 0;
|
|
331
333
|
|
|
332
334
|
listLock: IBillMainResponse[] = [];
|
|
333
335
|
|
|
@@ -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
|
}
|