xyvcard-goods 0.0.20 → 0.0.21
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/{edit-Cj13W2TC.mjs → edit-CkR-I5aJ.mjs} +1 -1
- package/dist/{edit-Bb2XgE0h.mjs → edit-DFc_TNP3.mjs} +2 -2
- package/dist/edit-tCGa_9Kt.mjs +507 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-D2w1583D.mjs → edit.vue_vue_type_script_setup_true_lang-BlNwikUO.mjs} +1 -1
- package/dist/{goodsList-DOXK1EwK.mjs → goodsList-HmPAwD_C.mjs} +1 -1
- package/dist/goodsList-TX2ZnRR9.mjs +4 -0
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-COJVlEjX.mjs → goodsList.vue_vue_type_script_setup_true_lang-CGV1dm3W.mjs} +51 -50
- package/dist/goodsList.vue_vue_type_script_setup_true_lang-f1Fc6pbd.mjs +576 -0
- package/dist/{index-CGAoZY87.mjs → index-B0SXNsHW.mjs} +2 -2
- package/dist/{index-DAJiqOCh.mjs → index-BZw9XfQo.mjs} +2 -2
- package/dist/{index-D3w33Nba.mjs → index-CqOoZ5xQ.mjs} +11 -7
- package/dist/{index-C3FT_Oe7.mjs → index-Ctva-XF0.mjs} +1 -1
- package/dist/index-Dt3PP8dN.mjs +53 -0
- package/dist/{index-BmOxm1P2.mjs → index-VFsDup14.mjs} +1 -1
- package/dist/index.mjs +476 -464
- package/dist/{info-DImlMNq0.mjs → info-BTKv0IRt.mjs} +2 -2
- package/dist/info-CrghLmS4.mjs +365 -0
- package/dist/sku-B-IzfYLq.mjs +52 -0
- package/dist/{skuForm-Bt3arW0s.mjs → skuForm-C7rF2noo.mjs} +2 -2
- package/dist/skuForm-D2n8sQJo.mjs +475 -0
- package/dist/{skuTable-Ahc3WlPp.mjs → skuTable-CEwT-I1Q.mjs} +208 -255
- package/dist/skuTable-D-awlXgj.mjs +592 -0
- package/dist/style.css +1 -1
- package/dts/api/goods-sku/types.d.ts +2 -2
- package/dts/api/goods-spu/types.d.ts +1 -1
- package/dts/constant.d.ts +4 -0
- package/dts/lang/goods/zh-cn.d.ts +1 -0
- package/dts/router/index.d.ts +1 -0
- package/dts/views/goods/goods-combination/edit.vue.d.ts +2 -0
- package/dts/views/goods/goods-combination/goodsList.vue.d.ts +14 -0
- package/dts/views/goods/goods-combination/index.vue.d.ts +2 -0
- package/dts/views/goods/goods-combination/info.vue.d.ts +2 -0
- package/dts/views/goods/goods-combination/skuForm.vue.d.ts +29 -0
- package/dts/views/goods/goods-combination/skuTable.vue.d.ts +40 -0
- package/package.json +61 -61
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { defineComponent as v, ref as b, onMounted as h, resolveComponent as u, openBlock as t, createElementBlock as c, createVNode as y, withCtx as m, Fragment as k, renderList as C, unref as V, createBlock as p, createCommentVNode as g } from "vue";
|
|
2
|
+
import { useRoute as B } from "vue-router";
|
|
3
|
+
import { D as i } from "./index-CqOoZ5xQ.mjs";
|
|
4
|
+
import { _ as L } from "./goodsList.vue_vue_type_script_setup_true_lang-f1Fc6pbd.mjs";
|
|
5
|
+
const N = { class: "app-container" }, E = /* @__PURE__ */ v({
|
|
6
|
+
__name: "index",
|
|
7
|
+
setup(T) {
|
|
8
|
+
const l = B();
|
|
9
|
+
i.goodsCategoryListBizLayDict.useValues();
|
|
10
|
+
const e = b(0), n = {
|
|
11
|
+
0: {},
|
|
12
|
+
1: { shelf: "true" },
|
|
13
|
+
2: { shelf: "false" }
|
|
14
|
+
};
|
|
15
|
+
function d(r) {
|
|
16
|
+
e.value = Number(r.index);
|
|
17
|
+
}
|
|
18
|
+
return h(() => {
|
|
19
|
+
l.query.activeTab && (e.value = Number(l.query.activeTab));
|
|
20
|
+
}), (r, s) => {
|
|
21
|
+
const f = u("el-tab-pane"), _ = u("el-tabs");
|
|
22
|
+
return t(), c("div", N, [
|
|
23
|
+
y(_, {
|
|
24
|
+
modelValue: e.value,
|
|
25
|
+
"onUpdate:modelValue": s[0] || (s[0] = (a) => e.value = a),
|
|
26
|
+
type: "border-card",
|
|
27
|
+
onTabClick: d
|
|
28
|
+
}, {
|
|
29
|
+
default: m(() => [
|
|
30
|
+
(t(!0), c(k, null, C(V(i).goodsSpuListSortEnum.values.slice(0, -2), (a, o) => (t(), p(f, {
|
|
31
|
+
key: o,
|
|
32
|
+
label: a.value,
|
|
33
|
+
name: o
|
|
34
|
+
}, {
|
|
35
|
+
default: m(() => [
|
|
36
|
+
e.value === o ? (t(), p(L, {
|
|
37
|
+
key: 0,
|
|
38
|
+
shelf: n[e.value].shelf,
|
|
39
|
+
"approval-status": n[e.value].approvalStatus
|
|
40
|
+
}, null, 8, ["shelf", "approval-status"])) : g("", !0)
|
|
41
|
+
]),
|
|
42
|
+
_: 2
|
|
43
|
+
}, 1032, ["label", "name"]))), 128))
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
}, 8, ["modelValue"])
|
|
47
|
+
]);
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
export {
|
|
52
|
+
E as default
|
|
53
|
+
};
|
|
@@ -3,7 +3,7 @@ import { useTableHooks as le, fileApi as D } from "jmash-core";
|
|
|
3
3
|
import { useI18n as ae } from "vue-i18n";
|
|
4
4
|
import { g as ne } from "./index-r0u-27m7.mjs";
|
|
5
5
|
import re from "./edit-DxnsmaXV.mjs";
|
|
6
|
-
import { D as de } from "./index-
|
|
6
|
+
import { D as de } from "./index-CqOoZ5xQ.mjs";
|
|
7
7
|
const se = { class: "app-container" }, ie = { class: "search-container" }, ue = ["onClick"], me = ["onClick"], ye = /* @__PURE__ */ x({
|
|
8
8
|
__name: "index",
|
|
9
9
|
setup(pe) {
|