xyvcard-goods 0.0.19 → 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-BcokSKfN.mjs +183 -0
- package/dist/{edit-E57LIt5x.mjs → edit-CkR-I5aJ.mjs} +1 -1
- package/dist/edit-DFc_TNP3.mjs +590 -0
- package/dist/edit-DxnsmaXV.mjs +186 -0
- package/dist/edit-tCGa_9Kt.mjs +507 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BHplO2tN.mjs → edit.vue_vue_type_script_setup_true_lang-BlNwikUO.mjs} +1 -1
- package/dist/{goodsList-0TMcPn_Q.mjs → goodsList-HmPAwD_C.mjs} +1 -1
- package/dist/goodsList-TX2ZnRR9.mjs +4 -0
- package/dist/goodsList.vue_vue_type_script_setup_true_lang-CGV1dm3W.mjs +714 -0
- package/dist/goodsList.vue_vue_type_script_setup_true_lang-f1Fc6pbd.mjs +576 -0
- package/dist/{index-CnyW3rxw.mjs → index-B0SXNsHW.mjs} +2 -2
- package/dist/{index-nSAowuoJ.mjs → index-BZw9XfQo.mjs} +2 -2
- package/dist/index-CqOoZ5xQ.mjs +305 -0
- package/dist/index-Ctva-XF0.mjs +318 -0
- package/dist/index-Dt3PP8dN.mjs +53 -0
- package/dist/index-VFsDup14.mjs +324 -0
- package/dist/index-jTDhsbYM.mjs +141 -0
- package/dist/index-r0u-27m7.mjs +141 -0
- package/dist/index.mjs +557 -531
- package/dist/info-BTKv0IRt.mjs +365 -0
- package/dist/info-CrghLmS4.mjs +365 -0
- package/dist/sku-B-IzfYLq.mjs +52 -0
- package/dist/skuForm-C7rF2noo.mjs +475 -0
- package/dist/{skuForm-DyYIl6H4.mjs → skuForm-D2n8sQJo.mjs} +154 -106
- package/dist/skuTable-CEwT-I1Q.mjs +592 -0
- package/dist/skuTable-D-awlXgj.mjs +592 -0
- package/dist/style.css +1 -1
- package/dts/api/dict.d.ts +6 -0
- package/dts/api/goods-brand-info/types.d.ts +4 -1
- package/dts/api/goods-label-info/types.d.ts +3 -0
- package/dts/api/goods-sku/types.d.ts +2 -0
- package/dts/api/goods-spu/types.d.ts +12 -0
- package/dts/api/index.d.ts +3 -1
- package/dts/constant.d.ts +4 -0
- package/dts/lang/goods/zh-cn.d.ts +19 -4
- 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
- package/dist/edit-B3Ripwo1.mjs +0 -437
- package/dist/edit-DEdWUJfi.mjs +0 -529
- package/dist/edit-SYuN1_Fg.mjs +0 -465
- package/dist/goodsList.vue_vue_type_script_setup_true_lang-Cd7-ryQA.mjs +0 -626
- package/dist/index-C0nlTW8F.mjs +0 -355
- package/dist/index-CmKF2zdn.mjs +0 -272
- package/dist/index-DH3UH0QC.mjs +0 -345
- package/dist/info-5OkZzwEV.mjs +0 -312
- package/dist/skuTable-B8v1DVIO.mjs +0 -543
package/dts/api/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EnumDict } from "jmash-core";
|
|
2
2
|
import { EntryDict } from "jmash-dict";
|
|
3
|
-
import { CustomBizDict, ShopInfoBizDict, SpecInfoBizDict, SpecValueBizDict, GoodsCategoryListBizLayDict } from "./dict";
|
|
3
|
+
import { CustomBizDict, ShopInfoBizDict, SpecInfoBizDict, SpecValueBizDict, GoodsCategoryListBizLayDict, BrandListBizDict, LableListBizDict } from "./dict";
|
|
4
4
|
export declare class Dict {
|
|
5
5
|
static readonly shopInfoBizDict: ShopInfoBizDict;
|
|
6
6
|
static readonly specInfoDict: SpecInfoBizDict;
|
|
@@ -13,4 +13,6 @@ export declare class Dict {
|
|
|
13
13
|
static readonly approvalStatusEnum: EnumDict;
|
|
14
14
|
static readonly enableDict: CustomBizDict;
|
|
15
15
|
static readonly goodsCategoryListBizLayDict: GoodsCategoryListBizLayDict;
|
|
16
|
+
static readonly brandListBizDict: BrandListBizDict;
|
|
17
|
+
static readonly labelListBizDict: LableListBizDict;
|
|
16
18
|
}
|
package/dts/constant.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ declare const _default: {
|
|
|
13
13
|
shelf: string;
|
|
14
14
|
price: string;
|
|
15
15
|
salePrice: string;
|
|
16
|
+
salePriceV2: string;
|
|
17
|
+
salePriceV3: string;
|
|
16
18
|
marketPrice: string;
|
|
17
19
|
costPrice: string;
|
|
18
20
|
stock: string;
|
|
@@ -40,6 +42,7 @@ declare const _default: {
|
|
|
40
42
|
specTypeRequired: string;
|
|
41
43
|
picUrlsRequired: string;
|
|
42
44
|
imageListsError: string;
|
|
45
|
+
imageListsErrors: string;
|
|
43
46
|
salePriceRequired: string;
|
|
44
47
|
marketPriceRequired: string;
|
|
45
48
|
costPriceRequired: string;
|
|
@@ -52,27 +55,39 @@ declare const _default: {
|
|
|
52
55
|
successOffShelf: string;
|
|
53
56
|
successFilled: string;
|
|
54
57
|
successApproval: string;
|
|
58
|
+
brandId: string;
|
|
59
|
+
brandIdRequired: string;
|
|
60
|
+
labelIds: string;
|
|
61
|
+
labelIdsRequired: string;
|
|
55
62
|
};
|
|
56
63
|
goodsBrandInfo: {
|
|
57
64
|
name: string;
|
|
58
|
-
tenantId: string;
|
|
59
65
|
brandId: string;
|
|
60
|
-
shopId: string;
|
|
61
66
|
brandName: string;
|
|
67
|
+
brandNameRequired: string;
|
|
62
68
|
logoUrl: string;
|
|
69
|
+
logoUrlRequired: string;
|
|
63
70
|
description: string;
|
|
71
|
+
descriptionRequired: string;
|
|
64
72
|
orderBy: string;
|
|
65
73
|
status: string;
|
|
74
|
+
statusRequired: string;
|
|
75
|
+
likeBrandName: string;
|
|
76
|
+
likeBrandNameRequired: string;
|
|
66
77
|
};
|
|
67
78
|
goodsLabelInfo: {
|
|
68
79
|
name: string;
|
|
69
|
-
|
|
70
|
-
|
|
80
|
+
likeLableName: string;
|
|
81
|
+
likeLableNameRequired: string;
|
|
71
82
|
labelName: string;
|
|
72
83
|
labelCode: string;
|
|
73
84
|
orderBy: string;
|
|
74
85
|
status: string;
|
|
86
|
+
statusRequired: string;
|
|
75
87
|
note: string;
|
|
88
|
+
labelNameRequired: string;
|
|
89
|
+
labelCodeRequired: string;
|
|
90
|
+
noteRequired: string;
|
|
76
91
|
};
|
|
77
92
|
};
|
|
78
93
|
export default _default;
|
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,29 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<globalThis.ExtractPropTypes<{
|
|
2
|
+
specType: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: () => string;
|
|
5
|
+
};
|
|
6
|
+
form: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: () => void;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
getGoodsSku: (...args: any[]) => void;
|
|
12
|
+
getFormData: (...args: any[]) => void;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
14
|
+
specType: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: () => string;
|
|
17
|
+
};
|
|
18
|
+
form: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
default: () => void;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
onGetGoodsSku?: ((...args: any[]) => any) | undefined;
|
|
24
|
+
onGetFormData?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
form: Record<string, any>;
|
|
27
|
+
specType: string;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
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,62 @@
|
|
|
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.21",
|
|
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
|
+
}
|
|
62
62
|
}
|