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 398d5b99
authored
Aug 16, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
众筹版本回退
1 parent
e9a914d0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
27 deletions
src/views/orderManage/index.vue
src/views/orderManage/orderDetail.vue
src/views/seckillActivity/crowdFundList.vue
src/views/seckillActivity/editCrowdFund.vue
src/views/orderManage/index.vue
View file @
398d5b9
This diff is collapsed.
Click to expand it.
src/views/orderManage/orderDetail.vue
View file @
398d5b9
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
<span
class=
"detail-txt ellipsis-1"
:title=
"detailForm[subItem.name]"
>
{{
detailForm
[
subItem
.
name
]
?
detailForm
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
<span
class=
"detail-txt ellipsis-1"
:title=
"detailForm[subItem.name]"
>
{{
detailForm
[
subItem
.
name
]
?
detailForm
[
subItem
.
name
]
+
(
subItem
.
suffix
||
''
)
:
'-'
}}
</span>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-form-item
label=
"其他信息"
>
{{
detailForm
.
formDescribe
}}
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
<div
:class=
"['container', orderRefund ? 'm-b-20' : 'edit-container']"
>
...
@@ -64,7 +63,6 @@
...
@@ -64,7 +63,6 @@
</GLFooter>
</GLFooter>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
*
as
dayjs
from
'dayjs'
import
*
as
dayjs
from
'dayjs'
import
{
orderManageStatusList
,
orderSourceList
,
deliveryTypeList
}
from
'@/common/constant'
import
{
orderManageStatusList
,
orderSourceList
,
deliveryTypeList
}
from
'@/common/constant'
...
@@ -142,12 +140,10 @@ export default {
...
@@ -142,12 +140,10 @@ export default {
name
:
'shipAddress'
name
:
'shipAddress'
},
},
{
{
label
:
'微信名称'
,
label
:
'其他信息'
,
name
:
'weChatName'
name
:
'formDescribe'
,
},
contentName
:
'formContent'
,
{
attrList
:
[
'First'
,
'Second'
,
'Third'
]
label
:
'活动名称'
,
name
:
'activityName'
},
},
{
{
label
:
'商品名称'
,
label
:
'商品名称'
,
...
@@ -193,8 +189,7 @@ export default {
...
@@ -193,8 +189,7 @@ export default {
deliveryTypeList
:
deliveryTypeList
,
deliveryTypeList
:
deliveryTypeList
,
refundTypeList
:
[
refundTypeList
:
[
{
confId
:
'1'
,
confName
:
'退款退货'
},
{
confId
:
'1'
,
confName
:
'退款退货'
},
{
confId
:
'2'
,
confName
:
'退款不退货'
},
{
confId
:
'2'
,
confName
:
'退款不退货'
}
{
confId
:
'3'
,
confName
:
'众筹订单退款'
}
],
],
shareStaffTypeList
:
[
shareStaffTypeList
:
[
{
confId
:
'1'
,
confName
:
'个微'
},
{
confId
:
'1'
,
confName
:
'个微'
},
...
@@ -203,17 +198,14 @@ export default {
...
@@ -203,17 +198,14 @@ export default {
}
}
}
}
},
},
created
()
{
created
()
{
this
.
formToRow
(
'afterInfoData'
)
this
.
formToRow
(
'afterInfoData'
)
},
},
mounted
()
{
mounted
()
{
this
.
setMinHeight
(
'.edit-box'
)
this
.
setMinHeight
(
'.edit-box'
)
this
.
routeInfo
=
this
.
$route
.
query
this
.
routeInfo
=
this
.
$route
.
query
this
.
getInfo
()
this
.
getInfo
()
},
},
methods
:
{
methods
:
{
formToRow
(
formName
,
numOfRow
=
3
)
{
formToRow
(
formName
,
numOfRow
=
3
)
{
var
rowNum
=
Math
.
ceil
(
this
[
formName
].
length
/
numOfRow
)
var
rowNum
=
Math
.
ceil
(
this
[
formName
].
length
/
numOfRow
)
...
@@ -238,7 +230,6 @@ export default {
...
@@ -238,7 +230,6 @@ export default {
if
(
this
.
orderRefund
)
{
if
(
this
.
orderRefund
)
{
this
.
orderRefund
.
refundTypeName
=
this
.
baseData
.
refundTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
res
.
orderRefund
.
refundType
+
''
)
?
this
.
baseData
.
refundTypeList
.
find
(
item
=>
item
.
confId
==
res
.
orderRefund
.
refundType
).
confName
:
'-'
this
.
orderRefund
.
refundTypeName
=
this
.
baseData
.
refundTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
res
.
orderRefund
.
refundType
+
''
)
?
this
.
baseData
.
refundTypeList
.
find
(
item
=>
item
.
confId
==
res
.
orderRefund
.
refundType
).
confName
:
'-'
this
.
orderRefund
.
createdDateStr
=
dayjs
(
this
.
orderRefund
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
this
.
orderRefund
.
createdDateStr
=
dayjs
(
this
.
orderRefund
.
createdDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
this
.
orderRefund
.
refundPrice
=
this
.
orderRefund
.
refundPrice
+
'元'
}
}
if
(
this
.
detailForm
.
shareStaffType
)
{
if
(
this
.
detailForm
.
shareStaffType
)
{
this
.
detailForm
.
shareStaffTypeName
=
this
.
baseData
.
shareStaffTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
this
.
detailForm
.
shareStaffType
+
''
)
?
this
.
baseData
.
shareStaffTypeList
.
find
(
item
=>
item
.
confId
==
this
.
detailForm
.
shareStaffType
).
confName
:
'-'
this
.
detailForm
.
shareStaffTypeName
=
this
.
baseData
.
shareStaffTypeList
.
map
(
item
=>
item
.
confId
).
includes
(
this
.
detailForm
.
shareStaffType
+
''
)
?
this
.
baseData
.
shareStaffTypeList
.
find
(
item
=>
item
.
confId
==
this
.
detailForm
.
shareStaffType
).
confName
:
'-'
...
@@ -247,7 +238,7 @@ export default {
...
@@ -247,7 +238,7 @@ export default {
this
.
detailForm
.
subOrderCoupon
.
discountAmount
=
(
this
.
detailForm
.
subOrderCoupon
.
discountAmount
/
100
).
toFixed
(
2
)
this
.
detailForm
.
subOrderCoupon
.
discountAmount
=
(
this
.
detailForm
.
subOrderCoupon
.
discountAmount
/
100
).
toFixed
(
2
)
}
}
this
.
orderGoods
=
res
.
orderGoods
||
[]
this
.
orderGoods
=
res
.
orderGoods
||
[]
this
.
detailForm
.
payPrice
=
res
.
payPrice
?
res
.
payPrice
+
'元'
:
'
0元
'
this
.
detailForm
.
payPrice
=
res
.
payPrice
?
res
.
payPrice
+
'元'
:
'
-
'
this
.
detailForm
.
orderSourceName
=
this
.
baseData
.
orderSourceList
.
map
(
item
=>
item
.
confId
).
includes
(
res
.
orderSource
+
''
)
?
this
.
baseData
.
orderSourceList
.
find
(
item
=>
item
.
confId
==
res
.
orderSource
).
confName
:
'-'
this
.
detailForm
.
orderSourceName
=
this
.
baseData
.
orderSourceList
.
map
(
item
=>
item
.
confId
).
includes
(
res
.
orderSource
+
''
)
?
this
.
baseData
.
orderSourceList
.
find
(
item
=>
item
.
confId
==
res
.
orderSource
).
confName
:
'-'
this
.
detailForm
.
orderStatusName
=
this
.
baseData
.
orderStatusList
.
map
(
item
=>
item
.
confId
).
includes
(
res
.
orderStatus
+
''
)
?
this
.
baseData
.
orderStatusList
.
find
(
item
=>
item
.
confId
==
res
.
orderStatus
).
confName
:
'-'
this
.
detailForm
.
orderStatusName
=
this
.
baseData
.
orderStatusList
.
map
(
item
=>
item
.
confId
).
includes
(
res
.
orderStatus
+
''
)
?
this
.
baseData
.
orderStatusList
.
find
(
item
=>
item
.
confId
==
res
.
orderStatus
).
confName
:
'-'
if
(
!
this
.
detailForm
.
takeFee
)
{
if
(
!
this
.
detailForm
.
takeFee
)
{
...
@@ -255,15 +246,8 @@ export default {
...
@@ -255,15 +246,8 @@ export default {
this
.
detailFormData
.
splice
(
takeFeeIdx
,
1
)
this
.
detailFormData
.
splice
(
takeFeeIdx
,
1
)
}
}
// 其他信息
// 其他信息
var
formDescribeObj
=
{
var
formDescribeObj
=
this
.
detailFormData
.
find
(
item
=>
item
.
name
==
'formDescribe'
)
label
:
'其他信息'
,
name
:
'formDescribe'
,
contentName
:
'formContent'
,
attrList
:
[
'First'
,
'Second'
]
}
this
.
detailForm
[
formDescribeObj
.
name
]
=
''
this
.
detailForm
[
formDescribeObj
.
name
]
=
''
this
.
detailForm
[
formDescribeObj
.
name
]
=
this
.
detailForm
.
plateNo
?
'车牌号:'
+
this
.
detailForm
.
plateNo
+
' '
:
''
this
.
detailForm
[
formDescribeObj
.
name
]
+=
this
.
detailForm
.
vehicleType
?
'品牌车型:'
+
this
.
detailForm
.
vehicleType
+
' '
:
''
formDescribeObj
.
attrList
.
forEach
(
item
=>
{
formDescribeObj
.
attrList
.
forEach
(
item
=>
{
let
label
=
this
.
detailForm
[
formDescribeObj
.
name
+
item
]
let
label
=
this
.
detailForm
[
formDescribeObj
.
name
+
item
]
let
value
=
this
.
detailForm
[
formDescribeObj
.
contentName
+
item
]
let
value
=
this
.
detailForm
[
formDescribeObj
.
contentName
+
item
]
...
...
src/views/seckillActivity/crowdFundList.vue
View file @
398d5b9
...
@@ -207,10 +207,10 @@ export default {
...
@@ -207,10 +207,10 @@ export default {
return
cellValue
.
profit
?
(
cellValue
.
profit
/
100
).
toFixed
(
2
)
:
'--'
return
cellValue
.
profit
?
(
cellValue
.
profit
/
100
).
toFixed
(
2
)
:
'--'
}
}
},
},
{
//
{
label
:
'粉丝'
,
//
label: '粉丝',
prop
:
'fansAmount'
//
prop: 'fansAmount'
},
//
},
{
{
label
:
'分享'
,
label
:
'分享'
,
prop
:
'shareAmount'
prop
:
'shareAmount'
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
398d5b9
This diff is collapsed.
Click to expand it.
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