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
e58238af
Commit
e58238af
authored
Mar 07, 2019
by
cys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
需求更新
parent
b2ea3f89
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
3 deletions
+18
-3
index.vue
src/components/class/index.vue
+2
-1
index.vue
src/components/marketStatistics/index.vue
+2
-1
index.vue
src/components/monthOrder/index.vue
+1
-1
index.vue
src/components/order/index.vue
+4
-0
index.vue
src/components/shop/index.vue
+9
-0
No files found.
src/components/class/index.vue
View file @
e58238af
...
...
@@ -296,8 +296,9 @@
goods_type
:
'1,2'
};
getGoodsListApi
(
json
).
then
(
res
=>
{
console
.
log
(
res
)
res
.
list
.
forEach
(
i
=>
{
i
.
name
=
'['
+
GOODSTYPE
[
i
.
goods_type
]
+
']'
+
'['
+
i
.
current_price
/
100
+
'元]'
+
i
.
name
i
.
name
=
'['
+
i
.
id
+
']'
+
'['
+
GOODSTYPE
[
i
.
goods_type
]
+
']'
+
'['
+
i
.
current_price
/
100
+
'元]'
+
i
.
name
i
.
children
=
[];
});
this
.
goodsList
=
res
.
list
;
...
...
src/components/marketStatistics/index.vue
View file @
e58238af
...
...
@@ -31,8 +31,9 @@
目标差距:
{{
scope
.
row
.
target_diff
<
0
?
'超标'
+
scope
.
row
.
target_diff
*
-
1
:
scope
.
row
.
target_diff
}}
个
<br>
完成率:
<el-progress
style=
"display: inline-block;width: calc(90% - 50px)"
:text-inside=
"true"
:stroke-width=
"16"
status=
"success
"
:percentage=
"scope.row.complete_rate*1000/10"
></el-progress>
style=
"display: inline-block;width: calc(90% - 50px)"
:text-inside=
"true"
:stroke-width=
"16"
:status=
"scope.row.complete_rate>=1?'exception':'success'
"
:percentage=
"scope.row.complete_rate*1000/10"
></el-progress>
</
template
>
<!-- exception -->
</el-table-column>
<el-table-column
prop=
"class_name"
...
...
src/components/monthOrder/index.vue
View file @
e58238af
...
...
@@ -765,7 +765,7 @@
return
val
=
val
/
100
+
'元'
},
filterGoods
(
val
){
return
'['
+
GOODSTYPE
[
val
.
goods_type
]
+
']'
+
'['
+
val
.
current_price
/
100
+
'元]'
+
val
.
name
return
'['
+
val
.
id
+
']'
+
'['
+
GOODSTYPE
[
val
.
goods_type
]
+
']'
+
'['
+
val
.
current_price
/
100
+
'元]'
+
val
.
name
},
buyTypeWay
(
value
){
return
BUYTYPEWAY
[
value
]
...
...
src/components/order/index.vue
View file @
e58238af
...
...
@@ -414,6 +414,7 @@ export default {
page
:
1
,
limit
:
100
,
course_type
:
1
,
status
:
"1,2"
};
getGoodsListApi
(
json
).
then
(
res
=>
{
...
...
@@ -696,6 +697,9 @@ export default {
},
filterGoods
(
val
)
{
return
(
"["
+
val
.
id
+
"]"
+
"["
+
GOODSTYPE
[
val
.
goods_type
]
+
"]"
+
...
...
src/components/shop/index.vue
View file @
e58238af
...
...
@@ -4,6 +4,9 @@
<el-form-item
label=
"商品名称"
>
<el-input
v-model=
"searchFrom.name"
></el-input>
</el-form-item>
<el-form-item
label=
"商品编号"
>
<el-input
v-model=
"searchFrom.goods_id"
></el-input>
</el-form-item>
<el-form-item
label=
"商品类型"
>
<el-select
v-model=
"searchFrom.goods_type"
style=
"width: 120px"
placeholder=
"请选择"
@
change=
"getUser"
>
<el-option
value=
""
label=
"请选择"
></el-option>
...
...
@@ -229,6 +232,7 @@
status
:
'1'
,
course_id
:
''
,
course_type
:
""
,
goods_id
:
""
},
classType
:[
{
...
...
@@ -367,13 +371,18 @@
if
(
this
.
searchFrom
.
course_id
)
{
json
.
course_id
=
this
.
searchFrom
.
course_id
}
if
(
this
.
searchFrom
.
goods_id
)
{
json
.
goods_id
=
this
.
searchFrom
.
goods_id
}
if
(
this
.
searchFrom
.
status
&&
this
.
searchFrom
.
status
!==
'-1'
)
{
json
.
status
=
this
.
searchFrom
.
status
}
if
(
this
.
searchFrom
.
current_price
)
{
json
.
current_price
=
this
.
searchFrom
.
current_price
*
100
}
if
(
this
.
searchFrom
.
course_type
)
{
json
.
course_type
=
this
.
searchFrom
.
course_type
}
getGoodsListApi
(
json
).
then
(
res
=>
{
res
.
list
.
forEach
(
i
=>
{
if
(
i
.
conflict_goods_ids
===
''
){
...
...
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