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
4b87513f
Commit
4b87513f
authored
Aug 18, 2021
by
v-yuchenglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:活动详情增加参与查看人,新订单详细地址修改
parent
e2dd540a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
8 deletions
+40
-8
index.vue
src/pages/Activity/ActivityDetail/index.vue
+2
-1
addProduc.vue
src/pages/Activity/releaseProduc/components/addProduc.vue
+9
-1
index.vue
src/pages/Groupmeal/newOrderManagement/index.vue
+29
-6
No files found.
src/pages/Activity/ActivityDetail/index.vue
View file @
4b87513f
...
...
@@ -42,6 +42,8 @@
<el-card
class=
"activityGoods box-card"
>
<div
class=
"my-header"
>
<h3>
{{
marketingInfo
.
marketing_name
}}
</h3>
<!-- 查看参与字段待确认 -->
<p><span>
{{
detailInfo
.
lookUserCount
}}
人查看
</span>
|
<span>
{{
detailInfo
.
haveBuyGoodsUserCount
}}
人参与
</span></p>
<p
class=
"endTime"
>
{{
showTimer
}}
</p>
</div>
<p
class=
"title"
>
拼单商品
</p>
...
...
@@ -144,7 +146,6 @@ export default {
marketing_id
:
this
.
$route
.
query
.
marketing_id
}
)
]);
this
.
pageLoading
=
false
;
this
.
goodsList
=
dataArr
[
0
].
result
.
goods_list
;
this
.
marketingInfo
=
dataArr
[
0
].
result
.
marketing_info
;
...
...
src/pages/Activity/releaseProduc/components/addProduc.vue
View file @
4b87513f
...
...
@@ -10,7 +10,8 @@
>
</div>
<!-- Tab -->
<el-table
:data=
"comTableData"
border
style=
"width: 100%"
>
<el-table
:data=
"comTableData"
border
style=
"width: 100%"
:header-cell-style=
"cellClass"
>
<el-table-column
label=
"显示顺序"
align=
"center"
width=
"50px"
>
<el-table-column
label=
""
align=
"center"
width=
"50px"
>
<template
#
default=
"scope"
>
<i
class=
"el-icon-top"
@
click=
"upMove(scope.$index, scope.row)"
style=
"margin-right:15px;"
></i>
...
...
@@ -21,6 +22,7 @@
<i
class=
"el-icon-bottom"
@
click=
"upDown(scope.$index, scope.row)"
></i>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"goods_sku_id"
label=
"商品ID"
...
...
@@ -361,6 +363,12 @@ var addProduct = {
};
},
methods
:
{
cellClass
({
row
,
column
,
rowIndex
,
columnIndex
}){
if
(
rowIndex
===
1
){
return
{
display
:
'none'
}
}
},
// 上移
upMove
(
index
)
{
if
(
index
<=
0
)
{
...
...
src/pages/Groupmeal/newOrderManagement/index.vue
View file @
4b87513f
...
...
@@ -79,11 +79,12 @@
</el-select>
</el-form-item>
<el-form-item
label=
"详细地址:"
prop=
"
detailed
_address"
>
<el-form-item
label=
"详细地址:"
prop=
"
take_place
_address"
>
<el-select
v-model=
"orderQueryObj.
detailed
_address"
v-model=
"orderQueryObj.
take_place
_address"
placeholder=
"请选择"
filterable
@
change=
"takePlaceAddressSel"
>
<el-option
v-for=
"item in detailedAddressArr"
...
...
@@ -409,7 +410,7 @@ export default {
cust_user
:
""
,
// 收货人
order_id
:
""
,
// 订单编号
sub_shop_id
:
""
,
// 自提点
detailed
_address
:
""
,
//详细地址
take_place
_address
:
""
,
//详细地址
create_time_start
:
""
,
// 开始时间
create_time_end
:
""
,
// 结束时间
}
,
...
...
@@ -519,7 +520,7 @@ export default {
async
activityNameSel
(
val
)
{
this
.
orderQueryObj
.
goods_id
=
""
;
this
.
orderQueryObj
.
sub_shop_id
=
""
;
this
.
orderQueryObj
.
detailed
_address
=
""
;
this
.
orderQueryObj
.
take_place
_address
=
""
;
const
params
=
{
marketing_id
:
val
,
}
;
...
...
@@ -548,8 +549,10 @@ export default {
// 自提点获取详细地址
subShopSel
(
val
)
{
var
addressVal
,
arr
=
[];
this
.
orderQueryObj
.
detailed_address
=
""
;
let
addressVal
,
arr
=
[];
this
.
orderQueryObj
.
take_place_address
=
""
;
this
.
orderQueryObj
.
sub_shop_list
=
""
;
for
(
var
i
in
this
.
selLiftPoinArr
)
{
if
(
this
.
selLiftPoinArr
[
i
].
take_place_id
==
val
)
{
addressVal
=
this
.
selLiftPoinArr
[
i
].
address
;
...
...
@@ -561,9 +564,28 @@ export default {
arr
.
push
(
this
.
detailedAddressArr
[
n
]);
}
}
this
.
orderQueryObj
.
take_place_address
=
arr
[
0
];
this
.
detailedAddressArr
=
arr
;
}
,
// 详细地址获取自提点
takePlaceAddressSel
(
val
)
{
let
arr
=
[],
arrID
=
[];
this
.
orderQueryObj
.
sub_shop_id
=
""
;
this
.
orderQueryObj
.
sub_shop_list
=
""
;
for
(
var
i
in
this
.
selLiftPoinArr
)
{
if
(
val
==
this
.
selLiftPoinArr
[
i
].
address
)
{
arr
.
push
(
this
.
selLiftPoinArr
[
i
]);
arrID
.
push
(
this
.
selLiftPoinArr
[
i
].
take_place_id
);
}
}
this
.
selLiftPoinArr
=
arr
;
if
(
this
.
orderQueryObj
.
sub_shop_id
==
""
)
{
this
.
orderQueryObj
.
sub_shop_list
=
arrID
.
join
(
","
);
}
}
,
// 获取今天日期
today
()
{
this
.
order_time
[
0
]
=
dayJs
(
...
...
@@ -601,6 +623,7 @@ export default {
this
.
order_time
=
[];
this
.
orderQueryObj
.
create_time_start
=
""
;
this
.
orderQueryObj
.
create_time_end
=
""
;
this
.
orderQueryObj
.
sub_shop_list
=
""
;
this
.
orderQueryObj
.
page
=
1
;
this
.
orderQueryObj
.
page_size
=
10
;
this
.
$refs
[
formName
].
resetFields
();
...
...
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