@ningboyz/types 1.6.52 → 1.6.54
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,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 { IUnitResponse } from "../core";
|
|
2
3
|
import { IWtuiColWidthResponse, TWtuiColWidthResponse } from "./IWtuiColWidthResponse";
|
|
3
4
|
|
|
4
5
|
export interface ICnfgPara {
|
|
@@ -66,10 +67,9 @@ export interface IWtuiUserCnfgResponse {
|
|
|
66
67
|
colCount: number;
|
|
67
68
|
realPage: number; //当前选择页签
|
|
68
69
|
cnfgPara: string;
|
|
69
|
-
unitMain: number;
|
|
70
|
-
unitText: string;
|
|
71
70
|
billMain: number;
|
|
72
71
|
colWidth: IWtuiColWidthResponse[];
|
|
72
|
+
listUnit: IUnitResponse[];
|
|
73
73
|
|
|
74
74
|
//虚拟字段
|
|
75
75
|
cnfg: TCnfgPara | undefined;
|
|
@@ -112,10 +112,9 @@ export class TWtuiUserCnfgResponse implements IWtuiUserCnfgResponse {
|
|
|
112
112
|
colCount: number = 0;
|
|
113
113
|
realPage: number = 0;
|
|
114
114
|
cnfgPara: string = "";
|
|
115
|
-
unitMain: number = 0;
|
|
116
|
-
unitText: string = "";
|
|
117
115
|
billMain: number = 0;
|
|
118
116
|
colWidth: TWtuiColWidthResponse[] = [];
|
|
117
|
+
listUnit: IUnitResponse[] = [];
|
|
119
118
|
cnfg: TCnfgPara | undefined = undefined;
|
|
120
119
|
|
|
121
120
|
constructor(response?: any) {
|