xyvcard-goods 0.0.27 → 0.0.28
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.
- package/dist/{ImageUpload-BMw9FVJL.mjs → ImageUpload-Dk6GY6PA.mjs} +2 -2
- package/dist/{edit-CwYGsVHI.mjs → edit-CYekSxUa.mjs} +6 -6
- package/dist/{edit-CuYE3fHS.mjs → edit-C_XCVJwM.mjs} +3 -3
- package/dist/{edit-CvY-V0N5.mjs → edit-CquWa3hI.mjs} +86 -83
- package/dist/{edit-DmT9V-gh.mjs → edit-CuZnQH9w.mjs} +1 -1
- package/dist/{edit-C6CESv8X.mjs → edit-D1FAN3TA.mjs} +3 -3
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DfFKgB6q.mjs → edit.vue_vue_type_script_setup_true_lang-BSxqVyG4.mjs} +74 -76
- package/dist/{goodsList-Bj9pZI5X.mjs → goodsList-DZlaY5k0.mjs} +1 -1
- package/dist/{goodsList-v98w-P_d.mjs → goodsList-wpPEPZqs.mjs} +1 -1
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-QHlAuCT3.mjs → goodsList.vue_vue_type_script_setup_true_lang-BFXFifWr.mjs} +3 -3
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-BsItIhFh.mjs → goodsList.vue_vue_type_script_setup_true_lang-iXycU5oS.mjs} +3 -3
- package/dist/{index-CXtRrzoC.mjs → index-B27GuULR.mjs} +1875 -1998
- package/dist/{index-D7Zknkay.mjs → index-B3vvD7JH.mjs} +14 -14
- package/dist/{index-B0qodJxZ.mjs → index-COXyxAor.mjs} +2 -2
- package/dist/{index-BrR_OdFN.mjs → index-DFxg3rmo.mjs} +3 -3
- package/dist/{index-0g53MREL.mjs → index-Dd1dJx7i.mjs} +14 -14
- package/dist/{index-DWtdS9Gu.mjs → index-Dy5JznUz.mjs} +3 -3
- package/dist/{index-CXEbqy-N.mjs → index-nCeCw43N.mjs} +14 -14
- package/dist/{index-szFiZJnI.mjs → index-wH3Sgvus.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{info-Bn5lfzNP.mjs → info-0Pf9u0GJ.mjs} +4 -4
- package/dist/info-NBnTd9fK.mjs +349 -0
- package/dist/{skuForm-DF02pgox.mjs → skuForm-BsvKk2kD.mjs} +65 -67
- package/dist/{skuForm-EQVH7pCG.mjs → skuForm-CU0a2ltJ.mjs} +6 -6
- package/dist/{skuTable-DWpm1OMq.mjs → skuTable-DgDGWX-n.mjs} +4 -4
- package/dist/style.css +1 -1
- package/dts/api/goods-spu/types.d.ts +3 -0
- package/dts/views/goods/goods-combination/skuTable.vue.d.ts +40 -0
- package/package.json +62 -62
- package/dist/info-PRjY0AD1.mjs +0 -331
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as b, ref as o, watchEffect as E, computed as P, resolveComponent as n,
|
|
1
|
+
import { defineComponent as b, ref as o, watchEffect as E, computed as P, resolveComponent as n, openBlock as R, createElementBlock as S, Fragment as j, createVNode as i, withCtx as p, createElementVNode as k } from "vue";
|
|
2
2
|
import { ElMessageBox as N } from "element-plus";
|
|
3
3
|
import { fileApi as s } from "jmash-core";
|
|
4
4
|
import { useI18n as M } from "vue-i18n";
|
|
@@ -46,7 +46,7 @@ const z = ["src"], A = /* @__PURE__ */ b({
|
|
|
46
46
|
};
|
|
47
47
|
return (e, t) => {
|
|
48
48
|
const g = n("Plus"), _ = n("el-icon"), C = n("el-upload"), L = n("el-dialog");
|
|
49
|
-
return
|
|
49
|
+
return R(), S(j, null, [
|
|
50
50
|
i(C, {
|
|
51
51
|
ref_key: "uploadImageRef",
|
|
52
52
|
ref: V,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as J } from "./ImageUpload-
|
|
2
|
-
import { defineComponent as K, ref as v, reactive as T, resolveComponent as n,
|
|
1
|
+
import { _ as J } from "./ImageUpload-Dk6GY6PA.mjs";
|
|
2
|
+
import { defineComponent as K, ref as v, reactive as T, resolveComponent as n, openBlock as f, createElementBlock as V, createElementVNode as c, createVNode as e, unref as t, withCtx as s, Fragment as w, renderList as R, createBlock as h, createTextVNode as U, toDisplayString as Q, createCommentVNode as X } from "vue";
|
|
3
3
|
import { ElMessage as $ } from "element-plus";
|
|
4
4
|
import { useRouter as Y, useRoute as Z } from "vue-router";
|
|
5
5
|
import { routerUtil as E } from "jmash-core";
|
|
6
6
|
import { useI18n as x } from "vue-i18n";
|
|
7
|
-
import { D as i, C as ee } from "./index-
|
|
8
|
-
import { a as _ } from "./index-
|
|
7
|
+
import { D as i, C as ee } from "./index-COXyxAor.mjs";
|
|
8
|
+
import { a as _ } from "./index-B27GuULR.mjs";
|
|
9
9
|
import { g as le } from "./index-BHmGYIuc.mjs";
|
|
10
10
|
import { WangEditor as oe } from "xyvcard-cms";
|
|
11
|
-
import te from "./skuForm-
|
|
11
|
+
import te from "./skuForm-CU0a2ltJ.mjs";
|
|
12
12
|
const se = { class: "app-container" }, ae = { class: "search-container" }, ue = { class: "image-card" }, he = /* @__PURE__ */ K({
|
|
13
13
|
__name: "edit",
|
|
14
14
|
setup(de) {
|
|
@@ -501,7 +501,7 @@ const se = { class: "app-container" }, ae = { class: "search-container" }, ue =
|
|
|
501
501
|
onClick: L
|
|
502
502
|
}, {
|
|
503
503
|
default: s(() => l[16] || (l[16] = [
|
|
504
|
-
U("保存"
|
|
504
|
+
U("保存")
|
|
505
505
|
])),
|
|
506
506
|
_: 1,
|
|
507
507
|
__: [16]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as j, mergeModels as v, ref as I, reactive as C, useModel as E, resolveComponent as m,
|
|
1
|
+
import { defineComponent as j, mergeModels as v, ref as I, reactive as C, useModel as E, resolveComponent as m, openBlock as F, createBlock as K, withCtx as o, createElementVNode as O, createVNode as l, createTextVNode as L, toDisplayString as N, unref as r } from "vue";
|
|
2
2
|
import { ElMessage as w } from "element-plus";
|
|
3
3
|
import { useI18n as S } from "vue-i18n";
|
|
4
|
-
import { b as p } from "./index-
|
|
4
|
+
import { b as p } from "./index-B27GuULR.mjs";
|
|
5
5
|
import { _ as D } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
7
7
|
__name: "edit",
|
|
@@ -62,7 +62,7 @@ const x = { class: "dialog-footer" }, A = /* @__PURE__ */ j({
|
|
|
62
62
|
}
|
|
63
63
|
return (e, t) => {
|
|
64
64
|
const n = m("el-input"), i = m("el-form-item"), f = m("el-col"), M = m("el-row"), B = m("el-form"), h = m("el-button"), U = m("el-dialog");
|
|
65
|
-
return
|
|
65
|
+
return F(), K(U, {
|
|
66
66
|
modelValue: s.value,
|
|
67
67
|
"onUpdate:modelValue": t[3] || (t[3] = (d) => s.value = d),
|
|
68
68
|
onClose: V
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as z } from "./ImageUpload-
|
|
2
|
-
import { defineComponent as O, ref as R, reactive as I, resolveComponent as p,
|
|
3
|
-
import { ElMessage as
|
|
1
|
+
import { _ as z } from "./ImageUpload-Dk6GY6PA.mjs";
|
|
2
|
+
import { defineComponent as O, ref as R, reactive as I, resolveComponent as p, openBlock as h, createElementBlock as P, createElementVNode as f, createVNode as e, unref as t, withCtx as r, Fragment as x, renderList as M, createBlock as v, createTextVNode as U, toDisplayString as j, createCommentVNode as H } from "vue";
|
|
3
|
+
import { ElMessage as w } from "element-plus";
|
|
4
4
|
import { useRouter as Y, useRoute as J } from "vue-router";
|
|
5
5
|
import { routerUtil as k } from "jmash-core";
|
|
6
6
|
import { useI18n as K } from "vue-i18n";
|
|
7
|
-
import { D as m, C as Q } from "./index-
|
|
8
|
-
import { a as b } from "./index-
|
|
9
|
-
import W from "./skuForm-
|
|
10
|
-
const X = { class: "app-container" }, Z = { class: "search-container" }, ee = { class: "image-card" },
|
|
7
|
+
import { D as m, C as Q } from "./index-COXyxAor.mjs";
|
|
8
|
+
import { a as b } from "./index-B27GuULR.mjs";
|
|
9
|
+
import W from "./skuForm-BsvKk2kD.mjs";
|
|
10
|
+
const X = { class: "app-container" }, Z = { class: "search-container" }, ee = { class: "image-card" }, pe = /* @__PURE__ */ O({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(le) {
|
|
13
13
|
const { t: n } = K(), y = Y(), g = J(), V = R();
|
|
@@ -29,7 +29,7 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
29
29
|
return i(new Error(n("goodsSpu.imageListsErrors")));
|
|
30
30
|
i();
|
|
31
31
|
} else return i(new Error(n("goodsSpu.picUrlsRequired")));
|
|
32
|
-
},
|
|
32
|
+
}, N = I({
|
|
33
33
|
spuName: [
|
|
34
34
|
{
|
|
35
35
|
required: !0,
|
|
@@ -93,8 +93,10 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
93
93
|
}
|
|
94
94
|
]
|
|
95
95
|
}), S = R(!1);
|
|
96
|
-
function
|
|
96
|
+
function T(s) {
|
|
97
97
|
o.groupInfos = s;
|
|
98
|
+
const l = s.reduce((i, a) => i + (a.saleNum || 0) * (a.salePrice || 0), 0);
|
|
99
|
+
o.minPrice = l;
|
|
98
100
|
}
|
|
99
101
|
g.query.spuId && b.findById({ spuId: g.query.spuId }).then(({ data: s }) => {
|
|
100
102
|
Object.assign(o, s), S.value = !0;
|
|
@@ -103,12 +105,12 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
103
105
|
var s;
|
|
104
106
|
await ((s = V.value) == null ? void 0 : s.validate((l) => {
|
|
105
107
|
l && (g.query.spuId ? b.updateList(o).then((i) => {
|
|
106
|
-
i.status === 200 && (
|
|
108
|
+
i.status === 200 && (w({
|
|
107
109
|
message: n("common.submitSuccess"),
|
|
108
110
|
type: "success"
|
|
109
111
|
}), k.closeTagView(g.fullPath, y, !1));
|
|
110
112
|
}) : b.createList(o).then((i) => {
|
|
111
|
-
i.status === 200 && (
|
|
113
|
+
i.status === 200 && (w({
|
|
112
114
|
message: n("common.submitSuccess"),
|
|
113
115
|
type: "success"
|
|
114
116
|
}), k.closeTagView(g.fullPath, y, !1));
|
|
@@ -119,30 +121,30 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
119
121
|
s === "FREIGHT_FREE" && (o.freightAmount = 0);
|
|
120
122
|
}
|
|
121
123
|
return (s, l) => {
|
|
122
|
-
const i = p("el-input"), a = p("el-form-item"), d = p("el-col"), A = p("el-tree-select"),
|
|
123
|
-
return h(),
|
|
124
|
+
const i = p("el-input"), a = p("el-form-item"), d = p("el-col"), A = p("el-tree-select"), c = p("el-input-number"), q = p("jmash-enum-radio"), D = z, F = p("el-checkbox"), L = p("el-checkbox-group"), _ = p("el-row"), B = p("el-button"), G = p("el-form");
|
|
125
|
+
return h(), P("div", X, [
|
|
124
126
|
f("div", Z, [
|
|
125
127
|
e(G, {
|
|
126
128
|
ref_key: "goodsSpuFormRef",
|
|
127
129
|
ref: V,
|
|
128
130
|
model: t(o),
|
|
129
131
|
"label-width": "120px",
|
|
130
|
-
rules:
|
|
132
|
+
rules: N
|
|
131
133
|
}, {
|
|
132
|
-
default:
|
|
134
|
+
default: r(() => [
|
|
133
135
|
l[13] || (l[13] = f("div", { class: "title-content" }, "基本信息", -1)),
|
|
134
136
|
e(_, null, {
|
|
135
|
-
default:
|
|
137
|
+
default: r(() => [
|
|
136
138
|
e(d, { span: 12 }, {
|
|
137
|
-
default:
|
|
139
|
+
default: r(() => [
|
|
138
140
|
e(a, {
|
|
139
141
|
label: s.$t("goodsSpu.spuName"),
|
|
140
142
|
prop: "spuName"
|
|
141
143
|
}, {
|
|
142
|
-
default:
|
|
144
|
+
default: r(() => [
|
|
143
145
|
e(i, {
|
|
144
146
|
modelValue: t(o).spuName,
|
|
145
|
-
"onUpdate:modelValue": l[0] || (l[0] = (
|
|
147
|
+
"onUpdate:modelValue": l[0] || (l[0] = (u) => t(o).spuName = u),
|
|
146
148
|
placeholder: s.$t("goodsSpu.spuNameRequired"),
|
|
147
149
|
maxlength: "60",
|
|
148
150
|
"show-word-limit": "",
|
|
@@ -155,15 +157,15 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
155
157
|
_: 1
|
|
156
158
|
}),
|
|
157
159
|
e(d, { span: 12 }, {
|
|
158
|
-
default:
|
|
160
|
+
default: r(() => [
|
|
159
161
|
e(a, {
|
|
160
162
|
label: s.$t("goodsSpu.spuCode"),
|
|
161
163
|
prop: "spuCode"
|
|
162
164
|
}, {
|
|
163
|
-
default:
|
|
165
|
+
default: r(() => [
|
|
164
166
|
e(i, {
|
|
165
167
|
modelValue: t(o).spuCode,
|
|
166
|
-
"onUpdate:modelValue": l[1] || (l[1] = (
|
|
168
|
+
"onUpdate:modelValue": l[1] || (l[1] = (u) => t(o).spuCode = u),
|
|
167
169
|
placeholder: s.$t("goodsSpu.spuCodeRequired"),
|
|
168
170
|
maxlength: "15",
|
|
169
171
|
"show-word-limit": "",
|
|
@@ -176,15 +178,15 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
176
178
|
_: 1
|
|
177
179
|
}),
|
|
178
180
|
e(d, { span: 12 }, {
|
|
179
|
-
default:
|
|
181
|
+
default: r(() => [
|
|
180
182
|
e(a, {
|
|
181
183
|
label: s.$t("goodsSpu.categoryId"),
|
|
182
184
|
prop: "categoryIds"
|
|
183
185
|
}, {
|
|
184
|
-
default:
|
|
186
|
+
default: r(() => [
|
|
185
187
|
e(A, {
|
|
186
188
|
modelValue: t(o).categoryIds,
|
|
187
|
-
"onUpdate:modelValue": l[2] || (l[2] = (
|
|
189
|
+
"onUpdate:modelValue": l[2] || (l[2] = (u) => t(o).categoryIds = u),
|
|
188
190
|
data: t(m).goodsCategoryListBizLayDict.values,
|
|
189
191
|
multiple: "",
|
|
190
192
|
"render-after-expand": !1,
|
|
@@ -199,15 +201,37 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
199
201
|
_: 1
|
|
200
202
|
}),
|
|
201
203
|
e(d, { span: 12 }, {
|
|
202
|
-
default:
|
|
204
|
+
default: r(() => [
|
|
205
|
+
e(a, {
|
|
206
|
+
label: s.$t("goodsSpu.saleNum"),
|
|
207
|
+
prop: "saleNum"
|
|
208
|
+
}, {
|
|
209
|
+
default: r(() => [
|
|
210
|
+
e(c, {
|
|
211
|
+
modelValue: t(o).saleNum,
|
|
212
|
+
"onUpdate:modelValue": l[3] || (l[3] = (u) => t(o).saleNum = u),
|
|
213
|
+
placeholder: s.$t("goodsSpu.saleNumRequired"),
|
|
214
|
+
class: "w-full",
|
|
215
|
+
min: 0,
|
|
216
|
+
controls: !1,
|
|
217
|
+
precision: 0
|
|
218
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
}, 8, ["label"])
|
|
222
|
+
]),
|
|
223
|
+
_: 1
|
|
224
|
+
}),
|
|
225
|
+
e(d, { span: 12 }, {
|
|
226
|
+
default: r(() => [
|
|
203
227
|
e(a, {
|
|
204
228
|
label: s.$t("goodsSpu.freightType"),
|
|
205
229
|
prop: "freightType"
|
|
206
230
|
}, {
|
|
207
|
-
default:
|
|
231
|
+
default: r(() => [
|
|
208
232
|
e(q, {
|
|
209
233
|
modelValue: t(o).freightType,
|
|
210
|
-
"onUpdate:modelValue": l[
|
|
234
|
+
"onUpdate:modelValue": l[4] || (l[4] = (u) => t(o).freightType = u),
|
|
211
235
|
data: t(m).freightTypeEnum.values,
|
|
212
236
|
onChange: E
|
|
213
237
|
}, null, 8, ["modelValue", "data"])
|
|
@@ -218,15 +242,15 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
218
242
|
_: 1
|
|
219
243
|
}),
|
|
220
244
|
e(d, { span: 12 }, {
|
|
221
|
-
default:
|
|
245
|
+
default: r(() => [
|
|
222
246
|
e(a, {
|
|
223
247
|
label: s.$t("goodsSpu.freightAmount"),
|
|
224
248
|
prop: "freightAmount"
|
|
225
249
|
}, {
|
|
226
|
-
default:
|
|
250
|
+
default: r(() => [
|
|
227
251
|
e(c, {
|
|
228
252
|
modelValue: t(o).freightAmount,
|
|
229
|
-
"onUpdate:modelValue": l[
|
|
253
|
+
"onUpdate:modelValue": l[5] || (l[5] = (u) => t(o).freightAmount = u),
|
|
230
254
|
readonly: t(o).freightType === "FREIGHT_FREE",
|
|
231
255
|
precision: 2,
|
|
232
256
|
step: 0.1,
|
|
@@ -242,21 +266,22 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
242
266
|
_: 1
|
|
243
267
|
}),
|
|
244
268
|
e(d, { span: 12 }, {
|
|
245
|
-
default:
|
|
269
|
+
default: r(() => [
|
|
246
270
|
e(a, {
|
|
247
271
|
label: s.$t("goodsSpu.minPrice"),
|
|
248
272
|
prop: "minPrice"
|
|
249
273
|
}, {
|
|
250
|
-
default:
|
|
274
|
+
default: r(() => [
|
|
251
275
|
e(c, {
|
|
252
276
|
modelValue: t(o).minPrice,
|
|
253
|
-
"onUpdate:modelValue": l[
|
|
277
|
+
"onUpdate:modelValue": l[6] || (l[6] = (u) => t(o).minPrice = u),
|
|
254
278
|
precision: 2,
|
|
255
279
|
step: 0.1,
|
|
256
280
|
controls: !1,
|
|
257
281
|
min: 0,
|
|
258
282
|
placeholder: s.$t("goodsSpu.minPriceRequired"),
|
|
259
|
-
class: "w-full"
|
|
283
|
+
class: "w-full",
|
|
284
|
+
disabled: ""
|
|
260
285
|
}, null, 8, ["modelValue", "placeholder"])
|
|
261
286
|
]),
|
|
262
287
|
_: 1
|
|
@@ -265,15 +290,15 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
265
290
|
_: 1
|
|
266
291
|
}),
|
|
267
292
|
e(d, { span: 12 }, {
|
|
268
|
-
default:
|
|
293
|
+
default: r(() => [
|
|
269
294
|
e(a, {
|
|
270
295
|
label: s.$t("goodsSpu.maxPrice"),
|
|
271
296
|
prop: "maxPrice"
|
|
272
297
|
}, {
|
|
273
|
-
default:
|
|
298
|
+
default: r(() => [
|
|
274
299
|
e(c, {
|
|
275
300
|
modelValue: t(o).maxPrice,
|
|
276
|
-
"onUpdate:modelValue": l[
|
|
301
|
+
"onUpdate:modelValue": l[7] || (l[7] = (u) => t(o).maxPrice = u),
|
|
277
302
|
precision: 2,
|
|
278
303
|
step: 0.1,
|
|
279
304
|
controls: !1,
|
|
@@ -287,39 +312,17 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
287
312
|
]),
|
|
288
313
|
_: 1
|
|
289
314
|
}),
|
|
290
|
-
e(d, { span: 12 }, {
|
|
291
|
-
default: u(() => [
|
|
292
|
-
e(a, {
|
|
293
|
-
label: s.$t("goodsSpu.saleNum"),
|
|
294
|
-
prop: "saleNum"
|
|
295
|
-
}, {
|
|
296
|
-
default: u(() => [
|
|
297
|
-
e(c, {
|
|
298
|
-
modelValue: t(o).saleNum,
|
|
299
|
-
"onUpdate:modelValue": l[7] || (l[7] = (r) => t(o).saleNum = r),
|
|
300
|
-
placeholder: s.$t("goodsSpu.saleNumRequired"),
|
|
301
|
-
class: "w-full",
|
|
302
|
-
min: 0,
|
|
303
|
-
controls: !1,
|
|
304
|
-
precision: 0
|
|
305
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
306
|
-
]),
|
|
307
|
-
_: 1
|
|
308
|
-
}, 8, ["label"])
|
|
309
|
-
]),
|
|
310
|
-
_: 1
|
|
311
|
-
}),
|
|
312
315
|
e(d, { span: 24 }, {
|
|
313
|
-
default:
|
|
316
|
+
default: r(() => [
|
|
314
317
|
e(a, {
|
|
315
318
|
label: s.$t("goodsSpu.picUrls"),
|
|
316
319
|
prop: "picUrls"
|
|
317
320
|
}, {
|
|
318
|
-
default:
|
|
321
|
+
default: r(() => [
|
|
319
322
|
f("div", ee, [
|
|
320
323
|
e(D, {
|
|
321
324
|
modelValue: t(o).picUrls,
|
|
322
|
-
"onUpdate:modelValue": l[8] || (l[8] = (
|
|
325
|
+
"onUpdate:modelValue": l[8] || (l[8] = (u) => t(o).picUrls = u),
|
|
323
326
|
limit: 6,
|
|
324
327
|
"list-type": "picture-card"
|
|
325
328
|
}, null, 8, ["modelValue"]),
|
|
@@ -332,15 +335,15 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
332
335
|
_: 1
|
|
333
336
|
}),
|
|
334
337
|
e(d, { span: 12 }, {
|
|
335
|
-
default:
|
|
338
|
+
default: r(() => [
|
|
336
339
|
e(a, {
|
|
337
340
|
label: s.$t("goodsSpu.shelf"),
|
|
338
341
|
prop: "shelf"
|
|
339
342
|
}, {
|
|
340
|
-
default:
|
|
343
|
+
default: r(() => [
|
|
341
344
|
e(q, {
|
|
342
345
|
modelValue: t(o).shelf,
|
|
343
|
-
"onUpdate:modelValue": l[9] || (l[9] = (
|
|
346
|
+
"onUpdate:modelValue": l[9] || (l[9] = (u) => t(o).shelf = u),
|
|
344
347
|
data: t(m).shelfDict.values
|
|
345
348
|
}, null, 8, ["modelValue", "data"])
|
|
346
349
|
]),
|
|
@@ -350,24 +353,24 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
350
353
|
_: 1
|
|
351
354
|
}),
|
|
352
355
|
e(d, { span: 12 }, {
|
|
353
|
-
default:
|
|
356
|
+
default: r(() => [
|
|
354
357
|
e(a, {
|
|
355
358
|
label: s.$t("goodsSpu.labelIds"),
|
|
356
359
|
prop: "labelIds"
|
|
357
360
|
}, {
|
|
358
|
-
default:
|
|
361
|
+
default: r(() => [
|
|
359
362
|
e(L, {
|
|
360
363
|
modelValue: t(o).labelIds,
|
|
361
|
-
"onUpdate:modelValue": l[10] || (l[10] = (
|
|
364
|
+
"onUpdate:modelValue": l[10] || (l[10] = (u) => t(o).labelIds = u),
|
|
362
365
|
class: "w-full"
|
|
363
366
|
}, {
|
|
364
|
-
default:
|
|
365
|
-
(h(!0),
|
|
366
|
-
key:
|
|
367
|
-
label:
|
|
367
|
+
default: r(() => [
|
|
368
|
+
(h(!0), P(x, null, M(t(m).labelListBizDict.values, (u) => (h(), v(F, {
|
|
369
|
+
key: u.key,
|
|
370
|
+
label: u.key
|
|
368
371
|
}, {
|
|
369
|
-
default:
|
|
370
|
-
|
|
372
|
+
default: r(() => [
|
|
373
|
+
U(j(u.value), 1)
|
|
371
374
|
]),
|
|
372
375
|
_: 2
|
|
373
376
|
}, 1032, ["label"]))), 128))
|
|
@@ -385,25 +388,25 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
385
388
|
}),
|
|
386
389
|
l[14] || (l[14] = f("div", { class: "title-content" }, "套装商品", -1)),
|
|
387
390
|
e(_, null, {
|
|
388
|
-
default:
|
|
389
|
-
!t(g).query.spuId || S.value ? (h(),
|
|
391
|
+
default: r(() => [
|
|
392
|
+
!t(g).query.spuId || S.value ? (h(), v(W, {
|
|
390
393
|
key: 0,
|
|
391
394
|
form: t(o),
|
|
392
|
-
onGetGoodsSku:
|
|
395
|
+
onGetGoodsSku: T
|
|
393
396
|
}, null, 8, ["form"])) : H("", !0)
|
|
394
397
|
]),
|
|
395
398
|
_: 1
|
|
396
399
|
}),
|
|
397
400
|
e(_, null, {
|
|
398
|
-
default:
|
|
401
|
+
default: r(() => [
|
|
399
402
|
e(a, null, {
|
|
400
|
-
default:
|
|
403
|
+
default: r(() => [
|
|
401
404
|
e(B, {
|
|
402
405
|
type: "primary",
|
|
403
406
|
onClick: $
|
|
404
407
|
}, {
|
|
405
|
-
default:
|
|
406
|
-
|
|
408
|
+
default: r(() => l[12] || (l[12] = [
|
|
409
|
+
U("保存")
|
|
407
410
|
])),
|
|
408
411
|
_: 1,
|
|
409
412
|
__: [12]
|
|
@@ -424,5 +427,5 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
424
427
|
}
|
|
425
428
|
});
|
|
426
429
|
export {
|
|
427
|
-
|
|
430
|
+
pe as default
|
|
428
431
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as E, mergeModels as B, ref as V, reactive as N, useModel as F, resolveComponent as r,
|
|
1
|
+
import { defineComponent as E, mergeModels as B, ref as V, reactive as N, useModel as F, resolveComponent as r, openBlock as K, createBlock as O, withCtx as l, createElementVNode as x, createVNode as o, createTextVNode as U, toDisplayString as w, unref as d } from "vue";
|
|
2
2
|
import { ElMessage as k } from "element-plus";
|
|
3
3
|
import { useI18n as A } from "vue-i18n";
|
|
4
|
-
import { g as f } from "./index-
|
|
4
|
+
import { g as f } from "./index-wH3Sgvus.mjs";
|
|
5
5
|
import { _ as T } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
6
6
|
const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
7
7
|
__name: "edit",
|
|
@@ -66,7 +66,7 @@ const z = { class: "dialog-footer" }, G = /* @__PURE__ */ E({
|
|
|
66
66
|
}
|
|
67
67
|
return (e, n) => {
|
|
68
68
|
const s = r("jmash-single-image-upload"), u = r("el-form-item"), c = r("el-col"), v = r("el-input"), j = r("el-row"), S = r("el-form"), I = r("el-button"), D = r("el-dialog");
|
|
69
|
-
return
|
|
69
|
+
return K(), O(D, {
|
|
70
70
|
modelValue: a.value,
|
|
71
71
|
"onUpdate:modelValue": n[2] || (n[2] = (m) => a.value = m),
|
|
72
72
|
onClose: h
|