xyvcard-paper-buyer 0.0.47 → 0.0.48

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.
@@ -1,21 +1,20 @@
1
1
  import { defineComponent as ie, ref as E, onActivated as me, resolveComponent as i, resolveDirective as pe, createElementBlock as I, openBlock as p, createElementVNode as f, createVNode as n, withCtx as r, withKeys as P, unref as a, createTextVNode as u, toDisplayString as d, withDirectives as g, createCommentVNode as y, createBlock as D, isRef as Y } from "vue";
2
2
  import { D as k, C as _ } from "./index-Knr6dYOL.mjs";
3
- import { o as L } from "./index-DyTbbNUO.mjs";
3
+ import { o as L } from "./index-BKZPqxLM.mjs";
4
4
  import { vueMetaEnv as fe, useTableHooks as ce } from "jmash-core";
5
5
  import { useI18n as be } from "vue-i18n";
6
6
  import { useRouter as ve } from "vue-router";
7
- import { E as ye } from "./el-message-VSzNakoG.mjs";
8
- const Ie = { class: "app-container" }, _e = { class: "search-container dis_bottom" }, we = { class: "total-num dis_bottom" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Se = { class: "blue_color" }, ge = { key: 0 }, ke = ["onClick"], Ne = ["onClick"], Pe = ["onClick"], Ve = ["onClick"], $e = ["onClick"], Ye = /* @__PURE__ */ ie({
7
+ const ye = { class: "app-container" }, Ie = { class: "search-container dis_bottom" }, _e = { class: "total-num dis_bottom" }, we = { class: "blue_color" }, he = { class: "blue_color" }, Ce = { class: "blue_color" }, Se = { key: 0 }, ge = ["onClick"], ke = ["onClick"], Ne = ["onClick"], Pe = ["onClick"], Ve = ["onClick"], Oe = /* @__PURE__ */ ie({
9
8
  __name: "index",
10
- setup(Te) {
11
- const U = localStorage.getItem("unionUserInfo"), Q = (U ? JSON.parse(U) : {}).orgId, q = fe.APP_ORGAN_ID, { t: z } = be(), h = ve(), l = E({
9
+ setup($e) {
10
+ const U = localStorage.getItem("unionUserInfo"), Q = (U ? JSON.parse(U) : {}).orgId, q = fe.APP_ORGAN_ID, { t: z } = be(), w = ve(), l = E({
12
11
  curPage: 1,
13
12
  pageSize: 10,
14
13
  shopBranchId: Q
15
14
  }), {
16
15
  tableHooks: c,
17
- multipleTableRef: M,
18
- queryFormRef: K,
16
+ multipleTableRef: K,
17
+ queryFormRef: M,
19
18
  listLoading: B,
20
19
  tableData: F,
21
20
  total: N
@@ -131,13 +130,13 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
131
130
  t.mobileEncrypt = !t.mobileEncrypt;
132
131
  }
133
132
  function Z(t) {
134
- h.push({
133
+ w.push({
135
134
  path: "/buyer/order-info/info",
136
135
  query: { orderId: t.orderId }
137
136
  });
138
137
  }
139
138
  function x(t) {
140
- h.push({
139
+ w.push({
141
140
  path: "/buyer/order-info/invoice",
142
141
  query: {
143
142
  orderCode: t.orderCode,
@@ -146,7 +145,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
146
145
  });
147
146
  }
148
147
  function ee(t) {
149
- h.push({
148
+ w.push({
150
149
  path: "/buyer/order-info/invoiceView",
151
150
  query: {
152
151
  orderCode: t.orderCode,
@@ -157,13 +156,13 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
157
156
  async function oe(t) {
158
157
  try {
159
158
  const o = await L.queryOrderAddress({ orderId: t.orderId });
160
- o && o.data === !0 ? h.push({
159
+ o && o.data === !0 ? w.push({
161
160
  path: "/buyer/order-newspaper/orderDetails",
162
161
  query: {
163
162
  orderId: t.orderId,
164
163
  shopId: t.shopId
165
164
  }
166
- }) : o && o.data === !1 && h.push({
165
+ }) : o && o.data === !1 && w.push({
167
166
  path: "/buyer/order-newspaper/orderAddress",
168
167
  query: { orderId: t.orderId }
169
168
  });
@@ -171,20 +170,20 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
171
170
  }
172
171
  }
173
172
  function te(t) {
174
- ye({
175
- message: "该功能正在建设中",
176
- type: "warning"
173
+ w.push({
174
+ path: "/buyer/order-info/applyEdit",
175
+ query: { orderId: t.orderId }
177
176
  });
178
177
  }
179
178
  return me(() => {
180
179
  c.getList();
181
180
  }), (t, o) => {
182
- const R = i("el-input"), w = i("el-form-item"), m = i("el-col"), A = i("jmash-select"), re = i("el-date-picker"), O = i("el-button"), T = i("el-row"), ne = i("el-form"), ae = i("jmash-column-select"), j = i("el-tag"), le = i("jmash-mobileIns-component"), de = i("jmash-table"), ue = i("jmash-pagination"), se = i("el-card"), S = pe("hasPerm");
183
- return p(), I("div", Ie, [
184
- f("div", _e, [
181
+ const R = i("el-input"), h = i("el-form-item"), m = i("el-col"), A = i("jmash-select"), re = i("el-date-picker"), O = i("el-button"), T = i("el-row"), ne = i("el-form"), ae = i("jmash-column-select"), j = i("el-tag"), le = i("jmash-mobileIns-component"), de = i("jmash-table"), ue = i("jmash-pagination"), se = i("el-card"), S = pe("hasPerm");
182
+ return p(), I("div", ye, [
183
+ f("div", Ie, [
185
184
  n(ne, {
186
185
  ref_key: "queryFormRef",
187
- ref: K,
186
+ ref: M,
188
187
  model: l.value,
189
188
  inline: !0
190
189
  }, {
@@ -193,7 +192,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
193
192
  default: r(() => [
194
193
  n(m, { span: 6 }, {
195
194
  default: r(() => [
196
- n(w, {
195
+ n(h, {
197
196
  label: t.$t("orderInfo.orderCode"),
198
197
  prop: "likeOrderCode"
199
198
  }, {
@@ -214,7 +213,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
214
213
  }),
215
214
  n(m, { span: 6 }, {
216
215
  default: r(() => [
217
- n(w, {
216
+ n(h, {
218
217
  label: t.$t("orderInfo.spuName"),
219
218
  prop: "likeSpuName"
220
219
  }, {
@@ -235,7 +234,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
235
234
  }),
236
235
  n(m, { span: 6 }, {
237
236
  default: r(() => [
238
- n(w, {
237
+ n(h, {
239
238
  label: t.$t("orderInfo.orderStatus"),
240
239
  prop: "orderStatusPc"
241
240
  }, {
@@ -256,7 +255,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
256
255
  }),
257
256
  n(m, { span: 6 }, {
258
257
  default: r(() => [
259
- n(w, {
258
+ n(h, {
260
259
  label: t.$t("orderInfo.invoiceStatus"),
261
260
  prop: "invoiceStatus"
262
261
  }, {
@@ -277,7 +276,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
277
276
  }),
278
277
  n(m, { span: 6 }, {
279
278
  default: r(() => [
280
- n(w, {
279
+ n(h, {
281
280
  label: t.$t("orderInfo.createTime"),
282
281
  prop: "startCreateTime"
283
282
  }, {
@@ -300,7 +299,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
300
299
  }),
301
300
  n(m, { span: 18 }, {
302
301
  default: r(() => [
303
- n(w, { class: "search-btn" }, {
302
+ n(h, { class: "search-btn" }, {
304
303
  default: r(() => [
305
304
  n(O, {
306
305
  type: "primary",
@@ -330,13 +329,13 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
330
329
  _: 1
331
330
  }, 8, ["model"])
332
331
  ]),
333
- f("div", we, [
332
+ f("div", _e, [
334
333
  n(T, { gutter: 20 }, {
335
334
  default: r(() => [
336
335
  n(m, { span: 4 }, {
337
336
  default: r(() => [
338
337
  o[15] || (o[15] = u("订阅单位:")),
339
- f("span", he, d(a(V).totalUnit || 0), 1),
338
+ f("span", we, d(a(V).totalUnit || 0), 1),
340
339
  o[16] || (o[16] = u("家 "))
341
340
  ]),
342
341
  _: 1,
@@ -345,7 +344,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
345
344
  n(m, { span: 4 }, {
346
345
  default: r(() => [
347
346
  o[17] || (o[17] = u(" 订阅报刊:")),
348
- f("span", Ce, d(a(V).totalQuantity || 0), 1),
347
+ f("span", he, d(a(V).totalQuantity || 0), 1),
349
348
  o[18] || (o[18] = u("份 "))
350
349
  ]),
351
350
  _: 1,
@@ -354,7 +353,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
354
353
  n(m, { span: 4 }, {
355
354
  default: r(() => [
356
355
  o[19] || (o[19] = u("订购总金额:")),
357
- f("span", Se, d(a(V).totalAmount || 0), 1),
356
+ f("span", Ce, d(a(V).totalAmount || 0), 1),
358
357
  o[20] || (o[20] = u("元 "))
359
358
  ]),
360
359
  _: 1,
@@ -403,7 +402,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
403
402
  default: r(() => [
404
403
  n(de, {
405
404
  ref_key: "multipleTableRef",
406
- ref: M,
405
+ ref: K,
407
406
  "row-key": "orderId",
408
407
  "list-loading": a(B),
409
408
  data: a(F),
@@ -434,7 +433,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
434
433
  ];
435
434
  }),
436
435
  orderCycle: r((e) => [
437
- e.data.row.remark !== "undefined至undefined" ? (p(), I("span", ge, d(e.data.row.remark), 1)) : y("", !0)
436
+ e.data.row.remark !== "undefined至undefined" ? (p(), I("span", Se, d(e.data.row.remark), 1)) : y("", !0)
438
437
  ]),
439
438
  orderStatus: r((e) => [
440
439
  f("div", null, [
@@ -475,7 +474,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
475
474
  onClick: (s) => Z(e.data.row)
476
475
  }, [
477
476
  u(d(t.$t("common.view")), 1)
478
- ], 8, ke)), [
477
+ ], 8, ge)), [
479
478
  [S, ["order:order_info:view"]]
480
479
  ]),
481
480
  e.data.row.invoiceStatus === a(_).UNINVOICE && e.data.row.orderStatus === a(_).UNPOST ? g((p(), I("span", {
@@ -484,7 +483,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
484
483
  onClick: (s) => te(e.data.row)
485
484
  }, [
486
485
  u(d(t.$t("orderInfo.apply")), 1)
487
- ], 8, Ne)), [
486
+ ], 8, ke)), [
488
487
  [S, ["order:order_info:view"]]
489
488
  ]) : y("", !0),
490
489
  e.data.row.invoiceStatus === a(_).INVOICING ? g((p(), I("span", {
@@ -493,7 +492,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
493
492
  onClick: (s) => x(e.data.row)
494
493
  }, [
495
494
  u(d(t.$t("orderInfo.invoiceInformation")), 1)
496
- ], 8, Pe)), [
495
+ ], 8, Ne)), [
497
496
  [S, ["order:order_info:view"]]
498
497
  ]) : y("", !0),
499
498
  e.data.row.orderStatus === a(_).UNPAY ? g((p(), I("span", {
@@ -502,7 +501,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
502
501
  onClick: (s) => oe(e.data.row)
503
502
  }, [
504
503
  u(d(t.$t("orderInfo.payment")), 1)
505
- ], 8, Ve)), [
504
+ ], 8, Pe)), [
506
505
  [S, ["order:order_info:view"]]
507
506
  ]) : y("", !0),
508
507
  e.data.row.invoiceStatus === a(_).INVOICED ? g((p(), I("span", {
@@ -511,7 +510,7 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
511
510
  onClick: (s) => ee(e.data.row)
512
511
  }, [
513
512
  u(d(t.$t("orderInfo.viewInvoice")), 1)
514
- ], 8, $e)), [
513
+ ], 8, Ve)), [
515
514
  [S, ["order:order_info:view"]]
516
515
  ]) : y("", !0)
517
516
  ]),
@@ -525,5 +524,5 @@ const Ie = { class: "app-container" }, _e = { class: "search-container dis_botto
525
524
  }
526
525
  });
527
526
  export {
528
- Ye as default
527
+ Oe as default
529
528
  };
package/dist/index.mjs CHANGED
@@ -377,7 +377,7 @@ function g(e) {
377
377
  let i = e.global.getLocaleMessage("en");
378
378
  i = d(i, b), e.global.setLocaleMessage("zh-cn", o), e.global.setLocaleMessage("en", i);
379
379
  }
380
- const R = () => import("./index-BWV5njqv.mjs"), w = () => import("./orderPaper-DUCuNxKR.mjs"), P = () => import("./orderAddress-DMeZ9ynO.mjs"), q = () => import("./orderInfo-sDrLIKdZ.mjs"), D = () => import("./payment-D2PWs1qD.mjs"), N = () => import("./invoice-Ca967WuM.mjs"), z = () => import("./invoiceView-BQ20QFpo.mjs"), x = () => import("./applyEdit-CZsU0uYe.mjs"), C = () => import("./invoiceEdit-CpBEUGPH.mjs"), k = () => import("./info-D1TgjVdG.mjs"), t = [
380
+ const R = () => import("./index-BWV5njqv.mjs"), w = () => import("./orderPaper-DUCuNxKR.mjs"), P = () => import("./orderAddress-BBFS2Jys.mjs"), q = () => import("./orderInfo-mkmFfFuC.mjs"), D = () => import("./payment-C1UwHZy4.mjs"), N = () => import("./invoice-Ca967WuM.mjs"), z = () => import("./invoiceView-BQ20QFpo.mjs"), x = () => import("./applyEdit-Ch-oVoTx.mjs"), C = () => import("./invoiceEdit-CpBEUGPH.mjs"), k = () => import("./info-D61FnBcM.mjs"), t = [
381
381
  {
382
382
  path: "/buyer",
383
383
  component: r,
@@ -543,7 +543,7 @@ const R = () => import("./index-BWV5njqv.mjs"), w = () => import("./orderPaper-D
543
543
  scrollBehavior: () => ({ left: 0, top: 0 })
544
544
  });
545
545
  c.value = T;
546
- const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-CZsU0uYe.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-Bwcd1jCz.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-D1TgjVdG.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-Ca967WuM.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-CpBEUGPH.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-BQ20QFpo.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-CeY2OdrK.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-B0HE_2cs.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-DPxbKmv9.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-CLQHmyNq.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-Omp_CxC3.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-BWV5njqv.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-5anhjN7y.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-DMeZ9ynO.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-sDrLIKdZ.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-DUCuNxKR.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-D2PWs1qD.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-DQX4apPU.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-DwsTiwF8.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-MoEV6c7S.mjs") }), M = {
546
+ const A = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-Ch-oVoTx.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-CBj9jO6o.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-D61FnBcM.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-Ca967WuM.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-CpBEUGPH.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-BQ20QFpo.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-CeY2OdrK.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-B0HE_2cs.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-DPxbKmv9.mjs"), "./views/buyer/order-newspaper/confirm.vue": () => import("./confirm-BK-aSN_z.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-Omp_CxC3.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-BWV5njqv.mjs"), "./views/buyer/order-newspaper/onlineBanking.vue": () => import("./onlineBanking-CdDAY0YQ.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-BBFS2Jys.mjs"), "./views/buyer/order-newspaper/orderInfo.vue": () => import("./orderInfo-mkmFfFuC.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-DUCuNxKR.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-C1UwHZy4.mjs"), "./views/buyer/order-newspaper/prompt.vue": () => import("./prompt-DQX4apPU.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-DwsTiwF8.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-MoEV6c7S.mjs") }), M = {
547
547
  install(e) {
548
548
  l(A, 7), f(t), g(h);
549
549
  }
@@ -1,6 +1,6 @@
1
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
2
  import { D as h } from "./index-Knr6dYOL.mjs";
3
- import { o as R } from "./index-DyTbbNUO.mjs";
3
+ import { o as R } from "./index-BKZPqxLM.mjs";
4
4
  import { fileApi as M, routerUtil as te } from "jmash-core";
5
5
  import { useRouter as se, useRoute as le } from "vue-router";
6
6
  import { goodsSpuApi as ne } from "xyvcard-paper-goods";
@@ -113,7 +113,7 @@ const re = { class: "app-container" }, ae = { class: "subscription-container" },
113
113
  }),
114
114
  t(c, null, {
115
115
  label: n(() => [
116
- e("div", ye, i(o.$t("orderInfo.orderStatuss")), 1)
116
+ e("div", ye, i(o.$t("orderInfo.orderStatus")), 1)
117
117
  ]),
118
118
  default: n(() => [
119
119
  m(" " + i(_(h).orderStatusEnum.getValue(s.value[0].orderStatus)), 1)
@@ -179,7 +179,7 @@ const re = { class: "app-container" }, ae = { class: "subscription-container" },
179
179
  ]);
180
180
  };
181
181
  }
182
- }), Ae = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-94114052"]]);
182
+ }), Ae = /* @__PURE__ */ ie(Ne, [["__scopeId", "data-v-df1a7c58"]]);
183
183
  export {
184
184
  Ae as default
185
185
  };
@@ -1,9 +1,9 @@
1
- import { defineComponent as x, mergeModels as _, useModel as E, reactive as h, onMounted as S, resolveComponent as C, createBlock as K, openBlock as j, withCtx as c, createElementVNode as e, toDisplayString as a, unref as i, createVNode as w, createTextVNode as $ } from "vue";
2
- import { useI18n as O } from "vue-i18n";
3
- import { o as k } from "./index-B90ZLkZ9.mjs";
1
+ import { defineComponent as M, mergeModels as h, useModel as x, reactive as C, onMounted as S, resolveComponent as w, createBlock as q, openBlock as K, withCtx as c, createElementVNode as e, toDisplayString as a, unref as i, createVNode as $, createTextVNode as k } from "vue";
2
+ import { useI18n as j } from "vue-i18n";
3
+ import { o as I } from "./index-B90ZLkZ9.mjs";
4
4
  import { E as m } from "./el-message-VSzNakoG.mjs";
5
5
  import { ElMessage as v } from "element-plus";
6
- import { useRouter as T, useRoute as q } from "vue-router";
6
+ import { useRouter as O, useRoute as T } from "vue-router";
7
7
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
8
  function z(p) {
9
9
  if (console.log(navigator.clipboard && window.isSecureContext), navigator.clipboard && window.isSecureContext)
@@ -31,9 +31,9 @@ function z(p) {
31
31
  }
32
32
  }
33
33
  }
34
- const D = { class: "info-card" }, F = { class: "info-item" }, U = { class: "info-item-item" }, W = { class: "info-item" }, G = { class: "info-item-item" }, H = { class: "info-card-one" }, J = { class: "info-item" }, L = { class: "info-item-item" }, Q = { class: "info-item" }, X = { class: "info-item-item" }, Y = { class: "info-item" }, Z = { class: "info-item-item" }, ee = { class: "footer" }, oe = /* @__PURE__ */ x({
34
+ const D = { class: "info-card" }, F = { class: "info-item" }, U = { class: "info-item-item" }, W = { class: "info-item" }, G = { class: "info-item-item" }, H = { class: "info-card-one" }, J = { class: "info-item" }, L = { class: "info-item-item" }, Q = { class: "info-item" }, X = { class: "info-item-item" }, Y = { class: "info-item" }, Z = { class: "info-item-item" }, ee = { class: "footer" }, oe = /* @__PURE__ */ M({
35
35
  __name: "onlineBanking",
36
- props: /* @__PURE__ */ _({
36
+ props: /* @__PURE__ */ h({
37
37
  bankKey: {
38
38
  type: Object,
39
39
  default: () => ({})
@@ -50,13 +50,13 @@ const D = { class: "info-card" }, F = { class: "info-item" }, U = { class: "info
50
50
  modelValue: { type: Boolean, default: !1 },
51
51
  modelModifiers: {}
52
52
  }),
53
- emits: /* @__PURE__ */ _(["refresh", "close", "open-prompt"], ["update:modelValue"]),
53
+ emits: /* @__PURE__ */ h(["refresh", "close", "open-prompt"], ["update:modelValue"]),
54
54
  setup(p, { emit: s }) {
55
- const { t: l } = O(), P = T(), I = q(), u = p, y = E(p, "modelValue"), f = s, t = h({});
55
+ const { t: l } = j(), P = O(), b = T(), u = p, y = x(p, "modelValue"), f = s, t = C({});
56
56
  function N() {
57
- k.createPay({
57
+ I.createPay({
58
58
  shopPayInfoId: u.bankKey.shopPayInfoId,
59
- orderId: I.query.orderId
59
+ orderId: b.query.orderId
60
60
  }).then(({ data: n }) => {
61
61
  Object.assign(t, n);
62
62
  }).catch(() => {
@@ -64,11 +64,11 @@ const D = { class: "info-card" }, F = { class: "info-item" }, U = { class: "info
64
64
  });
65
65
  }
66
66
  S(N);
67
- let A = h({
67
+ let A = C({
68
68
  requestId: Math.random() * 10 + ""
69
69
  });
70
70
  function B() {
71
- k.completedTransfer({
71
+ I.completedTransfer({
72
72
  shopPayInfoId: u.bankKey.shopPayInfoId,
73
73
  orderCode: u.bankKey.orderCode,
74
74
  ...A
@@ -76,14 +76,15 @@ const D = { class: "info-card" }, F = { class: "info-item" }, U = { class: "info
76
76
  n.data === "success" ? (v({
77
77
  message: l("common.submitSuccess"),
78
78
  type: "success"
79
- }), f("refresh", !0), b(), P.push({
80
- path: "/buyer/order-info"
79
+ }), f("refresh", !0), g(), P.push({
80
+ path: "/buyer/order-info/applyEdit",
81
+ query: { orderId: b.query.orderId }
81
82
  })) : f("open-prompt", t);
82
83
  }).catch(() => {
83
84
  v.error("提交失败,请重试");
84
85
  });
85
86
  }
86
- function b() {
87
+ function g() {
87
88
  f("close"), y.value = !1;
88
89
  }
89
90
  function r(n) {
@@ -103,30 +104,30 @@ const D = { class: "info-card" }, F = { class: "info-item" }, U = { class: "info
103
104
  r(o);
104
105
  }
105
106
  return (n, o) => {
106
- const g = C("el-button"), M = C("el-dialog");
107
- return j(), K(M, {
107
+ const _ = w("el-button"), E = w("el-dialog");
108
+ return K(), q(E, {
108
109
  modelValue: y.value,
109
110
  "onUpdate:modelValue": o[5] || (o[5] = (d) => y.value = d),
110
111
  title: p.title,
111
112
  width: p.width,
112
- onClose: b,
113
+ onClose: g,
113
114
  "destroy-on-close": ""
114
115
  }, {
115
116
  footer: c(() => [
116
117
  e("div", ee, [
117
- w(g, { onClick: V }, {
118
+ $(_, { onClick: V }, {
118
119
  default: c(() => o[6] || (o[6] = [
119
- $("一键复制")
120
+ k("一键复制")
120
121
  ])),
121
122
  _: 1,
122
123
  __: [6]
123
124
  }),
124
- w(g, {
125
+ $(_, {
125
126
  type: "primary",
126
127
  onClick: B
127
128
  }, {
128
129
  default: c(() => o[7] || (o[7] = [
129
- $("已完成转账")
130
+ k("已完成转账")
130
131
  ])),
131
132
  _: 1,
132
133
  __: [7]
@@ -195,7 +196,7 @@ const D = { class: "info-card" }, F = { class: "info-item" }, U = { class: "info
195
196
  }, 8, ["modelValue", "title", "width"]);
196
197
  };
197
198
  }
198
- }), re = /* @__PURE__ */ R(oe, [["__scopeId", "data-v-e9758a95"]]);
199
+ }), re = /* @__PURE__ */ R(oe, [["__scopeId", "data-v-3c63890d"]]);
199
200
  export {
200
201
  re as default
201
202
  };
@@ -51,7 +51,7 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, se =
51
51
  if (o.goodsNum && o.goodsNum > 0) {
52
52
  const i = N(o);
53
53
  if (o.goodsNum > i) {
54
- _.warning("某地址订阅份数超出可分配范围,请检查后重新提交"), t = !1;
54
+ _.warning("分配份数与总订阅份数不匹配,请调整后重新提交"), t = !1;
55
55
  break;
56
56
  }
57
57
  }
@@ -243,7 +243,7 @@ const te = { class: "app-container" }, oe = { class: "search-container" }, se =
243
243
  ]);
244
244
  };
245
245
  }
246
- }), xe = /* @__PURE__ */ ee(fe, [["__scopeId", "data-v-64c6cbde"]]);
246
+ }), xe = /* @__PURE__ */ ee(fe, [["__scopeId", "data-v-b9a8d840"]]);
247
247
  export {
248
248
  xe as default
249
249
  };
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as we, ref as _, reactive as h, onMounted as Ke, resolveComponent as c, createElementBlock as Le, openBlock as k, createVNode as r, createBlock as B, createCommentVNode as D, withCtx as m, createElementVNode as t, unref as O, toDisplayString as a, createTextVNode as fe } from "vue";
2
2
  import { useI18n as Ae } from "vue-i18n";
3
3
  import { D as ve } from "./index-Knr6dYOL.mjs";
4
- import { o as be } from "./index-DyTbbNUO.mjs";
4
+ import { o as be } from "./index-BKZPqxLM.mjs";
5
5
  import { fileApi as ye } from "jmash-core";
6
6
  import { useRoute as $e, useRouter as Ue } from "vue-router";
7
7
  import { goodsSpuApi as Me } from "xyvcard-paper-goods";
8
- import qe from "./onlineBanking-5anhjN7y.mjs";
8
+ import qe from "./onlineBanking-CdDAY0YQ.mjs";
9
9
  import Se from "./prompt-DQX4apPU.mjs";
10
- import Te from "./confirm-CLQHmyNq.mjs";
10
+ import Te from "./confirm-BK-aSN_z.mjs";
11
11
  import { o as Ie } from "./index-B90ZLkZ9.mjs";
12
12
  import { E as _e } from "./el-message-VSzNakoG.mjs";
13
13
  import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
@@ -1,4 +1,4 @@
1
- import { defineComponent as L, ref as a, onMounted as P, onUnmounted as b, resolveComponent as _, createElementBlock as s, openBlock as l, createElementVNode as c, createCommentVNode as p, createVNode as u, withCtx as q, unref as C } from "vue";
1
+ import { defineComponent as x, ref as a, onMounted as L, onUnmounted as P, resolveComponent as _, createElementBlock as s, openBlock as l, createElementVNode as c, createCommentVNode as v, createVNode as u, withCtx as b, unref as C } from "vue";
2
2
  import { l as N } from "./index-sU6sAHrn.mjs";
3
3
  import { useRoute as U, useRouter as M } from "vue-router";
4
4
  import { o as R } from "./index-B90ZLkZ9.mjs";
@@ -10,49 +10,50 @@ const z = { class: "lakala-payment-container" }, A = ["src"], S = {
10
10
  }, j = { class: "loading-content" }, D = {
11
11
  key: 1,
12
12
  class: "error-message"
13
- }, F = /* @__PURE__ */ L({
13
+ }, F = /* @__PURE__ */ x({
14
14
  __name: "payment",
15
15
  setup(G) {
16
- const n = U(), v = M(), y = n.query.counterUrl, h = n.query.orderId, k = n.params.tenant, i = a(""), o = a(!0), r = a(""), I = a(null), t = a();
17
- P(() => {
16
+ const n = U(), y = M(), h = n.query.counterUrl, i = n.query.orderId, k = n.params.tenant, m = a(""), o = a(!0), r = a(""), I = a(null), t = a();
17
+ L(() => {
18
18
  g();
19
19
  });
20
20
  const g = () => {
21
21
  try {
22
- i.value = y, o.value = !0, r.value = "";
22
+ m.value = h, o.value = !0, r.value = "";
23
23
  } catch {
24
24
  r.value = "支付初始化失败,请刷新页面重试", o.value = !1;
25
25
  }
26
26
  };
27
27
  setInterval(() => {
28
28
  }, 1e3);
29
- const m = async () => {
29
+ const d = async () => {
30
30
  try {
31
31
  (await R.queryPayResult({
32
- orderId: h,
32
+ orderId: i,
33
33
  tenant: k
34
- })).data.status === "success" && (clearInterval(t.value), v.push({
35
- path: "/buyer/order-info"
34
+ })).data.status === "success" && (clearInterval(t.value), y.push({
35
+ path: "/buyer/order-info/applyEdit",
36
+ query: { orderId: i }
36
37
  }));
37
38
  } catch {
38
39
  V.error("支付结果验证失败,请稍后查看订单状态");
39
40
  }
40
41
  }, w = () => {
41
42
  o.value = !1, t.value && clearInterval(t.value), t.value = setInterval(() => {
42
- m();
43
- }, 1500), window.addEventListener("message", d);
44
- }, d = (e) => {
45
- e.origin === "拉卡拉支付域名" && e.data === "payment_completed" && m();
43
+ d();
44
+ }, 1500), window.addEventListener("message", f);
45
+ }, f = (e) => {
46
+ e.origin === "拉卡拉支付域名" && e.data === "payment_completed" && d();
46
47
  };
47
- return b(() => {
48
- clearInterval(t.value), window.removeEventListener("message", d);
49
- }), (e, f) => {
50
- const x = _("el-icon"), E = _("el-alert");
48
+ return P(() => {
49
+ clearInterval(t.value), window.removeEventListener("message", f);
50
+ }), (e, p) => {
51
+ const E = _("el-icon"), q = _("el-alert");
51
52
  return l(), s("div", z, [
52
53
  c("iframe", {
53
54
  ref_key: "lakalaIframe",
54
55
  ref: I,
55
- src: i.value,
56
+ src: m.value,
56
57
  frameborder: "0",
57
58
  allowfullscreen: "",
58
59
  allowpaymentrequest: "",
@@ -61,30 +62,30 @@ const z = { class: "lakala-payment-container" }, A = ["src"], S = {
61
62
  }, null, 40, A),
62
63
  o.value ? (l(), s("div", S, [
63
64
  c("div", j, [
64
- u(x, {
65
+ u(E, {
65
66
  class: "loading-icon",
66
67
  size: 30
67
68
  }, {
68
- default: q(() => [
69
+ default: b(() => [
69
70
  u(C(N))
70
71
  ]),
71
72
  _: 1
72
73
  }),
73
- f[0] || (f[0] = c("div", { class: "loading-text" }, "正在加载支付页面...", -1))
74
+ p[0] || (p[0] = c("div", { class: "loading-text" }, "正在加载支付页面...", -1))
74
75
  ])
75
- ])) : p("", !0),
76
+ ])) : v("", !0),
76
77
  r.value ? (l(), s("div", D, [
77
- u(E, {
78
+ u(q, {
78
79
  title: r.value,
79
80
  type: "error",
80
81
  "show-icon": "",
81
82
  closable: !1
82
83
  }, null, 8, ["title"])
83
- ])) : p("", !0)
84
+ ])) : v("", !0)
84
85
  ]);
85
86
  };
86
87
  }
87
- }), W = /* @__PURE__ */ B(F, [["__scopeId", "data-v-51042bda"]]);
88
+ }), W = /* @__PURE__ */ B(F, [["__scopeId", "data-v-29b7f6a8"]]);
88
89
  export {
89
90
  W as default
90
91
  };