Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
b489a0d2
提交
b489a0d2
authored
12月 27, 2019
作者:
zgy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
完成商品管理优化
上级
8b3336f4
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
9 行增加
和
8 行删除
+9
-8
tbcfstationitem.html
...min/src/main/webapp/WEB-INF/page/sys/tbcfstationitem.html
+3
-3
tbcfstationitem.js
platform-admin/src/main/webapp/js/sys/tbcfstationitem.js
+6
-5
没有找到文件。
platform-admin/src/main/webapp/WEB-INF/page/sys/tbcfstationitem.html
浏览文件 @
b489a0d2
...
@@ -298,9 +298,9 @@
...
@@ -298,9 +298,9 @@
<!-- 选项 -->
<!-- 选项 -->
<section
class=
"form-wrapper"
>
<section
class=
"form-wrapper"
>
<h4>
选项
</h4>
<h4>
选项
</h4>
<section
class=
"default-price"
>
<section
class=
"default-price"
>
<h4>
设置默认价格与库存
<h4>
设置默认价格与库存
<i-switch
v-model=
"setDefaultValue"
>
<i-switch
v-model=
"setDefaultValue"
:disabled=
"disabled"
>
<Icon
type=
"md-checkmark"
></Icon>
<Icon
type=
"md-checkmark"
></Icon>
<Icon
type=
"md-close"
></Icon>
<Icon
type=
"md-close"
></Icon>
</i-switch>
</i-switch>
...
@@ -345,7 +345,7 @@
...
@@ -345,7 +345,7 @@
style=
"margin-left:10px;margin-bottom:10px;margin-top:10px;"
style=
"margin-left:10px;margin-bottom:10px;margin-top:10px;"
type=
"success"
type=
"success"
@
click=
"addAttr"
@
click=
"addAttr"
>
新增
其它选项
>
新增
属性
</i-button>
</i-button>
<!-- 预览 -->
<!-- 预览 -->
<section
class=
"form-prev"
>
<section
class=
"form-prev"
>
...
...
platform-admin/src/main/webapp/js/sys/tbcfstationitem.js
浏览文件 @
b489a0d2
...
@@ -58,7 +58,8 @@ let vm = new Vue({
...
@@ -58,7 +58,8 @@ let vm = new Vue({
default_count
:
''
,
default_count
:
''
,
setDefaultValue
:
false
,
setDefaultValue
:
false
,
tmdSkudata
:
null
,
tmdSkudata
:
null
,
isDisabled
:
false
isDisabled
:
false
,
disabled
:
false
},
},
methods
:
{
methods
:
{
//获取二级分类
//获取二级分类
...
@@ -73,7 +74,7 @@ let vm = new Vue({
...
@@ -73,7 +74,7 @@ let vm = new Vue({
successCallback
:
function
(
r
)
{
successCallback
:
function
(
r
)
{
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
that
.
Goodstype2
=
r
.
list
that
.
Goodstype2
=
r
.
list
if
(
r
.
list
.
length
===
0
)
{
if
(
r
.
list
.
length
===
0
)
{
that
.
tbCfStationItem
.
itemCategorytwo
=
null
that
.
tbCfStationItem
.
itemCategorytwo
=
null
}
}
}
}
...
@@ -90,7 +91,7 @@ let vm = new Vue({
...
@@ -90,7 +91,7 @@ let vm = new Vue({
successCallback
:
function
(
r
)
{
successCallback
:
function
(
r
)
{
if
(
r
.
code
===
0
)
{
if
(
r
.
code
===
0
)
{
that
.
Goodstype3
=
r
.
descripiton
that
.
Goodstype3
=
r
.
descripiton
if
(
r
.
descripiton
.
length
===
0
)
{
if
(
r
.
descripiton
.
length
===
0
)
{
that
.
tbCfStationItem
.
itemDescritionId
=
null
that
.
tbCfStationItem
.
itemDescritionId
=
null
}
}
}
}
...
@@ -494,7 +495,7 @@ let vm = new Vue({
...
@@ -494,7 +495,7 @@ let vm = new Vue({
}
}
$
.
get
(
'../tbcfgoodstype/queryAll'
,
res
=>
{
$
.
get
(
'../tbcfgoodstype/queryAll'
,
res
=>
{
this
.
Goodstype
=
res
.
list
;
this
.
Goodstype
=
res
.
list
;
console
.
log
(
'一级分类'
,
this
.
Goodstype
)
console
.
log
(
'一级分类'
,
this
.
Goodstype
)
})
})
}
}
});
});
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论