xyvcard-goods 0.0.22 → 0.0.24

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 (38) hide show
  1. package/dist/{edit-Nuaz9WSB.mjs → edit-9jPSycsG.mjs} +185 -165
  2. package/dist/{edit-exVf8d8b.mjs → edit-CJpoa4Ck.mjs} +69 -68
  3. package/dist/{edit-DxnsmaXV.mjs → edit-CWQMgvVP.mjs} +38 -38
  4. package/dist/{edit-Byv9oYAC.mjs → edit-DU-BEAcq.mjs} +1 -1
  5. package/dist/{edit-BcokSKfN.mjs → edit-Ziwv43v0.mjs} +27 -27
  6. package/dist/{edit.vue_vue_type_script_setup_true_lang-DuSBj1Mm.mjs → edit.vue_vue_type_script_setup_true_lang-BP0C4d2-.mjs} +8 -7
  7. package/dist/{goodsList-CZUqc4nm.mjs → goodsList-2AwsJVoO.mjs} +1 -1
  8. package/dist/{goodsList-IWDAvKOx.mjs → goodsList-CyWliLjg.mjs} +1 -1
  9. package/dist/{goodsList.vue_vue_type_script_setup_true_lang-CuzIDtTN.mjs → goodsList.vue_vue_type_script_setup_true_lang-Bq06GIMe.mjs} +2 -2
  10. package/dist/{goodsList.vue_vue_type_script_setup_true_lang-BhJn02Ym.mjs → goodsList.vue_vue_type_script_setup_true_lang-DjKzEAB7.mjs} +136 -147
  11. package/dist/{index-4i7TnWvV.mjs → index-8E7BciYp.mjs} +7 -6
  12. package/dist/{index-BVGn6Q_T.mjs → index-B1H5hqEi.mjs} +2 -2
  13. package/dist/{index-B_U2s9fI.mjs → index-B88acg0Q.mjs} +2 -2
  14. package/dist/{index-_xxSoBUe.mjs → index-BdP_dXBK.mjs} +3 -3
  15. package/dist/index-C7oatDPl.mjs +4432 -0
  16. package/dist/{index-CQIttgns.mjs → index-DPjR32Kv.mjs} +3 -3
  17. package/dist/{index-r0u-27m7.mjs → index-DR3Gk44r.mjs} +1 -1
  18. package/dist/index-jCpYt-EU.mjs +221 -0
  19. package/dist/index.mjs +6 -2875
  20. package/dist/info-BEMxnD6-.mjs +325 -0
  21. package/dist/{info-BQaaTFry.mjs → info-DFIeVs66.mjs} +3 -3
  22. package/dist/{skuForm-CgjMd46J.mjs → skuForm-BhAbf2AG.mjs} +16 -16
  23. package/dist/skuForm-C2aQcL90.mjs +314 -0
  24. package/dist/{skuTable-CyGQuTvR.mjs → skuTable-9JJqGeRx.mjs} +255 -208
  25. package/dist/style.css +1 -1
  26. package/dts/api/goods-category/types.d.ts +2 -0
  27. package/dts/api/goods-spu/index.d.ts +3 -1
  28. package/dts/api/goods-spu/types.d.ts +12 -1
  29. package/dts/index.d.ts +4 -0
  30. package/dts/router/index.d.ts +1 -0
  31. package/package.json +1 -1
  32. package/dist/index-DR7GlHNd.mjs +0 -1288
  33. package/dist/index-Dvaotk7B.mjs +0 -325
  34. package/dist/index-jTDhsbYM.mjs +0 -141
  35. package/dist/info-BH4MW3Sw.mjs +0 -365
  36. package/dist/sku-B-IzfYLq.mjs +0 -52
  37. package/dist/skuForm-AMIoZkH-.mjs +0 -287
  38. package/dist/skuTable-DDWSmvoz.mjs +0 -592
@@ -1,42 +1,39 @@
1
1
  import { _ as J } from "./ImageUpload-Dk6GY6PA.mjs";
