xyvcard-paper-buyer 0.0.44 → 0.0.46

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.
@@ -3,9 +3,9 @@ import { useI18n as O } from "vue-i18n";
3
3
  import "element-plus";
4
4
  import { routerUtil as D } from "jmash-core";
5
5
  import { useRouter as Q, useRoute as W } from "vue-router";
6
- import { D as U } from "./index-BPKQNnjE.mjs";
7
- import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-D-3fXoBu.mjs";
8
- import { o as Z } from "./index-DyTbbNUO.mjs";
6
+ import { D as U } from "./index-Knr6dYOL.mjs";
7
+ import { _ as X, u as Y } from "./userInvoice.vue_vue_type_script_setup_true_lang-3eHl8CCv.mjs";
8
+ import { o as Z } from "./index-BKZPqxLM.mjs";
9
9
  import { E as x } from "./el-message-VSzNakoG.mjs";
10
10
  import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
11
11
  const le = { class: "app-container" }, oe = { class: "search-container" }, te = { class: "form-footer" }, ae = /* @__PURE__ */ J({
@@ -1,11 +1,11 @@
1
- import { defineComponent as Y, mergeModels as h, useModel as U, ref as E, reactive as y, resolveComponent as n, createBlock as H, openBlock as B, withCtx as o, createVNode as e, unref as r, createElementVNode as F, createTextVNode as V, toDisplayString as g } from "vue";
2
- import { useI18n as K } from "vue-i18n";
3
- import { useRouter as j, useRoute as O } from "vue-router";
1
+ import { defineComponent as Y, mergeModels as h, useModel as I, ref as U, reactive as y, resolveComponent as n, createBlock as H, openBlock as B, withCtx as o, createVNode as e, unref as a, createElementVNode as E, createTextVNode as V, toDisplayString as g } from "vue";
2
+ import { useI18n as F } from "vue-i18n";
3
+ import { useRouter as K, useRoute as j } from "vue-router";
4
4
  import { ElMessage as k } from "element-plus";
5
- import { o as z } from "./index-B90ZLkZ9.mjs";
5
+ import { o as O } from "./index-B90ZLkZ9.mjs";
6
6
  import N from "./assets/3a1c0fd6fbc19dd2.png";
7
- import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
- const J = { class: "footer" }, L = /* @__PURE__ */ Y({
7
+ import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
+ const G = { class: "footer" }, J = /* @__PURE__ */ Y({
9
9
  __name: "confirm",
10
10
  props: /* @__PURE__ */ h({
11
11
  confirmKey: {
@@ -26,9 +26,11 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
26
26
  }),
27
27
  emits: /* @__PURE__ */ h(["close"], ["update:modelValue"]),
28
28
  setup(i, { emit: v }) {
29
- const _ = i, u = U(i, "modelValue"), R = v, { t: c } = K(), P = j(), D = O(), w = E(), a = y({
29
+ const _ = i, u = I(i, "modelValue"), R = v, { t: c } = F(), P = K();
30
+ j();
31
+ const w = U(), r = y({
30
32
  requestId: Math.random() * 10 + ""
31
- }), q = y({
33
+ }), D = y({
32
34
  opponentAccountNo: [
33
35
  {
34
36
  required: !0,
@@ -48,13 +50,12 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
48
50
  await ((l = w.value) == null ? void 0 : l.validate(async (t) => {
49
51
  if (t)
50
52
  try {
51
- (await z.completedTransfer({
52
- ...a,
53
+ (await O.completedTransfer({
54
+ ...r,
53
55
  shopPayInfoId: _.confirmKey.shopPayInfoId,
54
56
  orderCode: _.confirmKey.orderCode
55
57
  })).data === "success" && (k.success(c("common.submitSuccess")), f(), P.push({
56
- path: "/buyer/order-info/applyEdit",
57
- query: { orderId: D.query.orderId }
58
+ path: "/buyer/order-info"
58
59
  }));
59
60
  } catch {
60
61
  k.error("提交失败,请重试");
@@ -65,7 +66,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
65
66
  R("close"), u.value = !1;
66
67
  }
67
68
  return (l, t) => {
68
- const p = n("el-input"), s = n("el-form-item"), m = n("el-col"), C = n("el-date-picker"), I = n("el-divider"), M = n("el-image"), S = n("el-row"), T = n("el-form"), b = n("el-button"), A = n("el-dialog");
69
+ const p = n("el-input"), m = n("el-form-item"), s = n("el-col"), q = n("el-date-picker"), C = n("el-divider"), M = n("el-image"), S = n("el-row"), T = n("el-form"), b = n("el-button"), A = n("el-dialog");
69
70
  return B(), H(A, {
70
71
  modelValue: u.value,
71
72
  "onUpdate:modelValue": t[4] || (t[4] = (d) => u.value = d),
@@ -75,7 +76,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
75
76
  "destroy-on-close": ""
76
77
  }, {
77
78
  footer: o(() => [
78
- F("div", J, [
79
+ E("div", G, [
79
80
  e(b, { onClick: f }, {
80
81
  default: o(() => [
81
82
  V(g(l.$t("common.cancel")), 1)
@@ -97,24 +98,24 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
97
98
  e(T, {
98
99
  ref_key: "confirmFormRef",
99
100
  ref: w,
100
- model: r(a),
101
+ model: a(r),
101
102
  "label-width": "120px",
102
- rules: r(q),
103
+ rules: a(D),
103
104
  style: { "margin-top": "20px" }
104
105
  }, {
105
106
  default: o(() => [
106
107
  e(S, { gutter: 20 }, {
107
108
  default: o(() => [
108
- e(m, { span: 20 }, {
109
+ e(s, { span: 20 }, {
109
110
  default: o(() => [
110
- e(s, {
111
+ e(m, {
111
112
  label: l.$t("newsPapepr.opponentAccountNo"),
112
113
  prop: "opponentAccountNo"
113
114
  }, {
114
115
  default: o(() => [
115
116
  e(p, {
116
- modelValue: r(a).opponentAccountNo,
117
- "onUpdate:modelValue": t[0] || (t[0] = (d) => r(a).opponentAccountNo = d),
117
+ modelValue: a(r).opponentAccountNo,
118
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => a(r).opponentAccountNo = d),
118
119
  placeholder: l.$t("newsPapepr.opponentAccountNoRequired"),
119
120
  "show-word-limit": "",
120
121
  clearable: ""
@@ -125,16 +126,16 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
125
126
  ]),
126
127
  _: 1
127
128
  }),
128
- e(m, { span: 20 }, {
129
+ e(s, { span: 20 }, {
129
130
  default: o(() => [
130
- e(s, {
131
+ e(m, {
131
132
  label: l.$t("newsPapepr.tradeDateTime"),
132
133
  prop: "tradeDateTime"
133
134
  }, {
134
135
  default: o(() => [
135
- e(C, {
136
- modelValue: r(a).tradeDateTime,
137
- "onUpdate:modelValue": t[1] || (t[1] = (d) => r(a).tradeDateTime = d),
136
+ e(q, {
137
+ modelValue: a(r).tradeDateTime,
138
+ "onUpdate:modelValue": t[1] || (t[1] = (d) => a(r).tradeDateTime = d),
138
139
  type: "datetime",
139
140
  placeholder: l.$t("newsPapepr.tradeDateTimeRequired"),
140
141
  format: "YYYY-MM-DD HH:mm:ss",
@@ -147,16 +148,16 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
147
148
  ]),
148
149
  _: 1
149
150
  }),
150
- e(m, { span: 20 }, {
151
+ e(s, { span: 20 }, {
151
152
  default: o(() => [
152
- e(s, {
153
+ e(m, {
153
154
  label: l.$t("newsPapepr.bankSerialNo"),
154
155
  prop: "bankSerialNo"
155
156
  }, {
156
157
  default: o(() => [
157
158
  e(p, {
158
- modelValue: r(a).bankSerialNo,
159
- "onUpdate:modelValue": t[2] || (t[2] = (d) => r(a).bankSerialNo = d),
159
+ modelValue: a(r).bankSerialNo,
160
+ "onUpdate:modelValue": t[2] || (t[2] = (d) => a(r).bankSerialNo = d),
160
161
  placeholder: l.$t("newsPapepr.bankSerialNoRequired"),
161
162
  "show-word-limit": "",
162
163
  clearable: ""
@@ -167,16 +168,16 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
167
168
  ]),
168
169
  _: 1
169
170
  }),
170
- e(m, { span: 20 }, {
171
+ e(s, { span: 20 }, {
171
172
  default: o(() => [
172
- e(s, {
173
+ e(m, {
173
174
  label: l.$t("newsPapepr.handleRemark"),
174
175
  prop: "handleRemark"
175
176
  }, {
176
177
  default: o(() => [
177
178
  e(p, {
178
- modelValue: r(a).handleRemark,
179
- "onUpdate:modelValue": t[3] || (t[3] = (d) => r(a).handleRemark = d),
179
+ modelValue: a(r).handleRemark,
180
+ "onUpdate:modelValue": t[3] || (t[3] = (d) => a(r).handleRemark = d),
180
181
  placeholder: l.$t("newsPapepr.handleRemarkRequired"),
181
182
  "show-word-limit": "",
182
183
  clearable: ""
@@ -187,16 +188,16 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
187
188
  ]),
188
189
  _: 1
189
190
  }),
190
- e(I),
191
- e(m, { span: 24 }, {
191
+ e(C),
192
+ e(s, { span: 24 }, {
192
193
  default: o(() => [
193
- e(s, {
194
+ e(m, {
194
195
  label: l.$t("newsPapepr.image")
195
196
  }, {
196
197
  default: o(() => [
197
198
  e(M, {
198
- src: r(N),
199
- "preview-src-list": [r(N)],
199
+ src: a(N),
200
+ "preview-src-list": [a(N)],
200
201
  "preview-teleported": "",
201
202
  "hide-on-click-modal": "",
202
203
  fit: "contain",
@@ -219,7 +220,7 @@ const J = { class: "footer" }, L = /* @__PURE__ */ Y({
219
220
  }, 8, ["modelValue", "title", "width"]);
220
221
  };
221
222
  }
222
- }), le = /* @__PURE__ */ G(L, [["__scopeId", "data-v-df1b6dc1"]]);
223
+ }), oe = /* @__PURE__ */ z(J, [["__scopeId", "data-v-bc31fa7a"]]);
223
224
  export {
224
- le as default
225
+ oe as default
225
226
  };