xyvcard-goods 0.0.26 → 0.0.27
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-Dk6GY6PA.mjs → ImageUpload-BMw9FVJL.mjs} +2 -2
- package/dist/{edit-eAHVEi0b.mjs → edit-C6CESv8X.mjs} +3 -3
- package/dist/{edit-C5HGHhkb.mjs → edit-CuYE3fHS.mjs} +3 -3
- package/dist/{edit-DrbsKmwh.mjs → edit-CvY-V0N5.mjs} +30 -30
- package/dist/{edit-Xn_nZjI6.mjs → edit-CwYGsVHI.mjs} +6 -6
- package/dist/{edit-Cb0aaC0q.mjs → edit-DmT9V-gh.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-DBG-5gI4.mjs → edit.vue_vue_type_script_setup_true_lang-DfFKgB6q.mjs} +76 -74
- package/dist/{goodsList-CDQZGSh2.mjs → goodsList-Bj9pZI5X.mjs} +1 -1
- package/dist/{goodsList-CKCG7ntZ.mjs → goodsList-v98w-P_d.mjs} +1 -1
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-DiRkiNJk.mjs → goodsList.vue_vue_type_script_setup_true_lang-BsItIhFh.mjs} +3 -3
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-B6P3fso6.mjs → goodsList.vue_vue_type_script_setup_true_lang-QHlAuCT3.mjs} +3 -3
- package/dist/{index-B8IdlGiz.mjs → index-0g53MREL.mjs} +14 -14
- package/dist/{index-CMkWXcWe.mjs → index-B0qodJxZ.mjs} +2 -2
- package/dist/{index-CSeu2TZT.mjs → index-BrR_OdFN.mjs} +3 -3
- package/dist/{index-DSbkvzGV.mjs → index-CXEbqy-N.mjs} +14 -14
- package/dist/{index-utNcRJx7.mjs → index-CXtRrzoC.mjs} +2001 -1878
- package/dist/{index-Bz206T2E.mjs → index-D7Zknkay.mjs} +14 -14
- package/dist/{index-CDhEKnzj.mjs → index-DWtdS9Gu.mjs} +3 -3
- package/dist/{index-D70qzGQF.mjs → index-szFiZJnI.mjs} +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{info-CX3zF0ZW.mjs → info-Bn5lfzNP.mjs} +4 -4
- package/dist/{info-Dlte8Sn0.mjs → info-PRjY0AD1.mjs} +111 -105
- package/dist/{skuForm-DUR7U2Kn.mjs → skuForm-DF02pgox.mjs} +101 -98
- package/dist/{skuForm-B_8WQCr3.mjs → skuForm-EQVH7pCG.mjs} +6 -6
- package/dist/{skuTable-D4LGL7B5.mjs → skuTable-DWpm1OMq.mjs} +4 -4
- package/dist/style.css +1 -1
- package/dts/api/goods-spu/types.d.ts +1 -0
- package/package.json +62 -62
- package/dts/views/goods/goods-combination/skuTable.vue.d.ts +0 -40
|
@@ -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, createElementBlock as R, openBlock 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 S(), R(j, null, [
|
|
50
50
|
i(C, {
|
|
51
51
|
ref_key: "uploadImageRef",
|
|
52
52
|
ref: V,
|
|
@@ -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, createBlock as K, openBlock as O, withCtx as l, createVNode as o, unref as d, createElementVNode as x, createTextVNode as U, toDisplayString as w } 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-szFiZJnI.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 O(), K(D, {
|
|
70
70
|
modelValue: a.value,
|
|
71
71
|
"onUpdate:modelValue": n[2] || (n[2] = (m) => a.value = m),
|
|
72
72
|
onClose: h
|
|
@@ -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, createBlock as F, openBlock as K, withCtx as o, createVNode as l, unref as r, createElementVNode as O, createTextVNode as L, toDisplayString as N } 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-CXtRrzoC.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 K(), F(U, {
|
|
66
66
|
modelValue: s.value,
|
|
67
67
|
"onUpdate:modelValue": t[3] || (t[3] = (d) => s.value = d),
|
|
68
68
|
onClose: V
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as z } from "./ImageUpload-
|
|
2
|
-
import { defineComponent as O, ref as R, reactive as I, resolveComponent as p,
|
|
1
|
+
import { _ as z } from "./ImageUpload-BMw9FVJL.mjs";
|
|
2
|
+
import { defineComponent as O, ref as R, reactive as I, resolveComponent as p, createElementBlock as v, openBlock as h, createElementVNode as f, createVNode as e, unref as t, withCtx as u, Fragment as j, renderList as x, createBlock as U, createTextVNode as w, toDisplayString as M, createCommentVNode as H } from "vue";
|
|
3
3
|
import { ElMessage as P } 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-
|
|
7
|
+
import { D as m, C as Q } from "./index-B0qodJxZ.mjs";
|
|
8
|
+
import { a as b } from "./index-CXtRrzoC.mjs";
|
|
9
|
+
import W from "./skuForm-DF02pgox.mjs";
|
|
10
10
|
const X = { class: "app-container" }, Z = { class: "search-container" }, ee = { class: "image-card" }, ie = /* @__PURE__ */ O({
|
|
11
11
|
__name: "edit",
|
|
12
12
|
setup(le) {
|
|
@@ -287,6 +287,28 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
287
287
|
]),
|
|
288
288
|
_: 1
|
|
289
289
|
}),
|
|
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
|
+
}),
|
|
290
312
|
e(d, { span: 24 }, {
|
|
291
313
|
default: u(() => [
|
|
292
314
|
e(a, {
|
|
@@ -297,7 +319,7 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
297
319
|
f("div", ee, [
|
|
298
320
|
e(D, {
|
|
299
321
|
modelValue: t(o).picUrls,
|
|
300
|
-
"onUpdate:modelValue": l[
|
|
322
|
+
"onUpdate:modelValue": l[8] || (l[8] = (r) => t(o).picUrls = r),
|
|
301
323
|
limit: 6,
|
|
302
324
|
"list-type": "picture-card"
|
|
303
325
|
}, null, 8, ["modelValue"]),
|
|
@@ -318,7 +340,7 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
318
340
|
default: u(() => [
|
|
319
341
|
e(q, {
|
|
320
342
|
modelValue: t(o).shelf,
|
|
321
|
-
"onUpdate:modelValue": l[
|
|
343
|
+
"onUpdate:modelValue": l[9] || (l[9] = (r) => t(o).shelf = r),
|
|
322
344
|
data: t(m).shelfDict.values
|
|
323
345
|
}, null, 8, ["modelValue", "data"])
|
|
324
346
|
]),
|
|
@@ -328,28 +350,6 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
328
350
|
_: 1
|
|
329
351
|
}),
|
|
330
352
|
e(d, { span: 12 }, {
|
|
331
|
-
default: u(() => [
|
|
332
|
-
e(a, {
|
|
333
|
-
label: s.$t("goodsSpu.saleNum"),
|
|
334
|
-
prop: "saleNum"
|
|
335
|
-
}, {
|
|
336
|
-
default: u(() => [
|
|
337
|
-
e(c, {
|
|
338
|
-
modelValue: t(o).saleNum,
|
|
339
|
-
"onUpdate:modelValue": l[9] || (l[9] = (r) => t(o).saleNum = r),
|
|
340
|
-
placeholder: s.$t("goodsSpu.saleNumRequired"),
|
|
341
|
-
class: "w-full",
|
|
342
|
-
min: 0,
|
|
343
|
-
controls: !1,
|
|
344
|
-
precision: 0
|
|
345
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
346
|
-
]),
|
|
347
|
-
_: 1
|
|
348
|
-
}, 8, ["label"])
|
|
349
|
-
]),
|
|
350
|
-
_: 1
|
|
351
|
-
}),
|
|
352
|
-
e(d, { span: 24 }, {
|
|
353
353
|
default: u(() => [
|
|
354
354
|
e(a, {
|
|
355
355
|
label: s.$t("goodsSpu.labelIds"),
|
|
@@ -403,7 +403,7 @@ const X = { class: "app-container" }, Z = { class: "search-container" }, ee = {
|
|
|
403
403
|
onClick: $
|
|
404
404
|
}, {
|
|
405
405
|
default: u(() => l[12] || (l[12] = [
|
|
406
|
-
w("保存")
|
|
406
|
+
w("保存", -1)
|
|
407
407
|
])),
|
|
408
408
|
_: 1,
|
|
409
409
|
__: [12]
|
|
@@ -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-BMw9FVJL.mjs";
|
|
2
|
+
import { defineComponent as K, ref as v, reactive as T, resolveComponent as n, createElementBlock as V, openBlock as f, 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-B0qodJxZ.mjs";
|
|
8
|
+
import { a as _ } from "./index-CXtRrzoC.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-EQVH7pCG.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("保存", -1)
|
|
505
505
|
])),
|
|
506
506
|
_: 1,
|
|
507
507
|
__: [16]
|