2
- import { defineComponent as K, ref as q, reactive as T, resolveComponent as i, openBlock as f, createElementBlock as V, createElementVNode as c, createVNode as e, unref as s, withCtx as t, Fragment as R, renderList as U, createBlock as h, createTextVNode as w, toDisplayString as Q, createCommentVNode as X } from "vue";
3
- import { ElMessage as C } from "element-plus";
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
+ 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 p, C as ee } from "./index-Dvaotk7B.mjs";
8
- import { goodsSpuApi as _ } from "./index.mjs";
7
+ import { D as i, C as ee } from "./index-jCpYt-EU.mjs";
8
+ import { a as _ } from "./index-C7oatDPl.mjs";
9
9
  import { g as le } from "./index-BHmGYIuc.mjs";
10
10
  import { WangEditor as oe } from "xyvcard-cms";
11
- import se from "./skuForm-CgjMd46J.mjs";
12
- const te = { class: "app-container" }, ue = { class: "search-container" }, ae = { class: "image-card" }, he = /* @__PURE__ */ K({
11
+ import te from "./skuForm-BhAbf2AG.mjs";
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) {
15
15
  const { t: m } = x();
16
- p.brandListBizDict.useValues(), console.log(p.brandListBizDict.values, "=> brandListBizDict");
17
- const S = Y(), g = Z(), I = q();
18
- p.shopInfoBizDict.useValues(), p.goodsCategoryListBizLayDict.useValues(), p.labelListBizDict.useValues(), console.log(
19
- p.goodsCategoryListBizLayDict.values,
20
- "=>goodsCategoryListBizLayDict "
21
- );
16
+ i.brandListBizDict.useValues();
17
+ const S = Y(), g = Z(), I = v();
18
+ i.shopInfoBizDict.useValues(), i.goodsCategoryListBizLayDict.useValues(), i.labelListBizDict.useValues();
22
19
  let o = T({
23
20
  requestId: Math.random() * 10 + "",
24
- updateMask: "labelIds,brandId,spuName,categoryIds,spuCode,freightType,freightAmount,picUrls,shelf,saleNum,sellPoint,specType,description",
21
+ updateMask: "labelIds,brandId,spuName,categoryIds,spuCode,note,freightType,freightAmount,picUrls,shelf,saleNum,sellPoint,specType,description",
25
22
  skuSpecValues: [],
26
- freightType: p.freightTypeEnum.values[0].key,
23
+ freightType: i.freightTypeEnum.values[0].key,
27
24
  freightAmount: 0,
28
- shelf: p.shelfDict.values[0].key,
29
- specType: p.specTypeEnum.values[0].key
25
+ shelf: i.shelfDict.values[0].key,
26
+ specType: i.specTypeEnum.values[0].key
30
27
  });
31
- const $ = (a, l, n) => {
28
+ const C = (u, l, p) => {
32
29
  var r;
33
30
  const d = (r = o.picUrls) == null ? void 0 : r.split(",").filter(Boolean);
34
31
  if (d != null && d.length) {
35
32
  if ((d == null ? void 0 : d.length) < 1)
36
- return n(new Error(m("goodsSpu.imageListsErrors")));
37
- n();
38
- } else return n(new Error(m("goodsSpu.picUrlsRequired")));
39
- }, D = T({
33
+ return p(new Error(m("goodsSpu.imageListsErrors")));
34
+ p();
35
+ } else return p(new Error(m("goodsSpu.picUrlsRequired")));
36
+ }, N = T({
40
37
  brandId: [
41
38
  {
42
39
  required: !0,
@@ -81,7 +78,7 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
81
78
  ],
82
79
  picUrls: [
83
80
  {
84
- validator: $,
81
+ validator: C,
85
82
  trigger: "change"
86
83
  }
87
84
  ],
@@ -99,66 +96,66 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
99
96
  trigger: "change"
100
97
  }
101
98
  ]
102
- }), v = q(!1);
103
- function N(a) {
104
- o.skuSpecValues.push(a), o.skuSpecValues = o.skuSpecValues.slice(-1);
99
+ }), q = v(!1);
100
+ function D(u) {
101
+ o.skuSpecValues.push(u), o.skuSpecValues = o.skuSpecValues.slice(-1);
105
102
  }
106
- function B(a) {
107
- a.forEach((l) => {
108
- var n;
109
- o.specId = (n = l.specValues) == null ? void 0 : n.map((d) => d.specId), o.skuSpecValues.push(l);
110
- }), o.skuSpecValues = o.skuSpecValues.slice(-a.length);
103
+ function B(u) {
104
+ u.forEach((l) => {
105
+ var p;
106
+ o.specId = (p = l.specValues) == null ? void 0 : p.map((d) => d.specId), o.skuSpecValues.push(l);
107
+ }), o.skuSpecValues = o.skuSpecValues.slice(-u.length);
111
108
  }
112
- g.query.spuId && _.findById({ spuId: g.query.spuId }).then(({ data: a }) => {
113
- Object.assign(o, a), v.value = !0, le.findById({ spuId: g.query.spuId }).then(({ data: l }) => {
109
+ g.query.spuId && _.findById({ spuId: g.query.spuId }).then(({ data: u }) => {
110
+ Object.assign(o, u), q.value = !0, le.findById({ spuId: g.query.spuId }).then(({ data: l }) => {
114
111
  o.ensureIds = l.ensures;
115
112
  });
116
113
  });
117
114
  const L = async () => {
118
- var a;
119
- await ((a = I.value) == null ? void 0 : a.validate((l) => {
120
- l && (g.query.spuId ? _.update(o).then((n) => {
121
- n.status === 200 && (C({
115
+ var u;
116
+ await ((u = I.value) == null ? void 0 : u.validate((l) => {
117
+ l && (g.query.spuId ? _.update(o).then((p) => {
118
+ p.status === 200 && ($({
122
119
  message: m("common.submitSuccess"),
123
120
  type: "success"
124
121
  }), E.closeTagView(g.fullPath, S, !1));
125
- }) : _.create(o).then((n) => {
126
- n.status === 200 && (C({
122
+ }) : _.create(o).then((p) => {
123
+ p.status === 200 && ($({
127
124
  message: m("common.submitSuccess"),
128
125
  type: "success"
129
126
  }), E.closeTagView(g.fullPath, S, !1));
130
127
  }));
131
128
  }));
132
129
  };
133
- function z(a) {
134
- a === "FREIGHT_FREE" && (o.freightAmount = 0);
130
+ function F(u) {
131
+ u === "FREIGHT_FREE" && (o.freightAmount = 0);
135
132
  }
136
- return (a, l) => {
137
- const n = i("el-input"), d = i("el-form-item"), r = i("el-col"), F = i("el-option"), A = i("el-select"), P = i("el-tree-select"), b = i("jmash-enum-radio"), k = i("el-input-number"), G = J, j = i("jmash-dict-checkbox"), M = i("el-checkbox"), O = i("el-checkbox-group"), y = i("el-row"), H = i("el-button"), W = i("el-form");
138
- return f(), V("div", te, [
139
- c("div", ue, [
133
+ return (u, l) => {
134
+ const p = n("el-input"), d = n("el-form-item"), r = n("el-col"), A = n("el-option"), z = n("el-select"), P = n("el-tree-select"), b = n("jmash-enum-radio"), k = n("el-input-number"), G = J, j = n("jmash-dict-checkbox"), M = n("el-checkbox"), O = n("el-checkbox-group"), y = n("el-row"), H = n("el-button"), W = n("el-form");
135
+ return f(), V("div", se, [
136
+ c("div", ae, [
140
137
  e(W, {
141
138
  ref_key: "goodsSpuFormRef",
142
139
  ref: I,
143
- model: s(o),
140
+ model: t(o),
144
141
  "label-width": "120px",
145
- rules: D
142
+ rules: N
146
143
  }, {
147
- default: t(() => [
148
- l[16] || (l[16] = c("div", { class: "title-content" }, "基本信息", -1)),
144
+ default: s(() => [
145
+ l[17] || (l[17] = c("div", { class: "title-content" }, "基本信息", -1)),
149
146
  e(y, null, {
150
- default: t(() => [
147
+ default: s(() => [
151
148
  e(r, { span: 12 }, {
152
- default: t(() => [
149
+ default: s(() => [
153
150
  e(d, {
154
- label: a.$t("goodsSpu.spuName"),
151
+ label: u.$t("goodsSpu.spuName"),
155
152
  prop: "spuName"
156
153
  }, {
157
- default: t(() => [
158
- e(n, {
159
- modelValue: s(o).spuName,
160
- "onUpdate:modelValue": l[0] || (l[0] = (u) => s(o).spuName = u),
161
- placeholder: a.$t("goodsSpu.spuNameRequired"),
154
+ default: s(() => [
155
+ e(p, {
156
+ modelValue: t(o).spuName,
157
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => t(o).spuName = a),
158
+ placeholder: u.$t("goodsSpu.spuNameRequired"),
162
159
  maxlength: "60",
163
160
  "show-word-limit": "",
164
161
  clearable: ""
@@ -170,16 +167,16 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
170
167
  _: 1
171
168
  }),
172
169
  e(r, { span: 12 }, {
173
- default: t(() => [
170
+ default: s(() => [
174
171
  e(d, {
175
- label: a.$t("goodsSpu.spuCode"),
172
+ label: u.$t("goodsSpu.spuCode"),
176
173
  prop: "spuCode"
177
174
  }, {
178
- default: t(() => [
179
- e(n, {
180
- modelValue: s(o).spuCode,
181
- "onUpdate:modelValue": l[1] || (l[1] = (u) => s(o).spuCode = u),
182
- placeholder: a.$t("goodsSpu.spuCodeRequired"),
175
+ default: s(() => [
176
+ e(p, {
177
+ modelValue: t(o).spuCode,
178
+ "onUpdate:modelValue": l[1] || (l[1] = (a) => t(o).spuCode = a),
179
+ placeholder: u.$t("goodsSpu.spuCodeRequired"),
183
180
  maxlength: "15",
184
181
  "show-word-limit": "",
185
182
  clearable: ""
@@ -191,24 +188,24 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
191
188
  _: 1
192
189
  }),
193
190
  e(r, { span: 12 }, {
194
- default: t(() => [
191
+ default: s(() => [
195
192
  e(d, {
196
- label: a.$t("goodsSpu.brandId"),
193
+ label: u.$t("goodsSpu.brandId"),
197
194
  prop: "brandId"
198
195
  }, {
199
- default: t(() => [
200
- e(A, {
201
- modelValue: s(o).brandId,
202
- "onUpdate:modelValue": l[2] || (l[2] = (u) => s(o).brandId = u),
203
- data: s(p).brandListBizDict.values,
204
- placeholder: a.$t("goodsSpu.brandIdRequired"),
196
+ default: s(() => [
197
+ e(z, {
198
+ modelValue: t(o).brandId,
199
+ "onUpdate:modelValue": l[2] || (l[2] = (a) => t(o).brandId = a),
200
+ data: t(i).brandListBizDict.values,
201
+ placeholder: u.$t("goodsSpu.brandIdRequired"),
205
202
  class: "w-full"
206
203
  }, {
207
- default: t(() => [
208
- (f(!0), V(R, null, U(s(p).brandListBizDict.values, (u) => (f(), h(F, {
209
- key: u.key,
210
- label: u.value,
211
- value: u.key
204
+ default: s(() => [
205
+ (f(!0), V(w, null, R(t(i).brandListBizDict.values, (a) => (f(), h(A, {
206
+ key: a.key,
207
+ label: a.value,
208
+ value: a.key
212
209
  }, null, 8, ["label", "value"]))), 128))
213
210
  ]),
214
211
  _: 1
@@ -220,20 +217,20 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
220
217
  _: 1
221
218
  }),
222
219
  e(r, { span: 12 }, {
223
- default: t(() => [
220
+ default: s(() => [
224
221
  e(d, {
225
- label: a.$t("goodsSpu.categoryId"),
222
+ label: u.$t("goodsSpu.categoryId"),
226
223
  prop: "categoryIds"
227
224
  }, {
228
- default: t(() => [
225
+ default: s(() => [
229
226
  e(P, {
230
- modelValue: s(o).categoryIds,
231
- "onUpdate:modelValue": l[3] || (l[3] = (u) => s(o).categoryIds = u),
232
- data: s(p).goodsCategoryListBizLayDict.values,
227
+ modelValue: t(o).categoryIds,
228
+ "onUpdate:modelValue": l[3] || (l[3] = (a) => t(o).categoryIds = a),
229
+ data: t(i).goodsCategoryListBizLayDict.values,
233
230
  multiple: "",
234
231
  "render-after-expand": !1,
235
232
  "show-checkbox": "",
236
- placeholder: a.$t("goodsSpu.categoryIdRequired"),
233
+ placeholder: u.$t("goodsSpu.categoryIdRequired"),
237
234
  class: "w-full"
238
235
  }, null, 8, ["modelValue", "data", "placeholder"])
239
236
  ]),
@@ -243,17 +240,17 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
243
240
  _: 1
244
241
  }),
245
242
  e(r, { span: 12 }, {
246
- default: t(() => [
243
+ default: s(() => [
247
244
  e(d, {
248
- label: a.$t("goodsSpu.freightType"),
245
+ label: u.$t("goodsSpu.freightType"),
249
246
  prop: "freightType"
250
247
  }, {
251
- default: t(() => [
248
+ default: s(() => [
252
249
  e(b, {
253
- modelValue: s(o).freightType,
254
- "onUpdate:modelValue": l[4] || (l[4] = (u) => s(o).freightType = u),
255
- data: s(p).freightTypeEnum.values,
256
- onChange: z
250
+ modelValue: t(o).freightType,
251
+ "onUpdate:modelValue": l[4] || (l[4] = (a) => t(o).freightType = a),
252
+ data: t(i).freightTypeEnum.values,
253
+ onChange: F
257
254
  }, null, 8, ["modelValue", "data"])
258
255
  ]),
259
256
  _: 1
@@ -262,21 +259,21 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
262
259
  _: 1
263
260
  }),
264
261
  e(r, { span: 12 }, {
265
- default: t(() => [
262
+ default: s(() => [
266
263
  e(d, {
267
- label: a.$t("goodsSpu.freightAmount"),
264
+ label: u.$t("goodsSpu.freightAmount"),
268
265
  prop: "freightAmount"
269
266
  }, {
270
- default: t(() => [
267
+ default: s(() => [
271
268
  e(k, {
272
- modelValue: s(o).freightAmount,
273
- "onUpdate:modelValue": l[5] || (l[5] = (u) => s(o).freightAmount = u),
274
- readonly: s(o).freightType === "FREIGHT_FREE",
269
+ modelValue: t(o).freightAmount,
270
+ "onUpdate:modelValue": l[5] || (l[5] = (a) => t(o).freightAmount = a),
271
+ readonly: t(o).freightType === "FREIGHT_FREE",
275
272
  precision: 2,
276
273
  step: 0.1,
277
274
  controls: !1,
278
275
  min: 0,
279
- placeholder: a.$t("goodsSpu.freightAmountRequired"),
276
+ placeholder: u.$t("goodsSpu.freightAmountRequired"),
280
277
  class: "w-full"
281
278
  }, null, 8, ["modelValue", "readonly", "placeholder"])
282
279
  ]),
@@ -286,20 +283,20 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
286
283
  _: 1
287
284
  }),
288
285
  e(r, { span: 24 }, {
289
- default: t(() => [
286
+ default: s(() => [
290
287
  e(d, {
291
- label: a.$t("goodsSpu.picUrls"),
288
+ label: u.$t("goodsSpu.picUrls"),
292
289
  prop: "picUrls"
293
290
  }, {
294
- default: t(() => [
295
- c("div", ae, [
291
+ default: s(() => [
292
+ c("div", ue, [
296
293
  e(G, {
297
- modelValue: s(o).picUrls,
298
- "onUpdate:modelValue": l[6] || (l[6] = (u) => s(o).picUrls = u),
294
+ modelValue: t(o).picUrls,
295
+ "onUpdate:modelValue": l[6] || (l[6] = (a) => t(o).picUrls = a),
299
296
  limit: 6,
300
297
  "list-type": "picture-card"
301
298
  }, null, 8, ["modelValue"]),
302
- l[14] || (l[14] = c("div", { class: "red-color" }, " 推荐尺寸:100*100或同比例图片,最少上传1张 ", -1))
299
+ l[15] || (l[15] = c("div", { class: "red-color" }, " 推荐尺寸:100*100或同比例图片,最少上传1张 ", -1))
303
300
  ])
304
301
  ]),
305
302
  _: 1
@@ -308,16 +305,16 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
308
305
  _: 1
309
306
  }),
310
307
  e(r, { span: 12 }, {
311
- default: t(() => [
308
+ default: s(() => [
312
309
  e(d, {
313
- label: a.$t("goodsSpu.shelf"),
310
+ label: u.$t("goodsSpu.shelf"),
314
311
  prop: "shelf"
315
312
  }, {
316
- default: t(() => [
313
+ default: s(() => [
317
314
  e(b, {
318
- modelValue: s(o).shelf,
319
- "onUpdate:modelValue": l[7] || (l[7] = (u) => s(o).shelf = u),
320
- data: s(p).shelfDict.values
315
+ modelValue: t(o).shelf,
316
+ "onUpdate:modelValue": l[7] || (l[7] = (a) => t(o).shelf = a),
317
+ data: t(i).shelfDict.values
321
318
  }, null, 8, ["modelValue", "data"])
322
319
  ]),
323
320
  _: 1
@@ -326,16 +323,16 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
326
323
  _: 1
327
324
  }),
328
325
  e(r, { span: 12 }, {
329
- default: t(() => [
326
+ default: s(() => [
330
327
  e(d, {
331
- label: a.$t("goodsSpu.saleNum"),
328
+ label: u.$t("goodsSpu.saleNum"),
332
329
  prop: "saleNum"
333
330
  }, {
334
- default: t(() => [
331
+ default: s(() => [
335
332
  e(k, {
336
- modelValue: s(o).saleNum,
337
- "onUpdate:modelValue": l[8] || (l[8] = (u) => s(o).saleNum = u),
338
- placeholder: a.$t("goodsSpu.saleNumRequired"),
333
+ modelValue: t(o).saleNum,
334
+ "onUpdate:modelValue": l[8] || (l[8] = (a) => t(o).saleNum = a),
335
+ placeholder: u.$t("goodsSpu.saleNumRequired"),
339
336
  class: "w-full",
340
337
  min: 0,
341
338
  controls: !1,
@@ -348,16 +345,16 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
348
345
  _: 1
349
346
  }),
350
347
  e(r, { span: 24 }, {
351
- default: t(() => [
348
+ default: s(() => [
352
349
  e(d, {
353
- label: a.$t("goodsSpu.sellPoint"),
350
+ label: u.$t("goodsSpu.sellPoint"),
354
351
  prop: "sellPoint"
355
352
  }, {
356
- default: t(() => [
357
- e(n, {
358
- modelValue: s(o).sellPoint,
359
- "onUpdate:modelValue": l[9] || (l[9] = (u) => s(o).sellPoint = u),
360
- placeholder: a.$t("goodsSpu.sellPointRequired"),
353
+ default: s(() => [
354
+ e(p, {
355
+ modelValue: t(o).sellPoint,
356
+ "onUpdate:modelValue": l[9] || (l[9] = (a) => t(o).sellPoint = a),
357
+ placeholder: u.$t("goodsSpu.sellPointRequired"),
361
358
  maxlength: "250",
362
359
  "show-word-limit": "",
363
360
  clearable: "",
@@ -371,16 +368,39 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
371
368
  _: 1
372
369
  }),
373
370
  e(r, { span: 24 }, {
374
- default: t(() => [
371
+ default: s(() => [
375
372
  e(d, {
376
- label: a.$t("goodsSpu.ensureIds"),
373
+ label: u.$t("goodsLabelInfo.note"),
374
+ prop: "note"
375
+ }, {
376
+ default: s(() => [
377
+ e(p, {
378
+ modelValue: t(o).note,
379
+ "onUpdate:modelValue": l[10] || (l[10] = (a) => t(o).note = a),
380
+ placeholder: u.$t("goodsLabelInfo.noteRequired"),
381
+ maxlength: "250",
382
+ "show-word-limit": "",
383
+ clearable: "",
384
+ rows: 4,
385
+ type: "textarea"
386
+ }, null, 8, ["modelValue", "placeholder"])
387
+ ]),
388
+ _: 1
389
+ }, 8, ["label"])
390
+ ]),
391
+ _: 1
392
+ }),
393
+ e(r, { span: 24 }, {
394
+ default: s(() => [
395
+ e(d, {
396
+ label: u.$t("goodsSpu.ensureIds"),
377
397
  prop: "ensureIds"
378
398
  }, {
379
- default: t(() => [
399
+ default: s(() => [
380
400
  e(j, {
381
- modelValue: s(o).ensureIds,
382
- "onUpdate:modelValue": l[10] || (l[10] = (u) => s(o).ensureIds = u),
383
- "type-code": s(ee).DICT_GOODS_ENSURE
401
+ modelValue: t(o).ensureIds,
402
+ "onUpdate:modelValue": l[11] || (l[11] = (a) => t(o).ensureIds = a),
403
+ "type-code": t(ee).DICT_GOODS_ENSURE
384
404
  }, null, 8, ["modelValue", "type-code"])
385
405
  ]),
386
406
  _: 1
@@ -389,24 +409,24 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
389
409
  _: 1
390
410
  }),
391
411
  e(r, { span: 24 }, {
392
- default: t(() => [
412
+ default: s(() => [
393
413
  e(d, {
394
- label: a.$t("goodsSpu.labelIds"),
414
+ label: u.$t("goodsSpu.labelIds"),
395
415
  prop: "labelIds"
396
416
  }, {
397
- default: t(() => [
417
+ default: s(() => [
398
418
  e(O, {
399
- modelValue: s(o).labelIds,
400
- "onUpdate:modelValue": l[11] || (l[11] = (u) => s(o).labelIds = u),
419
+ modelValue: t(o).labelIds,
420
+ "onUpdate:modelValue": l[12] || (l[12] = (a) => t(o).labelIds = a),
401
421
  class: "w-full"
402
422
  }, {
403
- default: t(() => [
404
- (f(!0), V(R, null, U(s(p).labelListBizDict.values, (u) => (f(), h(M, {
405
- key: u.key,
406
- label: u.key
423
+ default: s(() => [
424
+ (f(!0), V(w, null, R(t(i).labelListBizDict.values, (a) => (f(), h(M, {
425
+ key: a.key,
426
+ label: a.key
407
427
  }, {
408
- default: t(() => [
409
- w(Q(u.value), 1)
428
+ default: s(() => [
429
+ U(Q(a.value), 1)
410
430
  ]),
411
431
  _: 2
412
432
  }, 1032, ["label"]))), 128))
@@ -422,20 +442,20 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
422
442
  ]),
423
443
  _: 1
424
444
  }),
425
- l[17] || (l[17] = c("div", { class: "title-content" }, "商品规格", -1)),
445
+ l[18] || (l[18] = c("div", { class: "title-content" }, "商品规格", -1)),
426
446
  e(y, null, {
427
- default: t(() => [
447
+ default: s(() => [
428
448
  e(r, { span: 24 }, {
429
- default: t(() => [
449
+ default: s(() => [
430
450
  e(d, {
431
- label: a.$t("goodsSpu.specType"),
451
+ label: u.$t("goodsSpu.specType"),
432
452
  prop: "specType"
433
453
  }, {
434
- default: t(() => [
454
+ default: s(() => [
435
455
  e(b, {
436
- modelValue: s(o).specType,
437
- "onUpdate:modelValue": l[12] || (l[12] = (u) => s(o).specType = u),
438
- data: s(p).specTypeEnum.values
456
+ modelValue: t(o).specType,
457
+ "onUpdate:modelValue": l[13] || (l[13] = (a) => t(o).specType = a),
458
+ data: t(i).specTypeEnum.values
439
459
  }, null, 8, ["modelValue", "data"])
440
460
  ]),
441
461
  _: 1
@@ -443,29 +463,29 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
443
463
  ]),
444
464
  _: 1
445
465
  }),
446
- !s(g).query.spuId || v.value ? (f(), h(se, {
466
+ !t(g).query.spuId || q.value ? (f(), h(te, {
447
467
  key: 0,
448
- "spec-type": s(o).specType,
449
- form: s(o),
450
- onGetGoodsSku: N,
468
+ "spec-type": t(o).specType,
469
+ form: t(o),
470
+ onGetGoodsSku: D,
451
471
  onGetFormData: B
452
472
  }, null, 8, ["spec-type", "form"])) : X("", !0)
453
473
  ]),
454
474
  _: 1
455
475
  }),
456
- l[18] || (l[18] = c("div", { class: "title-content" }, "商品详情", -1)),
476
+ l[19] || (l[19] = c("div", { class: "title-content" }, "商品详情", -1)),
457
477
  e(y, null, {
458
- default: t(() => [
478
+ default: s(() => [
459
479
  e(r, { span: 24 }, {
460
- default: t(() => [
480
+ default: s(() => [
461
481
  e(d, {
462
- label: a.$t("goodsSpu.description"),
482
+ label: u.$t("goodsSpu.description"),
463
483
  prop: "description"
464
484
  }, {
465
- default: t(() => [
466
- e(s(oe), {
467
- modelValue: s(o).description,
468
- "onUpdate:modelValue": l[13] || (l[13] = (u) => s(o).description = u),
485
+ default: s(() => [
486
+ e(t(oe), {
487
+ modelValue: t(o).description,
488
+ "onUpdate:modelValue": l[14] || (l[14] = (a) => t(o).description = a),
469
489
  style: { width: "100%" }
470
490
  }, null, 8, ["modelValue"])
471
491
  ]),
@@ -475,16 +495,16 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
475
495
  _: 1
476
496
  }),
477
497
  e(d, null, {
478
- default: t(() => [
498
+ default: s(() => [
479
499
  e(H, {
480
500
  type: "primary",
481
501
  onClick: L
482
502
  }, {
483
- default: t(() => l[15] || (l[15] = [
484
- w("保存")
503
+ default: s(() => l[16] || (l[16] = [
504
+ U("保存")
485
505
  ])),
486
506
  _: 1,
487
- __: [15]
507
+ __: [16]
488
508
  })
489
509
  ]),
490
510
  _: 1
@@ -494,7 +514,7 @@ const te = { class: "app-container" }, ue = { class: "search-container" }, ae =
494
514
  })
495
515
  ]),
496
516
  _: 1,
497
- __: [16, 17, 18]
517
+ __: [17, 18, 19]
498
518
  }, 8, ["model", "rules"])
499
519
  ])
500
520
  ]);