@ningboyz/types 1.5.73 → 1.5.74
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
|
@@ -141,6 +141,12 @@ export interface IBillMainResponse {
|
|
|
141
141
|
/** 银行类型.名称 */
|
|
142
142
|
bankText: string;
|
|
143
143
|
|
|
144
|
+
/** 全部 */
|
|
145
|
+
totalOutMoney: number;
|
|
146
|
+
totalFinalOut: number;
|
|
147
|
+
totalNowMoney: number;
|
|
148
|
+
|
|
149
|
+
/** 本次 */
|
|
144
150
|
fromOutMoney: number;
|
|
145
151
|
fromFinalOut: number;
|
|
146
152
|
fromNowMoney: number;
|
|
@@ -288,6 +294,12 @@ export class TBillMainResponse implements IBillMainResponse {
|
|
|
288
294
|
/** 银行类型.名称 */
|
|
289
295
|
bankText: string = "";
|
|
290
296
|
|
|
297
|
+
/** 全部 */
|
|
298
|
+
totalOutMoney: number = 0;
|
|
299
|
+
totalFinalOut: number = 0;
|
|
300
|
+
totalNowMoney: number = 0;
|
|
301
|
+
|
|
302
|
+
/** 本次 */
|
|
291
303
|
fromOutMoney: number = 0;
|
|
292
304
|
fromFinalOut: number = 0;
|
|
293
305
|
fromNowMoney: number = 0;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
|
|
1
3
|
export interface ICardDataBillResponse {
|
|
2
4
|
whoBuild: number;
|
|
3
5
|
userIndx: number;
|
|
@@ -50,4 +52,11 @@ export class TCardDataBillResponse implements ICardDataBillResponse {
|
|
|
50
52
|
dictText: string = "";
|
|
51
53
|
dictUses: string = "";
|
|
52
54
|
dictMemo: string = "";
|
|
55
|
+
|
|
56
|
+
constructor(card: Partial<ICardDataBillResponse> = {}) {
|
|
57
|
+
if (card) {
|
|
58
|
+
_.merge(this, _.pick(card, Object.keys(this)));
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
53
62
|
}
|