Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-link
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f78a2620
authored
Mar 10, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
f47bf145
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
src/main.js
src/views/activityLink/editActivity.vue
src/views/activityOrder/orderDetail.vue
src/main.js
View file @
f78a262
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-08-13 14:12:11
* @Date: 2021-08-13 14:12:11
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-0
2-27 10:20:0
0
* @LastEditTime: 2023-0
3-10 18:08:5
0
* @FilePath: \scrm\scrm-sub-blog\src\main.js
* @FilePath: \scrm\scrm-sub-blog\src\main.js
*/
*/
import
Vue
from
'vue'
import
Vue
from
'vue'
...
@@ -20,7 +20,7 @@ Vue.prototype.size = 'small'
...
@@ -20,7 +20,7 @@ Vue.prototype.size = 'small'
Vue
.
prototype
.
defaultLabelWidth
=
'154px'
Vue
.
prototype
.
defaultLabelWidth
=
'154px'
try
{
try
{
const
loginpath
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'SCRM_BASE_SESSION'
))?.
loginpath
const
loginpath
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'SCRM_BASE_SESSION'
))?.
loginpath
if
(
loginpath
!
==
'/oss'
)
Vue
.
prototype
.
loginpath
=
true
if
(
loginpath
=
==
'/oss'
)
Vue
.
prototype
.
loginpath
=
true
}
catch
(
e
)
{
}
catch
(
e
)
{
console
.
log
(
e
)
console
.
log
(
e
)
}
}
...
...
src/views/activityLink/editActivity.vue
View file @
f78a262
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
</div>
</div>
</div>
</div>
<
template
slot=
"selectGoodsBtn"
>
<
template
slot=
"selectGoodsBtn"
>
<div><el-switch
:active-value=
"2"
:inactive-value=
"1"
v-model=
"editForm.equityCouponSelectFlag"
></el-switch></div>
<el-button
type=
"default"
class=
"el-icon-plus"
@
click=
"handleGoodsAdd"
>
选择福利券
</el-button>
<el-button
type=
"default"
class=
"el-icon-plus"
@
click=
"handleGoodsAdd"
>
选择福利券
</el-button>
</
template
>
</
template
>
<div
slot=
"goodsListBlock"
style=
"width: 900px"
:style=
"{ 'margin-left': defaultLabelWidth }"
v-if=
"selectedGoodsList && selectedGoodsList.length"
>
<div
slot=
"goodsListBlock"
style=
"width: 900px"
:style=
"{ 'margin-left': defaultLabelWidth }"
v-if=
"selectedGoodsList && selectedGoodsList.length"
>
...
@@ -521,7 +520,6 @@ export default {
...
@@ -521,7 +520,6 @@ export default {
// activityImg: '',
// activityImg: '',
// promotion: '',
// promotion: '',
activityTime
:
[],
activityTime
:
[],
equityCouponSelectFlag
:
2
,
// goodsStock: '',
// goodsStock: '',
// goodsId: '',
// goodsId: '',
// 优惠券
// 优惠券
...
...
src/views/activityOrder/orderDetail.vue
View file @
f78a262
...
@@ -198,11 +198,16 @@ export default {
...
@@ -198,11 +198,16 @@ export default {
}
}
}
}
},
},
//过滤优惠券列表
VerficationDTOList
(
row
)
{
return
row
.
filter
(
i
=>
i
.
discountType
!=
8
)
},
getInfo
()
{
getInfo
()
{
this
.
$apis
.
orderManage
.
orderDetail
({
orderCode
:
this
.
routeInfo
.
orderCode
}).
then
(
res
=>
{
this
.
$apis
.
orderManage
.
orderDetail
({
orderCode
:
this
.
routeInfo
.
orderCode
}).
then
(
res
=>
{
if
(
!
res
)
return
if
(
!
res
)
return
this
.
detailForm
=
res
this
.
detailForm
=
res
this
.
tableData
=
res
.
expandedGoldUserCouponDTOS
||
[]
const
tableData
=
res
.
expandedGoldUserCouponDTOS
||
[]
this
.
tableData
=
tableData
.
filter
(
i
=>
i
.
discountType
!=
8
)
this
.
orderRefund
=
res
.
orderRefund
||
null
this
.
orderRefund
=
res
.
orderRefund
||
null
this
.
detailForm
.
createdDateStr
=
dayjs
(
this
.
detailForm
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
this
.
detailForm
.
createdDateStr
=
dayjs
(
this
.
detailForm
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
if
(
this
.
orderRefund
)
{
if
(
this
.
orderRefund
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment