@ningboyz/types 1.5.132 → 1.5.135

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.5.132",
4
+ "version": "1.5.135",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -1,8 +1,10 @@
1
1
  import { TCore } from "..";
2
2
  import { TFlowDataResponse } from "../flow";
3
- import { IWzpzK8kmResponse } from "../wzpz";
3
+
4
4
  import type { ITablDataResponse } from "./ITablDataResponse";
5
5
  import _ from "lodash";
6
+ import { ITablWzk8Response } from "./ITablWzk8Response";
7
+
6
8
 
7
9
  export interface ITablMainResponse {
8
10
  whoBuild: number;
@@ -77,7 +79,7 @@ export interface ITablMainResponse {
77
79
  usesAuto?: number;
78
80
  listData: Array<ITablDataResponse>;
79
81
  listPath: TCore.IPathResponse[];
80
- listWZK8: IWzpzK8kmResponse[];
82
+ listWZK8: ITablWzk8Response[];
81
83
  }
82
84
 
83
85
  export class TTablMainResponse implements ITablMainResponse {
@@ -153,7 +155,7 @@ export class TTablMainResponse implements ITablMainResponse {
153
155
  userMain: number = 0;
154
156
  listData: Array<ITablDataResponse> = [];
155
157
  listPath: TCore.IPathResponse[] = [];
156
- listWZK8: IWzpzK8kmResponse[] = [];
158
+ listWZK8: ITablWzk8Response[] = [];
157
159
 
158
160
  constructor(data: keyof ITablMainResponse | object) {
159
161
  if (data) {
@@ -0,0 +1,97 @@
1
+ import _ from "lodash";
2
+
3
+ export interface ITablWzk8Response {
4
+ whoBuild: number;
5
+ userIndx: number;
6
+ idEntity: number;
7
+ tablMain: number;
8
+ dataStat: number;
9
+ dataHide: number;
10
+ dataOrdr: number;
11
+ dataFrom: number;
12
+ dataType: number;
13
+ dataDate: number;
14
+ dataTime: number;
15
+ createBy: string;
16
+ createAt: number;
17
+ updateBy: string;
18
+ updateAt: number;
19
+ deleteBy: string;
20
+ deleteAt: number;
21
+ sourceND: number;
22
+ sourceID: number;
23
+ k8kmKmid: number;
24
+ k8kmKmmc: string;
25
+ k8kmKmbm: string;
26
+ k8kmJldw: string;
27
+ k8kmGgxh: string;
28
+ itemMain: number;
29
+ itemCode: string;
30
+ applyCnt: number;
31
+ finalCnt: number;
32
+ applyVal: number;
33
+ finalVal: number;
34
+ applyOut: number;
35
+ finalOut: number;
36
+ billMemo: string;
37
+ }
38
+
39
+ export class TTablWzk8Response implements ITablWzk8Response {
40
+ whoBuild: number = 0;
41
+ userIndx: number = 0;
42
+ idEntity: number = 0;
43
+ tablMain: number = 0;
44
+ dataStat: number = 0;
45
+ dataHide: number = 0;
46
+ dataOrdr: number = 0;
47
+ dataFrom: number = 0;
48
+ dataType: number = 0;
49
+ dataDate: number = 0;
50
+ dataTime: number = 0;
51
+ createBy: string = "";
52
+ createAt: number = 0;
53
+ updateBy: string = "";
54
+ updateAt: number = 0;
55
+ deleteBy: string = "";
56
+ deleteAt: number = 0;
57
+
58
+ sourceND: number = 0;
59
+ /** 物资账套 */
60
+ sourceID: number = 0;
61
+
62
+ /** 物资科目 */
63
+ k8kmKmid: number = 0;
64
+ /** 科目名称 */
65
+ k8kmKmmc: string = "";
66
+ /** 科目编码 */
67
+ k8kmKmbm: string = "";
68
+ /** 计量单位 */
69
+ k8kmJldw: string = "";
70
+
71
+ k8kmGgxh: string = "";
72
+ /** 物资号型 */
73
+ itemMain: number = 0;
74
+ /** 号型编码 */
75
+ itemCode: string = "";
76
+
77
+ /** 申请数量 */
78
+ applyCnt: number = 0;
79
+ /** 核定数量 */
80
+ finalCnt: number = 0;
81
+ /** 申请单价 */
82
+ applyVal: number = 0;
83
+ /** 核定单价 */
84
+ finalVal: number = 0;
85
+ /** 申请金额 */
86
+ applyOut: number = 0;
87
+ /** 核定金额 */
88
+ finalOut: number = 0;
89
+ /** 备注信息 */
90
+ billMemo: string = "";
91
+
92
+ constructor(data: Partial<ITablWzk8Response> = {}) {
93
+ if (data) {
94
+ _.merge(this, _.pick(data, Object.keys(this)));
95
+ }
96
+ }
97
+ }
package/src/tabl/index.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { ITablDataResponse, TTablDataResponse } from "./ITablDataResponse";
2
2
  import { ITablLineResponse, TTablLineResponse } from "./ITablLineResponse";
3
3
  import { ITablMainResponse, TTablMainResponse } from "./ITablMainResponse";
4
+ import { ITablWzk8Response, TTablWzk8Response } from "./ITablWzk8Response";
4
5
 
5
- export { type ITablDataResponse, type ITablLineResponse, type ITablMainResponse, TTablDataResponse, TTablLineResponse, TTablMainResponse };
6
+ export { type ITablDataResponse,
7
+ type ITablLineResponse,
8
+ type ITablMainResponse,
9
+ type ITablWzk8Response, TTablDataResponse, TTablLineResponse, TTablMainResponse, TTablWzk8Response };
package/src/wzpz/index.ts CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  import { IWzpzCnfgResponse, TWzpzCnfgResponse } from "./IWzpzCnfgResponse";
2
3
  import { IWzpzItemResponse, TWzpzItemResponse } from "./IWzpzItemResponse";
3
4
  import { IWzpzK0kmResponse, TWzpzK0kmResponse } from "./IWzpzK0kmResponse";