Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
21b3b089
Commit
21b3b089
authored
Jul 22, 2022
by
cpa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商家端
parent
c3e8b019
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
11 deletions
+25
-11
src/views/businessGoods/goodsEdit/goods_edit.vue
+25
-11
No files found.
src/views/businessGoods/goodsEdit/goods_edit.vue
View file @
21b3b089
...
...
@@ -380,18 +380,32 @@
this
.
clearData
()
}
this
.
loading
=
true
let
userInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"linshenxs-userInfo"
))
let
account
=
userInfo
.
content
.
username
this
.
$axios
.
get
(
"/admin/merchantMallGoods/merchantDropDownBox"
,{
params
:{
merchantId
:
userInfo
.
content
.
username
},
}).
then
(
response
=>
{
console
.
log
(
JSON
.
stringify
(
response
)
)
return
response
.
data
},
error
=>
{
console
.
log
(
'错误'
,
error
.
message
)
})
getClassifyDropDown
()
.
then
(
r
=>
{
this
.
classOptions
=
this
.
zmRes
(
r
)
if
(
DBG
)
{
this
.
refill
(
mock
)
}
else
{
if
(
id
!=
undefined
)
{
this
.
flags
=
true
return
getGoodsDetails
({
id
:
id
})
}
}
return
Promise
.
resolve
()
})
.
then
(
r
=>
{
this
.
loading
=
false
if
(
r
)
{
let
z
=
this
.
zmRes
(
r
)
if
(
z
)
{
this
.
refill
(
z
)
}
}
})
.
catch
(
e
=>
{
this
.
loading
=
false
})
},
//清除数据
clearData
()
{
...
...
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