@ningboyz/types 1.2.97 → 1.2.99

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.2.97",
4
+ "version": "1.2.99",
5
5
  "private": false,
6
6
  "description": "宁波甬政类型库",
7
7
  "author": "nbyt-syq",
@@ -349,6 +349,23 @@ export interface ICardMainResponse {
349
349
  /** 土地性质(文本) */
350
350
  landTdxzText: string;
351
351
 
352
+ /** 所属区域(镇街)(字典) */
353
+ cardSzjd: number;
354
+ /** 所属区域(镇街)(文本) */
355
+ cardSzjdText: string;
356
+ /** 所属社区(字典) */
357
+ cardSzsq: number;
358
+ /** 所属社区(文本) */
359
+ cardSzsqText: string;
360
+ /** 房产类型(字典) */
361
+ cardFclx: number;
362
+ /** 房产类型(文本) */
363
+ cardFclxText: string;
364
+ /** 房屋类别(字典) */
365
+ cardFclb: number;
366
+ /** 房屋类别(文本) */
367
+ cardFclbText: string;
368
+
352
369
  /** 单据状态 */
353
370
  fromCardStat: number;
354
371
  /** 变动前cardExid */
@@ -622,6 +639,15 @@ export class TCardMainResponse implements ICardMainResponse {
622
639
  landTdxz: number = 0;
623
640
  landTdxzText: string = "";
624
641
 
642
+ cardSzjd: number = 0;
643
+ cardSzjdText: string = "";
644
+ cardSzsq: number = 0;
645
+ cardSzsqText: string = "";
646
+ cardFclx: number = 0;
647
+ cardFclxText: string = "";
648
+ cardFclb: number = 0;
649
+ cardFclbText: string = "";
650
+
625
651
  lastDate: number = 0;
626
652
  lastTime: number = 0;
627
653
  flowMain: number = 0;
@@ -3,6 +3,7 @@ import type { IBaseResponse } from "../base/IBaseResponse";
3
3
  import { TBaseResponse } from "../base/IBaseResponse";
4
4
  import type { IDictResponseDictPara } from "./IDictResponseDictPara";
5
5
  import { TDictResponseDictPara } from "./IDictResponseDictPara";
6
+ import { IDictResponse } from "./IDictResponse";
6
7
 
7
8
  // #收款单位
8
9
  export interface IUserAcnoResponse extends IBaseResponse<IUserAcnoResponse> {
@@ -86,6 +87,11 @@ export interface IUserAcnoResponse extends IBaseResponse<IUserAcnoResponse> {
86
87
  wbField3: string; // 开票电话
87
88
  usciCode: string; // 征信代码
88
89
  acnoYhmc: string;
90
+
91
+ /**
92
+ * 发票类型
93
+ */
94
+ listAcno: IDictResponse[];
89
95
  }
90
96
 
91
97
  export class TUserAcnoResponse extends TBaseResponse<IUserAcnoResponse> implements IUserAcnoResponse {
@@ -165,6 +171,8 @@ export class TUserAcnoResponse extends TBaseResponse<IUserAcnoResponse> implemen
165
171
  wbField3: string = ""; // 开票电话
166
172
  acnoYhmc: string = "";
167
173
 
174
+ listAcno: IDictResponse[] =[];
175
+
168
176
  constructor(response?: any) {
169
177
  super();
170
178
  if (response) {
@@ -211,28 +211,27 @@ export class THznkDataResponse implements IHznkDataResponse {
211
211
  return notis.map((u) => this.toFlowData(u));
212
212
  }
213
213
 
214
- static toFlowData(aNoti: THznkDataResponse): TFlowDataResponse {
214
+ static toFlowData(hznk: THznkDataResponse): TFlowDataResponse {
215
215
  const result = new TFlowDataResponse();
216
- result.whoBuild = aNoti.whoBuild;
217
- result.userIndx = aNoti.userIndx;
218
- result.flowMain = aNoti.flowMain; //#flowmain=0
219
- result.flowNode = aNoti.flowNode; //#flownode=0
220
- result.entityID = aNoti.entityID;
221
- result.billMain = aNoti.dataIndx;
222
- result.billCode = aNoti.hznkCode;
223
- result.billMemo = "";
216
+ result.whoBuild = hznk.whoBuild;
217
+ result.userIndx = hznk.userIndx;
218
+ result.flowMain = hznk.flowMain;
219
+ result.flowNode = hznk.flowNode;
220
+ result.notified = "";
221
+ result.entityID = hznk.entityID;
222
+ result.billMain = hznk.dataIndx;
223
+ result.billCode = hznk.hznkCode;
224
+ result.billMemo = hznk.hznkMemo;
224
225
  result.billUses = "";
225
226
  result.ysxmText = "";
226
227
  result.outMoney = 0;
227
- result.notified = "";
228
- result.createAt = aNoti.createAt;
229
- result.mastName = aNoti.mastName;
230
- result.createBy = aNoti.createBy;
231
- result.unitMain = aNoti.unitMain;
232
- result.deptMain = aNoti.deptMain;
233
- result.flowStat = aNoti.hznkStat;
234
- result.menuUUID = aNoti.menuUUID;
235
- //#result.touchURL = store.getState().userReducer!.touchURL;//TODO:XF-DEV
228
+ result.createAt = hznk.createAt;
229
+ result.mastName = hznk.mastName;
230
+ result.createBy = hznk.createBy;
231
+ result.unitMain = hznk.unitMain;
232
+ result.menuUUID = hznk.menuUUID;
233
+ result.deptMain = hznk.deptMain;
234
+ result.flowStat = hznk.hznkStat;
236
235
  return result;
237
236
  }
238
237
  }