xyvcard-goods 0.0.32 → 0.0.34

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 (112) hide show
  1. package/README.md +51 -51
  2. package/dist/GoodsBaseForm-BSvXc_XA.mjs +4 -0
  3. package/dist/GoodsBaseForm.vue_vue_type_script_setup_true_lang-rsmqHXbJ.mjs +381 -0
  4. package/dist/GoodsLogisticsForm-1Bbd4Z52.mjs +4 -0
  5. package/dist/GoodsLogisticsForm.vue_vue_type_script_setup_true_lang-PSnPNbmT.mjs +434 -0
  6. package/dist/GoodsSpecForm-Ddo1IZLZ.mjs +4 -0
  7. package/dist/GoodsSpecForm.vue_vue_type_script_setup_true_lang-CdWIufm4.mjs +338 -0
  8. package/dist/{ImageUpload-BMw9FVJL.mjs → ImageUpload-Bf2jhRs5.mjs} +1 -1
  9. package/dist/edit copy 2-Yzf_M31V.mjs +59 -0
  10. package/dist/edit copy-CCnzlrgL.mjs +526 -0
  11. package/dist/{edit-DvO1wYIL.mjs → edit-BgtwinSN.mjs} +1 -1
  12. package/dist/{edit-BlQj1xVR.mjs → edit-Dke5sWct.mjs} +4 -4
  13. package/dist/{edit-CuGiM5xu.mjs → edit-e5-aXV6K.mjs} +15 -15
  14. package/dist/{edit-Bh5jT6eo.mjs → edit-lfXK_dUp.mjs} +4 -4
  15. package/dist/{edit-CyhVo22f.mjs → edit-pUKONjxH.mjs} +7 -7
  16. package/dist/{edit.vue_vue_type_script_setup_true_lang-Bx32ZXck.mjs → edit.vue_vue_type_script_setup_true_lang-BtGT564r.mjs} +33 -33
  17. package/dist/el-message-BB2-39XJ.mjs +1221 -0
  18. package/dist/{index-BrBipAPq.mjs → index-BSzOTWcG.mjs} +1 -1
  19. package/dist/{index-CVM7nBhM.mjs → index-BpKiAhvt.mjs} +3 -3
  20. package/dist/{index-Dk9-_0Ir.mjs → index-ChQ-ZxD1.mjs} +2 -2
  21. package/dist/{index-Dz9NSJh1.mjs → index-CkJncbVf.mjs} +3 -3
  22. package/dist/{index-DzUSeIbT.mjs → index-CkMWas2b.mjs} +3 -3
  23. package/dist/index-Da2R0n8O.mjs +374 -0
  24. package/dist/{index-BlZupHNB.mjs → index-DhS4AuWf.mjs} +1593 -1554
  25. package/dist/{index-8JQB4NmH.mjs → index-DyLLV1NK.mjs} +281 -250
  26. package/dist/index-vHQhUQSO.mjs +95 -0
  27. package/dist/index.mjs +1 -1
  28. package/dist/{info-CLt9Ea38.mjs → info-DOKoSi7a.mjs} +34 -34
  29. package/dist/{info-NFU_3fNY.mjs → info-De_pBN6A.mjs} +19 -19
  30. package/dist/{skuForm-Dr6dKGa4.mjs → skuForm-DVGkw6rD.mjs} +71 -86
  31. package/dist/{skuForm-8WZm2j5V.mjs → skuForm-YXHrhyPI.mjs} +111 -110
  32. package/dist/{skuTable-BwIc5hr5.mjs → skuTable-DOIQ9kiV.mjs} +71 -71
  33. package/dist/style.css +1 -1
  34. package/dts/api/goods-base/index.d.ts +11 -0
  35. package/dts/api/goods-base/types.d.ts +33 -0
  36. package/dts/api/goods-logistics/index.d.ts +8 -0
  37. package/dts/api/goods-logistics/types.d.ts +16 -0
  38. package/dts/api/goods-spec/index.d.ts +8 -0
  39. package/dts/api/goods-spec/types.d.ts +15 -0
  40. package/dts/api/goods-spu/index.d.ts +3 -0
  41. package/dts/api/goods-stock/index.d.ts +8 -0
  42. package/dts/api/goods-stock/types.d.ts +32 -0
  43. package/dts/api/index.d.ts +3 -0
  44. package/dts/constant.d.ts +26 -0
  45. package/dts/lang/goods/zh-cn.d.ts +12 -0
  46. package/dts/views/goods/goods-spu/components/GoodsBaseForm.vue.d.ts +7 -0
  47. package/dts/views/goods/goods-spu/components/GoodsLogisticsForm.vue.d.ts +2 -0
  48. package/dts/views/goods/goods-spu/components/GoodsSpecForm.vue.d.ts +7 -0
  49. package/dts/views/goods/goods-spu/edit copy 2.vue.d.ts +2 -0
  50. package/dts/views/goods/goods-spu/edit copy.vue.d.ts +2 -0
  51. package/dts/xyvcard-goods/src/App.vue.d.ts +2 -0
  52. package/dts/xyvcard-goods/src/api/dict.d.ts +35 -0
  53. package/dts/xyvcard-goods/src/api/goods-base/index.d.ts +11 -0
  54. package/dts/xyvcard-goods/src/api/goods-base/types.d.ts +33 -0
  55. package/dts/xyvcard-goods/src/api/goods-brand-info/index.d.ts +20 -0
  56. package/dts/xyvcard-goods/src/api/goods-brand-info/types.d.ts +73 -0
  57. package/dts/xyvcard-goods/src/api/goods-category/index.d.ts +23 -0
  58. package/dts/xyvcard-goods/src/api/goods-category/types.d.ts +70 -0
  59. package/dts/xyvcard-goods/src/api/goods-ensure/index.d.ts +13 -0
  60. package/dts/xyvcard-goods/src/api/goods-ensure/types.d.ts +13 -0
  61. package/dts/xyvcard-goods/src/api/goods-label-info/index.d.ts +20 -0
  62. package/dts/xyvcard-goods/src/api/goods-label-info/types.d.ts +70 -0
  63. package/dts/xyvcard-goods/src/api/goods-logistics/index.d.ts +8 -0
  64. package/dts/xyvcard-goods/src/api/goods-logistics/types.d.ts +16 -0
  65. package/dts/xyvcard-goods/src/api/goods-sku/types.d.ts +18 -0
  66. package/dts/xyvcard-goods/src/api/goods-spec/index.d.ts +8 -0
  67. package/dts/xyvcard-goods/src/api/goods-spec/types.d.ts +15 -0
  68. package/dts/xyvcard-goods/src/api/goods-spu/index.d.ts +69 -0
  69. package/dts/xyvcard-goods/src/api/goods-spu/types.d.ts +245 -0
  70. package/dts/xyvcard-goods/src/api/goods-stock/index.d.ts +8 -0
  71. package/dts/xyvcard-goods/src/api/goods-stock/types.d.ts +32 -0
  72. package/dts/xyvcard-goods/src/api/index.d.ts +29 -0
  73. package/dts/xyvcard-goods/src/api/shop-branch/index.d.ts +9 -0
  74. package/dts/xyvcard-goods/src/api/shop-branch/types.d.ts +28 -0
  75. package/dts/xyvcard-goods/src/components/ImageUpload.vue.d.ts +36 -0
  76. package/dts/xyvcard-goods/src/constant.d.ts +107 -0
  77. package/dts/xyvcard-goods/src/index.d.ts +12 -0
  78. package/dts/xyvcard-goods/src/lang/goods/en.d.ts +2 -0
  79. package/dts/xyvcard-goods/src/lang/goods/zh-cn.d.ts +141 -0
  80. package/dts/xyvcard-goods/src/lang/index.d.ts +1 -0
  81. package/dts/xyvcard-goods/src/main.d.ts +7 -0
  82. package/dts/xyvcard-goods/src/permission.d.ts +1 -0
  83. package/dts/xyvcard-goods/src/router/index.d.ts +6 -0
  84. package/dts/xyvcard-goods/src/utils/momentPlugin.d.ts +5 -0
  85. package/dts/xyvcard-goods/src/utils/returnBizLay.d.ts +2 -0
  86. package/dts/xyvcard-goods/src/utils/sku.d.ts +19 -0
  87. package/dts/xyvcard-goods/src/views/goods/goods-brand-info/edit.vue.d.ts +22 -0
  88. package/dts/xyvcard-goods/src/views/goods/goods-brand-info/index.vue.d.ts +2 -0
  89. package/dts/xyvcard-goods/src/views/goods/goods-category/edit.vue.d.ts +22 -0
  90. package/dts/xyvcard-goods/src/views/goods/goods-category/index.vue.d.ts +2 -0
  91. package/dts/xyvcard-goods/src/views/goods/goods-combination/edit.vue.d.ts +2 -0
  92. package/dts/xyvcard-goods/src/views/goods/goods-combination/index.vue.d.ts +2 -0
  93. package/dts/xyvcard-goods/src/views/goods/goods-combination/info.vue.d.ts +2 -0
  94. package/dts/xyvcard-goods/src/views/goods/goods-combination/skuForm.vue.d.ts +20 -0
  95. package/dts/xyvcard-goods/src/views/goods/goods-label-info/edit.vue.d.ts +22 -0
  96. package/dts/xyvcard-goods/src/views/goods/goods-label-info/index.vue.d.ts +2 -0
  97. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsBaseForm.vue.d.ts +34 -0
  98. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsLogisticsForm.vue.d.ts +42 -0
  99. package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsSpecForm.vue.d.ts +42 -0
  100. package/dts/xyvcard-goods/src/views/goods/goods-spu/edit copy 2.vue.d.ts +2 -0
  101. package/dts/xyvcard-goods/src/views/goods/goods-spu/edit copy.vue.d.ts +2 -0
  102. package/dts/xyvcard-goods/src/views/goods/goods-spu/edit.vue.d.ts +2 -0
  103. package/dts/xyvcard-goods/src/views/goods/goods-spu/index.vue.d.ts +2 -0
  104. package/dts/xyvcard-goods/src/views/goods/goods-spu/info.vue.d.ts +2 -0
  105. package/dts/xyvcard-goods/src/views/goods/goods-spu/skuForm.vue.d.ts +29 -0
  106. package/dts/xyvcard-shop/src/api/shop-branch/index.d.ts +14 -0
  107. package/dts/xyvcard-shop/src/api/shop-branch/types.d.ts +76 -0
  108. package/package.json +63 -63
  109. package/dist/index-B7_M6fAN.mjs +0 -228
  110. package/dts/views/goods/goods-combination/goodsList.vue.d.ts +0 -14
  111. package/dts/views/goods/goods-spu/goodsList.vue.d.ts +0 -23
  112. /package/dts/{views/goods/goods-combination → xyvcard-goods/src/views/goods/goods-spu}/skuTable.vue.d.ts +0 -0
