Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
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
bp
op-web-service
Commits
d94838c6
Commit
d94838c6
authored
Sep 10, 2021
by
jisiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: 商家管理
parent
ec4be6d4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
goods.js
server/controllers/goods.js
+1
-1
index.vue
src/pages/Groupmeal/merchantManagement/index.vue
+2
-1
No files found.
server/controllers/goods.js
View file @
d94838c6
...
@@ -234,7 +234,7 @@ exports.deleteOta = async (ctx) => {
...
@@ -234,7 +234,7 @@ exports.deleteOta = async (ctx) => {
};
};
// 商家列表-修改
// 商家列表-修改
exports
.
updateOta
=
async
(
ctx
)
=>
{
exports
.
updateOta
=
async
(
ctx
)
=>
{
const
url
=
`
${
GOODS_URI
}
/goods/background/u
o
date_ota`
;
const
url
=
`
${
GOODS_URI
}
/goods/background/u
p
date_ota`
;
const
opts
=
{
const
opts
=
{
url
,
url
,
method
:
"POST"
,
method
:
"POST"
,
...
...
src/pages/Groupmeal/merchantManagement/index.vue
View file @
d94838c6
...
@@ -111,7 +111,8 @@
...
@@ -111,7 +111,8 @@
methods
:
{
methods
:
{
modifyMerchant
(
id
,
index
)
{
modifyMerchant
(
id
,
index
)
{
if
(
typeof
id
==
"number"
)
{
if
(
typeof
id
==
"number"
)
{
this
.
addMerchant
=
this
.
merchantList
[
index
];
// this.addMerchant = this.merchantList[index];
this
.
addMerchant
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
merchantList
[
index
]));
}
}
this
.
merchantAdd
=
true
;
this
.
merchantAdd
=
true
;
},
},
...
...
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