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
3be66547
Commit
3be66547
authored
Jul 15, 2022
by
cpa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传视频图标未显示2
parent
a36b0ee2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
src/views/businessGoods/goodsEdit/goods_api.js
+10
-0
src/views/businessGoods/goodsEdit/goods_edit.vue
+4
-2
No files found.
src/views/businessGoods/goodsEdit/goods_api.js
View file @
3be66547
...
@@ -50,3 +50,13 @@ export function addOrEditGoods(data) {
...
@@ -50,3 +50,13 @@ export function addOrEditGoods(data) {
})
})
}
}
/*** 自定义添加 ***/
export
function
getMerchantByAccount
(
parameter
)
{
return
request
({
url
:
'/admin/merchantMallGoods/getMerchantByAccount'
,
method
:
'get'
,
params
:
parameter
})
}
src/views/businessGoods/goodsEdit/goods_edit.vue
View file @
3be66547
...
@@ -179,7 +179,7 @@
...
@@ -179,7 +179,7 @@
<
script
>
<
script
>
let
DBG
=
fals
e
let
DBG
=
tru
e
import
{
import
{
ZmMixin
ZmMixin
}
from
'@/mixins/ZmMixin.js'
}
from
'@/mixins/ZmMixin.js'
...
@@ -192,8 +192,9 @@
...
@@ -192,8 +192,9 @@
getClassifyDropDown
,
getClassifyDropDown
,
getGoodsDetails
,
getGoodsDetails
,
addOrEditGoods
,
addOrEditGoods
,
addOrEdit
getMerchantByAccount
,
}
from
'./goods_api.js'
}
from
'./goods_api.js'
export
default
{
export
default
{
mixins
:
[
ZmMixin
],
mixins
:
[
ZmMixin
],
components
:
{
components
:
{
...
@@ -705,6 +706,7 @@
...
@@ -705,6 +706,7 @@
addOrEditGoods
(
this
.
form
).
then
(
data
=>
{
addOrEditGoods
(
this
.
form
).
then
(
data
=>
{
this
.
$message
.
success
(
'修改成功'
)
this
.
$message
.
success
(
'修改成功'
)
done
()
done
()
this
.
handleClose
()
}).
catch
(()
=>
{
}).
catch
(()
=>
{
});
});
}
}
...
...
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