@@ -1,26 +1,11 @@
1
- import { defineComponent as j, createElementBlock as v, openBlock as m, createElementVNode as M, ref as V, watch as B, resolveComponent as r, createBlock as P, withCtx as i, createVNode as n, unref as h, Fragment as Y, renderList as G, createCommentVNode as H, createTextVNode as x, toDisplayString as J } from "vue";
1
+ import { defineComponent as z, ref as S, watch as E, resolveComponent as i, createBlock as P, openBlock as m, withCtx as r, createVNode as n, unref as U, createElementBlock as T, Fragment as Y, renderList as G, createCommentVNode as M, createTextVNode as H, toDisplayString as J } from "vue";
2
2
  import { useI18n as K } from "vue-i18n";
3
- import { D as S, C as g } from "./index-B7_M6fAN.mjs";
4
- import { a as O } from "./index-BlZupHNB.mjs";
5
- import { specValueApi as Q } from "xyvcard-shop";
6
- import { _ as W } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
7
- /*! Element Plus Icons Vue v2.3.2 */
8
- var X = /* @__PURE__ */ j({
9
- name: "Plus",
10
- __name: "plus",
11
- setup(b) {
12
- return (C, E) => (m(), v("svg", {
13
- xmlns: "http://www.w3.org/2000/svg",
14
- viewBox: "0 0 1024 1024"
15
- }, [
16
- M("path", {
17
- fill: "currentColor",
18
- d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
19
- })
20
- ]));
21
- }
22
- }), Z = X;
23
- const w = { key: 0 }, ee = /* @__PURE__ */ j({
3
+ import { p as Q } from "./index-vHQhUQSO.mjs";
4
+ import { D as V, C as h } from "./index-Da2R0n8O.mjs";
5
+ import { a as D } from "./index-DhS4AuWf.mjs";
6
+ import { specValueApi as W } from "xyvcard-shop";
7
+ import { _ as X } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
8
+ const Z = { key: 0 }, x = /* @__PURE__ */ z({
24
9
  __name: "skuForm",
25
10
  props: {
26
11
  form: {
@@ -30,8 +15,8 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
30
15
  }
31
16
  },
32
17
  emits: ["getGoodsSku", "getFormData"],
33
- setup(b, { emit: C }) {
34
- const { t: E } = K(), U = V([]), d = V([
18
+ setup($, { emit: L }) {
19
+ const { t: A } = K(), g = S([]), d = S([
35
20
  {
36
21
  salePrice: 0,
37
22
  skuId: "",
@@ -44,20 +29,20 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
44
29
  marketPrice: 0
45
30
  }
46
31
  ]);
47
- S.goodsSpuBizDict.useValues();
48
- const F = C;
49
- function L(s, e) {
50
- s.picUrl = e;
32
+ V.goodsSpuBizDict.useValues();
33
+ const F = L;
34
+ function B(s, e) {
35
+ s.picUrl = e.response.fileSrc;
51
36
  }
52
- const N = b;
53
- B(
54
- N.form,
37
+ const y = $;
38
+ E(
39
+ y.form,
55
40
  (s) => s,
56
41
  {
57
42
  deep: !0,
58
43
  immediate: !0
59
44
  }
60
- ), N.form.spuId && O.findGroupList({ goodsId: N.form.spuId }).then(({ data: s }) => {
45
+ ), y.form.spuId && D.findGroupList({ goodsId: y.form.spuId }).then(({ data: s }) => {
61
46
  if (s && s.results.length > 0) {
62
47
  d.value = [];
63
48
  const e = s.results.map(async (l) => {
@@ -71,18 +56,18 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
71
56
  specType: "",
72
57
  skuOptions: []
73
58
  };
74
- return await D(l.spuId, t), t.saleNum = l.saleNum || 1, t.salePrice = l.salePrice || 0, t.specType === g.SPEC_TYPE.MULTI_SPEC && l.skuId && (t.skuId = l.skuId || "", t.salePrice = l.salePrice || 0, t.saleNum = l.saleNum || 1, t.picUrl = l.picUrl || "", $(l.skuId)), t;
59
+ return await v(l.spuId, t), t.saleNum = l.saleNum || 1, t.salePrice = l.salePrice || 0, t.specType === h.SPEC_TYPE_VALUES.MULTI_SPEC && l.skuId && (t.skuId = l.skuId || "", t.salePrice = l.salePrice || 0, t.saleNum = l.saleNum || 1, t.picUrl = l.picUrl || "", C(l.skuId)), t;
75
60
  });
76
61
  Promise.all(e).then((l) => {
77
62
  d.value = l;
78
63
  });
79
64
  }
80
65
  });
81
- function A(s) {
66
+ function O(s) {
82
67
  const e = d.value.indexOf(s.row);
83
68
  e !== 0 && d.value.splice(e, 1);
84
69
  }
85
- function R() {
70
+ function j() {
86
71
  d.value.push({
87
72
  salePrice: 0,
88
73
  skuId: "",
@@ -95,44 +80,44 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
95
80
  marketPrice: 0
96
81
  });
97
82
  }
98
- const T = V({});
99
- async function z(s) {
100
- if (!U.value[s])
83
+ const b = S({});
84
+ async function R(s) {
85
+ if (!g.value[s])
101
86
  try {
102
- const { data: e } = await Q.findById({
87
+ const { data: e } = await W.findById({
103
88
  specValueId: s
104
89
  });
105
- return U.value[s] = e.valueName, e.valueName;
90
+ return g.value[s] = e.valueName, e.valueName;
106
91
  } catch {
107
92
  }
108
93
  }
109
- async function D(s, e) {
94
+ async function v(s, e) {
110
95
  var l, t, I;
111
96
  if (e.skuId = "", e.skuOptions = [], e.picUrl = "", e.salePrice = 0, e.saleNum = 1, e.skuName = "", e.marketPrice = 0, !s) {
112
- e.skuId = "", e.picUrl = "", e.salePrice = 0, e.saleNum = 1, e.skuName = ((l = S.goodsSpuBizDict.values.find((o) => o.key === s)) == null ? void 0 : l.value) ?? "", e.skuOptions = [], e.marketPrice = 0;
97
+ e.skuId = "", e.picUrl = "", e.salePrice = 0, e.saleNum = 1, e.skuName = ((l = V.goodsSpuBizDict.values.find((o) => o.key === s)) == null ? void 0 : l.value) ?? "", e.skuOptions = [], e.marketPrice = 0;
113
98
  return;
114
99
  }
115
100
  try {
116
- const { data: o } = await O.findById({ spuId: s });
117
- if (e.specType = o.specType, e.marketPrice = o.maxPrice, e.specType === g.SPEC_TYPE.UNIFIED_SPEC && (e.picUrl = o.picUrls ? o.picUrls.split(",")[0] : "", e.salePrice = (t = o.skuList) == null ? void 0 : t.results[0].salePrice, e.skuId = (I = o.skuList) == null ? void 0 : I.results[0].skuId, e.skuName = o.spuName), e.specType === g.SPEC_TYPE.MULTI_SPEC && o.skuList) {
118
- const f = o.skuList.results, _ = f.map((u) => u.specValues && Array.isArray(u.specValues) ? u.specValues.map(
101
+ const { data: o } = await D.findById({ spuId: s });
102
+ if (e.specType = o.specType, e.marketPrice = o.maxPrice, e.specType === h.SPEC_TYPE_VALUES.UNIFIED_SPEC && (e.picUrl = o.picUrls ? o.picUrls.split(",")[0] : "", e.salePrice = (t = o.skuList) == null ? void 0 : t.results[0].salePrice, e.skuId = (I = o.skuList) == null ? void 0 : I.results[0].skuId, e.skuName = o.spuName), e.specType === h.SPEC_TYPE_VALUES.MULTI_SPEC && o.skuList) {
103
+ const f = o.skuList.results, k = f.map((u) => u.specValues && Array.isArray(u.specValues) ? u.specValues.map(
119
104
  (p) => p.specValueId
120
- ) : []), y = _.flat().map((u) => z(u));
121
- await Promise.all(y);
122
- const k = _.map(
123
- (u) => u.map((p) => U.value[p] || p)
105
+ ) : []), N = k.flat().map((u) => R(u));
106
+ await Promise.all(N);
107
+ const _ = k.map(
108
+ (u) => u.map((p) => g.value[p] || p)
124
109
  );
125
110
  e.skuOptions = f.map((u, p) => ({
126
111
  key: u.skuId,
127
- value: k[p].join(" "),
128
- specInfo: k[p].join(" "),
112
+ value: _[p].join(" "),
113
+ specInfo: _[p].join(" "),
129
114
  picUrl: u.picUrl || (o.picUrls ? o.picUrls.split(",")[0] : ""),
130
115
  salePrice: u.salePrice,
131
116
  stock: u.stock
132
117
  })), f.forEach((u, p) => {
133
- u.skuId && (T.value[u.skuId] = {
118
+ u.skuId && (b.value[u.skuId] = {
134
119
  ...u,
135
- specInfo: k[p].join(" "),
120
+ specInfo: _[p].join(" "),
136
121
  spuPicUrls: o.picUrls
137
122
  });
138
123
  });
@@ -140,17 +125,17 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
140
125
  } catch {
141
126
  }
142
127
  }
143
- function $(s) {
128
+ function C(s) {
144
129
  const e = d.value.find((l) => l.skuId === s);
145
130
  if (e && s) {
146
- const l = T.value[s];
131
+ const l = b.value[s];
147
132
  if (l) {
148
133
  const t = l.spuPicUrls ? l.spuPicUrls.split(",")[0] : "";
149
134
  e.picUrl = l.picUrl || t, e.salePrice = l.salePrice, e.specInfo = l.specInfo;
150
135
  }
151
136
  }
152
137
  }
153
- return B(
138
+ return E(
154
139
  d,
155
140
  (s) => {
156
141
  const e = s.filter((l) => l.spuId && l.skuId).map((l) => ({
@@ -170,30 +155,30 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
170
155
  immediate: !0
171
156
  }
172
157
  ), (s, e) => {
173
- const l = r("jmash-select"), t = r("el-table-column"), I = r("el-option"), o = r("el-select"), f = r("jmash-single-image-upload"), _ = r("el-input-number"), y = r("DeleteFilled"), k = r("el-icon"), u = r("el-table"), p = r("el-button"), q = r("el-row");
158
+ const l = i("jmash-select"), t = i("el-table-column"), I = i("el-option"), o = i("el-select"), f = i("jmash-single-image-upload"), k = i("el-input-number"), N = i("DeleteFilled"), _ = i("el-icon"), u = i("el-table"), p = i("el-button"), q = i("el-row");
174
159
  return m(), P(q, null, {
175
- default: i(() => [
160
+ default: r(() => [
176
161
  n(u, {
177
162
  data: d.value,
178
163
  border: "",
179
164
  style: { width: "100%" }
180
165
  }, {
181
- default: i(() => [
166
+ default: r(() => [
182
167
  n(t, {
183
168
  label: s.$t("goodsSpu.spuName"),
184
169
  prop: "spuId",
185
170
  "header-align": "center"
186
171
  }, {
187
- default: i(({ row: a }) => [
172
+ default: r(({ row: a }) => [
188
173
  n(l, {
189
174
  modelValue: a.spuId,
190
175
  "onUpdate:modelValue": (c) => a.spuId = c,
191
- data: h(S).goodsSpuBizDict.values,
176
+ data: U(V).goodsSpuBizDict.values,
192
177
  filterable: "",
193
178
  clearable: "",
194
179
  placeholder: s.$t("goodsSpu.spuNameRequireds"),
195
180
  class: "w-full",
196
- onChange: (c) => D(a.spuId, a)
181
+ onChange: (c) => v(a.spuId, a)
197
182
  }, null, 8, ["modelValue", "onUpdate:modelValue", "data", "placeholder", "onChange"])
198
183
  ]),
199
184
  _: 1
@@ -202,16 +187,16 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
202
187
  label: s.$t("goodsSpu.specType"),
203
188
  "header-align": "center"
204
189
  }, {
205
- default: i(({ row: a }) => [
206
- a.specType === h(g).SPEC_TYPE.UNIFIED_SPEC ? (m(), v("span", w, " 统一规格 ")) : (m(), P(o, {
190
+ default: r(({ row: a }) => [
191
+ a.specType === U(h).SPEC_TYPE_VALUES.UNIFIED_SPEC ? (m(), T("span", Z, " 统一规格 ")) : (m(), P(o, {
207
192
  key: 1,
208
193
  modelValue: a.skuId,
209
194
  "onUpdate:modelValue": (c) => a.skuId = c,
210
195
  placeholder: s.$t("goodsSpu.specTypeRequired"),
211
- onChange: (c) => $(a.skuId)
196
+ onChange: (c) => C(a.skuId)
212
197
  }, {
213
- default: i(() => [
214
- (m(!0), v(Y, null, G(a.skuOptions, (c) => (m(), P(I, {
198
+ default: r(() => [
199
+ (m(!0), T(Y, null, G(a.skuOptions, (c) => (m(), P(I, {
215
200
  key: c.key,
216
201
  label: c.value,
217
202
  value: c.key
@@ -228,13 +213,13 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
228
213
  width: "105",
229
214
  "header-align": "center"
230
215
  }, {
231
- default: i(({ row: a }) => [
216
+ default: r(({ row: a }) => [
232
217
  n(f, {
233
218
  "picture-url": a.picUrl,
234
- onImageSrc: (c) => L(a, c),
219
+ onUploadFile: (c) => B(a, c),
235
220
  width: 80,
236
221
  type: "trans"
237
- }, null, 8, ["picture-url", "onImageSrc"])
222
+ }, null, 8, ["picture-url", "onUploadFile"])
238
223
  ]),
239
224
  _: 1
240
225
  }, 8, ["label"]),
@@ -243,8 +228,8 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
243
228
  prop: "salePrice",
244
229
  "header-align": "center"
245
230
  }, {
246
- default: i(({ row: a }) => [
247
- n(_, {
231
+ default: r(({ row: a }) => [
232
+ n(k, {
248
233
  modelValue: a.salePrice,
249
234
  "onUpdate:modelValue": (c) => a.salePrice = c,
250
235
  precision: 2,
@@ -261,8 +246,8 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
261
246
  prop: "saleNum",
262
247
  "header-align": "center"
263
248
  }, {
264
- default: i(({ row: a }) => [
265
- n(_, {
249
+ default: r(({ row: a }) => [
250
+ n(k, {
266
251
  modelValue: a.saleNum,
267
252
  "onUpdate:modelValue": (c) => a.saleNum = c,
268
253
  placeholder: s.$t("goodsSpu.saleNumRequireds"),
@@ -279,19 +264,19 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
279
264
  width: "60",
280
265
  align: "center"
281
266
  }, {
282
- default: i((a) => [
283
- a.$index !== 0 ? (m(), P(k, {
267
+ default: r((a) => [
268
+ a.$index !== 0 ? (m(), P(_, {
284
269
  key: 0,
285
- onClick: (c) => A(a),
270
+ onClick: (c) => O(a),
286
271
  size: "18",
287
272
  style: { cursor: "pointer", color: "inherit" },
288
273
  class: "hover-blue"
289
274
  }, {
290
- default: i(() => [
291
- n(y)
275
+ default: r(() => [
276
+ n(N)
292
277
  ]),
293
278
  _: 2
294
- }, 1032, ["onClick"])) : H("", !0)
279
+ }, 1032, ["onClick"])) : M("", !0)
295
280
  ]),
296
281
  _: 1
297
282
  }, 8, ["label"])
@@ -299,12 +284,12 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
299
284
  _: 1
300
285
  }, 8, ["data"]),
301
286
  n(p, {
302
- icon: h(Z),
287
+ icon: U(Q),
303
288
  class: "addButton",
304
- onClick: R
289
+ onClick: j
305
290
  }, {
306
- default: i(() => [
307
- x(J(h(E)("common.add")), 1)
291
+ default: r(() => [
292
+ H(J(U(A)("common.add")), 1)
308
293
  ]),
309
294
  _: 1
310
295
  }, 8, ["icon"])
@@ -313,7 +298,7 @@ const w = { key: 0 }, ee = /* @__PURE__ */ j({
313
298
  });
314
299
  };
315
300
  }
316
- }), ce = /* @__PURE__ */ W(ee, [["__scopeId", "data-v-6bb5afe9"]]);
301
+ }), oe = /* @__PURE__ */ X(x, [["__scopeId", "data-v-605dcad9"]]);
317
302
  export {
318
- ce as default
303
+ oe as default
319
304
  };