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
672d7414
Commit
672d7414
authored
Jul 16, 2021
by
pengyunqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
https://git.yidian-inc.com:8021/bp/op-web-service
into pyq_goods
parents
23edc78a
19293041
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
enterpriseForm.vue
src/pages/Enterprise/components/enterpriseForm.vue
+2
-2
index.vue
src/pages/Goods/Detail/index.vue
+7
-7
No files found.
src/pages/Enterprise/components/enterpriseForm.vue
View file @
672d7414
...
@@ -259,7 +259,7 @@ export default {
...
@@ -259,7 +259,7 @@ export default {
name
:
null
,
// 企业名称(!)
name
:
null
,
// 企业名称(!)
entterprise_image_url
:
null
,
// 金山云图片地址(!)
entterprise_image_url
:
null
,
// 金山云图片地址(!)
/* *********身份认证信息********* */
/* *********身份认证信息********* */
record_id
:
null
,
// 企业认证id
enterprise_auth_
record_id
:
null
,
// 企业认证id
front_img
:
""
,
// 身份证正面照的金山云objectid(!)
front_img
:
""
,
// 身份证正面照的金山云objectid(!)
bak_img
:
""
,
// 身份证反面照的尖山云objeid(!)
bak_img
:
""
,
// 身份证反面照的尖山云objeid(!)
idcard_number
:
""
,
// 身份证号(!)
idcard_number
:
""
,
// 身份证号(!)
...
@@ -406,7 +406,7 @@ export default {
...
@@ -406,7 +406,7 @@ export default {
};
};
postBusiness
(
enterpriseQuery
).
then
(
res
=>
{
postBusiness
(
enterpriseQuery
).
then
(
res
=>
{
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
if
(
res
.
code
!==
0
)
return
this
.
$message
.
error
(
res
.
reason
);
this
.
establishForm
.
enterprise_id
=
this
.
establishForm
.
enterprise_
auth_record_
id
=
res
.
result
.
enterprise_auth_record_id
;
res
.
result
.
enterprise_auth_record_id
;
// 提交法人信息
// 提交法人信息
this
.
uploadLegal
();
this
.
uploadLegal
();
...
...
src/pages/Goods/Detail/index.vue
View file @
672d7414
...
@@ -627,7 +627,7 @@ import {
...
@@ -627,7 +627,7 @@ import {
checkGoodsName
,
checkGoodsName
,
getShopsList
,
getShopsList
,
postAddShop
,
postAddShop
,
//
editGoods
editGoods
}
from
"@/service/Goods/goods"
;
}
from
"@/service/Goods/goods"
;
import
{
GOODS_URI
}
from
"../../../../server/config.js"
;
import
{
GOODS_URI
}
from
"../../../../server/config.js"
;
...
@@ -1276,12 +1276,12 @@ export default {
...
@@ -1276,12 +1276,12 @@ export default {
console
.
log
(
query
);
console
.
log
(
query
);
//
const res = await editGoods(query);
const
res
=
await
editGoods
(
query
);
//
if (res.code !== 0) {
if
(
res
.
code
!==
0
)
{
//
return this.$message.error(res.reason);
return
this
.
$message
.
error
(
res
.
reason
);
//
}
}
//
this.$message.success("商品编辑成功!");
this
.
$message
.
success
(
"商品编辑成功!"
);
//
this.$router.replace({ name: "GoodsList" });
this
.
$router
.
replace
({
name
:
"GoodsList"
});
}
}
}
}
};
};
...
...
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