Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
6ec1598a
提交
6ec1598a
authored
8月 03, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改商品类目接口优化01
上级
4a3287a7
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
5 行增加
和
7 行删除
+5
-7
goodsinfomation.vue
src/views/system/goods/add/components/goodsinfomation.vue
+5
-6
index.vue
src/views/system/goods/add/index.vue
+0
-1
没有找到文件。
src/views/system/goods/add/components/goodsinfomation.vue
浏览文件 @
6ec1598a
...
@@ -113,8 +113,7 @@
...
@@ -113,8 +113,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
GetCategory
,
GetFreight
,
UploadImg
}
from
'@/api/module/goods'
import
{
NewGetCategory
,
GetFreight
,
UploadImg
}
from
'@/api/module/goods'
import
{
getAreaList
}
from
'@/api/module/retreat/address'
;
import
{
getBrandsInf
}
from
'@/api/module/brand/brand'
import
{
getBrandsInf
}
from
'@/api/module/brand/brand'
export
default
{
export
default
{
name
:
'goods'
,
name
:
'goods'
,
...
@@ -199,7 +198,7 @@
...
@@ -199,7 +198,7 @@
lazy
:
true
,
lazy
:
true
,
lazyLoad
:
this
.
lazyLoad
,
lazyLoad
:
this
.
lazyLoad
,
value
:
"id"
,
value
:
"id"
,
label
:
'
name
'
,
label
:
'
label
'
,
leaf
:
'leaf'
leaf
:
'leaf'
},
},
...
@@ -240,7 +239,7 @@
...
@@ -240,7 +239,7 @@
let
limboNode
=
{
let
limboNode
=
{
pid
:
0
pid
:
0
};
};
getAreaList
(
limboNode
).
then
(
res
=>
{
NewGetCategory
(
limboNode
).
then
(
res
=>
{
if
(
res
.
data
)
{
if
(
res
.
data
)
{
this
.
areaOptions
=
res
.
data
;
this
.
areaOptions
=
res
.
data
;
}
else
{
}
else
{
...
@@ -263,7 +262,7 @@
...
@@ -263,7 +262,7 @@
this
.
SSQGoodsList
=
[];
this
.
SSQGoodsList
=
[];
this
.
editGoodsTypeDialog
=
true
;
this
.
editGoodsTypeDialog
=
true
;
this
.
SSQGoodsList
=
this
.
goodsInfoForm
.
categoryList
this
.
SSQGoodsList
=
this
.
goodsInfoForm
.
categoryList
// console.log(222
,this.SSQGoodsList);
console
.
log
(
'点击修改类目数据:'
,
this
.
SSQGoodsList
);
},
},
lazyLoad
(
node
,
resolve
)
{
lazyLoad
(
node
,
resolve
)
{
//debugger
//debugger
...
@@ -283,7 +282,7 @@
...
@@ -283,7 +282,7 @@
if
(
level
===
2
)
{
if
(
level
===
2
)
{
limboNode
=
{
pid
:
node
.
value
};
limboNode
=
{
pid
:
node
.
value
};
}
}
getAreaList
(
limboNode
).
then
(
res
=>
{
NewGetCategory
(
limboNode
).
then
(
res
=>
{
let
result
=
{};
let
result
=
{};
if
(
level
===
0
)
{
if
(
level
===
0
)
{
result
=
res
.
data
result
=
res
.
data
...
...
src/views/system/goods/add/index.vue
浏览文件 @
6ec1598a
...
@@ -76,7 +76,6 @@
...
@@ -76,7 +76,6 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getAreaList
}
from
'@/api/module/retreat/address'
;
import
{
NewGetCategory
,
addGoods
,
getGoodsNew
,
updateGoodsNew
}
from
'@/api/module/goods'
;
import
{
NewGetCategory
,
addGoods
,
getGoodsNew
,
updateGoodsNew
}
from
'@/api/module/goods'
;
import
Goodsinfomation
from
'./components/goodsinfomation'
;
import
Goodsinfomation
from
'./components/goodsinfomation'
;
import
GoodsSpecifications
from
'./components/goodsspecifications'
;
import
GoodsSpecifications
from
'./components/goodsspecifications'
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论