xyvcard-paper-buyer 0.0.52 → 0.0.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.
Files changed (35) hide show
  1. package/README.md +51 -51
  2. package/dist/{applyEdit-xjYBzFbb.mjs → applyEdit-CNh3bH5h.mjs} +15 -15
  3. package/dist/{confirm-BK-aSN_z.mjs → confirm-Be02OkOA.mjs} +16 -16
  4. package/dist/{edit-DFyOnrzr.mjs → edit-1PaZ9XLl.mjs} +12 -12
  5. package/dist/{edit-Omp_CxC3.mjs → edit-B3vIbXsy.mjs} +1 -1
  6. package/dist/{index-D043eLPj.mjs → index-BuhpHQLA.mjs} +1 -1
  7. package/dist/{index-BCt6P3MY.mjs → index-C-g3Ei_P.mjs} +1 -1
  8. package/dist/{index-CFbuS8W8.mjs → index-CBX_Yjx4.mjs} +1 -1
  9. package/dist/index-DspCttgG.mjs +72 -0
  10. package/dist/{index-CNxs6SEe.mjs → index-jeaiOykS.mjs} +13 -13
  11. package/dist/index.mjs +2 -2
  12. package/dist/info-DWyFGRq0.mjs +185 -0
  13. package/dist/{invoice-AqP1572z.mjs → invoice-C6mhD6zX.mjs} +2 -2
  14. package/dist/{invoiceEdit-BkCY1bqD.mjs → invoiceEdit-B-GHm9GY.mjs} +77 -79
  15. package/dist/{invoiceView-B80V7jLe.mjs → invoiceView-Cvwqlg-m.mjs} +3 -3
  16. package/dist/{list-B4yYlD1K.mjs → list-BlV0irYa.mjs} +12 -12
  17. package/dist/{onlineBanking-CdDAY0YQ.mjs → onlineBanking-e57OBfmj.mjs} +1 -1
  18. package/dist/{orderAddress-BBFS2Jys.mjs → orderAddress-CqIRyskd.mjs} +2 -2
  19. package/dist/orderInfo-DyMm8TFN.mjs +309 -0
  20. package/dist/{orderPaper-DUCuNxKR.mjs → orderPaper-af69zWms.mjs} +1 -1
  21. package/dist/{payment-C1UwHZy4.mjs → payment-BWhe3mhK.mjs} +7 -7
  22. package/dist/{prompt-DQX4apPU.mjs → prompt-CF5J3V95.mjs} +1 -1
  23. package/dist/{sendDialog-BVaPpA-9.mjs → sendDialog-D50t3cjw.mjs} +5 -5
  24. package/dist/style.css +1 -1
  25. package/dist/{userInvoice-DPxbKmv9.mjs → userInvoice-CDsynyWz.mjs} +1 -1
  26. package/dist/{userInvoice.vue_vue_type_script_setup_true_lang-3eHl8CCv.mjs → userInvoice.vue_vue_type_script_setup_true_lang-Bzqz4vIJ.mjs} +48 -48
  27. package/dts/api/buyer/lqfp-fp/index.d.ts +2 -1
  28. package/dts/api/buyer/lqfp-fp/types.d.ts +17 -0
  29. package/package.json +61 -61
  30. package/dist/index-CxY8_Gfa.mjs +0 -73
  31. package/dist/info-BmV7cZbD.mjs +0 -185
  32. package/dist/orderInfo-BSPKYn7H.mjs +0 -309
  33. package/dts/utils/momentPlugin.d.ts +0 -5
  34. package/dts/utils/signature.d.ts +0 -7
  35. package/dts/views/buyer/order-newspaper/payment copy.vue.d.ts +0 -2
@@ -153,18 +153,21 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
153
153
  ]),
154
154
  _: 1
155
155
  }),
