@ningboyz/apis 1.4.69 → 1.4.71

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@ningboyz/apis",
3
- "version": "1.4.69",
3
+ "version": "1.4.71",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -17,7 +17,7 @@
17
17
  "registry": "https://registry.npmjs.org/"
18
18
  },
19
19
  "dependencies": {
20
- "@ningboyz/types": "1.4.69",
20
+ "@ningboyz/types": "1.4.71",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,7 +1,8 @@
1
1
  import { TBill, TCore } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { IEmptyQuerys } from "../type";
4
3
  import {
4
+ IBillMainCalculateQuerys,
5
+ IBillMainChkexis2Querys,
5
6
  IBillMainChkexistQuerys,
6
7
  IBillMainClosedbQuerys,
7
8
  IBillMainDeletedbQuerys,
@@ -93,6 +94,16 @@ class MainRequest {
93
94
  return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/bill/tmain/chkexist", querys, params);
94
95
  }
95
96
 
97
+ /**
98
+ * 票据终审判断
99
+ * @param querys
100
+ * @param params
101
+ * @returns
102
+ */
103
+ chkexis2(querys: IBillMainChkexis2Querys, params: object) {
104
+ return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/bill/tmain/chkexis2", querys, params);
105
+ }
106
+
96
107
  /**
97
108
  * 票据关闭
98
109
  * @param querys
@@ -108,7 +119,7 @@ class MainRequest {
108
119
  * @param params
109
120
  * @returns
110
121
  */
111
- calculate(querys: IEmptyQuerys, params: object) {
122
+ calculate(querys: IBillMainCalculateQuerys, params: object) {
112
123
  return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/calculate`, querys, params);
113
124
  }
114
125
  }
@@ -59,6 +59,9 @@ export class TBillCnfgSelectd2Querys implements IBillCnfgSelectd2Querys {}
59
59
  export interface IBillMainChkexistQuerys {}
60
60
  export class TBillMainChkexistQuerys implements IBillMainChkexistQuerys {}
61
61
 
62
+ export interface IBillMainChkexis2Querys {}
63
+ export class TBillMainChkexis2Querys implements IBillMainChkexis2Querys {}
64
+
62
65
  export interface IBillMainClosedbQuerys {
63
66
  /** 关闭类型:0:手工;1:系统 */
64
67
  closetype: number;
@@ -72,3 +75,6 @@ export class TBillMainClosedbQuerys implements IBillMainClosedbQuerys {
72
75
  closetype: number = -1;
73
76
  canclose: number = -1;
74
77
  }
78
+
79
+ export interface IBillMainCalculateQuerys {}
80
+ export class TBillMainCalculateQuerys implements IBillMainCalculateQuerys {}