xyvcard-goods 0.0.34 → 0.0.35
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/BatchSetting-B1LcBFPD.mjs +333 -0
- package/dist/ChannelProfit-CNSIK87d.mjs +4 -0
- package/dist/ChannelProfit.vue_vue_type_script_setup_true_lang-BVTifRY8.mjs +320 -0
- package/dist/{GoodsBaseForm-BSvXc_XA.mjs → GoodsBaseForm-BZ2fZmmp.mjs} +1 -1
- package/dist/GoodsBaseForm.vue_vue_type_script_setup_true_lang-BxBTTLdA.mjs +407 -0
- package/dist/{GoodsLogisticsForm-1Bbd4Z52.mjs → GoodsLogisticsForm-BqlwdGQ1.mjs} +1 -1
- package/dist/{GoodsLogisticsForm.vue_vue_type_script_setup_true_lang-PSnPNbmT.mjs → GoodsLogisticsForm.vue_vue_type_script_setup_true_lang-DJREiSkD.mjs} +56 -57
- package/dist/GoodsProfitForm-COYRi8sx.mjs +4 -0
- package/dist/GoodsProfitForm.vue_vue_type_script_setup_true_lang-BYPWP95J.mjs +2550 -0
- package/dist/{GoodsSpecForm-Ddo1IZLZ.mjs → GoodsSpecForm-B4MtETRy.mjs} +1 -1
- package/dist/{GoodsSpecForm.vue_vue_type_script_setup_true_lang-CdWIufm4.mjs → GoodsSpecForm.vue_vue_type_script_setup_true_lang-BbVK_KNz.mjs} +130 -121
- package/dist/SingleSku-rWv9vVhv.mjs +351 -0
- package/dist/constant-sVd2JbJt.mjs +115 -0
- package/dist/edit-B1cmsJpy.mjs +70 -0
- package/dist/{edit-lfXK_dUp.mjs → edit-Br1Y569l.mjs} +8 -7
- package/dist/{edit-e5-aXV6K.mjs → edit-CET8Fr-t.mjs} +1 -1
- package/dist/{edit-pUKONjxH.mjs → edit-CagYTFKr.mjs} +1 -1
- package/dist/{edit-BgtwinSN.mjs → edit-iJGrWlSv.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BtGT564r.mjs → edit.vue_vue_type_script_setup_true_lang-D_0YivhL.mjs} +2 -2
- package/dist/{el-message-BB2-39XJ.mjs → el-message-Dj6aaz4G.mjs} +490 -373
- package/dist/{index-DyLLV1NK.mjs → index copy-kNLE7fPg.mjs } +6 -5
- package/dist/index-C61SQFSx.mjs +264 -0
- package/dist/index-CeWPdEJD.mjs +713 -0
- package/dist/{index-CkJncbVf.mjs → index-Cg6GUdSP.mjs} +3 -3
- package/dist/index-CyxnVWnL.mjs +182 -0
- package/dist/{index-CkMWas2b.mjs → index-D9s8hsVw.mjs} +3 -3
- package/dist/{index-BSzOTWcG.mjs → index-DbnKa_BJ.mjs} +1 -1
- package/dist/{index-ChQ-ZxD1.mjs → index-DoxTu4kg.mjs} +5 -4
- package/dist/{index-BpKiAhvt.mjs → index-kw0UYOIu.mjs} +3 -3
- package/dist/{index-DhS4AuWf.mjs → index-xQgC-8Gd.mjs} +1106 -1038
- package/dist/index.mjs +1 -1
- package/dist/info-CTElDVo6.mjs +376 -0
- package/dist/{info-DOKoSi7a.mjs → info-DpGJgdac.mjs} +5 -4
- package/dist/{skuForm-DVGkw6rD.mjs → skuForm-C7w9YIDe.mjs} +24 -23
- package/dist/skuForm-CPlnCToi.mjs +279 -0
- package/dist/skuTable-C-LcASbX.mjs +594 -0
- package/dist/spec-DkiGCkuM.mjs +44 -0
- package/dist/style.css +1 -1
- package/dts/xyvcard-goods/src/api/dict.d.ts +5 -4
- package/dts/xyvcard-goods/src/api/goods-sku/types.d.ts +3 -0
- package/dts/xyvcard-goods/src/api/goods-spu/index.d.ts +4 -1
- package/dts/xyvcard-goods/src/api/goods-spu/types.d.ts +35 -9
- package/dts/xyvcard-goods/src/api/types.d.ts +4 -0
- package/dts/xyvcard-goods/src/lang/goods/zh-cn.d.ts +32 -0
- package/dts/xyvcard-goods/src/router/index.d.ts +1 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/components/BatchSetting.vue.d.ts +35 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/components/ChannelProfit.vue.d.ts +22 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsProfitForm.vue.d.ts +34 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/components/SingleSku.vue.d.ts +23 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/index copy.vue.d.ts +2 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/skuForm.vue.d.ts +17 -4
- package/dts/xyvcard-goods/src/views/goods/goods-spu/skuTable.vue.d.ts +14 -1
- package/dts/xyvcard-goods/src/views/goods/goods-spu/spec.vue.d.ts +2 -0
- package/package.json +4 -3
- package/dist/GoodsBaseForm.vue_vue_type_script_setup_true_lang-rsmqHXbJ.mjs +0 -381
- package/dist/edit copy 2-Yzf_M31V.mjs +0 -59
- package/dist/edit copy-CCnzlrgL.mjs +0 -526
- package/dist/edit-Dke5sWct.mjs +0 -526
- package/dist/index-BHmGYIuc.mjs +0 -24
- package/dist/index-Da2R0n8O.mjs +0 -374
- package/dist/index-vHQhUQSO.mjs +0 -95
- package/dist/info-De_pBN6A.mjs +0 -365
- package/dist/skuForm-YXHrhyPI.mjs +0 -476
- package/dist/skuTable-DOIQ9kiV.mjs +0 -639
|
@@ -0,0 +1,407 @@
|
|
|
1
|
+
import { _ as G } from "./ImageUpload-Bf2jhRs5.mjs";
|
|
2
|
+
import { defineComponent as j, reactive as U, ref as F, resolveComponent as m, createBlock as h, openBlock as q, unref as l, withCtx as a, createVNode as e, createCommentVNode as M, createElementVNode as B, createTextVNode as T } from "vue";
|
|
3
|
+
import { useI18n as Y } from "vue-i18n";
|
|
4
|
+
import { useRoute as W, useRouter as H } from "vue-router";
|
|
5
|
+
import { useUserStore as c, clearEmpty as S, request as f, fileApi as J } from "jmash-core";
|
|
6
|
+
import { WangEditor as K } from "xyvcard-cms";
|
|
7
|
+
import { D as g } from "./index-C61SQFSx.mjs";
|
|
8
|
+
import { C as v } from "./constant-sVd2JbJt.mjs";
|
|
9
|
+
import { E } from "./el-message-Dj6aaz4G.mjs";
|
|
10
|
+
class Q {
|
|
11
|
+
// A创建商品基本信息
|
|
12
|
+
create(d) {
|
|
13
|
+
return d.tenant = c().user.tenant, S(d), f({
|
|
14
|
+
url: "/v1/goods/goods_base",
|
|
15
|
+
method: "post",
|
|
16
|
+
data: d
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
// A编辑商品基本信息
|
|
20
|
+
update(d) {
|
|
21
|
+
return d.tenant = c().user.tenant, S(d), f({
|
|
22
|
+
url: "/v1/goods/goods_base",
|
|
23
|
+
method: "patch",
|
|
24
|
+
data: d
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
// 导入下载模版
|
|
28
|
+
downloadTemplate() {
|
|
29
|
+
const d = c().user.tenant;
|
|
30
|
+
return f({
|
|
31
|
+
url: `/v1/goods/goods_base/${d}/template.xlsx`,
|
|
32
|
+
method: "get",
|
|
33
|
+
responseType: "blob"
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
// A导入商品基本信息请求.
|
|
37
|
+
importExcel(d) {
|
|
38
|
+
return d.tenant = c().user.tenant, S(d), f({
|
|
39
|
+
url: "/v1/ecoupons/grant_users/import",
|
|
40
|
+
method: "patch",
|
|
41
|
+
data: d
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const R = new Q(), X = { class: "image-card" }, ue = /* @__PURE__ */ j({
|
|
46
|
+
__name: "GoodsBaseForm",
|
|
47
|
+
props: {
|
|
48
|
+
goodsSpuModel: { default: () => ({}) }
|
|
49
|
+
},
|
|
50
|
+
emits: ["submit"],
|
|
51
|
+
setup(V, { emit: d }) {
|
|
52
|
+
g.goodsSupClassEnum.useEnumValues(), g.brandListBizDict.useValues(), g.goodsCategoryListBizLayDict.useValues(), g.labelListBizDict.useValues();
|
|
53
|
+
const { t: i } = Y(), C = W();
|
|
54
|
+
H();
|
|
55
|
+
const P = V;
|
|
56
|
+
let s = U({
|
|
57
|
+
requestId: Math.random() * 10 + "",
|
|
58
|
+
updateMask: "spuName,categoryIds,brandId,spuCode,labelIds,picUrls,sellPoint,description,appApiUrl",
|
|
59
|
+
appApiUrl: J.baseApiUrl() || location.origin,
|
|
60
|
+
categoryIds: [],
|
|
61
|
+
labelIds: [],
|
|
62
|
+
spuId: "",
|
|
63
|
+
spuName: "",
|
|
64
|
+
brandId: "",
|
|
65
|
+
spuCode: "",
|
|
66
|
+
picUrls: "",
|
|
67
|
+
sellPoint: "",
|
|
68
|
+
description: "",
|
|
69
|
+
supClass: v.GOODS_SUP_CLASS_VALUES.GOODS_TYPE_REAL,
|
|
70
|
+
isBranchPickup: !1
|
|
71
|
+
});
|
|
72
|
+
C.query.spuId && Object.assign(s, P.goodsSpuModel);
|
|
73
|
+
const w = (t, o, n) => {
|
|
74
|
+
var p;
|
|
75
|
+
const u = (p = s.picUrls) == null ? void 0 : p.split(",").filter(Boolean);
|
|
76
|
+
if (u != null && u.length) {
|
|
77
|
+
if ((u == null ? void 0 : u.length) < 1)
|
|
78
|
+
return n(new Error(i("goodsSpu.imageListsErrors")));
|
|
79
|
+
n();
|
|
80
|
+
} else return n(new Error(i("goodsSpu.picUrlsRequired")));
|
|
81
|
+
}, $ = () => {
|
|
82
|
+
var t;
|
|
83
|
+
(t = b.value) == null || t.validateField("picUrls");
|
|
84
|
+
}, L = U({
|
|
85
|
+
supClass: [
|
|
86
|
+
{
|
|
87
|
+
required: !0,
|
|
88
|
+
message: i("goodsSpu.supClassRequired"),
|
|
89
|
+
trigger: "blur"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
isBranchPickup: [
|
|
93
|
+
{
|
|
94
|
+
required: !0,
|
|
95
|
+
message: i("goodsSpu.isBranchPickupRequired"),
|
|
96
|
+
trigger: "blur"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
spuName: [
|
|
100
|
+
{
|
|
101
|
+
required: !0,
|
|
102
|
+
message: i("goodsSpu.spuNameRequired"),
|
|
103
|
+
trigger: "blur"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
categoryIds: [
|
|
107
|
+
{
|
|
108
|
+
required: !0,
|
|
109
|
+
message: i("goodsSpu.categoryIdRequired"),
|
|
110
|
+
trigger: "change"
|
|
111
|
+
}
|
|
112
|
+
],
|
|
113
|
+
brandId: [
|
|
114
|
+
{
|
|
115
|
+
required: !0,
|
|
116
|
+
message: i("goodsSpu.brandIdRequired"),
|
|
117
|
+
trigger: "change"
|
|
118
|
+
}
|
|
119
|
+
],
|
|
120
|
+
spuCode: [
|
|
121
|
+
{
|
|
122
|
+
required: !0,
|
|
123
|
+
message: i("goodsSpu.spuCodeRequired"),
|
|
124
|
+
trigger: "change"
|
|
125
|
+
}
|
|
126
|
+
],
|
|
127
|
+
picUrls: [
|
|
128
|
+
{
|
|
129
|
+
required: !0,
|
|
130
|
+
validator: w,
|
|
131
|
+
trigger: "change"
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
}), b = F(), I = d;
|
|
135
|
+
function N() {
|
|
136
|
+
var t;
|
|
137
|
+
(t = b.value) == null || t.validate((o) => {
|
|
138
|
+
if (o) {
|
|
139
|
+
if (C.query.spuId) {
|
|
140
|
+
R.update(s).then((n) => {
|
|
141
|
+
n.status === 200 && (E({
|
|
142
|
+
message: i("common.submitSuccess"),
|
|
143
|
+
type: "success"
|
|
144
|
+
}), I("submit", n.data));
|
|
145
|
+
});
|
|
146
|
+
return;
|
|
147
|
+
}
|
|
148
|
+
R.create(s).then((n) => {
|
|
149
|
+
n.status === 200 && (E({
|
|
150
|
+
message: i("common.submitSuccess"),
|
|
151
|
+
type: "success"
|
|
152
|
+
}), I("submit", n.data));
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
return (t, o) => {
|
|
158
|
+
const n = m("jmash-enum-radio"), u = m("el-form-item"), p = m("el-col"), _ = m("el-input"), k = m("el-tree-select"), y = m("jmash-select"), A = G, D = m("el-row"), O = m("el-button"), z = m("el-form");
|
|
159
|
+
return q(), h(z, {
|
|
160
|
+
ref_key: "goodsBaseFormRef",
|
|
161
|
+
ref: b,
|
|
162
|
+
model: l(s),
|
|
163
|
+
"label-width": "120px",
|
|
164
|
+
rules: L
|
|
165
|
+
}, {
|
|
166
|
+
default: a(() => [
|
|
167
|
+
e(D, null, {
|
|
168
|
+
default: a(() => [
|
|
169
|
+
e(p, { span: 12 }, {
|
|
170
|
+
default: a(() => [
|
|
171
|
+
e(u, {
|
|
172
|
+
label: t.$t("goodsSpu.supClass"),
|
|
173
|
+
prop: "supClass"
|
|
174
|
+
}, {
|
|
175
|
+
default: a(() => [
|
|
176
|
+
e(n, {
|
|
177
|
+
modelValue: l(s).supClass,
|
|
178
|
+
"onUpdate:modelValue": o[0] || (o[0] = (r) => l(s).supClass = r),
|
|
179
|
+
data: l(g).goodsSupClassEnum.values
|
|
180
|
+
}, null, 8, ["modelValue", "data"])
|
|
181
|
+
]),
|
|
182
|
+
_: 1
|
|
183
|
+
}, 8, ["label"])
|
|
184
|
+
]),
|
|
185
|
+
_: 1
|
|
186
|
+
}),
|
|
187
|
+
l(s).supClass === l(v).GOODS_SUP_CLASS_VALUES.GOODS_TYPE_REAL ? (q(), h(p, {
|
|
188
|
+
key: 0,
|
|
189
|
+
span: 12
|
|
190
|
+
}, {
|
|
191
|
+
default: a(() => [
|
|
192
|
+
e(u, {
|
|
193
|
+
label: t.$t("goodsSpu.isBranchPickup"),
|
|
194
|
+
prop: "isBranchPickup"
|
|
195
|
+
}, {
|
|
196
|
+
default: a(() => [
|
|
197
|
+
e(n, {
|
|
198
|
+
modelValue: l(s).isBranchPickup,
|
|
199
|
+
"onUpdate:modelValue": o[1] || (o[1] = (r) => l(s).isBranchPickup = r),
|
|
200
|
+
data: l(g).yesOrNoEnum.values
|
|
201
|
+
}, null, 8, ["modelValue", "data"])
|
|
202
|
+
]),
|
|
203
|
+
_: 1
|
|
204
|
+
}, 8, ["label"])
|
|
205
|
+
]),
|
|
206
|
+
_: 1
|
|
207
|
+
})) : M("", !0),
|
|
208
|
+
e(p, { span: 12 }, {
|
|
209
|
+
default: a(() => [
|
|
210
|
+
e(u, {
|
|
211
|
+
label: t.$t("goodsSpu.spuName"),
|
|
212
|
+
prop: "spuName"
|
|
213
|
+
}, {
|
|
214
|
+
default: a(() => [
|
|
215
|
+
e(_, {
|
|
216
|
+
modelValue: l(s).spuName,
|
|
217
|
+
"onUpdate:modelValue": o[2] || (o[2] = (r) => l(s).spuName = r),
|
|
218
|
+
placeholder: t.$t("goodsSpu.spuNameRequired"),
|
|
219
|
+
maxlength: "60",
|
|
220
|
+
"show-word-limit": "",
|
|
221
|
+
clearable: ""
|
|
222
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
223
|
+
]),
|
|
224
|
+
_: 1
|
|
225
|
+
}, 8, ["label"])
|
|
226
|
+
]),
|
|
227
|
+
_: 1
|
|
228
|
+
}),
|
|
229
|
+
e(p, { span: 12 }, {
|
|
230
|
+
default: a(() => [
|
|
231
|
+
e(u, {
|
|
232
|
+
label: t.$t("goodsSpu.categoryId"),
|
|
233
|
+
prop: "categoryIds"
|
|
234
|
+
}, {
|
|
235
|
+
default: a(() => [
|
|
236
|
+
e(k, {
|
|
237
|
+
modelValue: l(s).categoryIds,
|
|
238
|
+
"onUpdate:modelValue": o[3] || (o[3] = (r) => l(s).categoryIds = r),
|
|
239
|
+
data: l(g).goodsCategoryListBizLayDict.values,
|
|
240
|
+
multiple: "",
|
|
241
|
+
"render-after-expand": !1,
|
|
242
|
+
"check-strictly": "",
|
|
243
|
+
placeholder: t.$t("goodsSpu.categoryIdRequired"),
|
|
244
|
+
class: "w-full"
|
|
245
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
246
|
+
]),
|
|
247
|
+
_: 1
|
|
248
|
+
}, 8, ["label"])
|
|
249
|
+
]),
|
|
250
|
+
_: 1
|
|
251
|
+
}),
|
|
252
|
+
e(p, { span: 12 }, {
|
|
253
|
+
default: a(() => [
|
|
254
|
+
e(u, {
|
|
255
|
+
label: t.$t("goodsSpu.brandId"),
|
|
256
|
+
prop: "brandId"
|
|
257
|
+
}, {
|
|
258
|
+
default: a(() => [
|
|
259
|
+
e(y, {
|
|
260
|
+
modelValue: l(s).brandId,
|
|
261
|
+
"onUpdate:modelValue": o[4] || (o[4] = (r) => l(s).brandId = r),
|
|
262
|
+
placeholder: t.$t("goodsSpu.brandIdRequired"),
|
|
263
|
+
data: l(g).brandListBizDict.values,
|
|
264
|
+
class: "w-full",
|
|
265
|
+
clearable: ""
|
|
266
|
+
}, null, 8, ["modelValue", "placeholder", "data"])
|
|
267
|
+
]),
|
|
268
|
+
_: 1
|
|
269
|
+
}, 8, ["label"])
|
|
270
|
+
]),
|
|
271
|
+
_: 1
|
|
272
|
+
}),
|
|
273
|
+
e(p, { span: 12 }, {
|
|
274
|
+
default: a(() => [
|
|
275
|
+
e(u, {
|
|
276
|
+
label: t.$t("goodsSpu.spuCode"),
|
|
277
|
+
prop: "spuCode"
|
|
278
|
+
}, {
|
|
279
|
+
default: a(() => [
|
|
280
|
+
e(_, {
|
|
281
|
+
modelValue: l(s).spuCode,
|
|
282
|
+
"onUpdate:modelValue": o[5] || (o[5] = (r) => l(s).spuCode = r),
|
|
283
|
+
placeholder: t.$t("goodsSpu.spuCodeRequired"),
|
|
284
|
+
maxlength: "15",
|
|
285
|
+
"show-word-limit": "",
|
|
286
|
+
clearable: ""
|
|
287
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
288
|
+
]),
|
|
289
|
+
_: 1
|
|
290
|
+
}, 8, ["label"])
|
|
291
|
+
]),
|
|
292
|
+
_: 1
|
|
293
|
+
}),
|
|
294
|
+
e(p, { span: 12 }, {
|
|
295
|
+
default: a(() => [
|
|
296
|
+
e(u, {
|
|
297
|
+
label: t.$t("goodsSpu.labelIds"),
|
|
298
|
+
prop: "labelIds"
|
|
299
|
+
}, {
|
|
300
|
+
default: a(() => [
|
|
301
|
+
e(y, {
|
|
302
|
+
modelValue: l(s).labelIds,
|
|
303
|
+
"onUpdate:modelValue": o[6] || (o[6] = (r) => l(s).labelIds = r),
|
|
304
|
+
data: l(g).labelListBizDict.values,
|
|
305
|
+
multiple: "",
|
|
306
|
+
filterable: "",
|
|
307
|
+
clearable: "",
|
|
308
|
+
placeholder: t.$t("goodsSpu.labelIdsRequired"),
|
|
309
|
+
class: "w-full"
|
|
310
|
+
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
311
|
+
]),
|
|
312
|
+
_: 1
|
|
313
|
+
}, 8, ["label"])
|
|
314
|
+
]),
|
|
315
|
+
_: 1
|
|
316
|
+
}),
|
|
317
|
+
e(p, { span: 24 }, {
|
|
318
|
+
default: a(() => [
|
|
319
|
+
e(u, {
|
|
320
|
+
label: t.$t("goodsSpu.picUrls"),
|
|
321
|
+
prop: "picUrls"
|
|
322
|
+
}, {
|
|
323
|
+
default: a(() => [
|
|
324
|
+
B("div", X, [
|
|
325
|
+
e(A, {
|
|
326
|
+
modelValue: l(s).picUrls,
|
|
327
|
+
"onUpdate:modelValue": [
|
|
328
|
+
o[7] || (o[7] = (r) => l(s).picUrls = r),
|
|
329
|
+
$
|
|
330
|
+
],
|
|
331
|
+
limit: 6,
|
|
332
|
+
"list-type": "picture-card"
|
|
333
|
+
}, null, 8, ["modelValue"]),
|
|
334
|
+
o[10] || (o[10] = B("div", { class: "red-color" }, " 推荐尺寸:100*100或同比例图片,最少上传1张 ", -1))
|
|
335
|
+
])
|
|
336
|
+
]),
|
|
337
|
+
_: 1
|
|
338
|
+
}, 8, ["label"])
|
|
339
|
+
]),
|
|
340
|
+
_: 1
|
|
341
|
+
}),
|
|
342
|
+
e(p, { span: 24 }, {
|
|
343
|
+
default: a(() => [
|
|
344
|
+
e(u, {
|
|
345
|
+
label: t.$t("goodsSpu.sellPoint"),
|
|
346
|
+
prop: "sellPoint"
|
|
347
|
+
}, {
|
|
348
|
+
default: a(() => [
|
|
349
|
+
e(_, {
|
|
350
|
+
type: "textarea",
|
|
351
|
+
modelValue: l(s).sellPoint,
|
|
352
|
+
"onUpdate:modelValue": o[8] || (o[8] = (r) => l(s).sellPoint = r),
|
|
353
|
+
placeholder: t.$t("goodsSpu.sellPointRequired"),
|
|
354
|
+
clearable: "",
|
|
355
|
+
rows: 4
|
|
356
|
+
}, null, 8, ["modelValue", "placeholder"])
|
|
357
|
+
]),
|
|
358
|
+
_: 1
|
|
359
|
+
}, 8, ["label"])
|
|
360
|
+
]),
|
|
361
|
+
_: 1
|
|
362
|
+
}),
|
|
363
|
+
e(p, { span: 24 }, {
|
|
364
|
+
default: a(() => [
|
|
365
|
+
e(u, {
|
|
366
|
+
label: t.$t("goodsSpu.description"),
|
|
367
|
+
prop: "description"
|
|
368
|
+
}, {
|
|
369
|
+
default: a(() => [
|
|
370
|
+
e(l(K), {
|
|
371
|
+
modelValue: l(s).description,
|
|
372
|
+
"onUpdate:modelValue": o[9] || (o[9] = (r) => l(s).description = r),
|
|
373
|
+
style: { width: "100%" }
|
|
374
|
+
}, null, 8, ["modelValue"])
|
|
375
|
+
]),
|
|
376
|
+
_: 1
|
|
377
|
+
}, 8, ["label"])
|
|
378
|
+
]),
|
|
379
|
+
_: 1
|
|
380
|
+
})
|
|
381
|
+
]),
|
|
382
|
+
_: 1
|
|
383
|
+
}),
|
|
384
|
+
e(u, null, {
|
|
385
|
+
default: a(() => [
|
|
386
|
+
e(O, {
|
|
387
|
+
type: "primary",
|
|
388
|
+
onClick: N
|
|
389
|
+
}, {
|
|
390
|
+
default: a(() => o[11] || (o[11] = [
|
|
391
|
+
T("保存", -1)
|
|
392
|
+
])),
|
|
393
|
+
_: 1,
|
|
394
|
+
__: [11]
|
|
395
|
+
})
|
|
396
|
+
]),
|
|
397
|
+
_: 1
|
|
398
|
+
})
|
|
399
|
+
]),
|
|
400
|
+
_: 1
|
|
401
|
+
}, 8, ["model", "rules"]);
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
});
|
|
405
|
+
export {
|
|
406
|
+
ue as _
|
|
407
|
+
};
|