@ningboyz/types 1.6.93 → 1.6.95

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.93",
4
+ "version": "1.6.95",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -122,6 +122,8 @@ export interface IBillMainResponse {
122
122
  closeBy: string;
123
123
  /** 关闭时间 */
124
124
  closeAt: number;
125
+ /** 关闭备注 */
126
+ reasonBy: string;
125
127
 
126
128
  /** 支付方式(字典) */
127
129
  billZffs: number;
@@ -285,6 +287,8 @@ export class TBillMainResponse implements IBillMainResponse {
285
287
  closeBy: string = "";
286
288
  /** 关闭时间 */
287
289
  closeAt: number = 0;
290
+ /** 关闭备注 */
291
+ reasonBy: string = "";
288
292
 
289
293
  /** 支付方式(字典) */
290
294
  billZffs: number = 0;
@@ -1,3 +1,4 @@
1
+ import { TStim } from "..";
1
2
  import { IPathResponse } from "../core/IPathResponse";
2
3
  import { IUserLiteResponse } from "../core/IUserLiteResponse";
3
4
  import { TFlowDataResponse } from "../flow";
@@ -39,7 +40,7 @@ export interface IYzcqMainResponse {
39
40
  sqbmText: string;
40
41
  sqyhText: string;
41
42
  yzcqCode: string;
42
- dldwText: string;
43
+ zbdwText: string;
43
44
  yzcqDate: number;
44
45
  yzcqUses: string;
45
46
  yzcqMemo: string;
@@ -97,7 +98,7 @@ export class TYzcqMainResponse implements IYzcqMainResponse {
97
98
  sqbmText: string = "";
98
99
  sqyhText: string = "";
99
100
  yzcqCode: string = "";
100
- dldwText: string = "";
101
+ zbdwText: string = "";
101
102
  yzcqDate: number = 0;
102
103
  yzcqUses: string = "";
103
104
  yzcqMemo: string = "";
@@ -149,4 +150,15 @@ export class TYzcqMainResponse implements IYzcqMainResponse {
149
150
  result.menuUUID = yzcq.menuUUID;
150
151
  return result;
151
152
  }
153
+
154
+ static toWldyPrintData(noti: IYzcqMainResponse) {
155
+ const data = new TStim.TStimulsoftPrintData();
156
+ data.billMain = String(noti.yzcqIndx);
157
+ data.menuUUID = noti.menuUUID;
158
+ return data;
159
+ }
160
+
161
+ static toWldyPrintDatas(listYzcq: IYzcqMainResponse[]) {
162
+ return listYzcq.map((u) => this.toWldyPrintData(u));
163
+ }
152
164
  }