xyvcard-goods 0.0.17 → 0.0.18
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.
|
@@ -103,7 +103,7 @@ const te = ["src"], se = /* @__PURE__ */ F({
|
|
|
103
103
|
);
|
|
104
104
|
let o = L({
|
|
105
105
|
requestId: Math.random() * 10 + "",
|
|
106
|
-
updateMask: "spuName,
|
|
106
|
+
updateMask: "spuName,categoryIds,spuCode,freightType,freightAmount,picUrls,shelf,saleNum,sellPoint,specType,description",
|
|
107
107
|
skuSpecValues: [],
|
|
108
108
|
freightType: c.freightTypeEnum.values[0].key,
|
|
109
109
|
freightAmount: 0,
|
|
@@ -134,7 +134,7 @@ const te = ["src"], se = /* @__PURE__ */ F({
|
|
|
134
134
|
trigger: "blur"
|
|
135
135
|
}
|
|
136
136
|
],
|
|
137
|
-
|
|
137
|
+
categoryIds: [
|
|
138
138
|
{
|
|
139
139
|
required: !0,
|
|
140
140
|
message: i("goodsSpu.categoryIdRequired"),
|
|
@@ -256,12 +256,12 @@ const te = ["src"], se = /* @__PURE__ */ F({
|
|
|
256
256
|
default: a(() => [
|
|
257
257
|
e(r, {
|
|
258
258
|
label: s.$t("goodsSpu.categoryId"),
|
|
259
|
-
prop: "
|
|
259
|
+
prop: "categoryIds"
|
|
260
260
|
}, {
|
|
261
261
|
default: a(() => [
|
|
262
262
|
e(m, {
|
|
263
|
-
modelValue: t(o).
|
|
264
|
-
"onUpdate:modelValue": l[1] || (l[1] = (n) => t(o).
|
|
263
|
+
modelValue: t(o).categoryIds,
|
|
264
|
+
"onUpdate:modelValue": l[1] || (l[1] = (n) => t(o).categoryIds = n),
|
|
265
265
|
data: t(c).goodsCategoryListBizLayDict.values,
|
|
266
266
|
multiple: "",
|
|
267
267
|
"render-after-expand": !1,
|
package/dist/index.mjs
CHANGED
|
@@ -62,7 +62,7 @@ function Ps(e) {
|
|
|
62
62
|
let s = e.global.getLocaleMessage("en");
|
|
63
63
|
s = Tt(s, xs), e.global.setLocaleMessage("zh-cn", t), e.global.setLocaleMessage("en", s);
|
|
64
64
|
}
|
|
65
|
-
const Ns = () => import("./edit-
|
|
65
|
+
const Ns = () => import("./edit-CYk6B5NG.mjs"), Ws = () => import("./info-D6MWRZ1y.mjs"), Fs = [
|
|
66
66
|
{
|
|
67
67
|
path: "/rawgoods",
|
|
68
68
|
component: Ys,
|
|
@@ -2806,7 +2806,7 @@ class Ii {
|
|
|
2806
2806
|
});
|
|
2807
2807
|
}
|
|
2808
2808
|
}
|
|
2809
|
-
const Hi = new Ii(), Ui = /* @__PURE__ */ Object.assign({ "./views/goods/goods-category/edit.vue": () => import("./edit-E57LIt5x.mjs"), "./views/goods/goods-category/index.vue": () => import("./index-CnyW3rxw.mjs"), "./views/goods/goods-spu/edit.vue": () => import("./edit-
|
|
2809
|
+
const Hi = new Ii(), Ui = /* @__PURE__ */ Object.assign({ "./views/goods/goods-category/edit.vue": () => import("./edit-E57LIt5x.mjs"), "./views/goods/goods-category/index.vue": () => import("./index-CnyW3rxw.mjs"), "./views/goods/goods-spu/edit.vue": () => import("./edit-CYk6B5NG.mjs"), "./views/goods/goods-spu/goodsList.vue": () => import("./goodsList-0TMcPn_Q.mjs"), "./views/goods/goods-spu/index.vue": () => import("./index-nSAowuoJ.mjs"), "./views/goods/goods-spu/info.vue": () => import("./info-D6MWRZ1y.mjs"), "./views/goods/goods-spu/skuForm.vue": () => import("./skuForm-H9IDa7ys.mjs"), "./views/goods/goods-spu/skuTable.vue": () => import("./skuTable-DbNThlFG.mjs").then((e) => e.a) }), Ei = {
|
|
2810
2810
|
install(e) {
|
|
2811
2811
|
Os(Ui, 7), Ps(bs), Ts(Fs), e.use(Ci);
|
|
2812
2812
|
}
|
|
@@ -63,6 +63,7 @@ export interface GoodsSpuCreateReq extends EntityCreateReq {
|
|
|
63
63
|
specType?: string;
|
|
64
64
|
specId?: Array<string>;
|
|
65
65
|
skuSpecValues: Array<GoodsSkuModel>;
|
|
66
|
+
categoryIds?: Array<string>;
|
|
66
67
|
}
|
|
67
68
|
export interface GoodsSpuUpdateReq extends EntityUpdateReq {
|
|
68
69
|
spuId?: string;
|
|
@@ -81,6 +82,7 @@ export interface GoodsSpuUpdateReq extends EntityUpdateReq {
|
|
|
81
82
|
ensureIds?: Array<string>;
|
|
82
83
|
specId?: Array<string>;
|
|
83
84
|
skuSpecValues: Array<GoodsSkuModel>;
|
|
85
|
+
categoryIds?: Array<string>;
|
|
84
86
|
}
|
|
85
87
|
export type GoodsSpuFormReq = GoodsSpuCreateReq | GoodsSpuUpdateReq;
|
|
86
88
|
export interface GoodsSpuEnableKey {
|