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 d9ff3fbf
authored
Aug 22, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单管理优化,众筹
1 parent
43448739
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
34 deletions
src/views/orderManage/index.vue
src/views/seckillActivity/editCrowdFund.vue
src/views/orderManage/index.vue
View file @
d9ff3fb
...
@@ -496,19 +496,29 @@ export default {
...
@@ -496,19 +496,29 @@ export default {
tableOption
:
true
,
tableOption
:
true
,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'订单编号'
,
label
:
'客户名称'
,
prop
:
'orderCode'
,
prop
:
'customerName'
,
width
:
'180'
line
:
2
,
width
:
180
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerName
||
'-'
}
},
},
{
{
label
:
'
商户订单
号'
,
label
:
'
手机
号'
,
prop
:
'
outTradeNo
'
,
prop
:
'
customerPhone
'
,
width
:
'160'
,
width
:
130
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
outTradeNo
||
'-'
return
cellValue
.
customerPhone
||
'-'
}
}
},
},
{
{
label
:
'微信名称'
,
prop
:
'weChatName'
,
addHtml
:
'weChatName'
,
width
:
300
},
{
label
:
'订单时间'
,
label
:
'订单时间'
,
prop
:
'createdDate'
,
prop
:
'createdDate'
,
width
:
'180'
,
width
:
'180'
,
...
@@ -533,29 +543,6 @@ export default {
...
@@ -533,29 +543,6 @@ export default {
}
}
},
},
{
{
label
:
'微信名称'
,
prop
:
'weChatName'
,
addHtml
:
'weChatName'
,
width
:
300
},
{
label
:
'客户名称'
,
prop
:
'customerName'
,
line
:
2
,
width
:
180
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerName
||
'-'
}
},
{
label
:
'手机号'
,
prop
:
'customerPhone'
,
width
:
130
,
formatter
:
cellValue
=>
{
return
cellValue
.
customerPhone
||
'-'
}
},
{
label
:
'车架号'
,
label
:
'车架号'
,
prop
:
'vinNo'
,
prop
:
'vinNo'
,
width
:
130
,
width
:
130
,
...
@@ -598,6 +585,12 @@ export default {
...
@@ -598,6 +585,12 @@ export default {
}
}
},
},
{
{
label
:
'其他信息'
,
prop
:
''
,
width
:
'180'
,
line
:
1
},
{
label
:
'活动名称'
,
label
:
'活动名称'
,
prop
:
'activityName'
,
prop
:
'activityName'
,
width
:
'120'
width
:
'120'
...
@@ -631,6 +624,19 @@ export default {
...
@@ -631,6 +624,19 @@ export default {
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
this
.
baseData
.
deliveryTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
deliveryType
+
''
)
?
this
.
baseData
.
deliveryTypeList
.
find
(
item
=>
item
.
confId
==
cellValue
.
deliveryType
).
confName
:
'-'
return
this
.
baseData
.
deliveryTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
deliveryType
+
''
)
?
this
.
baseData
.
deliveryTypeList
.
find
(
item
=>
item
.
confId
==
cellValue
.
deliveryType
).
confName
:
'-'
}
}
},
{
label
:
'订单编号'
,
prop
:
'orderCode'
,
width
:
'180'
},
{
label
:
'商户订单号'
,
prop
:
'outTradeNo'
,
width
:
'160'
,
formatter
:
cellValue
=>
{
return
cellValue
.
outTradeNo
||
'-'
}
}
}
]
]
},
},
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
d9ff3fb
<!-- 众筹活动 -->
<!-- 众筹活动 -->
<
template
>
<
template
>
<div
class=
"edit-share marketing edit-box edit-activity"
v-loading=
"loading"
>
<div
class=
"edit-share marketing edit-box edit-activity"
v-loading=
"loading"
>
<div
class=
"container edit-container"
>
<!-- 基本信息 -->
<!-- 基本信息 -->
<div
class=
"container edit-container"
style=
"min-height: 520px !important;"
>
<p
class=
"edit-title"
>
基本信息
</p>
<p
class=
"edit-title"
>
基本信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
slot=
"activityImg"
class=
"edit-tips m-t-8"
>
展示在首页的活动详情页
</div>
<div
slot=
"activityImg"
class=
"edit-tips m-t-8"
>
展示在首页的活动详情页
</div>
...
@@ -67,7 +67,9 @@
...
@@ -67,7 +67,9 @@
</p>
</p>
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
</div>
<!-- 活动配置 -->
<!-- 活动配置 -->
<div
class=
"container edit-container crowd-config"
>
<p
class=
"edit-title"
>
活动配置
</p>
<p
class=
"edit-title"
>
活动配置
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"configEditFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"configEditFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"configEditFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"configEditFormData"
:formRules=
"editRule"
>
<
template
slot=
"customerServiceFlag"
slot-scope=
"scope"
>
<
template
slot=
"customerServiceFlag"
slot-scope=
"scope"
>
...
@@ -138,7 +140,8 @@
...
@@ -138,7 +140,8 @@
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
<div
class=
"wechat-box"
>
<!-- 展示 -->
<!-- <div class="wechat-box">
<img class="w-100-percent" src="@/assets/seckillActivity/phone.png" />
<img class="w-100-percent" src="@/assets/seckillActivity/phone.png" />
<div class="wechat-back">
<div class="wechat-back">
<p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p>
<p class="wechat-name one-line-ellipsis">{{ editForm.activityName }}</p>
...
@@ -186,7 +189,7 @@
...
@@ -186,7 +189,7 @@
</div>
</div>
<img class="wechat-footer" src="@/assets/seckillActivity/crowd-footer.png" />
<img class="wechat-footer" src="@/assets/seckillActivity/crowd-footer.png" />
</div>
</div>
</div>
</div>
-->
<GLFooter>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ routeInfo.addOrEdit != 'detail' ? '取消' : '返回' }}
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit != 'detail'"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
<el-button
v-if=
"routeInfo.addOrEdit != 'detail'"
type=
"primary"
@
click=
"handleConfirm"
size=
"medium"
:loading=
"loading"
>
提交
</el-button>
...
@@ -670,7 +673,7 @@ export default {
...
@@ -670,7 +673,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
setMinHeight
()
this
.
setMinHeight
(
'.crowd-config'
)
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
.
addOrEdit
!=
'add'
?
this
.
getInfo
()
:
this
.
getMerchantInfo
()
this
.
routeInfo
.
addOrEdit
!=
'add'
?
this
.
getInfo
()
:
this
.
getMerchantInfo
()
var
id
=
this
.
routeInfo
.
id
var
id
=
this
.
routeInfo
.
id
...
...
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