xyvcard-paper-buyer 0.0.20 → 0.0.22

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,37 +1,37 @@
1
- import { defineComponent as fe, ref as V, onActivated as ye, resolveComponent as i, resolveDirective as ve, createElementBlock as f, openBlock as p, createElementVNode as c, createVNode as n, withCtx as r, withKeys as P, unref as a, createTextVNode as u, toDisplayString as l, withDirectives as w, createCommentVNode as v, vShow as W, createBlock as E, isRef as j } from "vue";
1
+ import { defineComponent as ce, ref as V, onActivated as fe, resolveComponent as i, resolveDirective as ye, createElementBlock as y, openBlock as p, createElementVNode as c, createVNode as a, withCtx as r, withKeys as P, unref as n, createTextVNode as u, toDisplayString as l, withDirectives as w, createCommentVNode as b, vShow as W, createBlock as E, isRef as j } from "vue";
2
2
  import { D as m, C as h } from "./index-BGqp7CRm.mjs";
3
3
  import { o as Q } from "./index-CT0KG-ax.mjs";
4
- import { vueMetaEnv as be, useTableHooks as _e } from "jmash-core";
5
- import { useI18n as Ie } from "vue-i18n";
6
- import { useRoute as we, useRouter as he } from "vue-router";
4
+ import { vueMetaEnv as ve, useTableHooks as be } from "jmash-core";
5
+ import { useI18n as _e } from "vue-i18n";
6
+ import { useRoute as Ie, useRouter as we } from "vue-router";
7
7
  import { E as M } from "./el-message-D5NtBelf.mjs";