156
- a(s, { span: 12 }, {
156
+ e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
157
+ key: 0,
158
+ span: 12
159
+ }, {
157
160
  default: m(() => [
158
161
  a(u, {
159
- label: e(o).gmfType === e(i).GMF_TYPE_ENT ? r.$t("invoice.gmfmc") : r.$t("invoice.name"),
160
- prop: "gmfmc"
162
+ label: r.$t("invoice.nsrsbh"),
163
+ prop: "nsrsbh"
161
164
  }, {
162
165
  default: m(() => [
163
166
  a(g, {
164
- modelValue: e(o).gmfmc,
165
- "onUpdate:modelValue": l[1] || (l[1] = (t) => e(o).gmfmc = t),
166
- placeholder: e(o).gmfType === e(i).GMF_TYPE_ENT ? r.$t("invoice.gmfmcRequired") : r.$t("invoice.nameRequired"),
167
- maxlength: "30",
167
+ modelValue: e(o).nsrsbh,
168
+ "onUpdate:modelValue": l[1] || (l[1] = (t) => e(o).nsrsbh = t),
169
+ placeholder: r.$t("invoice.nsrsbhRequired"),
170
+ maxlength: "60",
168
171
  "show-word-limit": "",
169
172
  clearable: ""
170
173
  }, null, 8, ["modelValue", "placeholder"])
@@ -173,21 +176,18 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
173
176
  }, 8, ["label"])
174
177
  ]),
175
178
  _: 1
176
- }),
177
- e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
178
- key: 0,
179
- span: 12
180
- }, {
179
+ })) : v("", !0),
180
+ a(s, { span: 24 }, {
181
181
  default: m(() => [
182
182
  a(u, {
183
- label: r.$t("invoice.nsrsbh"),
184
- prop: "nsrsbh"
183
+ label: e(o).gmfType === e(i).GMF_TYPE_ENT ? r.$t("invoice.gmfmc") : r.$t("invoice.name"),
184
+ prop: "gmfmc"
185
185
  }, {
186
186
  default: m(() => [
187
187
  a(g, {
188
- modelValue: e(o).nsrsbh,
189
- "onUpdate:modelValue": l[2] || (l[2] = (t) => e(o).nsrsbh = t),
190
- placeholder: r.$t("invoice.nsrsbhRequired"),
188
+ modelValue: e(o).gmfmc,
189
+ "onUpdate:modelValue": l[2] || (l[2] = (t) => e(o).gmfmc = t),
190
+ placeholder: e(o).gmfType === e(i).GMF_TYPE_ENT ? r.$t("invoice.gmfmcRequired") : r.$t("invoice.nameRequired"),
191
191
  maxlength: "60",
192
192
  "show-word-limit": "",
193
193
  clearable: ""
@@ -197,10 +197,10 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
197
197
  }, 8, ["label"])
198
198
  ]),
199
199
  _: 1
200
- })) : v("", !0),
200
+ }),
201
201
  e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
202
202
  key: 1,
203
- span: 12
203
+ span: 24
204
204
  }, {
205
205
  default: m(() => [
206
206
  a(u, {
@@ -222,6 +222,27 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
222
222
  ]),
223
223
  _: 1
224
224
  })) : v("", !0),
