Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 44984881
authored
Aug 02, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单管理,新增/编辑众筹,表单
1 parent
3d40d852
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
65 additions
and
6 deletions
src/views/orderManage/index.vue
src/views/orderManage/orderDetail.vue
src/views/seckillActivity/editCrowdFund.vue
src/views/orderManage/index.vue
View file @
4498488
...
...
@@ -26,6 +26,13 @@
<!-- 表格区域 - 全部订单/售后订单 - 开始 -->
<GLTable
ref=
"allOrderRef"
:getListApi=
"getListApi"
:noDataImg=
"url"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
>
<div
slot=
"shareName"
class=
"flex-align"
slot-scope=
"scope"
>
<el-popover
placement=
"top"
width=
"160"
trigger=
"hover"
popper-class=
"table-popover-block"
>
<img
class=
"table-popover-img"
:src=
"scope.scope.shareAvatar"
/>
<img
class=
"img-36 pointer"
slot=
"reference"
:src=
"scope.scope.shareAvatar"
/>
</el-popover>
<span
class=
"m-l-10"
>
{{
scope
.
scope
.
shareName
}}
</span>
</div>
<template
slot=
"vinNo"
slot-scope=
"scope"
>
{{
Array
.
isArray
(
scope
.
scope
.
vinNo
)
?
scope
.
scope
.
vinNo
[
0
]
:
scope
.
scope
.
vinNo
}}
<el-popover
popper-class=
"order-table-popover"
placement=
"right-start"
trigger=
"click"
>
...
...
@@ -393,6 +400,20 @@ export default {
},
{
type
:
'GLButton'
,
name
:
'退款'
,
attrs
:
{
type
:
'text'
,
fn
:
'退款'
},
condition
:
row
=>
{
return
row
.
deliveryType
==
1
&&
row
.
orderStatus
==
21
&&
row
.
orderSource
==
4
},
listeners
:
{
// click: this.handleWriteOff
}
},
{
type
:
'GLButton'
,
name
:
'订单核销'
,
attrs
:
{
type
:
'text'
,
...
...
@@ -476,6 +497,11 @@ export default {
}
},
{
label
:
'微信名称'
,
prop
:
'shareName'
,
addHtml
:
'shareName'
},
{
label
:
'支付时间'
,
prop
:
'payDate'
,
width
:
'180'
,
...
...
@@ -761,6 +787,10 @@ export default {
},
handleWriteOff
(
row
)
{
if
(
row
.
orderSource
==
4
)
{
this
.
secondConfirm
(
'订单核销'
,
'请确定是否核销此订单?'
,
'classifyList'
,
'deleteClassifyApi'
,
{
orderCode
:
row
.
orderCode
})
return
true
}
this
.
isWriteOffVisible
=
!
this
.
isWriteOffVisible
this
.
orderCode
=
row
.
orderCode
},
...
...
src/views/orderManage/orderDetail.vue
View file @
4498488
...
...
@@ -145,6 +145,10 @@ export default {
name
:
'formDescribe'
,
contentName
:
'formContent'
,
attrList
:
[
'First'
,
'Second'
,
'Third'
]
},
{
label
:
'微信名称'
,
name
:
''
}
],
// 售后信息
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
4498488
...
...
@@ -122,6 +122,9 @@
<div
slot=
"activityVideos"
class=
"edit-tips m-t-8"
>
最多上传6个视频
</div>
<div
slot=
"posterImg"
class=
"edit-tips m-t-8"
>
建议尺寸640*1008
</div>
<div
class=
"form-describe-box"
slot=
"formDescribe"
>
<el-checkbox-group
v-model=
"editForm.formDescribeCheck"
>
<el-checkbox
v-for=
"(item, index) in formDescribeCheckList"
:label=
"item.name"
:key=
"index"
>
{{ item.name }}
</el-checkbox>
</el-checkbox-group>
<div
v-for=
"(item, index) in formDescribeList"
:key=
"index"
class=
"form-describe flex-default"
>
<el-input
class=
"describe-input"
v-model=
"item.value"
placeholder=
"请输入"
maxlength=
"20"
></el-input>
<p
class=
"describe-delete"
>
...
...
@@ -266,7 +269,8 @@ export default {
fictitiousLadderQuantity
:
30
,
fictitiousViewQuantity
:
''
,
forwardTitle
:
''
,
posterImg
:
''
posterImg
:
''
,
formDescribeCheck
:
[]
// formDescribeFirst: '',
// formDescribeSecond: '',
// formDescribeThird: ''
...
...
@@ -343,11 +347,21 @@ export default {
forwardTitle
:
[{
required
:
true
,
message
:
'请输入转发标题'
,
trigger
:
'change'
}]
},
// 表单设置
describeNum
:
3
,
formDescribeCheckList
:
[
{
name
:
'车牌号'
,
value
:
''
},
{
name
:
'品牌车型'
,
value
:
''
}
],
describeNum
:
2
,
describeIdxToAttr
:
{
0
:
'First'
,
1
:
'Second'
,
2
:
'Third'
1
:
'Second'
//
2: 'Third'
},
formDescribeList
:
[
{
...
...
@@ -638,6 +652,13 @@ export default {
label
:
'表单设置'
,
name
:
'formDescribe'
,
addHtml
:
'formDescribe'
},
{
label
:
'视频号链接'
,
name
:
''
,
width
:
'474px'
,
type
:
'input'
,
maxlength
:
300
}
]
}
...
...
@@ -1116,6 +1137,9 @@ export default {
this
.
formDescribeList
.
push
({
value
:
this
.
editForm
[
'formDescribe'
+
this
.
describeIdxToAttr
[
index
]]
})
}
})
if
(
this
.
formDescribeList
.
length
==
3
)
{
this
.
formDescribeList
.
pop
()
}
if
(
!
this
.
formDescribeList
.
length
)
{
this
.
formDescribeList
=
[{
value
:
''
}]
}
...
...
@@ -1532,11 +1556,12 @@ export default {
.edit-activity
.form-describe-box
{
width
:
597px
;
background
:
#f9f9f9
;
padding
:
20px
;
}
.edit-activity
.describe-btn
{
color
:
#5850ff
;
cursor
:
pointer
;
padding
:
0
0
20px
20px
;
padding
:
0
;
}
.edit-activity
.form-describe-box
.icon-add
{
width
:
20px
;
...
...
@@ -1544,7 +1569,7 @@ export default {
vertical-align
:
middle
;
}
.edit-activity
.form-describe
{
padding
:
0
20px
10px
;
padding
:
0
20px
10px
0
;
}
.edit-activity
.form-describe
:first-child
{
padding
:
20px
20px
10px
;
...
...
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