@ningboyz/types 1.6.94 → 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
|
@@ -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";
|
|
@@ -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
|
}
|