Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
df9bfebd
提交
df9bfebd
authored
3月 11, 2021
作者:
陆
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
分类导航管理(标题自动配置)
上级
f44b68d9
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
23 行增加
和
3 行删除
+23
-3
tbcfclassification.html
.../src/main/webapp/WEB-INF/page/sys/tbcfclassification.html
+2
-2
tbcfclassification.js
platform-admin/src/main/webapp/js/sys/tbcfclassification.js
+21
-1
没有找到文件。
platform-admin/src/main/webapp/WEB-INF/page/sys/tbcfclassification.html
浏览文件 @
df9bfebd
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<i-form
ref=
"formValidate"
:model=
"tbCfClassification"
:rules=
"ruleValidate"
:label-width=
"80"
>
<i-form
ref=
"formValidate"
:model=
"tbCfClassification"
:rules=
"ruleValidate"
:label-width=
"80"
>
<Form-item
label=
"标题"
prop=
"classTitle"
style=
"width:800px"
>
<Form-item
label=
"标题"
prop=
"classTitle"
style=
"width:800px"
>
<i-input
v-model=
"tbCfClassification.classTitle"
placeholder=
"标题"
/>
<i-input
v-model=
"tbCfClassification.classTitle"
placeholder=
"标题"
disabled
/>
</Form-item>
</Form-item>
<!--<Form-item label="商品一级分类" prop="goodtypeId">
<!--<Form-item label="商品一级分类" prop="goodtypeId">
<i-input v-model="tbCfClassification.goodtypeId" placeholder="商品一级分类"/>
<i-input v-model="tbCfClassification.goodtypeId" placeholder="商品一级分类"/>
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
</i-select>
</i-select>
</Form-item>
</Form-item>
<Form-item
label=
"三级商品分类"
prop=
"categoryIdThree"
style=
"width:800px"
>
<Form-item
label=
"三级商品分类"
prop=
"categoryIdThree"
style=
"width:800px"
>
<i-select
placeholder=
"请选择"
v-model=
"categoryIdThree"
>
<i-select
placeholder=
"请选择"
v-model=
"categoryIdThree"
@
on-change=
"changeGoodstype3"
>
<i-option
v-for=
"(el,i) in Goodstype2"
:key=
'i'
<i-option
v-for=
"(el,i) in Goodstype2"
:key=
'i'
:value=
"el.descripitionId"
>
{{el.descripitionName}}
:value=
"el.descripitionId"
>
{{el.descripitionName}}
</i-option>
</i-option>
...
...
platform-admin/src/main/webapp/js/sys/tbcfclassification.js
浏览文件 @
df9bfebd
...
@@ -110,7 +110,13 @@ let vm = new Vue({
...
@@ -110,7 +110,13 @@ let vm = new Vue({
}
else
{
}
else
{
url
=
"../tbcfstationitem/queryByItemType?typeId="
+
this
.
tbCfClassification
.
goodtypeId
;
url
=
"../tbcfstationitem/queryByItemType?typeId="
+
this
.
tbCfClassification
.
goodtypeId
;
}
}
console
.
log
(
'url'
,
url
)
var
list
=
vm
.
Goodstype
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
){
if
(
list
[
i
].
goodstypeId
==
vm
.
tbCfClassification
.
goodtypeId
){
vm
.
tbCfClassification
.
classTitle
=
list
[
i
].
goodstypeTitle
}
}
console
.
log
(
'url'
,
e
)
let
that
=
this
;
let
that
=
this
;
Ajax
.
request
({
Ajax
.
request
({
url
:
url
,
url
:
url
,
...
@@ -138,6 +144,12 @@ let vm = new Vue({
...
@@ -138,6 +144,12 @@ let vm = new Vue({
}
else
{
}
else
{
url
=
"../tbcfstationitem/queryByItemTypeTwo?typeTwoId="
+
this
.
categoryIdTwo
;
url
=
"../tbcfstationitem/queryByItemTypeTwo?typeTwoId="
+
this
.
categoryIdTwo
;
}
}
var
list
=
vm
.
Goodstype1
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
){
if
(
list
[
i
].
goodstwotypeId
==
vm
.
categoryIdTwo
){
vm
.
tbCfClassification
.
classTitle
=
list
[
i
].
goodstwotypeTitle
}
}
let
that
=
this
;
let
that
=
this
;
Ajax
.
request
({
Ajax
.
request
({
url
:
url
,
url
:
url
,
...
@@ -155,6 +167,14 @@ let vm = new Vue({
...
@@ -155,6 +167,14 @@ let vm = new Vue({
}
}
});
});
},
},
changeGoodstype3
(
e
)
{
var
list
=
vm
.
Goodstype2
for
(
var
i
=
0
;
i
<
list
.
length
;
i
++
){
if
(
list
[
i
].
descripitionId
==
vm
.
categoryIdThree
){
vm
.
tbCfClassification
.
classTitle
=
list
[
i
].
descripitionName
}
}
},
del
:
function
(
event
)
{
del
:
function
(
event
)
{
let
ids
=
getSelectedRows
(
"#jqGrid"
);
let
ids
=
getSelectedRows
(
"#jqGrid"
);
if
(
ids
==
null
)
{
if
(
ids
==
null
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论