@ningboyz/types 1.6.53 → 1.6.55

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.53",
4
+ "version": "1.6.55",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -1,5 +1,6 @@
1
1
  import _ from "lodash";
2
2
  import { TFlowDataResponse } from "../flow";
3
+ import { TStim } from "..";
3
4
 
4
5
  export interface IBillMainResponse {
5
6
  whoBuild: number;
@@ -355,4 +356,15 @@ export class TBillMainResponse implements IBillMainResponse {
355
356
  result.flowStat = bill.billStat;
356
357
  return result;
357
358
  }
359
+
360
+ static toWldyPrintData(bill : IBillMainResponse) {
361
+ const data = new TStim.TStimulsoftPrintData();
362
+ data.billMain = String(bill.billIndx);
363
+ data.menuUUID = bill.menuUUID;
364
+ return data;
365
+ }
366
+
367
+ static toWldyPrintDatas(listBill: IBillMainResponse[]) {
368
+ return listBill.map((u) => this.toWldyPrintData(u));
369
+ }
358
370
  }
@@ -1,4 +1,5 @@
1
1
  import _ from "lodash";
2
+ import { IPathResponse } from "./IPathResponse";
2
3
 
3
4
  export interface IUserLiteResponse {
4
5
  whoBuild: number; //#用户实例
@@ -73,6 +74,7 @@ export interface IUserLiteResponse {
73
74
  /**排名名称 */
74
75
  rankText: string;
75
76
  userDeptText: string;
77
+ listPath: IPathResponse[];
76
78
 
77
79
  }
78
80
 
@@ -152,6 +154,7 @@ export class TUserLiteResponse implements IUserLiteResponse {
152
154
  /**排名名称 */
153
155
  rankText: string = "";
154
156
  userDeptText: string = "";
157
+ listPath: IPathResponse[] = [];
155
158
 
156
159
  constructor(data: Partial<IUserLiteResponse> = {}) {
157
160
  if (data) {
@@ -68,6 +68,8 @@ export interface IWzpzK8kmResponse {
68
68
  itemText: string;
69
69
  inGenger: number;
70
70
  dictText: string;
71
+ /** 物资标注 */
72
+ k8kmWzbz: string;
71
73
  // 性别
72
74
  inGender: number;
73
75
  // 单价 价格
@@ -141,7 +143,7 @@ export class TWzpzK8kmResponse implements IWzpzK8kmResponse {
141
143
  laidText: string = "";
142
144
 
143
145
  readOnly: number = 0;
144
-
146
+ k8kmWzbz: string = "";
145
147
  itemText: string = "";
146
148
  inGenger: number = 0;
147
149
  dictText: string = "";