@ningboyz/types 1.6.112 → 1.6.114
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,3 +1,6 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
3
|
+
|
|
1
4
|
export interface ICardZcpdBillResponse {
|
|
2
5
|
whoBuild: number;
|
|
3
6
|
userIndx: number;
|
|
@@ -27,6 +30,8 @@ export interface ICardZcpdBillResponse {
|
|
|
27
30
|
otherSize: number;
|
|
28
31
|
/** 实盘归属 */
|
|
29
32
|
cardArea: string;
|
|
33
|
+
/** 盘点人 */
|
|
34
|
+
mastName: string;
|
|
30
35
|
|
|
31
36
|
/** 资产名称 */
|
|
32
37
|
cardName: string;
|
|
@@ -78,6 +83,8 @@ export class TCardZcpdBillResponse implements ICardZcpdBillResponse {
|
|
|
78
83
|
otherSize: number = 0;
|
|
79
84
|
/** 实盘归属 */
|
|
80
85
|
cardArea: string = "";
|
|
86
|
+
/** 盘点人 */
|
|
87
|
+
mastName: string = "";
|
|
81
88
|
|
|
82
89
|
/** 资产名称 */
|
|
83
90
|
cardName: string = "";
|
|
@@ -97,4 +104,10 @@ export class TCardZcpdBillResponse implements ICardZcpdBillResponse {
|
|
|
97
104
|
cardDeptText: string = "";
|
|
98
105
|
/** 存放地点名称 */
|
|
99
106
|
cardLaidText: string = "";
|
|
107
|
+
|
|
108
|
+
constructor(card: Partial<ICardZcpdBillResponse> = {}) {
|
|
109
|
+
if (card) {
|
|
110
|
+
_.merge(this, _.pick(card, Object.keys(this)));
|
|
111
|
+
}
|
|
112
|
+
}
|
|
100
113
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDeptResponse, ILaidResponse } from "../core";
|
|
1
|
+
import { IDeptResponse, ILaidResponse, IUserResponse } from "../core";
|
|
2
2
|
import { ICardZcpdBillResponse } from "./ICardZcpdBillResponse";
|
|
3
3
|
import _ from "lodash";
|
|
4
4
|
|
|
@@ -43,6 +43,7 @@ export interface ICardZcpdResponse {
|
|
|
43
43
|
|
|
44
44
|
listDept: IDeptResponse[];
|
|
45
45
|
listLaid: ILaidResponse[];
|
|
46
|
+
listUser: IUserResponse[];
|
|
46
47
|
listBill: ICardZcpdBillResponse[];
|
|
47
48
|
}
|
|
48
49
|
|
|
@@ -79,6 +80,7 @@ export class TCardZcpdResponse implements ICardZcpdResponse {
|
|
|
79
80
|
|
|
80
81
|
listDept: IDeptResponse[] = [];
|
|
81
82
|
listLaid: ILaidResponse[] = [];
|
|
83
|
+
listUser: IUserResponse[] = [];
|
|
82
84
|
listBill: ICardZcpdBillResponse[] = [];
|
|
83
85
|
|
|
84
86
|
constructor(data: Partial<ICardZcpdResponse> = {}) {
|