Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
4d0103d9
Commit
4d0103d9
authored
Dec 05, 2020
by
home
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zxf
parent
366275ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
pages/addEditEleProduct/editProductStore.vue
pages/addEditEleProduct/editProductStore.vue
+3
-2
pages/eleProduct/eleProduct.vue
pages/eleProduct/eleProduct.vue
+1
-1
No files found.
pages/addEditEleProduct/editProductStore.vue
View file @
4d0103d9
...
...
@@ -197,7 +197,7 @@
getshopclass
({}).
then
(
res
=>
{
if
(
res
.
code
==
0
){
console
.
log
(
res
.
data
)
//
console.log(res.data)
this
.
ordinary
=
res
.
data
.
ordinary
this
.
weigh
=
res
.
data
.
weigh
this
.
classData
[
1
]
=
Array
.
from
(
res
.
data
.
ordinary
)
...
...
@@ -207,7 +207,7 @@
}
}
console
.
log
(
this
.
classData
[
1
])
//
console.log(this.classData[1])
}
})
...
...
@@ -667,6 +667,7 @@
//添加修改外卖产品
console
.
log
(
'
这里了
'
)
addEditEleProduct
(
can
).
then
((
res1
)
=>
{
console
.
log
(
can
)
console
.
log
(
res1
)
if
(
res1
.
code
==
0
){
this
.
$api
.
msg
(
res1
.
msg
);
...
...
pages/eleProduct/eleProduct.vue
View file @
4d0103d9
...
...
@@ -127,7 +127,7 @@
<view
class=
"infobox"
style=
"width: 60%;"
>
<view
class=
"title oneline"
>
{{
item
.
product_name
}}
</view>
<!--
<view
class=
"time"
>
上架时间:
{{
item
.
create_time
}}
</view>
-->
<view
class=
"price"
>
库存:
{{
item
.
code
.
length
==
13
||
item
.
code
.
length
==
0
?
item
.
stock
:
item
.
stock
/
1000
}}{{
item
.
code
.
length
==
13
||
item
.
code
.
length
==
0
?
'
件
'
:
'
kg
'
}}
</view>
<view
class=
"price"
>
库存:
{{
item
.
code
.
length
==
13
||
item
.
code
.
length
==
0
?
item
.
stock
:
item
.
stock
/
1000
}}
{{
item
.
code
.
length
==
13
||
item
.
code
.
length
==
0
?
'
件
'
:
'
kg
'
}}
</view>
<view
class=
"price"
v-if=
"item.code !='' && item.code!=0"
>
编码:
{{
item
.
code
}}
</view>
</view>
<view
class=
"btnbox flex"
>
...
...
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