@ningboyz/apis 1.5.150 → 1.5.152

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.5.150",
3
+ "version": "1.5.152",
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.5.150",
20
+ "@ningboyz/types": "1.5.152",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -6,6 +6,7 @@ import {
6
6
  IBillMainChkexis2Querys,
7
7
  IBillMainChkexistQuerys,
8
8
  IBillMainClosedbQuerys,
9
+ IBillMainCopyDBQuerys,
9
10
  IBillMainDeletedbQuerys,
10
11
  IBillMainDetaild2Querys,
11
12
  IBillMainDetaild3Querys,
@@ -185,6 +186,26 @@ class MainRequest {
185
186
  updated2(querys: IEmptyQuerys, params: object) {
186
187
  return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/withaczf/updatedb`, querys, params);
187
188
  }
189
+
190
+ /**
191
+ * 复制票据
192
+ * @param querys
193
+ * @param params
194
+ * @returns
195
+ */
196
+ copydb(querys: IBillMainCopyDBQuerys, params: object) {
197
+ return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/copydb`, querys, params);
198
+ }
199
+
200
+ /**
201
+ * 作废复制票据
202
+ * @param querys
203
+ * @param params
204
+ * @returns
205
+ */
206
+ canceldb(querys: IEmptyQuerys, params: object) {
207
+ return this.httpRequest.post<TBill.IBillMainResponse[]>(`/gapi/bill/tmain/canceldb`, querys, params);
208
+ }
188
209
  }
189
210
 
190
211
  export default MainRequest;
@@ -132,3 +132,13 @@ export interface IBillMainCalculateQuerys {
132
132
  export class TBillMainCalculateQuerys implements IBillMainCalculateQuerys {
133
133
  billzffs: number = -1;
134
134
  }
135
+
136
+ export interface IBillMainCopyDBQuerys {
137
+ isexpend: number;
138
+ billcode: string;
139
+ }
140
+
141
+ export class TBillMainCopyDBQuerys implements IBillMainCopyDBQuerys {
142
+ isexpend: number = -1;
143
+ billcode: string = "";
144
+ }