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
fed93297
Commit
fed93297
authored
Aug 11, 2021
by
lihui
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
920d7c5d
39b337aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
12 deletions
+14
-12
addProduc.vue
src/pages/Activity/releaseProduc/components/addProduc.vue
+8
-8
index.vue
src/pages/Groupmeal/newOrderManagement/index.vue
+6
-4
No files found.
src/pages/Activity/releaseProduc/components/addProduc.vue
View file @
fed93297
...
...
@@ -280,7 +280,7 @@ export default {
total_amount_order
:
null
,
business1
:
""
},
picStr
:
""
,
picUrlList
:
[],
picUploadList
:
[],
// 上传详情图片列表
isShowPopver
:
false
,
// 是否展示图片框
...
...
@@ -362,6 +362,7 @@ export default {
// 图片上传成功时
handleDetailSuccess
(
res
)
{
this
.
picStr
=
res
.
result
.
image_id
;
this
.
picUploadList
.
push
(
res
.
result
.
image_id
);
},
...
...
@@ -372,6 +373,7 @@ export default {
this
.
picUploadList
.
splice
(
i
,
1
);
}
}
this
.
picStr
=
""
;
this
.
hideUpload
=
this
.
picUploadList
.
length
>=
this
.
limitCount
;
},
...
...
@@ -404,6 +406,10 @@ export default {
url
:
res
.
result
.
goods_info
.
desc_pic_url_list
[
i
]
});
}
this
.
picStr
=
this
.
getUrlParms
(
res
.
result
.
goods_info
.
desc_pic_url_list
[
0
],
"url"
);
},
getUrlParms
(
path
,
name
)
{
...
...
@@ -414,15 +420,9 @@ export default {
// 编辑商品详情
async
editGoodsMet
(
goodsSkuID
)
{
let
pic
;
if
(
this
.
picUrlList
.
length
!=
0
)
{
pic
=
this
.
getUrlParms
(
this
.
picUrlList
[
0
].
url
,
"url"
);
}
else
{
pic
=
this
.
picUploadList
[
0
];
}
const
res
=
await
editGoods
({
goods_name
:
this
.
commodityForm
.
goods_name
,
desc_pic_url
:
pic
,
desc_pic_url
:
this
.
picStr
,
desc
:
""
,
inventory_add
:
this
.
commodityForm
.
inventory_total
,
original_price
:
this
.
commodityForm
.
original_price
,
...
...
src/pages/Groupmeal/newOrderManagement/index.vue
View file @
fed93297
...
...
@@ -156,9 +156,10 @@
size=
"small"
@
click=
"refund(scope.row)"
v-show=
"
scope.row.order_status == '2' ||
(
scope.row.order_status == '2' ||
scope.row.order_status == '6' ||
(scope.row.order_status == '8' && scope.row.payment !== 0)
scope.row.order_status == '8') &&
scope.row.payment !== 0
"
>
退款
</el-button
>
...
...
@@ -244,9 +245,10 @@
size=
"small"
@
click=
"refund(scope.row)"
v-show=
"
scope.row.order_status == '2' ||
(
scope.row.order_status == '2' ||
scope.row.order_status == '6' ||
scope.row.order_status == '8'
scope.row.order_status == '8') &&
scope.row.payment !== 0
"
>
退款
</el-button
>
...
...
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