Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
501da4b8
Commit
501da4b8
authored
Dec 21, 2018
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云集优化
parent
4d32b7ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
dialog.vue
src/components/class/dialog.vue
+2
-0
index.vue
src/components/class/index.vue
+1
-1
No files found.
src/components/class/dialog.vue
View file @
501da4b8
...
...
@@ -39,6 +39,7 @@
<
script
>
import
{
getTeacherListApi
,
getClassDetailApi
,
editClassApi
,
addClassApi
,
getPeriodsApi
,
getGoodsListApi
,
getPeriodsTeacherApi
}
from
"../../service/api"
;
import
{
GOODSTYPE
}
from
'../../util/wordbook'
;
export
default
{
props
:[
'dialogObj'
...
...
@@ -106,6 +107,7 @@
getPeriodList
(){
getGoodsListApi
().
then
(
res
=>
{
res
.
list
.
forEach
(
i
=>
{
i
.
name
=
'['
+
GOODSTYPE
[
i
.
goods_type
]
+
']'
+
'['
+
i
.
current_price
/
100
+
'元]'
+
i
.
name
i
.
children
=
[];
});
this
.
goodsList
=
res
.
list
;
...
...
src/components/class/index.vue
View file @
501da4b8
...
...
@@ -8,7 +8,7 @@
:props=
"
{value:'id',label:'name'}"
@active-item-change="handleItemChange"
@change="changePeriods"
v-model="selectedGoods"
v-model="selectedGoods"
>
</el-cascader>
</el-form-item>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment