xyvcard-goods 0.0.19 → 0.0.20
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-Bb2XgE0h.mjs +590 -0
- package/dist/edit-BcokSKfN.mjs +183 -0
- package/dist/{edit-E57LIt5x.mjs → edit-Cj13W2TC.mjs} +1 -1
- package/dist/edit-DxnsmaXV.mjs +186 -0
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BHplO2tN.mjs → edit.vue_vue_type_script_setup_true_lang-D2w1583D.mjs} +1 -1
- package/dist/{goodsList-0TMcPn_Q.mjs → goodsList-DOXK1EwK.mjs} +1 -1
- package/dist/goodsList.vue_vue_type_script_setup_true_lang-COJVlEjX.mjs +713 -0
- package/dist/index-BmOxm1P2.mjs +324 -0
- package/dist/index-C3FT_Oe7.mjs +318 -0
- package/dist/{index-CnyW3rxw.mjs → index-CGAoZY87.mjs} +2 -2
- package/dist/index-D3w33Nba.mjs +301 -0
- package/dist/{index-nSAowuoJ.mjs → index-DAJiqOCh.mjs} +2 -2
- package/dist/index-jTDhsbYM.mjs +141 -0
- package/dist/index-r0u-27m7.mjs +141 -0
- package/dist/index.mjs +163 -149
- package/dist/info-DImlMNq0.mjs +365 -0
- package/dist/{skuForm-DyYIl6H4.mjs → skuForm-Bt3arW0s.mjs} +154 -106
- package/dist/skuTable-Ahc3WlPp.mjs +639 -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/lang/goods/zh-cn.d.ts +18 -4
- package/package.json +2 -2
- 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
|
@@ -10,6 +10,9 @@ export interface GoodsSpuReq extends EntityReq {
|
|
|
10
10
|
hasApproval?: boolean;
|
|
11
11
|
shelf?: string;
|
|
12
12
|
hasShelf?: boolean;
|
|
13
|
+
categoryIds?: Array<string>;
|
|
14
|
+
labelIds?: Array<string>;
|
|
15
|
+
brandId?: string;
|
|
13
16
|
}
|
|
14
17
|
export interface GoodsSpuModel extends EntityModel {
|
|
15
18
|
spuId?: string;
|
|
@@ -28,6 +31,9 @@ export interface GoodsSpuModel extends EntityModel {
|
|
|
28
31
|
skuList?: GoodsSkuList;
|
|
29
32
|
ensureIds?: Array<string>;
|
|
30
33
|
categoryIds?: Array<string>;
|
|
34
|
+
brandId?: string;
|
|
35
|
+
labelIds?: Array<string>;
|
|
36
|
+
salePriceV2?: number;
|
|
31
37
|
}
|
|
32
38
|
export interface GoodsSpuList extends EntityList {
|
|
33
39
|
results: Array<GoodsSpuModel>;
|
|
@@ -65,6 +71,8 @@ export interface GoodsSpuCreateReq extends EntityCreateReq {
|
|
|
65
71
|
specId?: Array<string>;
|
|
66
72
|
skuSpecValues: Array<GoodsSkuModel>;
|
|
67
73
|
categoryIds?: Array<string>;
|
|
74
|
+
brandId?: string;
|
|
75
|
+
labelIds?: Array<string>;
|
|
68
76
|
}
|
|
69
77
|
export interface GoodsSpuUpdateReq extends EntityUpdateReq {
|
|
70
78
|
spuId?: string;
|
|
@@ -84,6 +92,8 @@ export interface GoodsSpuUpdateReq extends EntityUpdateReq {
|
|
|
84
92
|
specId?: Array<string>;
|
|
85
93
|
skuSpecValues: Array<GoodsSkuModel>;
|
|
86
94
|
categoryIds?: Array<string>;
|
|
95
|
+
brandId?: string;
|
|
96
|
+
labelIds?: Array<string>;
|
|
87
97
|
}
|
|
88
98
|
export type GoodsSpuFormReq = GoodsSpuCreateReq | GoodsSpuUpdateReq;
|
|
89
99
|
export interface GoodsSpuEnableKey {
|
|
@@ -94,6 +104,8 @@ export interface GoodsSpuEnableKey {
|
|
|
94
104
|
export interface GoodsSkuCreateReq {
|
|
95
105
|
picUrl?: string;
|
|
96
106
|
salePrice?: number;
|
|
107
|
+
salePriceV2?: number;
|
|
108
|
+
salePriceV3?: number;
|
|
97
109
|
marketPrice?: number;
|
|
98
110
|
costPrice?: number;
|
|
99
111
|
weight?: number;
|
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
|
}
|
|
@@ -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;
|
|
@@ -52,27 +54,39 @@ declare const _default: {
|
|
|
52
54
|
successOffShelf: string;
|
|
53
55
|
successFilled: string;
|
|
54
56
|
successApproval: string;
|
|
57
|
+
brandId: string;
|
|
58
|
+
brandIdRequired: string;
|
|
59
|
+
labelIds: string;
|
|
60
|
+
labelIdsRequired: string;
|
|
55
61
|
};
|
|
56
62
|
goodsBrandInfo: {
|
|
57
63
|
name: string;
|
|
58
|
-
tenantId: string;
|
|
59
64
|
brandId: string;
|
|
60
|
-
shopId: string;
|
|
61
65
|
brandName: string;
|
|
66
|
+
brandNameRequired: string;
|
|
62
67
|
logoUrl: string;
|
|
68
|
+
logoUrlRequired: string;
|
|
63
69
|
description: string;
|
|
70
|
+
descriptionRequired: string;
|
|
64
71
|
orderBy: string;
|
|
65
72
|
status: string;
|
|
73
|
+
statusRequired: string;
|
|
74
|
+
likeBrandName: string;
|
|
75
|
+
likeBrandNameRequired: string;
|
|
66
76
|
};
|
|
67
77
|
goodsLabelInfo: {
|
|
68
78
|
name: string;
|
|
69
|
-
|
|
70
|
-
|
|
79
|
+
likeLableName: string;
|
|
80
|
+
likeLableNameRequired: string;
|
|
71
81
|
labelName: string;
|
|
72
82
|
labelCode: string;
|
|
73
83
|
orderBy: string;
|
|
74
84
|
status: string;
|
|
85
|
+
statusRequired: string;
|
|
75
86
|
note: string;
|
|
87
|
+
labelNameRequired: string;
|
|
88
|
+
labelCodeRequired: string;
|
|
89
|
+
noteRequired: string;
|
|
76
90
|
};
|
|
77
91
|
};
|
|
78
92
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "xyvcard-goods",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"private": false,
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dts/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"qs": "^6.12.0"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
|
-
"dev": "vite",
|
|
53
|
+
"dev": "vite --host",
|
|
54
54
|
"build": "vite build && pnpm build:dts",
|
|
55
55
|
"build:dts": "vue-tsc --declaration --emitDeclarationOnly",
|
|
56
56
|
"preview": "vite preview",
|
package/dist/edit-B3Ripwo1.mjs
DELETED
|
@@ -1,437 +0,0 @@
|
|
|
1
|
-
import { defineComponent as D, mergeModels as $, ref as C, reactive as B, useModel as F, resolveComponent as _, openBlock as O, createBlock as K, withCtx as n, createElementVNode as A, createVNode as l, createTextVNode as k, toDisplayString as N, unref as m } from "vue";
|
|
2
|
-
import { ElMessage as U } from "element-plus";
|
|
3
|
-
import { useI18n as R } from "vue-i18n";
|
|
4
|
-
import { useUserStore as g, clearEmpty as b, request as i } from "jmash-core";
|
|
5
|
-
import { q as M } from "./index-DR7GlHNd.mjs";
|
|
6
|
-
import { _ as z } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
7
|
-
class G {
|
|
8
|
-
getKey(e) {
|
|
9
|
-
return {
|
|
10
|
-
labelId: e.labelId
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
// 查询翻页信息标签管理
|
|
14
|
-
findPage(e) {
|
|
15
|
-
const o = g().user.tenant;
|
|
16
|
-
return b(e), i({
|
|
17
|
-
url: "/v1/goods/goods_label_info/page/" + o,
|
|
18
|
-
method: "get",
|
|
19
|
-
params: e
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
// 查询列表信息标签管理
|
|
23
|
-
findList(e) {
|
|
24
|
-
const o = g().user.tenant;
|
|
25
|
-
return b(e), i({
|
|
26
|
-
url: "/v1/goods/goods_label_info/list/" + o,
|
|
27
|
-
method: "get",
|
|
28
|
-
params: e
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
// 查询标签管理
|
|
32
|
-
findById(e) {
|
|
33
|
-
const o = g().user.tenant;
|
|
34
|
-
return b(e), i({
|
|
35
|
-
url: "/v1/goods/goods_label_info/id/" + o + "/" + e.labelId,
|
|
36
|
-
method: "get"
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
// 创建实体标签管理
|
|
40
|
-
create(e) {
|
|
41
|
-
return e.tenant = g().user.tenant, b(e), i({
|
|
42
|
-
url: "/v1/goods/goods_label_info",
|
|
43
|
-
method: "post",
|
|
44
|
-
data: e
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
// 修改实体标签管理
|
|
48
|
-
update(e) {
|
|
49
|
-
return e.tenant = g().user.tenant, b(e), i({
|
|
50
|
-
url: "/v1/goods/goods_label_info",
|
|
51
|
-
method: "patch",
|
|
52
|
-
data: e
|
|
53
|
-
});
|
|
54
|
-
}
|
|
55
|
-
// 上移下移
|
|
56
|
-
move(e, o) {
|
|
57
|
-
const s = { ...e };
|
|
58
|
-
return s.tenant = g().user.tenant, s.up = o, b(s), i({
|
|
59
|
-
url: "/v1/goods/goods_label_info/move",
|
|
60
|
-
method: "put",
|
|
61
|
-
data: s
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
// 启用/禁用
|
|
65
|
-
enable(e, o) {
|
|
66
|
-
const s = { ...e };
|
|
67
|
-
return s.tenant = g().user.tenant, s.enable = o, b(s), i({
|
|
68
|
-
url: "/v1/goods/goods_label_info/enable",
|
|
69
|
-
method: "put",
|
|
70
|
-
data: s
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
// 删除标签管理
|
|
74
|
-
delete(e) {
|
|
75
|
-
return e.tenant = g().user.tenant, b(e), i({
|
|
76
|
-
url: "/v1/goods/goods_label_info/id",
|
|
77
|
-
method: "delete",
|
|
78
|
-
params: e
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
// 批量删除标签管理
|
|
82
|
-
batchDelete(e) {
|
|
83
|
-
const o = e.map((a) => a.labelId), s = {
|
|
84
|
-
tenant: g().user.tenant,
|
|
85
|
-
labelId: o
|
|
86
|
-
};
|
|
87
|
-
return b(s), i({
|
|
88
|
-
url: "/v1/goods/goods_label_info/batch",
|
|
89
|
-
method: "put",
|
|
90
|
-
data: s
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
// 下载导入模板标签管理
|
|
94
|
-
downloadTemplate() {
|
|
95
|
-
const e = g().user.tenant;
|
|
96
|
-
return i({
|
|
97
|
-
url: "/v1/goods/goods_label_info/" + e + "/template.xlsx",
|
|
98
|
-
method: "get",
|
|
99
|
-
responseType: "blob",
|
|
100
|
-
params: {
|
|
101
|
-
tenant: g().user.tenant
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
// 导入标签管理
|
|
106
|
-
importExcel(e) {
|
|
107
|
-
return e.tenant = g().user.tenant, b(e), i({
|
|
108
|
-
url: "/v1/goods/goods_label_info/import",
|
|
109
|
-
method: "patch",
|
|
110
|
-
data: e
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
// 导出标签管理Excel文件
|
|
114
|
-
exportExcel(e) {
|
|
115
|
-
const o = g().user.tenant;
|
|
116
|
-
b(e);
|
|
117
|
-
const s = M.stringify(e, {
|
|
118
|
-
arrayFormat: "brackets",
|
|
119
|
-
allowDots: !0
|
|
120
|
-
});
|
|
121
|
-
return i({
|
|
122
|
-
url: "/v1/goods/goods_label_info/" + o + "/goods_label_infos.xlsx?" + s,
|
|
123
|
-
method: "get",
|
|
124
|
-
responseType: "blob"
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
// 打印标签管理PDF文件
|
|
128
|
-
exportPdf(e) {
|
|
129
|
-
const o = g().user.tenant;
|
|
130
|
-
b(e);
|
|
131
|
-
const s = M.stringify(e, {
|
|
132
|
-
arrayFormat: "brackets",
|
|
133
|
-
allowDots: !0
|
|
134
|
-
});
|
|
135
|
-
return i({
|
|
136
|
-
url: "/v1/goods/goods_label_info/" + o + "/goods_label_infos.pdf?" + s,
|
|
137
|
-
method: "get",
|
|
138
|
-
responseType: "blob"
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
const h = new G(), P = { class: "dialog-footer" }, H = /* @__PURE__ */ D({
|
|
143
|
-
__name: "edit",
|
|
144
|
-
props: /* @__PURE__ */ $({
|
|
145
|
-
entityKey: {
|
|
146
|
-
type: Object,
|
|
147
|
-
default: () => {
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}, {
|
|
151
|
-
modelValue: { type: Boolean },
|
|
152
|
-
modelModifiers: {}
|
|
153
|
-
}),
|
|
154
|
-
emits: /* @__PURE__ */ $(["refresh"], ["update:modelValue"]),
|
|
155
|
-
setup(I, { emit: e }) {
|
|
156
|
-
const { t: o } = R(), s = C();
|
|
157
|
-
let a = B({
|
|
158
|
-
requestId: Math.random() * 10 + "",
|
|
159
|
-
updateMask: ""
|
|
160
|
-
});
|
|
161
|
-
const q = B({
|
|
162
|
-
tenantId: [
|
|
163
|
-
{
|
|
164
|
-
required: !0,
|
|
165
|
-
message: o("goodsLabelInfo.tenantId"),
|
|
166
|
-
trigger: "change"
|
|
167
|
-
}
|
|
168
|
-
],
|
|
169
|
-
labelId: [
|
|
170
|
-
{
|
|
171
|
-
required: !0,
|
|
172
|
-
message: o("goodsLabelInfo.labelId"),
|
|
173
|
-
trigger: "change"
|
|
174
|
-
}
|
|
175
|
-
],
|
|
176
|
-
labelName: [
|
|
177
|
-
{
|
|
178
|
-
required: !0,
|
|
179
|
-
message: o("goodsLabelInfo.labelName"),
|
|
180
|
-
trigger: "change"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
|
-
labelCode: [
|
|
184
|
-
{
|
|
185
|
-
required: !0,
|
|
186
|
-
message: o("goodsLabelInfo.labelCode"),
|
|
187
|
-
trigger: "change"
|
|
188
|
-
}
|
|
189
|
-
],
|
|
190
|
-
orderBy: [
|
|
191
|
-
{
|
|
192
|
-
required: !0,
|
|
193
|
-
message: o("goodsLabelInfo.orderBy"),
|
|
194
|
-
trigger: "change"
|
|
195
|
-
}
|
|
196
|
-
],
|
|
197
|
-
status: [
|
|
198
|
-
{
|
|
199
|
-
required: !0,
|
|
200
|
-
message: o("goodsLabelInfo.status"),
|
|
201
|
-
trigger: "change"
|
|
202
|
-
}
|
|
203
|
-
],
|
|
204
|
-
note: [
|
|
205
|
-
{
|
|
206
|
-
required: !0,
|
|
207
|
-
message: o("goodsLabelInfo.note"),
|
|
208
|
-
trigger: "change"
|
|
209
|
-
}
|
|
210
|
-
]
|
|
211
|
-
}), f = F(I, "modelValue"), v = I, y = e, E = Object.keys(v.entityKey), V = C(E.length >= 1);
|
|
212
|
-
V.value && h.findById(v.entityKey).then(({ data: t }) => {
|
|
213
|
-
Object.assign(a, t);
|
|
214
|
-
});
|
|
215
|
-
const S = async () => {
|
|
216
|
-
var t;
|
|
217
|
-
await ((t = s.value) == null ? void 0 : t.validate((d) => {
|
|
218
|
-
d && (V.value ? h.update(a).then((r) => {
|
|
219
|
-
console.log(r), r.status === 200 && (U({
|
|
220
|
-
message: o("common.submitSuccess"),
|
|
221
|
-
type: "success"
|
|
222
|
-
}), f.value && (f.value = !1), y("refresh", r.status === 200));
|
|
223
|
-
}) : h.create(a).then((r) => {
|
|
224
|
-
console.log(r), r.status === 200 && (U({
|
|
225
|
-
message: o("common.submitSuccess"),
|
|
226
|
-
type: "success"
|
|
227
|
-
}), f.value && (f.value = !1), y("refresh", r.status === 200));
|
|
228
|
-
}));
|
|
229
|
-
}));
|
|
230
|
-
};
|
|
231
|
-
function L() {
|
|
232
|
-
f.value && (f.value = !1);
|
|
233
|
-
}
|
|
234
|
-
return (t, d) => {
|
|
235
|
-
const r = _("el-input"), p = _("el-form-item"), c = _("el-col"), T = _("el-row"), j = _("el-form"), w = _("el-button"), x = _("el-dialog");
|
|
236
|
-
return O(), K(x, {
|
|
237
|
-
modelValue: f.value,
|
|
238
|
-
"onUpdate:modelValue": d[7] || (d[7] = (u) => f.value = u),
|
|
239
|
-
onClose: L
|
|
240
|
-
}, {
|
|
241
|
-
footer: n(() => [
|
|
242
|
-
A("div", P, [
|
|
243
|
-
l(w, { onClick: L }, {
|
|
244
|
-
default: n(() => [
|
|
245
|
-
k(N(t.$t("common.cancel")), 1)
|
|
246
|
-
]),
|
|
247
|
-
_: 1
|
|
248
|
-
}),
|
|
249
|
-
l(w, {
|
|
250
|
-
type: "primary",
|
|
251
|
-
onClick: S
|
|
252
|
-
}, {
|
|
253
|
-
default: n(() => [
|
|
254
|
-
k(N(t.$t("common.confirm")), 1)
|
|
255
|
-
]),
|
|
256
|
-
_: 1
|
|
257
|
-
})
|
|
258
|
-
])
|
|
259
|
-
]),
|
|
260
|
-
default: n(() => [
|
|
261
|
-
l(j, {
|
|
262
|
-
ref_key: "goodsLabelInfoFormRef",
|
|
263
|
-
ref: s,
|
|
264
|
-
model: m(a),
|
|
265
|
-
"label-width": "120px",
|
|
266
|
-
rules: q
|
|
267
|
-
}, {
|
|
268
|
-
default: n(() => [
|
|
269
|
-
l(T, null, {
|
|
270
|
-
default: n(() => [
|
|
271
|
-
l(c, { span: 12 }, {
|
|
272
|
-
default: n(() => [
|
|
273
|
-
l(p, {
|
|
274
|
-
label: t.$t("goodsLabelInfo.tenantId"),
|
|
275
|
-
prop: "tenantId"
|
|
276
|
-
}, {
|
|
277
|
-
default: n(() => [
|
|
278
|
-
l(r, {
|
|
279
|
-
modelValue: m(a).tenantId,
|
|
280
|
-
"onUpdate:modelValue": d[0] || (d[0] = (u) => m(a).tenantId = u),
|
|
281
|
-
placeholder: t.$t("goodsLabelInfo.tenantId"),
|
|
282
|
-
maxlength: "16",
|
|
283
|
-
"show-word-limit": "",
|
|
284
|
-
clearable: ""
|
|
285
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
286
|
-
]),
|
|
287
|
-
_: 1
|
|
288
|
-
}, 8, ["label"])
|
|
289
|
-
]),
|
|
290
|
-
_: 1
|
|
291
|
-
}),
|
|
292
|
-
l(c, { span: 12 }, {
|
|
293
|
-
default: n(() => [
|
|
294
|
-
l(p, {
|
|
295
|
-
label: t.$t("goodsLabelInfo.labelId"),
|
|
296
|
-
prop: "labelId"
|
|
297
|
-
}, {
|
|
298
|
-
default: n(() => [
|
|
299
|
-
l(r, {
|
|
300
|
-
modelValue: m(a).labelId,
|
|
301
|
-
"onUpdate:modelValue": d[1] || (d[1] = (u) => m(a).labelId = u),
|
|
302
|
-
placeholder: t.$t("goodsLabelInfo.labelId"),
|
|
303
|
-
maxlength: "8",
|
|
304
|
-
"show-word-limit": "",
|
|
305
|
-
clearable: ""
|
|
306
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
307
|
-
]),
|
|
308
|
-
_: 1
|
|
309
|
-
}, 8, ["label"])
|
|
310
|
-
]),
|
|
311
|
-
_: 1
|
|
312
|
-
}),
|
|
313
|
-
l(c, { span: 12 }, {
|
|
314
|
-
default: n(() => [
|
|
315
|
-
l(p, {
|
|
316
|
-
label: t.$t("goodsLabelInfo.labelName"),
|
|
317
|
-
prop: "labelName"
|
|
318
|
-
}, {
|
|
319
|
-
default: n(() => [
|
|
320
|
-
l(r, {
|
|
321
|
-
modelValue: m(a).labelName,
|
|
322
|
-
"onUpdate:modelValue": d[2] || (d[2] = (u) => m(a).labelName = u),
|
|
323
|
-
placeholder: t.$t("goodsLabelInfo.labelName"),
|
|
324
|
-
maxlength: "30",
|
|
325
|
-
"show-word-limit": "",
|
|
326
|
-
clearable: ""
|
|
327
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
328
|
-
]),
|
|
329
|
-
_: 1
|
|
330
|
-
}, 8, ["label"])
|
|
331
|
-
]),
|
|
332
|
-
_: 1
|
|
333
|
-
}),
|
|
334
|
-
l(c, { span: 12 }, {
|
|
335
|
-
default: n(() => [
|
|
336
|
-
l(p, {
|
|
337
|
-
label: t.$t("goodsLabelInfo.labelCode"),
|
|
338
|
-
prop: "labelCode"
|
|
339
|
-
}, {
|
|
340
|
-
default: n(() => [
|
|
341
|
-
l(r, {
|
|
342
|
-
modelValue: m(a).labelCode,
|
|
343
|
-
"onUpdate:modelValue": d[3] || (d[3] = (u) => m(a).labelCode = u),
|
|
344
|
-
placeholder: t.$t("goodsLabelInfo.labelCode"),
|
|
345
|
-
maxlength: "30",
|
|
346
|
-
"show-word-limit": "",
|
|
347
|
-
clearable: ""
|
|
348
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
349
|
-
]),
|
|
350
|
-
_: 1
|
|
351
|
-
}, 8, ["label"])
|
|
352
|
-
]),
|
|
353
|
-
_: 1
|
|
354
|
-
}),
|
|
355
|
-
l(c, { span: 12 }, {
|
|
356
|
-
default: n(() => [
|
|
357
|
-
l(p, {
|
|
358
|
-
label: t.$t("goodsLabelInfo.orderBy"),
|
|
359
|
-
prop: "orderBy"
|
|
360
|
-
}, {
|
|
361
|
-
default: n(() => [
|
|
362
|
-
l(r, {
|
|
363
|
-
modelValue: m(a).orderBy,
|
|
364
|
-
"onUpdate:modelValue": d[4] || (d[4] = (u) => m(a).orderBy = u),
|
|
365
|
-
placeholder: t.$t("goodsLabelInfo.orderBy"),
|
|
366
|
-
maxlength: "5",
|
|
367
|
-
"show-word-limit": "",
|
|
368
|
-
clearable: ""
|
|
369
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
370
|
-
]),
|
|
371
|
-
_: 1
|
|
372
|
-
}, 8, ["label"])
|
|
373
|
-
]),
|
|
374
|
-
_: 1
|
|
375
|
-
}),
|
|
376
|
-
l(c, { span: 12 }, {
|
|
377
|
-
default: n(() => [
|
|
378
|
-
l(p, {
|
|
379
|
-
label: t.$t("goodsLabelInfo.status"),
|
|
380
|
-
prop: "status"
|
|
381
|
-
}, {
|
|
382
|
-
default: n(() => [
|
|
383
|
-
l(r, {
|
|
384
|
-
modelValue: m(a).status,
|
|
385
|
-
"onUpdate:modelValue": d[5] || (d[5] = (u) => m(a).status = u),
|
|
386
|
-
placeholder: t.$t("goodsLabelInfo.status"),
|
|
387
|
-
maxlength: "1",
|
|
388
|
-
"show-word-limit": "",
|
|
389
|
-
clearable: ""
|
|
390
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
391
|
-
]),
|
|
392
|
-
_: 1
|
|
393
|
-
}, 8, ["label"])
|
|
394
|
-
]),
|
|
395
|
-
_: 1
|
|
396
|
-
}),
|
|
397
|
-
l(c, { span: 12 }, {
|
|
398
|
-
default: n(() => [
|
|
399
|
-
l(p, {
|
|
400
|
-
label: t.$t("goodsLabelInfo.note"),
|
|
401
|
-
prop: "note"
|
|
402
|
-
}, {
|
|
403
|
-
default: n(() => [
|
|
404
|
-
l(r, {
|
|
405
|
-
modelValue: m(a).note,
|
|
406
|
-
"onUpdate:modelValue": d[6] || (d[6] = (u) => m(a).note = u),
|
|
407
|
-
placeholder: t.$t("goodsLabelInfo.note"),
|
|
408
|
-
maxlength: "120",
|
|
409
|
-
"show-word-limit": "",
|
|
410
|
-
clearable: ""
|
|
411
|
-
}, null, 8, ["modelValue", "placeholder"])
|
|
412
|
-
]),
|
|
413
|
-
_: 1
|
|
414
|
-
}, 8, ["label"])
|
|
415
|
-
]),
|
|
416
|
-
_: 1
|
|
417
|
-
})
|
|
418
|
-
]),
|
|
419
|
-
_: 1
|
|
420
|
-
})
|
|
421
|
-
]),
|
|
422
|
-
_: 1
|
|
423
|
-
}, 8, ["model", "rules"])
|
|
424
|
-
]),
|
|
425
|
-
_: 1
|
|
426
|
-
}, 8, ["modelValue"]);
|
|
427
|
-
};
|
|
428
|
-
}
|
|
429
|
-
}), J = /* @__PURE__ */ z(H, [["__scopeId", "data-v-7ccfb445"]]), oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
430
|
-
__proto__: null,
|
|
431
|
-
default: J
|
|
432
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
433
|
-
export {
|
|
434
|
-
J as a,
|
|
435
|
-
oe as e,
|
|
436
|
-
h as g
|
|
437
|
-
};
|