xyvcard-goods 0.0.20 → 0.0.22
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 +93 -0
- package/dist/{edit-Cj13W2TC.mjs → edit-Byv9oYAC.mjs} +1 -1
- package/dist/{edit-Bb2XgE0h.mjs → edit-Nuaz9WSB.mjs} +160 -244
- package/dist/edit-exVf8d8b.mjs +367 -0
- package/dist/edit.vue_vue_type_script_setup_true_lang-DuSBj1Mm.mjs +24172 -0
- package/dist/{goodsList-DOXK1EwK.mjs → goodsList-CZUqc4nm.mjs} +1 -1
- package/dist/goodsList-IWDAvKOx.mjs +4 -0
- package/dist/goodsList.vue_vue_type_script_setup_true_lang-BhJn02Ym.mjs +576 -0
- package/dist/{goodsList.vue_vue_type_script_setup_true_lang-COJVlEjX.mjs → goodsList.vue_vue_type_script_setup_true_lang-CuzIDtTN.mjs} +51 -50
- package/dist/{index-CGAoZY87.mjs → index-4i7TnWvV.mjs} +2 -3
- package/dist/index-BVGn6Q_T.mjs +53 -0
- package/dist/{index-DAJiqOCh.mjs → index-B_U2s9fI.mjs} +2 -2
- package/dist/{index-C3FT_Oe7.mjs → index-CQIttgns.mjs} +1 -1
- package/dist/{index-D3w33Nba.mjs → index-Dvaotk7B.mjs} +92 -68
- package/dist/{index-BmOxm1P2.mjs → index-_xxSoBUe.mjs} +1 -1
- package/dist/index.mjs +561 -538
- package/dist/{info-DImlMNq0.mjs → info-BH4MW3Sw.mjs} +2 -2
- package/dist/info-BQaaTFry.mjs +365 -0
- package/dist/sku-B-IzfYLq.mjs +52 -0
- package/dist/skuForm-AMIoZkH-.mjs +287 -0
- package/dist/{skuForm-Bt3arW0s.mjs → skuForm-CgjMd46J.mjs} +16 -16
- package/dist/{skuTable-Ahc3WlPp.mjs → skuTable-CyGQuTvR.mjs} +208 -255
- package/dist/skuTable-DDWSmvoz.mjs +592 -0
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +3 -0
- package/dts/api/goods-sku/types.d.ts +2 -2
- package/dts/api/goods-spu/index.d.ts +1 -0
- package/dts/api/goods-spu/types.d.ts +18 -1
- package/dts/api/index.d.ts +2 -1
- package/dts/constant.d.ts +4 -0
- package/dts/lang/goods/zh-cn.d.ts +6 -1
- 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 +20 -0
- package/dts/views/goods/goods-combination/skuTable.vue.d.ts +40 -0
- package/package.json +62 -61
- package/dist/edit.vue_vue_type_script_setup_true_lang-D2w1583D.mjs +0 -234
package/dts/constant.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
shelf: string;
|
|
14
14
|
price: string;
|
|
15
15
|
salePrice: string;
|
|
16
|
+
salePriceV1: string;
|
|
16
17
|
salePriceV2: string;
|
|
17
18
|
salePriceV3: string;
|
|
18
19
|
marketPrice: string;
|
|
@@ -21,6 +22,7 @@ declare const _default: {
|
|
|
21
22
|
weight: string;
|
|
22
23
|
volume: string;
|
|
23
24
|
saleNum: string;
|
|
25
|
+
saleNums: string;
|
|
24
26
|
specType: string;
|
|
25
27
|
approvalStatus: string;
|
|
26
28
|
batchShelf: string;
|
|
@@ -31,8 +33,10 @@ declare const _default: {
|
|
|
31
33
|
updateTime: string;
|
|
32
34
|
shopIdRequired: string;
|
|
33
35
|
spuNameRequired: string;
|
|
36
|
+
spuNameRequireds: string;
|
|
34
37
|
freightAmountRequired: string;
|
|
35
38
|
saleNumRequired: string;
|
|
39
|
+
saleNumRequireds: string;
|
|
36
40
|
sellPointRequired: string;
|
|
37
41
|
categoryIdRequired: string;
|
|
38
42
|
spuCodeRequired: string;
|
|
@@ -41,8 +45,9 @@ declare const _default: {
|
|
|
41
45
|
shelfRequired: string;
|
|
42
46
|
specTypeRequired: string;
|
|
43
47
|
picUrlsRequired: string;
|
|
44
|
-
|
|
48
|
+
imageListsErrors: string;
|
|
45
49
|
salePriceRequired: string;
|
|
50
|
+
salePriceV1Required: string;
|
|
46
51
|
marketPriceRequired: string;
|
|
47
52
|
costPriceRequired: string;
|
|
48
53
|
stockRequired: string;
|
package/dts/router/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { RouteRecordRaw } from "vue-router";
|
|
2
2
|
export declare const goodsSpuEdit: () => Promise<typeof import("@/views/goods/goods-spu/edit.vue")>;
|
|
3
3
|
export declare const goodsSpuInfo: () => Promise<typeof import("@/views/goods/goods-spu/info.vue")>;
|
|
4
|
+
export declare const goodsCombinationEdit: () => Promise<typeof import("@/views/goods/goods-combination/edit.vue")>;
|
|
4
5
|
export declare const goodsRoutes: RouteRecordRaw[];
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
shelf: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: () => string;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
7
|
+
shelf: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: () => string;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
|
+
shelf: string;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
form: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: () => void;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
getGoodsSku: (...args: any[]) => void;
|
|
8
|
+
getFormData: (...args: any[]) => void;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
10
|
+
form: {
|
|
11
|
+
type: ObjectConstructor;
|
|
12
|
+
default: () => void;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{
|
|
15
|
+
onGetGoodsSku?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
onGetFormData?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
form: Record<string, any>;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { GoodsSkuCreateReq, SkuSpecValueModel } from "@/api/goods-spu/types";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
4
|
+
specData: {
|
|
5
|
+
type: PropType<SkuSpecValueModel[]>;
|
|
6
|
+
default(): never[];
|
|
7
|
+
};
|
|
8
|
+
goodsSku: {
|
|
9
|
+
type: PropType<GoodsSkuCreateReq[]>;
|
|
10
|
+
default(): never[];
|
|
11
|
+
};
|
|
12
|
+
isSettingShow: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
getGoodsSku: (...args: any[]) => void;
|
|
18
|
+
getFormData: (...args: any[]) => void;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
20
|
+
specData: {
|
|
21
|
+
type: PropType<SkuSpecValueModel[]>;
|
|
22
|
+
default(): never[];
|
|
23
|
+
};
|
|
24
|
+
goodsSku: {
|
|
25
|
+
type: PropType<GoodsSkuCreateReq[]>;
|
|
26
|
+
default(): never[];
|
|
27
|
+
};
|
|
28
|
+
isSettingShow: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>> & Readonly<{
|
|
33
|
+
onGetGoodsSku?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
onGetFormData?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
specData: SkuSpecValueModel[];
|
|
37
|
+
goodsSku: GoodsSkuCreateReq[];
|
|
38
|
+
isSettingShow: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,62 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "xyvcard-goods",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"private": false,
|
|
5
|
-
"module": "dist/index.mjs",
|
|
6
|
-
"types": "dts/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"dts"
|
|
10
|
-
],
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "xyvcard-goods",
|
|
3
|
+
"version": "0.0.22",
|
|
4
|
+
"private": false,
|
|
5
|
+
"module": "dist/index.mjs",
|
|
6
|
+
"types": "dts/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"dts"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"dev": "vite --host",
|
|
13
|
+
"build": "vite build && pnpm build:dts",
|
|
14
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
15
|
+
"preview": "vite preview",
|
|
16
|
+
"build-only": "vite build",
|
|
17
|
+
"type-check": "vue-tsc --build --force",
|
|
18
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
19
|
+
"format": "prettier --write src/"
|
|
20
|
+
},
|
|
21
|
+
"peerDependencies": {
|
|
22
|
+
"axios": "^1.9.0",
|
|
23
|
+
"element-plus": "^2.9.10",
|
|
24
|
+
"jmash-core": "^0.1.7",
|
|
25
|
+
"jmash-dict": "^0.1.1",
|
|
26
|
+
"jmash-rbac": "^0.1.16",
|
|
27
|
+
"pinia": "^2.3.1",
|
|
28
|
+
"vue": "^3.5.13",
|
|
29
|
+
"vue-i18n": "^9.14.1",
|
|
30
|
+
"vue-router": "^4.5.1",
|
|
31
|
+
"xyvcard-emall": "^0.0.22",
|
|
32
|
+
"xyvcard-shop": "^0.0.29",
|
|
33
|
+
"xyvcard-cms": "0.0.51"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@eslint/js": "^9.16.0",
|
|
37
|
+
"@tsconfig/node20": "^20.1.2",
|
|
38
|
+
"@types/node": "^20.11.10",
|
|
39
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
40
|
+
"@vue/tsconfig": "^0.5.1",
|
|
41
|
+
"eslint": "^9.16.0",
|
|
42
|
+
"eslint-plugin-vue": "^9.32.0",
|
|
43
|
+
"globals": "^15.13.0",
|
|
44
|
+
"moment": "^2.30.1",
|
|
45
|
+
"npm-run-all2": "^6.1.1",
|
|
46
|
+
"prettier": "^3.0.3",
|
|
47
|
+
"sass": "^1.72.0",
|
|
48
|
+
"typescript": "~5.3.0",
|
|
49
|
+
"typescript-eslint": "^8.17.0",
|
|
50
|
+
"unplugin-auto-import": "^0.17.5",
|
|
51
|
+
"unplugin-vue-components": "^0.26.0",
|
|
52
|
+
"vite": "^5.0.11",
|
|
53
|
+
"vue-tsc": "^1.8.27"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
57
|
+
"@vueuse/core": "^10.9.0",
|
|
58
|
+
"file-saver": "^2.0.5",
|
|
59
|
+
"nprogress": "^0.2.0",
|
|
60
|
+
"qs": "^6.12.0",
|
|
61
|
+
"pinyin-pro": "^3.25.0"
|
|
62
|
+
}
|
|
62
63
|
}
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import { defineComponent as F, mergeModels as V, ref as h, reactive as v, useModel as O, onMounted as E, resolveComponent as n, openBlock as A, createBlock as T, withCtx as l, createElementVNode as G, createVNode as e, createTextVNode as w, toDisplayString as I, unref as r } from "vue";
|
|
2
|
-
import { ElMessage as U } from "element-plus";
|
|
3
|
-
import { useI18n as H } from "vue-i18n";
|
|
4
|
-
import { D as q, g as N } from "./index-D3w33Nba.mjs";
|
|
5
|
-
const J = { class: "dialog-footer" }, Y = /* @__PURE__ */ F({
|
|
6
|
-
__name: "edit",
|
|
7
|
-
props: /* @__PURE__ */ V({
|
|
8
|
-
entityKey: {
|
|
9
|
-
type: Object,
|
|
10
|
-
default: () => {
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}, {
|
|
14
|
-
modelValue: { type: Boolean },
|
|
15
|
-
modelModifiers: {}
|
|
16
|
-
}),
|
|
17
|
-
emits: /* @__PURE__ */ V(["refresh"], ["update:modelValue"]),
|
|
18
|
-
setup(g, { emit: $ }) {
|
|
19
|
-
var C;
|
|
20
|
-
const { t: u } = H(), y = h();
|
|
21
|
-
let o = v({
|
|
22
|
-
requestId: Math.random() * 10 + "",
|
|
23
|
-
updateMask: "categoryName,parentId,picUrl,description"
|
|
24
|
-
});
|
|
25
|
-
const R = v({
|
|
26
|
-
categoryName: [
|
|
27
|
-
{
|
|
28
|
-
required: !0,
|
|
29
|
-
message: u("goodsCategory.categoryNameRequired"),
|
|
30
|
-
trigger: "blur"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
categoryCode: [
|
|
34
|
-
{
|
|
35
|
-
required: !0,
|
|
36
|
-
message: u("goodsCategory.categoryCodeRequired"),
|
|
37
|
-
trigger: "blur"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
picUrl: [
|
|
41
|
-
{
|
|
42
|
-
required: !0,
|
|
43
|
-
message: u("goodsCategory.picUrlRequired"),
|
|
44
|
-
trigger: "change"
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
}), i = O(g, "modelValue"), p = g, k = Object.keys(p.entityKey), D = h(k.length >= 1);
|
|
48
|
-
E(() => {
|
|
49
|
-
q.goodsCategoryListBizLayDict.useValues();
|
|
50
|
-
});
|
|
51
|
-
const f = $;
|
|
52
|
-
(C = p.entityKey) != null && C.categoryId && (o = Object.assign(o, p.entityKey), o.parentId === "00000000-0000-0000-0000-000000000000" && (o.parentId = ""));
|
|
53
|
-
const M = async () => {
|
|
54
|
-
var t;
|
|
55
|
-
await ((t = y.value) == null ? void 0 : t.validate((a) => {
|
|
56
|
-
a && (o.categoryId ? N.update(o).then((d) => {
|
|
57
|
-
d.status === 200 && (U({
|
|
58
|
-
message: u("common.submitSuccess"),
|
|
59
|
-
type: "success"
|
|
60
|
-
}), i.value && (i.value = !1), f("refresh", d.status === 200));
|
|
61
|
-
}) : N.create(o).then((d) => {
|
|
62
|
-
d.status === 200 && (U({
|
|
63
|
-
message: u("common.submitSuccess"),
|
|
64
|
-
type: "success"
|
|
65
|
-
}), i.value && (i.value = !1), f("refresh", d.status === 200));
|
|
66
|
-
}));
|
|
67
|
-
}));
|
|
68
|
-
};
|
|
69
|
-
function _() {
|
|
70
|
-
i.value && (i.value = !1);
|
|
71
|
-
}
|
|
72
|
-
function j(t) {
|
|
73
|
-
o.picUrl = t;
|
|
74
|
-
}
|
|
75
|
-
return (t, a) => {
|
|
76
|
-
const d = n("el-input"), m = n("el-form-item"), c = n("el-col"), B = n("el-tree-select"), S = n("jmash-single-image-upload"), K = n("el-row"), L = n("el-form"), b = n("el-button"), z = n("el-dialog");
|
|
77
|
-
return A(), T(z, {
|
|
78
|
-
modelValue: i.value,
|
|
79
|
-
"onUpdate:modelValue": a[4] || (a[4] = (s) => i.value = s),
|
|
80
|
-
onClose: _
|
|
81
|
-
}, {
|
|
82
|
-
footer: l(() => [
|
|
83
|
-
G("div", J, [
|
|
84
|
-
e(b, { onClick: _ }, {
|
|
85
|
-
default: l(() => [
|
|
86
|
-
w(I(t.$t("common.cancel")), 1)
|
|
87
|
-
]),
|
|
88
|
-
_: 1
|
|
89
|
-
}),
|
|
90
|
-
e(b, {
|
|
91
|
-
type: "primary",
|
|
92
|
-
onClick: M
|
|
93
|
-
}, {
|
|
94
|
-
default: l(() => [
|
|
95
|
-
w(I(t.$t("common.confirm")), 1)
|
|
96
|
-
]),
|
|
97
|
-
_: 1
|
|
98
|
-
})
|
|
99
|
-
])
|
|
100
|
-
]),
|
|
101
|
-
default: l(() => [
|
|
102
|
-
e(L, {
|
|
103
|
-
ref_key: "goodsCategoryFormRef",
|
|
104
|
-
ref: y,
|
|
105
|
-
model: r(o),
|
|
106
|
-
"label-width": "120px",
|
|
107
|
-
rules: R
|
|
108
|
-
}, {
|
|
109
|
-
default: l(() => [
|
|
110
|
-
e(K, null, {
|
|
111
|
-
default: l(() => [
|
|
112
|
-
e(c, { span: 24 }, {
|
|
113
|
-
default: l(() => [
|
|
114
|
-
e(m, {
|
|
115
|
-
label: t.$t("goodsCategory.categoryName"),
|
|
116
|
-
prop: "categoryName"
|
|
117
|
-
}, {
|
|
118
|
-
default: l(() => [
|
|
119
|
-
e(d, {
|
|
120
|
-
modelValue: r(o).categoryName,
|
|
121
|
-
"onUpdate:modelValue": a[0] || (a[0] = (s) => r(o).categoryName = s),
|
|
122
|
-
placeholder: t.$t("goodsCategory.categoryNameRequired"),
|
|
123
|
-
maxlength: "60",
|
|
124
|
-
"show-word-limit": "",
|
|
125
|
-
clearable: ""
|
|
126
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
127
|
-
]),
|
|
128
|
-
_: 1
|
|
129
|
-
}, 8, ["label"])
|
|
130
|
-
]),
|
|
131
|
-
_: 1
|
|
132
|
-
}),
|
|
133
|
-
e(c, { span: 24 }, {
|
|
134
|
-
default: l(() => [
|
|
135
|
-
e(m, {
|
|
136
|
-
label: t.$t("goodsCategory.categoryCode"),
|
|
137
|
-
prop: "categoryCode"
|
|
138
|
-
}, {
|
|
139
|
-
default: l(() => [
|
|
140
|
-
e(d, {
|
|
141
|
-
modelValue: r(o).categoryCode,
|
|
142
|
-
"onUpdate:modelValue": a[1] || (a[1] = (s) => r(o).categoryCode = s),
|
|
143
|
-
disabled: D.value,
|
|
144
|
-
placeholder: t.$t("goodsCategory.categoryCodeRequired"),
|
|
145
|
-
maxlength: "30",
|
|
146
|
-
"show-word-limit": "",
|
|
147
|
-
clearable: ""
|
|
148
|
-
}, null, 8, ["modelValue", "disabled", "placeholder"])
|
|
149
|
-
]),
|
|
150
|
-
_: 1
|
|
151
|
-
}, 8, ["label"])
|
|
152
|
-
]),
|
|
153
|
-
_: 1
|
|
154
|
-
}),
|
|
155
|
-
e(c, { span: 24 }, {
|
|
156
|
-
default: l(() => [
|
|
157
|
-
e(m, {
|
|
158
|
-
label: t.$t("goodsCategory.parentId"),
|
|
159
|
-
prop: "parentId"
|
|
160
|
-
}, {
|
|
161
|
-
default: l(() => [
|
|
162
|
-
e(B, {
|
|
163
|
-
modelValue: r(o).parentId,
|
|
164
|
-
"onUpdate:modelValue": a[2] || (a[2] = (s) => r(o).parentId = s),
|
|
165
|
-
data: r(q).goodsCategoryListBizLayDict.values,
|
|
166
|
-
filterable: "",
|
|
167
|
-
clearable: "",
|
|
168
|
-
"check-strictly": "",
|
|
169
|
-
"render-after-expand": !1,
|
|
170
|
-
placeholder: t.$t("goodsCategory.parentIdRequired")
|
|
171
|
-
}, null, 8, ["modelValue", "data", "placeholder"])
|
|
172
|
-
]),
|
|
173
|
-
_: 1
|
|
174
|
-
}, 8, ["label"])
|
|
175
|
-
]),
|
|
176
|
-
_: 1
|
|
177
|
-
}),
|
|
178
|
-
e(c, { span: 24 }, {
|
|
179
|
-
default: l(() => [
|
|
180
|
-
e(m, {
|
|
181
|
-
label: t.$t("goodsCategory.picUrl"),
|
|
182
|
-
prop: "picUrl"
|
|
183
|
-
}, {
|
|
184
|
-
default: l(() => [
|
|
185
|
-
e(S, {
|
|
186
|
-
"picture-url": r(o).picUrl,
|
|
187
|
-
onImageSrc: j,
|
|
188
|
-
width: 80,
|
|
189
|
-
type: "trans"
|
|
190
|
-
}, null, 8, ["picture-url"])
|
|
191
|
-
]),
|
|
192
|
-
_: 1
|
|
193
|
-
}, 8, ["label"])
|
|
194
|
-
]),
|
|
195
|
-
_: 1
|
|
196
|
-
}),
|
|
197
|
-
e(c, { span: 24 }, {
|
|
198
|
-
default: l(() => [
|
|
199
|
-
e(m, {
|
|
200
|
-
label: t.$t("goodsCategory.description"),
|
|
201
|
-
prop: "description"
|
|
202
|
-
}, {
|
|
203
|
-
default: l(() => [
|
|
204
|
-
e(d, {
|
|
205
|
-
modelValue: r(o).description,
|
|
206
|
-
"onUpdate:modelValue": a[3] || (a[3] = (s) => r(o).description = s),
|
|
207
|
-
type: "textarea",
|
|
208
|
-
autosize: { minRows: 2 },
|
|
209
|
-
maxlength: "200",
|
|
210
|
-
"show-word-limit": "",
|
|
211
|
-
placeholder: t.$t("goodsCategory.descriptionRequired"),
|
|
212
|
-
clearable: ""
|
|
213
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
214
|
-
]),
|
|
215
|
-
_: 1
|
|
216
|
-
}, 8, ["label"])
|
|
217
|
-
]),
|
|
218
|
-
_: 1
|
|
219
|
-
})
|
|
220
|
-
]),
|
|
221
|
-
_: 1
|
|
222
|
-
})
|
|
223
|
-
]),
|
|
224
|
-
_: 1
|
|
225
|
-
}, 8, ["model", "rules"])
|
|
226
|
-
]),
|
|
227
|
-
_: 1
|
|
228
|
-
}, 8, ["modelValue"]);
|
|
229
|
-
};
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
export {
|
|
233
|
-
Y as _
|
|
234
|
-
};
|