xyvcard-paper-buyer 0.0.29 → 0.0.31

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