xyvcard-goods 0.0.34 → 0.0.35
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/BatchSetting-B1LcBFPD.mjs +333 -0
- package/dist/ChannelProfit-CNSIK87d.mjs +4 -0
- package/dist/ChannelProfit.vue_vue_type_script_setup_true_lang-BVTifRY8.mjs +320 -0
- package/dist/{GoodsBaseForm-BSvXc_XA.mjs → GoodsBaseForm-BZ2fZmmp.mjs} +1 -1
- package/dist/GoodsBaseForm.vue_vue_type_script_setup_true_lang-BxBTTLdA.mjs +407 -0
- package/dist/{GoodsLogisticsForm-1Bbd4Z52.mjs → GoodsLogisticsForm-BqlwdGQ1.mjs} +1 -1
- package/dist/{GoodsLogisticsForm.vue_vue_type_script_setup_true_lang-PSnPNbmT.mjs → GoodsLogisticsForm.vue_vue_type_script_setup_true_lang-DJREiSkD.mjs} +56 -57
- package/dist/GoodsProfitForm-COYRi8sx.mjs +4 -0
- package/dist/GoodsProfitForm.vue_vue_type_script_setup_true_lang-BYPWP95J.mjs +2550 -0
- package/dist/{GoodsSpecForm-Ddo1IZLZ.mjs → GoodsSpecForm-B4MtETRy.mjs} +1 -1
- package/dist/{GoodsSpecForm.vue_vue_type_script_setup_true_lang-CdWIufm4.mjs → GoodsSpecForm.vue_vue_type_script_setup_true_lang-BbVK_KNz.mjs} +130 -121
- package/dist/SingleSku-rWv9vVhv.mjs +351 -0
- package/dist/constant-sVd2JbJt.mjs +115 -0
- package/dist/edit-B1cmsJpy.mjs +70 -0
- package/dist/{edit-lfXK_dUp.mjs → edit-Br1Y569l.mjs} +8 -7
- package/dist/{edit-e5-aXV6K.mjs → edit-CET8Fr-t.mjs} +1 -1
- package/dist/{edit-pUKONjxH.mjs → edit-CagYTFKr.mjs} +1 -1
- package/dist/{edit-BgtwinSN.mjs → edit-iJGrWlSv.mjs} +1 -1
- package/dist/{edit.vue_vue_type_script_setup_true_lang-BtGT564r.mjs → edit.vue_vue_type_script_setup_true_lang-D_0YivhL.mjs} +2 -2
- package/dist/{el-message-BB2-39XJ.mjs → el-message-Dj6aaz4G.mjs} +490 -373
- package/dist/{index-DyLLV1NK.mjs → index copy-kNLE7fPg.mjs } +6 -5
- package/dist/index-C61SQFSx.mjs +264 -0
- package/dist/index-CeWPdEJD.mjs +713 -0
- package/dist/{index-CkJncbVf.mjs → index-Cg6GUdSP.mjs} +3 -3
- package/dist/index-CyxnVWnL.mjs +182 -0
- package/dist/{index-CkMWas2b.mjs → index-D9s8hsVw.mjs} +3 -3
- package/dist/{index-BSzOTWcG.mjs → index-DbnKa_BJ.mjs} +1 -1
- package/dist/{index-ChQ-ZxD1.mjs → index-DoxTu4kg.mjs} +5 -4
- package/dist/{index-BpKiAhvt.mjs → index-kw0UYOIu.mjs} +3 -3
- package/dist/{index-DhS4AuWf.mjs → index-xQgC-8Gd.mjs} +1106 -1038
- package/dist/index.mjs +1 -1
- package/dist/info-CTElDVo6.mjs +376 -0
- package/dist/{info-DOKoSi7a.mjs → info-DpGJgdac.mjs} +5 -4
- package/dist/{skuForm-DVGkw6rD.mjs → skuForm-C7w9YIDe.mjs} +24 -23
- package/dist/skuForm-CPlnCToi.mjs +279 -0
- package/dist/skuTable-C-LcASbX.mjs +594 -0
- package/dist/spec-DkiGCkuM.mjs +44 -0
- package/dist/style.css +1 -1
- package/dts/xyvcard-goods/src/api/dict.d.ts +5 -4
- package/dts/xyvcard-goods/src/api/goods-sku/types.d.ts +3 -0
- package/dts/xyvcard-goods/src/api/goods-spu/index.d.ts +4 -1
- package/dts/xyvcard-goods/src/api/goods-spu/types.d.ts +35 -9
- package/dts/xyvcard-goods/src/api/types.d.ts +4 -0
- package/dts/xyvcard-goods/src/lang/goods/zh-cn.d.ts +32 -0
- package/dts/xyvcard-goods/src/router/index.d.ts +1 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/components/BatchSetting.vue.d.ts +35 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/components/ChannelProfit.vue.d.ts +22 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/components/GoodsProfitForm.vue.d.ts +34 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/components/SingleSku.vue.d.ts +23 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/index copy.vue.d.ts +2 -0
- package/dts/xyvcard-goods/src/views/goods/goods-spu/skuForm.vue.d.ts +17 -4
- package/dts/xyvcard-goods/src/views/goods/goods-spu/skuTable.vue.d.ts +14 -1
- package/dts/xyvcard-goods/src/views/goods/goods-spu/spec.vue.d.ts +2 -0
- package/package.json +4 -3
- package/dist/GoodsBaseForm.vue_vue_type_script_setup_true_lang-rsmqHXbJ.mjs +0 -381
- package/dist/edit copy 2-Yzf_M31V.mjs +0 -59
- package/dist/edit copy-CCnzlrgL.mjs +0 -526
- package/dist/edit-Dke5sWct.mjs +0 -526
- package/dist/index-BHmGYIuc.mjs +0 -24
- package/dist/index-Da2R0n8O.mjs +0 -374
- package/dist/index-vHQhUQSO.mjs +0 -95
- package/dist/info-De_pBN6A.mjs +0 -365
- package/dist/skuForm-YXHrhyPI.mjs +0 -476
- package/dist/skuTable-DOIQ9kiV.mjs +0 -639
package/dist/index-Da2R0n8O.mjs
DELETED
|
@@ -1,374 +0,0 @@
|
|
|
1
|
-
var p = Object.defineProperty;
|
|
2
|
-
var A = (r, t, a) => t in r ? p(r, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : r[t] = a;
|
|
3
|
-
var e = (r, t, a) => A(r, typeof t != "symbol" ? t + "" : t, a);
|
|
4
|
-
import { useUserStore as O, clearEmpty as T, request as n, BizDict as l, BizLayDict as P, EnumDict as c } from "jmash-core";
|
|
5
|
-
import { EntryDict as d } from "jmash-dict";
|
|
6
|
-
import { ref as o, reactive as L } from "vue";
|
|
7
|
-
import { specValueApi as D, infoApi as I, specInfoApi as y } from "xyvcard-shop";
|
|
8
|
-
import { g as v, b as U, a as N } from "./index-DhS4AuWf.mjs";
|
|
9
|
-
import { g as R } from "./index-BSzOTWcG.mjs";
|
|
10
|
-
class s {
|
|
11
|
-
}
|
|
12
|
-
// 模块
|
|
13
|
-
e(s, "MODULE_GOODS", "goods"), // 启用禁用
|
|
14
|
-
e(s, "SHELF_VALUES", o([
|
|
15
|
-
{ key: !0, value: "上架" },
|
|
16
|
-
{ key: !1, value: "下架" }
|
|
17
|
-
])), // 运费类型
|
|
18
|
-
e(s, "ENUM_FREIGHT_TYPE", "xyvcard.goods.protobuf.FreightType"), // 运费类型.
|
|
19
|
-
e(s, "FREIGHT_TYPE_VALUES", {
|
|
20
|
-
FREIGHT_FREE: "FREIGHT_FREE",
|
|
21
|
-
// 包邮
|
|
22
|
-
FREIGHT_FIXED: "FREIGHT_FIXED",
|
|
23
|
-
// 固定邮费
|
|
24
|
-
FREIGHT_TEMPLATE: "FREIGHT_TEMPLATE"
|
|
25
|
-
// 运费模板
|
|
26
|
-
}), // 保障服务
|
|
27
|
-
e(s, "DICT_GOODS_ENSURE", "goods_ensure"), // 商品查询枚举
|
|
28
|
-
e(s, "ENUM_GOODS_SPU_List_SORT", "xyvcard.goods.protobuf.GoodsSpuListSort"), e(s, "GOODS_SPU_VALUES", o([
|
|
29
|
-
{ key: "goods_all", value: "全部商品" },
|
|
30
|
-
{ key: "goods_sale", value: "已上架" },
|
|
31
|
-
{ key: "goods_shelf", value: "待上架" },
|
|
32
|
-
{ key: "goods_audit", value: "审核中" },
|
|
33
|
-
{ key: "goods_notpass", value: "审核驳回" }
|
|
34
|
-
])), // 审核状态
|
|
35
|
-
e(s, "ENUM_APPROVAL_STATUS", "xyvcard.goods.protobuf.ApprovalStatus"), // 审核状态常量
|
|
36
|
-
e(s, "APPROVAL_NOT_PASS", "APPROVAL_NOT_PASS"), e(s, "APPROVAL_PASS", "APPROVAL_PASS"), e(s, "APPROVALING", "APPROVALING"), // 启用禁用
|
|
37
|
-
e(s, "ENABLE_VALUES", o([
|
|
38
|
-
{ key: "true", value: "启用" },
|
|
39
|
-
{ key: "false", value: "禁用" }
|
|
40
|
-
])), // 商品类型
|
|
41
|
-
e(s, "GOODS_TYPE", {
|
|
42
|
-
NORMAL: "normal",
|
|
43
|
-
GROUP: "group"
|
|
44
|
-
}), // 商品品类
|
|
45
|
-
e(s, "GOODS_SUP_CLASS", "xyvcard.goods.protobuf.SupClass"), // 商品品类.
|
|
46
|
-
e(s, "GOODS_SUP_CLASS_VALUES", {
|
|
47
|
-
GOODS_TYPE_REAL: "GOODS_TYPE_REAL",
|
|
48
|
-
// 实物类商品
|
|
49
|
-
GOODS_TYPE_VIRTUAL: "GOODS_TYPE_VIRTUAL",
|
|
50
|
-
// 虚拟类商品
|
|
51
|
-
GOODS_TYPE_LIFE: "GOODS_TYPE_LIFE"
|
|
52
|
-
// 生活服务类
|
|
53
|
-
}), // 是或否
|
|
54
|
-
e(s, "YES_OR_NO", o([
|
|
55
|
-
{ key: !0, value: "是" },
|
|
56
|
-
{ key: !1, value: "否" }
|
|
57
|
-
])), // tab栏
|
|
58
|
-
e(s, "TAB_ENUM", L([
|
|
59
|
-
{ key: "GoodsBaseForm", value: "商品基本信息" },
|
|
60
|
-
{ key: "GoodsSpecForm", value: "规格与定价" },
|
|
61
|
-
{ key: "GoodsLogisticsForm", value: "物流设置" }
|
|
62
|
-
])), // 预售类型
|
|
63
|
-
e(s, "GOODS_PRESALE_TYPE", "xyvcard.goods.protobuf.PresaleType"), // 预售类型.
|
|
64
|
-
e(s, "GOODS_PRESALE_TYPE_VALUES", {
|
|
65
|
-
NONE: "NONE",
|
|
66
|
-
// 无预售
|
|
67
|
-
DEPOSIT: "DEPOSIT",
|
|
68
|
-
// 定金预售(不退)
|
|
69
|
-
DEPOSIT_RETURN: "DEPOSIT_RETURN"
|
|
70
|
-
// 订金预售(可退)
|
|
71
|
-
}), // 尾款支付期限
|
|
72
|
-
e(s, "BALANCE_PAYMENT_TYPE", "xyvcard.goods.protobuf.BalancePaymentType"), // 尾款支付期限.
|
|
73
|
-
e(s, "BALANCE_PAYMENT_TYPE_VALUES", {
|
|
74
|
-
DYNAMIC_DATE: "DYNAMIC_DATE",
|
|
75
|
-
// 动态时间
|
|
76
|
-
FIXED_DATE: "FIXED_DATE"
|
|
77
|
-
// 固定时间
|
|
78
|
-
}), // 规格类型
|
|
79
|
-
e(s, "SPEC_TYPE", "xyvcard.goods.protobuf.SpecType"), e(s, "SPEC_TYPE_VALUES", {
|
|
80
|
-
UNIFIED_SPEC: "UNIFIED_SPEC",
|
|
81
|
-
// 统一规格
|
|
82
|
-
MULTI_SPEC: "MULTI_SPEC"
|
|
83
|
-
// 多规格
|
|
84
|
-
}), // 发货模式
|
|
85
|
-
e(s, "DELIVERY_TYPE", "xyvcard.goods.protobuf.DeliveryType"), // 发货模式.
|
|
86
|
-
e(s, "DELIVERY_TYPE_VALUES", {
|
|
87
|
-
SPOT_ONLY: "SPOT_ONLY",
|
|
88
|
-
// 现货发售
|
|
89
|
-
PRESALE: "PRESALE"
|
|
90
|
-
// 预售模式
|
|
91
|
-
}), // 发货模式(现货发售:24小时内、48小时内、72小时内).
|
|
92
|
-
e(s, "DELIVERY_SPOT_TYPE", "xyvcard.goods.protobuf.DeliverySpotType"), // 发货模式(现货发售:24小时内、48小时内、72小时内).
|
|
93
|
-
e(s, "DELIVERY_SPOT_TYPE_VALUES", {
|
|
94
|
-
SPOT_24: "SPOT_24",
|
|
95
|
-
// 24小时内
|
|
96
|
-
SPOT_48: "SPOT_48",
|
|
97
|
-
// 48小时内
|
|
98
|
-
SPOT_72: "SPOT_72"
|
|
99
|
-
// 72小时内
|
|
100
|
-
}), // 核销有效期限.
|
|
101
|
-
e(s, "VALIDITY_TYPE", "xyvcard.goods.protobuf.ValidityType"), // 核销有效期限.
|
|
102
|
-
e(s, "VALIDITY_TYPE_VALUES", {
|
|
103
|
-
DYNAMIC_TIME: "DYNAMIC_TIME",
|
|
104
|
-
// 动态时间
|
|
105
|
-
FIXED_TIME: "FIXED_TIME",
|
|
106
|
-
// 固定时间
|
|
107
|
-
UNLIMITED_TIME: "UNLIMITED_TIME"
|
|
108
|
-
// 无限期
|
|
109
|
-
}), // 可用门店.
|
|
110
|
-
e(s, "USE_BRANCH", "xyvcard.goods.protobuf.UseBranch"), // 可用门店.
|
|
111
|
-
e(s, "USE_BRANCH_VALUES", {
|
|
112
|
-
USE_BRANCH_ALL: "USE_BRANCH_ALL",
|
|
113
|
-
// 全部门店
|
|
114
|
-
USE_BRANCH_PART: "USE_BRANCH_PART"
|
|
115
|
-
// 部分门店
|
|
116
|
-
});
|
|
117
|
-
function h(r, t, a) {
|
|
118
|
-
return !Array.isArray(r) || r.length === 0 ? [] : r.map((u) => {
|
|
119
|
-
let i = [];
|
|
120
|
-
return Array.isArray(u.children) && u.children.length > 0 && (i = h(u.children, t, a)), {
|
|
121
|
-
value: u[a],
|
|
122
|
-
label: u[t],
|
|
123
|
-
parentId: u.parentId,
|
|
124
|
-
children: i
|
|
125
|
-
};
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
class g {
|
|
129
|
-
getKey(t) {
|
|
130
|
-
return {
|
|
131
|
-
branchId: t.branchId
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
// 查询列表信息门店管理
|
|
135
|
-
findList(t) {
|
|
136
|
-
const a = O().user.tenant;
|
|
137
|
-
return t && (t.hasIsHq = t.isHq != null), T(t), n({
|
|
138
|
-
url: "/v1/shop/branch/list/" + a,
|
|
139
|
-
method: "get",
|
|
140
|
-
params: t
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
// 查询门店管理
|
|
144
|
-
findById(t) {
|
|
145
|
-
const a = O().user.tenant;
|
|
146
|
-
return T(t), n({
|
|
147
|
-
url: "/v1/shop/branch/id/" + a + "/" + t.branchId,
|
|
148
|
-
method: "get"
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
const m = new g();
|
|
153
|
-
class S {
|
|
154
|
-
constructor(t, a) {
|
|
155
|
-
e(this, "values", L([]));
|
|
156
|
-
// 查询条件
|
|
157
|
-
e(this, "query");
|
|
158
|
-
this.values.length = 0, this.values.push(...t.value), this.query = a;
|
|
159
|
-
}
|
|
160
|
-
// 根据给定键获取业务数据项的值的方法
|
|
161
|
-
getValue(t) {
|
|
162
|
-
for (const a of this.values)
|
|
163
|
-
if (a.key == t)
|
|
164
|
-
return a.value;
|
|
165
|
-
return "";
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
class f extends l {
|
|
169
|
-
// 实现 useValues 方法
|
|
170
|
-
useValues() {
|
|
171
|
-
return new Promise((t, a) => {
|
|
172
|
-
I.findList(this.query).then(({ data: _ }) => {
|
|
173
|
-
const u = _.results;
|
|
174
|
-
this.values.length = 0, this.values.push(
|
|
175
|
-
...u.map(
|
|
176
|
-
(i) => ({
|
|
177
|
-
key: i.shopId,
|
|
178
|
-
value: i.shopName
|
|
179
|
-
})
|
|
180
|
-
)
|
|
181
|
-
), t(this.values);
|
|
182
|
-
}).catch(a);
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
class G extends l {
|
|
187
|
-
// 实现 useValues 方法
|
|
188
|
-
useValues() {
|
|
189
|
-
return new Promise((t, a) => {
|
|
190
|
-
m.findList(this.query).then(({ data: _ }) => {
|
|
191
|
-
const u = _.results;
|
|
192
|
-
this.values.length = 0, this.values.push(
|
|
193
|
-
...u.map(
|
|
194
|
-
(i) => ({
|
|
195
|
-
key: i.branchId,
|
|
196
|
-
value: i.facadeName
|
|
197
|
-
})
|
|
198
|
-
)
|
|
199
|
-
), t(this.values);
|
|
200
|
-
}).catch(a);
|
|
201
|
-
});
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
class V extends P {
|
|
205
|
-
// 实现 useValues 方法
|
|
206
|
-
useValues() {
|
|
207
|
-
return new Promise((t, a) => {
|
|
208
|
-
v.findTreeListApi(this.query).then(({ data: _ }) => {
|
|
209
|
-
this.values.length = 0, this.values.push(...h(_.results, "label", "value")), t(this.values);
|
|
210
|
-
}).catch(a);
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
class Y extends l {
|
|
215
|
-
// 实现 useValues 方法
|
|
216
|
-
useValues() {
|
|
217
|
-
return new Promise((t, a) => {
|
|
218
|
-
y.findList(this.query).then(({ data: _ }) => {
|
|
219
|
-
const u = _.results;
|
|
220
|
-
this.values.length = 0, this.values.push(
|
|
221
|
-
...u.map(
|
|
222
|
-
(i) => ({
|
|
223
|
-
key: i.specId,
|
|
224
|
-
value: i.specName,
|
|
225
|
-
disabled: i.disabled
|
|
226
|
-
})
|
|
227
|
-
)
|
|
228
|
-
), t(this.values);
|
|
229
|
-
}).catch(a);
|
|
230
|
-
});
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
class B extends l {
|
|
234
|
-
// 实现 useValues 方法
|
|
235
|
-
useValues() {
|
|
236
|
-
return new Promise((t, a) => {
|
|
237
|
-
D.findList(this.query).then(({ data: _ }) => {
|
|
238
|
-
const u = _.results;
|
|
239
|
-
this.values.length = 0, this.values.push(
|
|
240
|
-
...u.map(
|
|
241
|
-
(i) => ({
|
|
242
|
-
key: i.specValueId,
|
|
243
|
-
value: i.valueName
|
|
244
|
-
})
|
|
245
|
-
)
|
|
246
|
-
), t(this.values);
|
|
247
|
-
}).catch(a);
|
|
248
|
-
});
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
class M extends l {
|
|
252
|
-
// 实现 useValues 方法
|
|
253
|
-
useValues() {
|
|
254
|
-
return new Promise((t, a) => {
|
|
255
|
-
R.findList(this.query).then(({ data: _ }) => {
|
|
256
|
-
const u = _.results;
|
|
257
|
-
this.values.length = 0, this.values.push(
|
|
258
|
-
...u.map(
|
|
259
|
-
(i) => ({
|
|
260
|
-
key: i.brandId,
|
|
261
|
-
value: i.brandName
|
|
262
|
-
})
|
|
263
|
-
)
|
|
264
|
-
), t(this.values);
|
|
265
|
-
}).catch(a);
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
class b extends l {
|
|
270
|
-
// 实现 useValues 方法
|
|
271
|
-
useValues() {
|
|
272
|
-
return new Promise((t, a) => {
|
|
273
|
-
U.findList(this.query).then(({ data: _ }) => {
|
|
274
|
-
const u = _.results;
|
|
275
|
-
this.values.length = 0, this.values.push(
|
|
276
|
-
...u.map(
|
|
277
|
-
(i) => ({
|
|
278
|
-
key: i.labelId,
|
|
279
|
-
value: i.labelName
|
|
280
|
-
})
|
|
281
|
-
)
|
|
282
|
-
), t(this.values);
|
|
283
|
-
}).catch(a);
|
|
284
|
-
});
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
class w extends l {
|
|
288
|
-
// 实现 useValues 方法
|
|
289
|
-
useValues() {
|
|
290
|
-
return new Promise((t, a) => {
|
|
291
|
-
N.findList(this.query).then(({ data: _ }) => {
|
|
292
|
-
const u = _.results;
|
|
293
|
-
this.values.length = 0, this.values.push(
|
|
294
|
-
...u.map(
|
|
295
|
-
(i) => ({
|
|
296
|
-
key: i.spuId,
|
|
297
|
-
value: i.spuName
|
|
298
|
-
})
|
|
299
|
-
)
|
|
300
|
-
), t(this.values);
|
|
301
|
-
}).catch(a);
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
class E {
|
|
306
|
-
}
|
|
307
|
-
// 店铺列表
|
|
308
|
-
e(E, "shopInfoBizDict", new f({})), // 门店列表
|
|
309
|
-
e(E, "shopBranchBizDict", new G({})), // 规格列表
|
|
310
|
-
e(E, "specInfoDict", new Y({})), // 规格值
|
|
311
|
-
e(E, "specValueDict", new B({})), // 上架下架
|
|
312
|
-
e(E, "shelfDict", new S(s.SHELF_VALUES, {})), // 运费类型
|
|
313
|
-
e(E, "freightTypeEnum", new c(
|
|
314
|
-
s.MODULE_GOODS,
|
|
315
|
-
s.ENUM_FREIGHT_TYPE
|
|
316
|
-
)), // 保障服务
|
|
317
|
-
e(E, "goodsEnsureDict", new d(s.DICT_GOODS_ENSURE)), // 规格类型
|
|
318
|
-
e(E, "specTypeEnum", new c(
|
|
319
|
-
s.MODULE_GOODS,
|
|
320
|
-
s.SPEC_TYPE
|
|
321
|
-
)), // 商品查询枚举
|
|
322
|
-
e(E, "goodsSpuListSortEnum", new c(
|
|
323
|
-
s.MODULE_GOODS,
|
|
324
|
-
s.ENUM_GOODS_SPU_List_SORT
|
|
325
|
-
)), e(E, "goodsSpuListSortDict", new S(
|
|
326
|
-
s.GOODS_SPU_VALUES,
|
|
327
|
-
{}
|
|
328
|
-
)), // 审核状态
|
|
329
|
-
e(E, "approvalStatusEnum", new c(
|
|
330
|
-
s.MODULE_GOODS,
|
|
331
|
-
s.ENUM_APPROVAL_STATUS
|
|
332
|
-
)), // 启用禁用
|
|
333
|
-
e(E, "enableDict", new S(s.ENABLE_VALUES, {})), // 商品分类
|
|
334
|
-
e(E, "goodsCategoryListBizLayDict", new V(
|
|
335
|
-
{}
|
|
336
|
-
)), // 品牌列表
|
|
337
|
-
e(E, "brandListBizDict", new M({})), // 标签列表
|
|
338
|
-
e(E, "labelListBizDict", new b({})), // 商品列表
|
|
339
|
-
e(E, "goodsSpuBizDict", new w({})), // 商品品类
|
|
340
|
-
e(E, "goodsSupClassEnum", new c(
|
|
341
|
-
s.MODULE_GOODS,
|
|
342
|
-
s.GOODS_SUP_CLASS
|
|
343
|
-
)), // 是或否
|
|
344
|
-
e(E, "yesOrNoEnum", new S(s.YES_OR_NO, {})), // 预售类型
|
|
345
|
-
e(E, "presaleTypeEnum", new c(
|
|
346
|
-
s.MODULE_GOODS,
|
|
347
|
-
s.GOODS_PRESALE_TYPE
|
|
348
|
-
)), // 尾款支付期限
|
|
349
|
-
e(E, "balancePaymentTypeEnum", new c(
|
|
350
|
-
s.MODULE_GOODS,
|
|
351
|
-
s.BALANCE_PAYMENT_TYPE
|
|
352
|
-
)), // 发货模式
|
|
353
|
-
e(E, "goodsDeliveryTypeEnum", new c(
|
|
354
|
-
s.MODULE_GOODS,
|
|
355
|
-
s.DELIVERY_TYPE
|
|
356
|
-
)), // 发货模式(现货发售:24小时内、48小时内、72小时内).
|
|
357
|
-
e(E, "goodsDeliverySpotTypeEnum", new c(
|
|
358
|
-
s.MODULE_GOODS,
|
|
359
|
-
s.DELIVERY_SPOT_TYPE
|
|
360
|
-
)), // 核销有效期限.
|
|
361
|
-
e(E, "validityTypeEnum", new c(
|
|
362
|
-
s.MODULE_GOODS,
|
|
363
|
-
s.VALIDITY_TYPE
|
|
364
|
-
)), // 可用门店.
|
|
365
|
-
e(E, "useBranchEnum", new c(
|
|
366
|
-
s.MODULE_GOODS,
|
|
367
|
-
s.USE_BRANCH
|
|
368
|
-
));
|
|
369
|
-
export {
|
|
370
|
-
s as C,
|
|
371
|
-
E as D,
|
|
372
|
-
B as S,
|
|
373
|
-
Y as a
|
|
374
|
-
};
|
package/dist/index-vHQhUQSO.mjs
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, createElementBlock as l, openBlock as a, createElementVNode as s } from "vue";
|
|
2
|
-
/*! Element Plus Icons Vue v2.3.2 */
|
|
3
|
-
var t = /* @__PURE__ */ e({
|
|
4
|
-
name: "CircleCloseFilled",
|
|
5
|
-
__name: "circle-close-filled",
|
|
6
|
-
setup(r) {
|
|
7
|
-
return (_, c) => (a(), l("svg", {
|
|
8
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
-
viewBox: "0 0 1024 1024"
|
|
10
|
-
}, [
|
|
11
|
-
s("path", {
|
|
12
|
-
fill: "currentColor",
|
|
13
|
-
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"
|
|
14
|
-
})
|
|
15
|
-
]));
|
|
16
|
-
}
|
|
17
|
-
}), f = t, n = /* @__PURE__ */ e({
|
|
18
|
-
name: "Close",
|
|
19
|
-
__name: "close",
|
|
20
|
-
setup(r) {
|
|
21
|
-
return (_, c) => (a(), l("svg", {
|
|
22
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
23
|
-
viewBox: "0 0 1024 1024"
|
|
24
|
-
}, [
|
|
25
|
-
s("path", {
|
|
26
|
-
fill: "currentColor",
|
|
27
|
-
d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
|
|
28
|
-
})
|
|
29
|
-
]));
|
|
30
|
-
}
|
|
31
|
-
}), u = n, o = /* @__PURE__ */ e({
|
|
32
|
-
name: "InfoFilled",
|
|
33
|
-
__name: "info-filled",
|
|
34
|
-
setup(r) {
|
|
35
|
-
return (_, c) => (a(), l("svg", {
|
|
36
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
-
viewBox: "0 0 1024 1024"
|
|
38
|
-
}, [
|
|
39
|
-
s("path", {
|
|
40
|
-
fill: "currentColor",
|
|
41
|
-
d: "M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
|
|
42
|
-
})
|
|
43
|
-
]));
|
|
44
|
-
}
|
|
45
|
-
}), d = o, i = /* @__PURE__ */ e({
|
|
46
|
-
name: "Plus",
|
|
47
|
-
__name: "plus",
|
|
48
|
-
setup(r) {
|
|
49
|
-
return (_, c) => (a(), l("svg", {
|
|
50
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
51
|
-
viewBox: "0 0 1024 1024"
|
|
52
|
-
}, [
|
|
53
|
-
s("path", {
|
|
54
|
-
fill: "currentColor",
|
|
55
|
-
d: "M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"
|
|
56
|
-
})
|
|
57
|
-
]));
|
|
58
|
-
}
|
|
59
|
-
}), v = i, p = /* @__PURE__ */ e({
|
|
60
|
-
name: "SuccessFilled",
|
|
61
|
-
__name: "success-filled",
|
|
62
|
-
setup(r) {
|
|
63
|
-
return (_, c) => (a(), l("svg", {
|
|
64
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
65
|
-
viewBox: "0 0 1024 1024"
|
|
66
|
-
}, [
|
|
67
|
-
s("path", {
|
|
68
|
-
fill: "currentColor",
|
|
69
|
-
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"
|
|
70
|
-
})
|
|
71
|
-
]));
|
|
72
|
-
}
|
|
73
|
-
}), g = p, m = /* @__PURE__ */ e({
|
|
74
|
-
name: "WarningFilled",
|
|
75
|
-
__name: "warning-filled",
|
|
76
|
-
setup(r) {
|
|
77
|
-
return (_, c) => (a(), l("svg", {
|
|
78
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
79
|
-
viewBox: "0 0 1024 1024"
|
|
80
|
-
}, [
|
|
81
|
-
s("path", {
|
|
82
|
-
fill: "currentColor",
|
|
83
|
-
d: "M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"
|
|
84
|
-
})
|
|
85
|
-
]));
|
|
86
|
-
}
|
|
87
|
-
}), h = m;
|
|
88
|
-
export {
|
|
89
|
-
u as a,
|
|
90
|
-
f as c,
|
|
91
|
-
d as i,
|
|
92
|
-
v as p,
|
|
93
|
-
g as s,
|
|
94
|
-
h as w
|
|
95
|
-
};
|