225
+ a(s, { span: 12 }, {
226
+ default: m(() => [
227
+ a(u, {
228
+ label: r.$t("invoice.sendEmail"),
229
+ prop: "sendEmail"
230
+ }, {
231
+ default: m(() => [
232
+ a(g, {
233
+ modelValue: e(o).sendEmail,
234
+ "onUpdate:modelValue": l[4] || (l[4] = (t) => e(o).sendEmail = t),
235
+ placeholder: r.$t("invoice.sendEmailRequired"),
236
+ maxlength: "50",
237
+ "show-word-limit": "",
238
+ clearable: ""
239
+ }, null, 8, ["modelValue", "placeholder"])
240
+ ]),
241
+ _: 1
242
+ }, 8, ["label"])
243
+ ]),
244
+ _: 1
245
+ }),
225
246
  e(o).gmfType === e(i).GMF_TYPE_ENT ? (h(), c(s, {
226
247
  key: 2,
227
248
  span: 12
@@ -234,9 +255,9 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
234
255
  default: m(() => [
235
256
  a(g, {
236
257
  modelValue: e(o).gmfdh,
237
- "onUpdate:modelValue": l[4] || (l[4] = (t) => e(o).gmfdh = t),
258
+ "onUpdate:modelValue": l[5] || (l[5] = (t) => e(o).gmfdh = t),
238
259
  placeholder: r.$t("invoice.gmfdhRequired"),
239
- maxlength: "11",
260
+ maxlength: "20",
240
261
  "show-word-limit": "",
241
262
  clearable: ""
242
263
  }, null, 8, ["modelValue", "placeholder"])
@@ -258,9 +279,9 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
258
279
  default: m(() => [
259
280
  a(g, {
260
281
  modelValue: e(o).gmfkhh,
261
- "onUpdate:modelValue": l[5] || (l[5] = (t) => e(o).gmfkhh = t),
282
+ "onUpdate:modelValue": l[6] || (l[6] = (t) => e(o).gmfkhh = t),
262
283
  placeholder: r.$t("invoice.gmfkhhRequired"),
263
- maxlength: "30",
284
+ maxlength: "50",
264
285
  "show-word-limit": "",
265
286
  clearable: ""
266
287
  }, null, 8, ["modelValue", "placeholder"])
@@ -282,7 +303,7 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
282
303
  default: m(() => [
283
304
  a(g, {
284
305
  modelValue: e(o).gmfzh,
285
- "onUpdate:modelValue": l[6] || (l[6] = (t) => e(o).gmfzh = t),
306
+ "onUpdate:modelValue": l[7] || (l[7] = (t) => e(o).gmfzh = t),
286
307
  placeholder: r.$t("invoice.gmfzhRequired"),
287
308
  maxlength: "30",
288
309
  "show-word-limit": "",
@@ -306,7 +327,7 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
306
327
  default: m(() => [
307
328
  a(D, {
308
329
  modelValue: e(o).zrrzjlxDm,
309
- "onUpdate:modelValue": l[7] || (l[7] = (t) => e(o).zrrzjlxDm = t),
330
+ "onUpdate:modelValue": l[8] || (l[8] = (t) => e(o).zrrzjlxDm = t),
310
331
  placeholder: r.$t("invoice.zrrzjlxDmRequired"),
311
332
  "type-code": e(i).DICT_TYPE_ID,
312
333
  class: "w-full"
@@ -329,7 +350,7 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
329
350
  default: m(() => [
330
351
  a(g, {
331
352
  modelValue: e(o).zrrzjhm,
332
- "onUpdate:modelValue": l[8] || (l[8] = (t) => e(o).zrrzjhm = t),
353
+ "onUpdate:modelValue": l[9] || (l[9] = (t) => e(o).zrrzjhm = t),
333
354
  placeholder: r.$t("invoice.zrrzjhmRequired"),
334
355
  maxlength: "18",
335
356
  "show-word-limit": "",
@@ -340,28 +361,7 @@ const W = new Q(), X = { class: "dialog-footer" }, re = /* @__PURE__ */ N({
340
361
  }, 8, ["label"])
341
362
  ]),
342
363
  _: 1
343
- })) : v("", !0),
344
- a(s, { span: 12 }, {
345
- default: m(() => [
346
- a(u, {
347
- label: r.$t("invoice.sendEmail"),
348
- prop: "sendEmail"
349
- }, {
350
- default: m(() => [
351
- a(g, {
352
- modelValue: e(o).sendEmail,
353
- "onUpdate:modelValue": l[9] || (l[9] = (t) => e(o).sendEmail = t),
354
- placeholder: r.$t("invoice.sendEmailRequired"),
355
- maxlength: "30",
356
- "show-word-limit": "",
357
- clearable: ""
358
- }, null, 8, ["modelValue", "placeholder"])
359
- ]),
360
- _: 1
361
- }, 8, ["label"])
362
- ]),
363
- _: 1
364
- })
364
+ })) : v("", !0)
365
365
  ]),
366
366
  _: 1
367
367
  })
@@ -1,7 +1,8 @@
1
1
  import type { AxiosPromise } from "axios";
2
- import type { LqfpFpReq, LqfpFpApi, LqfpFpDownloadReq, InvoiceReissueReq } from "./types";
2
+ import type { LqfpFpReq, LqfpFpList, LqfpFpApi, LqfpFpDownloadReq, InvoiceReissueReq } from "./types";
3
3
  declare class LqfpFpApiImpl implements LqfpFpApi {
4
4
  getKey(): any;
5
+ findList(query?: LqfpFpReq): AxiosPromise<LqfpFpList>;
5
6
  sendEmail(query?: LqfpFpReq): AxiosPromise<any>;
6
7
  download(query: LqfpFpDownloadReq): AxiosPromise<any>;
7
8
  downloadXML(query: LqfpFpDownloadReq): AxiosPromise<any>;
@@ -61,4 +61,21 @@ export interface InvoiceReissueReq {
61
61
  organId?: string;
62
62
  infoId?: string;
63
63
  fppz?: string;
64
+ gmfInfo: LqfpInvoiceGmfInfo;
65
+ }
66
+ export interface LqfpInvoiceGmfInfo {
67
+ gmfType: string;
68
+ gmfmc: string;
69
+ nsrsbh: string;
70
+ zrrzjlxDm: string;
71
+ zrrzjhm: string;
72
+ gmfdz: string;
73
+ gmfdh: string;
74
+ gmfkhh: string;
75
+ gmfzh: string;
76
+ gmfjbr: string;
77
+ jbrsfzjhm: string;
78
+ jbrsfzjhmIns: string;
79
+ gmfjbrlxdh: string;
80
+ sendEmail: string;
64
81
  }
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "xyvcard-paper-buyer",
3
- "version": "0.0.52",
4
- "private": false,
5
- "module": "dist/index.mjs",
6
- "types": "dts/index.d.ts",
7
- "files": [
8
- "dist",
9
- "dts"
10
- ],
11
- "scripts": {
12
- "dev": "vite --host",
13
- "build": "vite build && pnpm build:dts",
14
- "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
15
- "preview": "vite preview",
16
- "build-only": "vite build",
17
- "type-check": "vue-tsc --build --force",
18
- "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
19
- "format": "prettier --write src/"
20
- },
21
- "peerDependencies": {
22
- "axios": "^1.6.7",
23
- "element-plus": "^2.11.5",
24
- "jmash-core": "^0.1.22",
25
- "jmash-dict": "^0.1.2",
26
- "jmash-rbac": "^0.1.17",
27
- "jmash-region": "^0.1.0",
28
- "pinia": "^2.1.7",
29
- "vue": "^3.4.21",
30
- "vue-i18n": "^9.10.1",
31
- "vue-router": "^4.3.0",
32
- "xyvcard-paper-goods": "^0.0.13"
33
- },
34
- "devDependencies": {
35
- "@laynezh/vite-plugin-lib-assets": "^2.1.3",
36
- "@rushstack/eslint-patch": "^1.3.3",
37
- "@tsconfig/node20": "^20.1.2",
38
- "@types/node": "^20.11.10",
39
- "@vitejs/plugin-vue": "^5.0.3",
40
- "@vue/eslint-config-prettier": "^8.0.0",
41
- "@vue/eslint-config-typescript": "^12.0.0",
42
- "@vue/tsconfig": "^0.5.1",
43
- "eslint": "^8.49.0",
44
- "eslint-plugin-vue": "^9.17.0",
45
- "npm-run-all2": "^6.1.1",
46
- "prettier": "^3.0.3",
47
- "sass": "^1.72.0",
48
- "typescript": "~5.3.0",
49
- "unplugin-auto-import": "^0.17.5",
50
- "unplugin-vue-components": "^0.26.0",
51
- "vite": "^5.0.11",
52
- "vue-tsc": "^1.8.27"
53
- },
54
- "dependencies": {
55
- "@element-plus/icons-vue": "^2.3.1",
56
- "@vueuse/core": "^10.9.0",
57
- "file-saver": "^2.0.5",
58
- "nprogress": "^0.2.0",
59
- "qs": "^6.12.0"
60
- }
61
- }
1
+ {
2
+ "name": "xyvcard-paper-buyer",
3
+ "version": "0.0.54",
4
+ "private": false,
5
+ "module": "dist/index.mjs",
6
+ "types": "dts/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "dts"
10
+ ],
11
+ "scripts": {
12
+ "dev": "vite --host",
13
+ "build": "vite build && pnpm build:dts",
14
+ "build:dts": "vue-tsc --declaration --emitDeclarationOnly",
15
+ "preview": "vite preview",
16
+ "build-only": "vite build",
17
+ "type-check": "vue-tsc --build --force",
18
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
19
+ "format": "prettier --write src/"
20
+ },
21
+ "peerDependencies": {
22
+ "axios": "^1.6.7",
23
+ "element-plus": "^2.11.5",
24
+ "jmash-core": "^0.1.22",
25
+ "jmash-dict": "^0.1.2",
26
+ "jmash-rbac": "^0.1.17",
27
+ "jmash-region": "^0.1.0",
28
+ "pinia": "^2.1.7",
29
+ "vue": "^3.4.21",
30
+ "vue-i18n": "^9.10.1",
31
+ "vue-router": "^4.3.0",
32
+ "xyvcard-paper-goods": "^0.0.13"
33
+ },
34
+ "devDependencies": {
35
+ "@laynezh/vite-plugin-lib-assets": "^2.1.3",
36
+ "@rushstack/eslint-patch": "^1.3.3",
37
+ "@tsconfig/node20": "^20.1.2",
38
+ "@types/node": "^20.11.10",
39
+ "@vitejs/plugin-vue": "^5.0.3",
40
+ "@vue/eslint-config-prettier": "^8.0.0",
41
+ "@vue/eslint-config-typescript": "^12.0.0",
42
+ "@vue/tsconfig": "^0.5.1",
43
+ "eslint": "^8.49.0",
44
+ "eslint-plugin-vue": "^9.17.0",
45
+ "npm-run-all2": "^6.1.1",
46
+ "prettier": "^3.0.3",
47
+ "sass": "^1.72.0",
48
+ "typescript": "~5.3.0",
49
+ "unplugin-auto-import": "^0.17.5",
50
+ "unplugin-vue-components": "^0.26.0",
51
+ "vite": "^5.0.11",
52
+ "vue-tsc": "^1.8.27"
53
+ },
54
+ "dependencies": {
55
+ "@element-plus/icons-vue": "^2.3.1",
56
+ "@vueuse/core": "^10.9.0",
57
+ "file-saver": "^2.0.5",
58
+ "nprogress": "^0.2.0",
59
+ "qs": "^6.12.0"
60
+ }
61
+ }
@@ -1,73 +0,0 @@
1
- import { clearEmpty as o, request as e, useUserStore as p } from "jmash-core";
2
- class r {
3
- getKey() {
4
- }
5
- // 查询列表信息乐企发票
6
- // findList(query?: LqfpFpReq): AxiosPromise<LqfpFpList> {
7
- // const tenant = useUserStore().user.tenant;
8
- // clearEmpty(query);
9
- // return request({
10
- // url: "/v1/lqfp/lqfp_fp_detail/list/" + tenant,
11
- // method: "get",
12
- // params: query,
13
- // });
14
- // }
15
- // 发送邮箱
16
- sendEmail(n) {
17
- return o(n), e({
18
- url: "/v1/front/lqfp/fp_send",
19
- method: "post",
20
- data: n
21
- });
22
- }
23
- // 查看详情里面的发票图片展示接口
24
- download(n) {
25
- const t = p().user.tenant;
26
- return o(n), e({
27
- url: "/v1/front/lqfp/fp_down/" + t + "/" + n.organId + "/" + n.fpUuid + ".jpg",
28
- method: "get",
29
- responseType: "blob",
30
- params: n
31
- });
32
- }
33
- // 下载发票
34
- downloadXML(n) {
35
- const t = p().user.tenant;
36
- return o(n), e({
37
- url: "/v1/front/lqfp/fp_down/" + t + "/" + n.organId + "/" + n.fpUuid + ".xml",
38
- method: "get",
39
- params: n,
40
- responseType: "blob"
41
- });
42
- }
43
- downloadPDF(n) {
44
- const t = p().user.tenant;
45
- return o(n), e({
46
- url: "/v1/front/lqfp/fp_down/" + t + "/" + n.organId + "/" + n.fpUuid + ".pdf",
47
- method: "get",
48
- params: n,
49
- responseType: "blob"
50
- });
51
- }
52
- downloadOFD(n) {
53
- const t = p().user.tenant;
54
- return o(n), e({
55
- url: "/v1/front/lqfp/fp_down/" + t + "/" + n.organId + "/" + n.fpUuid + ".ofd",
56
- method: "get",
57
- params: n,
58
- responseType: "blob"
59
- });
60
- }
61
- // 换开发票
62
- reissue(n) {
63
- return n.tenant = p().user.tenant, o(n), e({
64
- url: "/v1/front/lqfp/reissue",
65
- method: "post",
66
- data: n
67
- });
68
- }
69
- }
70
- const a = new r();
71
- export {
72
- a as l
73
- };
@@ -1,185 +0,0 @@
1
- import { defineComponent as Y, ref as v, onMounted as Z, resolveComponent as a, createElementBlock as x, openBlock as q, createVNode as t, withCtx as n, createElementVNode as e, unref as _, toDisplayString as i, createTextVNode as m, createBlock as ee, createCommentVNode as oe } from "vue";
2
- import { D as h } from "./index-Knr6dYOL.mjs";
3
- import { o as R } from "./index-BCt6P3MY.mjs";
4
- import { fileApi as M, routerUtil as te } from "jmash-core";
5
- import { useRouter as se, useRoute as le } from "vue-router";
6
- import { goodsSpuApi as ne } from "xyvcard-paper-goods";
7
- import { _ as ie } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
- const re = { class: "app-container" }, ae = { class: "subscription-container" }, de = { class: "newspaper-image" }, ce = { class: "shanxi-worker-paper" }, me = { class: "subscription-info" }, ue = { class: "magazine-title" }, pe = { class: "info-item" }, _e = { class: "info-label" }, fe = { class: "info-item" }, be = { class: "info-label" }, ve = { class: "price" }, he = { class: "price-value" }, Ie = { class: "subscription-containers" }, ge = { class: "cell-item" }, ye = { class: "cell-item" }, Ee = { class: "dialog-footer" }, Ne = /* @__PURE__ */ Y({
9
- __name: "info",
10
- setup(Pe) {
11
- const F = se(), f = le(), I = v([]);
12
- h.goodsCategoryListBizLayDict.useValues();
13
- function G(o) {
14
- o.mobileEncrypt = !o.mobileEncrypt;
15
- }
16
- function H() {
17
- te.closeTagView(f.fullPath, F, !1);
18
- }
19
- const s = v(), g = v([]);
20
- function J() {
21
- R.findById({ orderId: f.query.orderId }).then(({ data: o }) => {
22
- var l, u, c, p, r;
23
- s.value = [o], ne.findById({
24
- spuId: (r = (p = (c = (u = (l = s.value) == null ? void 0 : l[0]) == null ? void 0 : u.orderItemList) == null ? void 0 : c.results) == null ? void 0 : p[0]) == null ? void 0 : r.spuId
25
- }).then(({ data: b }) => {
26
- g.value = b.categoryIds;
27
- });
28
- });
29
- }
30
- function K() {
31
- R.findOrderAddressList({ orderId: f.query.orderId }).then(({ data: o }) => {
32
- I.value = o.results;
33
- });
34
- }
35
- return Z(() => {
36
- J(), K();
37
- }), (o, l) => {
38
- const u = a("el-image"), c = a("el-descriptions-item"), p = a("el-descriptions"), r = a("el-table-column"), b = a("jmash-mobileIns-component"), Q = a("el-table"), W = a("el-button"), X = a("el-card");
39
- return q(), x("div", re, [
40
- t(X, { shadow: "never" }, {
41
- footer: n(() => [
42
- e("div", Ee, [
43
- t(W, {
44
- type: "primary",
45
- onClick: H
46
- }, {
47
- default: n(() => [
48
- m(i(o.$t("common.back")), 1)
49
- ]),
50
- _: 1
51
- })
52
- ])
53
- ]),
54
- default: n(() => {
55
- var y, E, N, P, k, L, $, w, B, V, C, D, A, S, U, z, T, j, O;
56
- return [
57
- l[1] || (l[1] = e("div", { class: "title-content" }, "订单详情", -1)),
58
- e("div", ae, [
59
- e("div", de, [
60
- e("div", ce, [
61
- t(u, {
62
- src: _(M).imageUrl(
63
- (k = (P = (N = (E = (y = s.value) == null ? void 0 : y[0]) == null ? void 0 : E.orderItemList) == null ? void 0 : N.results) == null ? void 0 : P[0]) == null ? void 0 : k.picUrl,
64
- 160,
65
- 160
66
- ),
67
- "preview-src-list": [
68
- _(M).imageUrl(
69
- (V = (B = (w = ($ = (L = s.value) == null ? void 0 : L[0]) == null ? void 0 : $.orderItemList) == null ? void 0 : w.results) == null ? void 0 : B[0]) == null ? void 0 : V.picUrl
70
- )
71
- ],
72
- "preview-teleported": "",
73
- "hide-on-click-modal": "",
74
- fit: "contain",
75
- class: "magazine-image"
76
- }, null, 8, ["src", "preview-src-list"])
77
- ])
78
- ]),
79
- e("div", me, [
80
- e("span", ue, "《" + i((U = (S = (A = (D = (C = s.value) == null ? void 0 : C[0]) == null ? void 0 : D.orderItemList) == null ? void 0 : A.results) == null ? void 0 : S[0]) == null ? void 0 : U.spuName) + "》 ", 1),
81
- e("div", pe, [
82
- e("span", _e, [
83
- l[0] || (l[0] = m("发行频率: ")),
84
- e("span", null, i(_(h).goodsCategoryListBizLayDict.getValue(g.value.join(","))), 1)
85
- ])
86
- ]),
87
- e("div", fe, [
88
- e("span", be, "订阅周期:" + i((T = (z = s.value) == null ? void 0 : z[0]) == null ? void 0 : T.remark), 1)
89
- ]),
90
- e("div", ve, [
91
- e("span", he, "¥" + i((O = (j = s.value) == null ? void 0 : j[0]) == null ? void 0 : O.salesPrice) + "/年", 1)
92
- ])
93
- ])
94
- ]),
95
- l[2] || (l[2] = e("div", { class: "title-content" }, "付款信息", -1)),
96
- e("div", Ie, [
97
- s.value && s.value.length > 0 ? (q(), ee(p, {
98
- key: 0,
99
- class: "margin-top",
100
- "label-width": 420,
101
- "label-align": "left",
102
- column: 1
103
- }, {
104
- default: n(() => [
105
- t(c, null, {
106
- label: n(() => [
107
- e("div", ge, i(o.$t("orderInfo.salesPrices")), 1)
108
- ]),
109
- default: n(() => [
110
- m(" ¥" + i(s.value[0].salesPrice), 1)
111
- ]),
112
- _: 1
113
- }),
114
- t(c, null, {
115
- label: n(() => [
116
- e("div", ye, i(o.$t("orderInfo.orderStatus")), 1)
117
- ]),
118
- default: n(() => [
119
- m(" " + i(_(h).orderStatusEnum.getValue(s.value[0].orderStatus)), 1)
120
- ]),
121
- _: 1
122
- })
123
- ]),
124
- _: 1
125
- })) : oe("", !0)
126
- ]),
127
- l[3] || (l[3] = e("div", { class: "title-content" }, "收报地址", -1)),
128
- t(Q, {
129
- data: I.value,
130
- border: ""
131
- }, {
132
- default: n(() => [
133
- t(r, {
134
- prop: "note",
135
- label: o.$t("orderInfo.unitNames"),
136
- width: "250"
137
- }, null, 8, ["label"]),
138
- t(r, {
139
- prop: "userName",
140
- label: o.$t("orderInfo.userName"),
141
- width: "120"
142
- }, null, 8, ["label"]),
143
- t(r, {
144
- label: o.$t("orderInfo.mobilePhone"),
145
- width: "170"
146
- }, {
147
- default: n(({ row: d }) => [
148
- t(b, {
149
- mobileEncrypt: d.mobileEncrypt,
150
- mobilePhoneIns: d.mobilePhoneIns,
151
- mobilePhone: d.mobilePhone,
152
- onToggleEncrypt: (ke) => G(d)
153
- }, null, 8, ["mobileEncrypt", "mobilePhoneIns", "mobilePhone", "onToggleEncrypt"])
154
- ]),
155
- _: 1
156
- }, 8, ["label"]),
157
- t(r, {
158
- prop: "detailInfo",
159
- label: o.$t("orderInfo.address")
160
- }, {
161
- default: n(({ row: d }) => [
162
- m(i(d.cityName) + i(d.detailInfo), 1)
163
- ]),
164
- _: 1
165
- }, 8, ["label"]),
166
- t(r, {
167
- prop: "goodsNum",
168
- label: o.$t("orderInfo.paperNumber"),
169
- width: "100"
170
- }, null, 8, ["label"])
171
- ]),
172
- _: 1
173
- }, 8, ["data"])
174
- ];
175
- }),
176
- _: 1,
177
- __: [1, 2, 3]
178
- })
179
- ]);
180
- };
181
- }
182
- }), Ae = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-df1a7c58"]]);
183
- export {
184
- Ae as default
185
- };