8
- const Ce = { class: "app-container" }, ge = { class: "search-container dis_bottom" }, Se = { class: "total-num dis_bottom" }, ke = { class: "blue_color" }, Ne = { class: "blue_color" }, Ve = { class: "blue_color" }, Pe = { key: 0 }, $e = { key: 0 }, Te = { key: 1 }, De = {
8
+ const he = { class: "app-container" }, Ce = { class: "search-container dis_bottom" }, ge = { class: "total-num dis_bottom" }, Se = { class: "blue_color" }, ke = { class: "blue_color" }, Ne = { class: "blue_color" }, Ve = { key: 0 }, Pe = { key: 0 }, $e = { key: 1 }, De = {
9
9
  key: 2,
10
10
  class: "distance-left"
11
- }, Ee = ["onClick"], Ue = ["onClick"], qe = ["onClick"], Oe = ["onClick"], Be = ["onClick"], Le = ["onClick"], He = /* @__PURE__ */ fe({
11
+ }, Te = ["onClick"], Ee = ["onClick"], Ue = ["onClick"], qe = ["onClick"], Oe = ["onClick"], Me = /* @__PURE__ */ ce({
12
12
  __name: "index",
13
- setup(ze) {
14
- const K = we(), U = localStorage.getItem("unionUserInfo"), H = (U ? JSON.parse(U) : {}).orgId;
13
+ setup(Be) {
14
+ const K = Ie(), U = localStorage.getItem("unionUserInfo"), H = (U ? JSON.parse(U) : {}).orgId;
15
15
  m.unionOrgBizLayDict.useValues(), m.unionOrgPhoneBizLayDict.useValues(), m.unionOrgPhoneInsBizLayDict.useValues();
16
- const q = be.APP_SHOP_ID, { t: F } = Ie(), C = he(), d = V({
16
+ const q = ve.APP_SHOP_ID, { t: F } = _e(), g = we(), d = V({
17
17
  curPage: 1,
18
18
  pageSize: 10,
19
19
  shopBranchId: H
20
20
  }), {
21
- tableHooks: b,
21
+ tableHooks: v,
22
22
  multipleTableRef: G,
23
23
  queryFormRef: J,
24
24
  listLoading: X,
25
25
  tableData: Z,
26
26
  total: N
27
- } = _e(F, Q, d), $ = b.totalRecord, T = V([]);
27
+ } = be(F, Q, d), $ = v.totalRecord, D = V([]);
28
28
  function x(t) {
29
29
  d.value.startDate = t[0], d.value.endDate = t[1];
30
30
  }
31
31
  function ee() {
32
- T.value = [], d.value.startDate = "", d.value.endDate = "", b.resetQuery();
32
+ D.value = [], d.value.startDate = "", d.value.endDate = "", v.resetQuery();
33
33
  }
34
- let k = V([
34
+ let S = V([
35
35
  {
36
36
  label: "orderInfo.orderCode",
37
37
  prop: "orderCode",
@@ -140,13 +140,13 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
140
140
  t.mobileEncrypt = !t.mobileEncrypt;
141
141
  }
142
142
  function te(t) {
143
- C.push({
143
+ g.push({
144
144
  path: "/buyer/order-info/info",
145
145
  query: { orderId: t.orderId }
146
146
  });
147
147
  }
148
148
  function re(t) {
149
- C.push({
149
+ g.push({
150
150
  path: "/buyer/order-info/invoice",
151
151
  query: {
152
152
  orderCode: t.orderCode,
@@ -155,7 +155,7 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
155
155
  });
156
156
  }
157
157
  function ae(t) {
158
- C.push({
158
+ g.push({
159
159
  path: "/buyer/order-info/invoiceView",
160
160
  query: {
161
161
  orderCode: t.orderCode,
@@ -163,61 +163,55 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
163
163
  }
164
164
  });
165
165
  }
166
- function ne(t) {
167
- C.push({
168
- path: "/buyer/order-newspaper/orderAddress",
169
- query: { orderId: t.orderId }
170
- });
171
- }
172
166
  const B = V("");
173
- async function le(t) {
167
+ async function ne(t) {
174
168
  try {
175
169
  const o = await Q.pay({
176
170
  orderId: t.orderId,
177
171
  tenant: K.query.tenant
178
172
  });
179
- console.log(o.data, "=>res "), B.value = o.data.counterUrl, console.log(o.data.counterUrl, "=>counterUrl "), C.push({
180
- path: "/buyer/order-newspaper/payment",
173
+ console.log(o.data, "=>res "), B.value = o.data.counterUrl, console.log(o.data.counterUrl, "=>counterUrl "), g.push({
174
+ path: "/buyer/order-newspaper/orderAddress",
181
175
  query: { orderId: t.orderId, counterUrl: B.value }
182
176
  });
183
177
  } catch (o) {
184
178
  o instanceof Error ? M.error("获取支付信息失败: " + o.message) : M.error("获取支付信息失败,请稍后重试");
185
179
  }
186
180
  }
187
- function de(t) {
188
- C.push({
181
+ function le(t) {
182
+ g.push({
189
183
  path: "/buyer/order-info/applyEdit",
190
184
  query: { orderId: t.orderId }
191
185
  });
192
186
  }
193
- return ye(() => {
194
- b.getList();
187
+ return fe(() => {
188
+ v.getList();
195
189
  }), (t, o) => {
196
- const L = i("el-input"), g = i("el-form-item"), y = i("el-col"), z = i("jmash-select"), ue = i("el-date-picker"), R = i("el-button"), D = i("el-row"), se = i("el-form"), ie = i("jmash-column-select"), A = i("el-tag"), Y = i("svg-icon"), pe = i("jmash-table"), me = i("jmash-pagination"), ce = i("el-card"), S = ve("hasPerm");
197
- return p(), f("div", Ce, [
198
- c("div", ge, [
199
- n(se, {
190
+ const L = i("el-input"), C = i("el-form-item"), f = i("el-col"), z = i("jmash-select"), de = i("el-date-picker"), R = i("el-button"), T = i("el-row"), ue = i("el-form"), se = i("jmash-column-select"), Y = i("el-tag"), A = i("svg-icon"), ie = i("jmash-table"), pe = i("jmash-pagination"), me = i("el-card"), k = ye("hasPerm");
191
+ return p(), y("div", he, [
192
+ c("div", Ce, [
193
+ a(ue, {
200
194
  ref_key: "queryFormRef",
201
195
  ref: J,
202
196
  model: d.value,
203
197
  inline: !0
204
198
  }, {
205
199
  default: r(() => [
206
- n(D, null, {
200
+ a(T, null, {
207
201
  default: r(() => [
208
- n(y, { span: 6 }, {
202
+ a(f, { span: 6 }, {
209
203
  default: r(() => [
210
- n(g, {
204
+ a(C, {
211
205
  label: t.$t("orderInfo.orderCode"),
212
206
  prop: "likeOrderCode"
213
207
  }, {
214
208
  default: r(() => [
215
- n(L, {
209
+ a(L, {
216
210
  modelValue: d.value.likeOrderCode,
217
211
  "onUpdate:modelValue": o[0] || (o[0] = (e) => d.value.likeOrderCode = e),
218
212
  placeholder: t.$t("orderInfo.orderCodeRequired"),
219
213
  clearable: "",
220
- onKeyup: o[1] || (o[1] = P((e) => a(b).handleQuery(), ["enter"])),
214
+ onKeyup: o[1] || (o[1] = P((e) => n(v).handleQuery(), ["enter"])),
221
215
  class: "!w-[203px]"
222
216
  }, null, 8, ["modelValue", "placeholder"])
223
217
  ]),
@@ -226,19 +220,19 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
226
220
  ]),
227
221
  _: 1
228
222
  }),
229
- n(y, { span: 6 }, {
223
+ a(f, { span: 6 }, {
230
224
  default: r(() => [
231
- n(g, {
225
+ a(C, {
232
226
  label: t.$t("orderInfo.spuName"),
233
227
  prop: "likeSpuName"
234
228
  }, {
235
229
  default: r(() => [
236
- n(L, {
230
+ a(L, {
237
231
  modelValue: d.value.likeSpuName,
238
232
  "onUpdate:modelValue": o[2] || (o[2] = (e) => d.value.likeSpuName = e),
239
233
  placeholder: t.$t("orderInfo.spuNameRequired"),
240
234
  clearable: "",
241
- onKeyup: o[3] || (o[3] = P((e) => a(b).handleQuery(), ["enter"])),
235
+ onKeyup: o[3] || (o[3] = P((e) => n(v).handleQuery(), ["enter"])),
242
236
  class: "!w-[203px]"
243
237
  }, null, 8, ["modelValue", "placeholder"])
244
238
  ]),
@@ -247,20 +241,20 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
247
241
  ]),
248
242
  _: 1
249
243
  }),
250
- n(y, { span: 6 }, {
244
+ a(f, { span: 6 }, {
251
245
  default: r(() => [
252
- n(g, {
246
+ a(C, {
253
247
  label: t.$t("orderInfo.orderStatus"),
254
248
  prop: "orderStatusPc"
255
249
  }, {
256
250
  default: r(() => [
257
- n(z, {
251
+ a(z, {
258
252
  modelValue: d.value.orderStatusPc,
259
253
  "onUpdate:modelValue": o[4] || (o[4] = (e) => d.value.orderStatusPc = e),
260
- data: a(m).orderStatusEnum.values,
254
+ data: n(m).orderStatusEnum.values,
261
255
  placeholder: t.$t("orderInfo.orderStatusRequired"),
262
256
  clearable: "",
263
- onKeyup: o[5] || (o[5] = P((e) => a(b).handleQuery(), ["enter"]))
257
+ onKeyup: o[5] || (o[5] = P((e) => n(v).handleQuery(), ["enter"]))
264
258
  }, null, 8, ["modelValue", "data", "placeholder"])
265
259
  ]),
266
260
  _: 1
@@ -268,20 +262,20 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
268
262
  ]),
269
263
  _: 1
270
264
  }),
271
- n(y, { span: 6 }, {
265
+ a(f, { span: 6 }, {
272
266
  default: r(() => [
273
- n(g, {
267
+ a(C, {
274
268
  label: t.$t("orderInfo.invoiceStatus"),
275
269
  prop: "invoiceStatus"
276
270
  }, {
277
271
  default: r(() => [
278
- n(z, {
272
+ a(z, {
279
273
  modelValue: d.value.invoiceStatus,
280
274
  "onUpdate:modelValue": o[6] || (o[6] = (e) => d.value.invoiceStatus = e),
281
- data: a(m).invoiceStatusEnum.values,
275
+ data: n(m).invoiceStatusEnum.values,
282
276
  placeholder: t.$t("orderInfo.invoiceStatusRequired"),
283
277
  clearable: "",
284
- onKeyup: o[7] || (o[7] = P((e) => a(b).handleQuery(), ["enter"]))
278
+ onKeyup: o[7] || (o[7] = P((e) => n(v).handleQuery(), ["enter"]))
285
279
  }, null, 8, ["modelValue", "data", "placeholder"])
286
280
  ]),
287
281
  _: 1
@@ -289,16 +283,16 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
289
283
  ]),
290
284
  _: 1
291
285
  }),
292
- n(y, { span: 6 }, {
286
+ a(f, { span: 6 }, {
293
287
  default: r(() => [
294
- n(g, {
288
+ a(C, {
295
289
  label: t.$t("orderInfo.createTime"),
296
290
  prop: "startCreateTime"
297
291
  }, {
298
292
  default: r(() => [
299
- n(ue, {
300
- modelValue: T.value,
301
- "onUpdate:modelValue": o[8] || (o[8] = (e) => T.value = e),
293
+ a(de, {
294
+ modelValue: D.value,
295
+ "onUpdate:modelValue": o[8] || (o[8] = (e) => D.value = e),
302
296
  type: "daterange",
303
297
  "start-placeholder": t.$t("orderInfo.startCreateTime"),
304
298
  "end-placeholder": t.$t("orderInfo.endCreateTime"),
@@ -312,20 +306,20 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
312
306
  ]),
313
307
  _: 1
314
308
  }),
315
- n(y, { span: 18 }, {
309
+ a(f, { span: 18 }, {
316
310
  default: r(() => [
317
- n(g, { class: "search-btn" }, {
311
+ a(C, { class: "search-btn" }, {
318
312
  default: r(() => [
319
- n(R, {
313
+ a(R, {
320
314
  type: "primary",
321
- onClick: o[9] || (o[9] = (e) => a(b).handleQuery())
315
+ onClick: o[9] || (o[9] = (e) => n(v).handleQuery())
322
316
  }, {
323
317
  default: r(() => [
324
318
  u(l(t.$t("common.search")), 1)
325
319
  ]),
326
320
  _: 1
327
321
  }),
328
- n(R, { onClick: ee }, {
322
+ a(R, { onClick: ee }, {
329
323
  default: r(() => [
330
324
  u(l(t.$t("common.reset")), 1)
331
325
  ]),
@@ -344,31 +338,31 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
344
338
  _: 1
345
339
  }, 8, ["model"])
346
340
  ]),
347
- c("div", Se, [
348
- n(D, { gutter: 20 }, {
341
+ c("div", ge, [
342
+ a(T, { gutter: 20 }, {
349
343
  default: r(() => [
350
- n(y, { span: 4 }, {
344
+ a(f, { span: 4 }, {
351
345
  default: r(() => [
352
346
  o[15] || (o[15] = u("订阅单位:")),
353
- c("span", ke, l(a($).totalUnit || 0), 1),
347
+ c("span", Se, l(n($).totalUnit || 0), 1),
354
348
  o[16] || (o[16] = u("家 "))
355
349
  ]),
356
350
  _: 1,
357
351
  __: [15, 16]
358
352
  }),
359
- n(y, { span: 4 }, {
353
+ a(f, { span: 4 }, {
360
354
  default: r(() => [
361
355
  o[17] || (o[17] = u(" 订阅报刊:")),
362
- c("span", Ne, l(a($).totalQuantity || 0), 1),
356
+ c("span", ke, l(n($).totalQuantity || 0), 1),
363
357
  o[18] || (o[18] = u("份 "))
364
358
  ]),
365
359
  _: 1,
366
360
  __: [17, 18]
367
361
  }),
368
- n(y, { span: 4 }, {
362
+ a(f, { span: 4 }, {
369
363
  default: r(() => [
370
364
  o[19] || (o[19] = u("订购总金额:")),
371
- c("span", Ve, l(a($).totalAmount || 0), 1),
365
+ c("span", Ne, l(n($).totalAmount || 0), 1),
372
366
  o[20] || (o[20] = u("元 "))
373
367
  ]),
374
368
  _: 1,
@@ -378,21 +372,21 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
378
372
  _: 1
379
373
  })
380
374
  ]),
381
- n(ce, {
375
+ a(me, {
382
376
  shadow: "never",
383
377
  class: "table-container"
384
378
  }, {
385
379
  header: r(() => [
386
- n(D, null, {
380
+ a(T, null, {
387
381
  default: r(() => [
388
- n(y, {
382
+ a(f, {
389
383
  span: 24,
390
384
  class: "container-float"
391
385
  }, {
392
386
  default: r(() => [
393
- n(ie, {
394
- modelValue: a(k),
395
- "onUpdate:modelValue": o[10] || (o[10] = (e) => j(k) ? k.value = e : k = e),
387
+ a(se, {
388
+ modelValue: n(S),
389
+ "onUpdate:modelValue": o[10] || (o[10] = (e) => j(S) ? S.value = e : S = e),
396
390
  "label-name": "paper-order/order-info"
397
391
  }, null, 8, ["modelValue"])
398
392
  ]),
@@ -403,25 +397,25 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
403
397
  })
404
398
  ]),
405
399
  footer: r(() => [
406
- a(N) > 0 ? (p(), E(me, {
400
+ n(N) > 0 ? (p(), E(pe, {
407
401
  key: 0,
408
- total: a(N),
402
+ total: n(N),
409
403
  "onUpdate:total": o[11] || (o[11] = (e) => j(N) ? N.value = e : null),
410
404
  "current-page": d.value.curPage,
411
405
  "onUpdate:currentPage": o[12] || (o[12] = (e) => d.value.curPage = e),
412
406
  "page-size": d.value.pageSize,
413
407
  "onUpdate:pageSize": o[13] || (o[13] = (e) => d.value.pageSize = e),
414
- onPagination: o[14] || (o[14] = (e) => a(b).getList())
415
- }, null, 8, ["total", "current-page", "page-size"])) : v("", !0)
408
+ onPagination: o[14] || (o[14] = (e) => n(v).getList())
409
+ }, null, 8, ["total", "current-page", "page-size"])) : b("", !0)
416
410
  ]),
417
411
  default: r(() => [
418
- n(pe, {
412
+ a(ie, {
419
413
  ref_key: "multipleTableRef",
420
414
  ref: G,
421
415
  "row-key": "orderId",
422
- "list-loading": a(X),
423
- data: a(Z),
424
- "table-label": a(k),
416
+ "list-loading": n(X),
417
+ data: n(Z),
418
+ "table-label": n(S),
425
419
  isSelection: !1
426
420
  }, {
427
421
  createTime: r((e) => [
@@ -446,116 +440,107 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
446
440
  ];
447
441
  }),
448
442
  orderCycle: r((e) => [
449
- e.data.row.remark !== "undefined至undefined" ? (p(), f("span", Pe, l(e.data.row.remark), 1)) : v("", !0)
443
+ e.data.row.remark !== "undefined至undefined" ? (p(), y("span", Ve, l(e.data.row.remark), 1)) : b("", !0)
450
444
  ]),
451
445
  unitName: r((e) => [
452
- c("span", null, l(a(m).unionOrgBizLayDict.getValue(e.data.row.shopBrancheId)), 1)
446
+ c("span", null, l(n(m).unionOrgBizLayDict.getValue(e.data.row.shopBrancheId)), 1)
453
447
  ]),
454
448
  orderStatus: r((e) => [
455
449
  c("div", null, [
456
- e.data.row.orderStatus === a(h).UNPAY ? (p(), E(A, {
450
+ e.data.row.orderStatus === n(h).UNPAY ? (p(), E(Y, {
457
451
  key: 0,
458
452
  type: "danger"
459
453
  }, {
460
454
  default: r(() => [
461
- u(l(a(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
455
+ u(l(n(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
462
456
  ]),
463
457
  _: 2
464
- }, 1024)) : v("", !0),
465
- e.data.row.orderStatus === a(h).UNPOST ? (p(), E(A, {
458
+ }, 1024)) : b("", !0),
459
+ e.data.row.orderStatus === n(h).UNPOST ? (p(), E(Y, {
466
460
  key: 1,
467
461
  type: "success"
468
462
  }, {
469
463
  default: r(() => [
470
- u(l(a(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
464
+ u(l(n(m).orderStatusEnum.getValue(e.data.row.orderStatus)), 1)
471
465
  ]),
472
466
  _: 2
473
- }, 1024)) : v("", !0)
467
+ }, 1024)) : b("", !0)
474
468
  ])
475
469
  ]),
476
470
  paymentWay: r((e) => [
477
- c("span", null, l(a(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
471
+ c("span", null, l(n(m).paymentWayEnum.getEnumValue(e.data.row.paymentWay)), 1)
478
472
  ]),
479
473
  invoiceStatus: r((e) => [
480
- u(l(a(m).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
474
+ u(l(n(m).invoiceStatusEnum.getEnumValue(e.data.row.invoiceStatus)), 1)
481
475
  ]),
482
476
  mobilePhone: r((e) => [
483
- e.data.row.mobileEncrypt ? (p(), f("span", Te, l(a(m).unionOrgPhoneBizLayDict.getValue(
477
+ e.data.row.mobileEncrypt ? (p(), y("span", $e, l(n(m).unionOrgPhoneBizLayDict.getValue(
484
478
  e.data.row.shopBrancheId
485
- )), 1)) : (p(), f("span", $e, l(a(m).unionOrgPhoneInsBizLayDict.getValue(
479
+ )), 1)) : (p(), y("span", Pe, l(n(m).unionOrgPhoneInsBizLayDict.getValue(
486
480
  e.data.row.shopBrancheId
487
481
  )), 1)),
488
- a(m).unionOrgPhoneBizLayDict.getValue(
482
+ n(m).unionOrgPhoneBizLayDict.getValue(
489
483
  e.data.row.shopBrancheId
490
- ) ? (p(), f("span", De, [
491
- w(n(Y, {
484
+ ) ? (p(), y("span", De, [
485
+ w(a(A, {
492
486
  "icon-class": "close-eye",
493
487
  onClick: (s) => O(e.data.row)
494
488
  }, null, 8, ["onClick"]), [
495
489
  [W, !e.data.row.mobileEncrypt]
496
490
  ]),
497
- w(n(Y, {
491
+ w(a(A, {
498
492
  "icon-class": "eye-open",
499
493
  onClick: (s) => O(e.data.row)
500
494
  }, null, 8, ["onClick"]), [
501
495
  [W, e.data.row.mobileEncrypt]
502
496
  ])
503
- ])) : v("", !0)
497
+ ])) : b("", !0)
504
498
  ]),
505
499
  operation: r((e) => [
506
- w((p(), f("span", {
500
+ w((p(), y("span", {
507
501
  class: "el-button-color",
508
502
  onClick: (s) => te(e.data.row)
509
503
  }, [
510
504
  u(l(t.$t("common.view")), 1)
511
- ], 8, Ee)), [
512
- [S, ["order:order_info:view"]]
505
+ ], 8, Te)), [
506
+ [k, ["order:order_info:view"]]
513
507
  ]),
514
- e.data.row.invoiceStatus === a(h).UNINVOICE && e.data.row.orderStatus === a(h).UNPOST ? w((p(), f("span", {
508
+ e.data.row.invoiceStatus === n(h).UNINVOICE && e.data.row.orderStatus === n(h).UNPOST ? w((p(), y("span", {
515
509
  key: 0,
516
510
  class: "el-button-color dropdown-left",
517
- onClick: (s) => de(e.data.row)
511
+ onClick: (s) => le(e.data.row)
518
512
  }, [
519
513
  u(l(t.$t("orderInfo.apply")), 1)
520
- ], 8, Ue)), [
521
- [S, ["order:order_info:view"]]
522
- ]) : v("", !0),
523
- e.data.row.invoiceStatus === a(h).INVOICING ? w((p(), f("span", {
514
+ ], 8, Ee)), [
515
+ [k, ["order:order_info:view"]]
516
+ ]) : b("", !0),
517
+ e.data.row.invoiceStatus === n(h).INVOICING ? w((p(), y("span", {
524
518
  key: 1,
525
519
  class: "el-button-color dropdown-left",
526
520
  onClick: (s) => re(e.data.row)
527
521
  }, [
528
522
  u(l(t.$t("orderInfo.invoiceInformation")), 1)
529
- ], 8, qe)), [
530
- [S, ["order:order_info:view"]]
531
- ]) : v("", !0),
532
- e.data.row.orderStatus === a(h).UNPAY ? w((p(), f("span", {
523
+ ], 8, Ue)), [
524
+ [k, ["order:order_info:view"]]
525
+ ]) : b("", !0),
526
+ e.data.row.orderStatus === n(h).UNPAY ? w((p(), y("span", {
533
527
  key: 2,
534
528
  class: "el-button-color dropdown-left",
535
- onClick: (s) => le(e.data.row)
529
+ onClick: (s) => ne(e.data.row)
536
530
  }, [
537
531
  u(l(t.$t("orderInfo.payment")), 1)
538
- ], 8, Oe)), [
539
- [S, ["order:order_info:view"]]
540
- ]) : v("", !0),
541
- e.data.row.orderStatus === a(h).UNPOST ? w((p(), f("span", {
532
+ ], 8, qe)), [
533
+ [k, ["order:order_info:view"]]
534
+ ]) : b("", !0),
535
+ e.data.row.invoiceStatus === n(h).INVOICED ? w((p(), y("span", {
542
536
  key: 3,
543
537
  class: "el-button-color dropdown-left",
544
- onClick: (s) => ne(e.data.row)
545
- }, [
546
- u(l(t.$t("orderInfo.assignAddress")), 1)
547
- ], 8, Be)), [
548
- [S, ["order:order_info:view"]]
549
- ]) : v("", !0),
550
- e.data.row.invoiceStatus === a(h).INVOICED ? w((p(), f("span", {
551
- key: 4,
552
- class: "el-button-color dropdown-left",
553
538
  onClick: (s) => ae(e.data.row)
554
539
  }, [
555
540
  u(l(t.$t("orderInfo.viewInvoice")), 1)
556
- ], 8, Le)), [
557
- [S, ["order:order_info:view"]]
558
- ]) : v("", !0)
541
+ ], 8, Oe)), [
542
+ [k, ["order:order_info:view"]]
543
+ ]) : b("", !0)
559
544
  ]),
560
545
  _: 1
561
546
  }, 8, ["list-loading", "data", "table-label"])
@@ -567,5 +552,5 @@ const Ce = { class: "app-container" }, ge = { class: "search-container dis_botto
567
552
  }
568
553
  });
569
554
  export {
570
- He as default
555
+ Me as default
571
556
  };
package/dist/index.mjs CHANGED
@@ -513,7 +513,7 @@ const R = () => import("./index-3POeZkeU.mjs"), P = () => import("./orderPaper-B
513
513
  scrollBehavior: () => ({ left: 0, top: 0 })
514
514
  });
515
515
  c.value = k;
516
- const S = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-BBkGmNz4.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-CZqkjduU.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-BpCTqM6V.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-Gr3U3ZFi.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-zNW26cGt.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-Cshwyw3t.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-BPfP8vsl.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-25fhb-Uj.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-S09QEhkA.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-B_W9Nbg_.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-3POeZkeU.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-DFK4wOS8.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-BxobbRyw.mjs"), "./views/buyer/order-newspaper/payment copy.vue": () => import("./payment copy-CyZWiAyq.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-CaWj9re7.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-BFspmCb_.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-CvxCHZ3l.mjs") }), M = {
516
+ const S = /* @__PURE__ */ Object.assign({ "./views/buyer/order-info/applyEdit.vue": () => import("./applyEdit-BBkGmNz4.mjs"), "./views/buyer/order-info/index.vue": () => import("./index-GQmNxbOx.mjs"), "./views/buyer/order-info/info.vue": () => import("./info-BpCTqM6V.mjs"), "./views/buyer/order-info/invoice.vue": () => import("./invoice-Gr3U3ZFi.mjs"), "./views/buyer/order-info/invoiceEdit.vue": () => import("./invoiceEdit-zNW26cGt.mjs"), "./views/buyer/order-info/invoiceView.vue": () => import("./invoiceView-Cshwyw3t.mjs"), "./views/buyer/order-info/list.vue": () => import("./list-BPfP8vsl.mjs"), "./views/buyer/order-info/sendDialog.vue": () => import("./sendDialog-25fhb-Uj.mjs"), "./views/buyer/order-info/userInvoice.vue": () => import("./userInvoice-S09QEhkA.mjs"), "./views/buyer/order-newspaper/edit.vue": () => import("./edit-B_W9Nbg_.mjs"), "./views/buyer/order-newspaper/index.vue": () => import("./index-3POeZkeU.mjs"), "./views/buyer/order-newspaper/orderAddress.vue": () => import("./orderAddress-DFK4wOS8.mjs"), "./views/buyer/order-newspaper/orderPaper.vue": () => import("./orderPaper-BxobbRyw.mjs"), "./views/buyer/order-newspaper/payment copy.vue": () => import("./payment copy-CyZWiAyq.mjs"), "./views/buyer/order-newspaper/payment.vue": () => import("./payment-CaWj9re7.mjs"), "./views/buyer/order-user-address/edit.vue": () => import("./edit-BFspmCb_.mjs"), "./views/buyer/order-user-address/index.vue": () => import("./index-CvxCHZ3l.mjs") }), M = {
517
517
  install(e) {
518
518
  l(S, 7), f(t), v(h);
519
519
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xyvcard-paper-buyer",
3
- "version": "0.0.20",
3
+ "version": "0.0.22",
4
4
  "private": false,
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dts/index.d.ts",