mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-08-06 19:07:25 +08:00
refactor: 移除未使用的商品规格相关 API 接口与组件,优化用户管理与物流功能
- 删除了与商品规格相关的 API 接口和组件,简化代码结构。 - 更新用户管理功能,确保表单字段与验证规则一致。 - 优化物流添加与编辑功能,确保请求参数的正确性与一致性。
This commit is contained in:
@@ -1211,8 +1211,6 @@ export default {
|
||||
this.baseInfoForm.weight = response.result.skuList[0].weight;
|
||||
}
|
||||
|
||||
this.Get_SkuInfoByCategory(this.categoryId);
|
||||
|
||||
this.renderGoodsDetailSku(response.result.skuList);
|
||||
|
||||
/** 查询品牌列表 */
|
||||
@@ -2000,20 +1998,6 @@ export default {
|
||||
return generateCombinations(0, []);
|
||||
},
|
||||
|
||||
/** 根据分类id获取系统设置规格信息*/
|
||||
Get_SkuInfoByCategory(categoryId) {
|
||||
if (categoryId) {
|
||||
API_GOODS.getGoodsSpecInfoSeller(categoryId).then((res) => {
|
||||
if (res.length) {
|
||||
res.forEach((e) => {
|
||||
this.skuData.push(e.specName);
|
||||
const vals = e.specValue ? e.specValue.split(",") : [];
|
||||
this.skuVals.push(Array.from(new Set(vals)));
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
},
|
||||
// 判断相同数组的值
|
||||
scalarArrayEquals(array1, array2) {
|
||||
return (
|
||||
@@ -2307,8 +2291,6 @@ export default {
|
||||
this.GET_GoodsParams();
|
||||
/** 查询品牌列表 */
|
||||
this.getGoodsBrandList();
|
||||
/** 查询分类绑定的规格信息 */
|
||||
this.Get_SkuInfoByCategory(this.categoryId);
|
||||
// 获取商品单位
|
||||
this.GET_GoodsUnit();
|
||||
// 获取当前店铺分类
|
||||
|
||||
Reference in New Issue
Block a user