Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
a594deb9
Commit
a594deb9
authored
Aug 07, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6623b672
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
49 deletions
+60
-49
OrderList.vue
src/components/CarDealerOrder/components/OrderList.vue
+60
-49
No files found.
src/components/CarDealerOrder/components/OrderList.vue
View file @
a594deb9
...
...
@@ -165,6 +165,9 @@
.mt20
{
margin-top
:
20px
;
}
.mb5
{
margin-bottom
:
5px
;
}
.mb
{
margin-bottom
:
10px
;
...
...
@@ -192,6 +195,9 @@
padding
:
15px
0
;
}
.pyt5
{
padding
:
5px
0
0
0
;
}
.py5
{
padding
:
5px
0
;
}
...
...
@@ -518,11 +524,11 @@
<
template
>
<div
class=
"orderlist-box"
>
<div
style=
"text-align: right;position: fixed;top: 62px; right: 89px;"
>
<
!--
<
div
style=
"text-align: right;position: fixed;top: 62px; right: 89px;"
>
<el-button
class=
"hollowFixedBtn"
v-if=
"pagesTitle=='OP'"
@
click=
"setCompleted"
:loading=
"CompletedLoading"
>
{{
$t
(
'objFill.oneclickfinish'
)
}}
</el-button>
</div>
</div>
-->
<div>
<div
v-for=
"(chind,indexs) in OrderList"
style=
"background: #fff;
...
...
@@ -578,7 +584,7 @@
<span
class=
"mr"
>
{{$t('objFill.orderholder')}}:
{{chind.CreateByName}}/{{chind.CreateDateStr}}
</span>
<div
class=
""
>
<
!-- <
div class="">
<i class="mx5" :class="{
'el-icon-alarm-clock c20C997': chind.OrderState == 1,
'el-icon-refresh cff9800': chind.OrderState == 2,
...
...
@@ -589,7 +595,7 @@
}">
{{ chind.typeInfo.Name }}
</span>
</div>
</div>
-->
</div>
</div>
<el-table
v-if=
"chind.OrderType==2"
:data=
"[chind]"
style=
"width:100%;margin-bottom: 10px;"
border
>
...
...
@@ -605,61 +611,62 @@
<el-tooltip
v-if=
"scope.row.OrderState == 1"
class=
"item"
effect=
"dark"
:content=
"$t('objFill.preparedocument')"
placement=
"top"
>
<i
class=
"el-icon-circle-plus cursor-pointer c059FF6"
@
click=
"makeAdocument(chi
l
d, scope.row, 1)"
></i>
@
click=
"makeAdocument(chi
n
d, scope.row, 1)"
></i>
</el-tooltip>
</template>
</el-table-column>
<el-table-column
width=
"1
50
"
label=
"包月时间"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
label=
"包月时间"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
BCMonth
}}
/
{{
scope
.
row
.
BCDay
}}
天
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
:label=
"$t('objFill.caravanshopcol.t3')"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
:label=
"$t('objFill.caravanshopcol.t3')"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Money
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
:label=
"$t('objFill.caravanshopcol.t5')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
:label=
"$t('objFill.caravanshopcol.t5')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"150"
:label=
"$t('objFill.caravanshopcol.t6')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"115"
:label=
"$t('objFill.caravanshopcol.t8')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
PlatformTax
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"115"
:label=
"$t('objFill.caravanshopcol.t6')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Refund
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
:label=
"$t('objFill.caravanshopcol.t7')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
:label=
"$t('objFill.caravanshopcol.t7')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
PlatformMoney
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
label=
"油费支出"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
label=
"油费支出"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
OutOilFee
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
label=
"停车过路费收入"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
label=
"停车过路费收入"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
InPassByFee
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"150"
:label=
"$t('objFill.caravanshopcol.t8')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
PlatformTax
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"150"
label=
"停车过路费支出"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"115"
label=
"停车过路费支出"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
OutPassByFee
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
:label=
"'其他'+$t('objFill.caravanshopcol.t9')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
:label=
"'其他'+$t('objFill.caravanshopcol.t9')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
CostMoney
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
:label=
"$t('objFill.caravanshopcol.t4')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
:label=
"$t('objFill.caravanshopcol.t4')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
DueInMoney
}}
</span>
</
template
>
...
...
@@ -762,57 +769,62 @@
</div>
</
template
>
</el-table-column>
<el-table-column
v-if=
"chind.OrderType==1"
width=
"1
50
"
:label=
"$t('objFill.caravanshopcol.t3')"
style=
"background:#EAEAEA"
>
<el-table-column
v-if=
"chind.OrderType==1"
width=
"1
15
"
:label=
"$t('objFill.caravanshopcol.t3')"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Money
}}
</span>
</
template
>
</el-table-column>
<el-table-column
v-if=
"chind.OrderType==1"
width=
"150"
:label=
"$t('objFill.caravanshopcol.t5')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
v-if=
"chind.OrderType==1"
width=
"115"
:label=
"$t('objFill.caravanshopcol.t4')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
DueInMoney
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"115"
:label=
"$t('objFill.caravanshopcol.t5')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Income
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"150"
:label=
"$t('objFill.caravanshopcol.t6')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
v-if=
"chind.OrderType==1"
width=
"115"
:label=
"$t('objFill.caravanshopcol.t8')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
PlatformTax
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"115"
:label=
"$t('objFill.caravanshopcol.t6')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
Refund
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
:label=
"$t('objFill.caravanshopcol.t7')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
:label=
"$t('objFill.caravanshopcol.t7')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
PlatformMoney
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
label=
"油费支出"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
label=
"油费支出"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
OutOilFee
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
label=
"停车过路费收入"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
label=
"停车过路费收入"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
InPassByFee
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"150"
:label=
"$t('objFill.caravanshopcol.t8')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
PlatformTax
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"150"
label=
"停车过路费支出"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"115"
label=
"停车过路费支出"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
OutPassByFee
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"1
50
"
:label=
"'其他'+$t('objFill.caravanshopcol.t9')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
:label=
"'其他'+$t('objFill.caravanshopcol.t9')"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
CostMoney
}}
</span>
</
template
>
</el-table-column>
<!-- <el-table-column width="1
50
" :label="$t('objFill.caravanshopcol.t4')" min-width="70" style="background:#EAEAEA">
<!-- <el-table-column width="1
15
" :label="$t('objFill.caravanshopcol.t4')" min-width="70" style="background:#EAEAEA">
<template slot-scope="scope">
<span class="fz15 fbold">{{ scope.row.DueInMoney }}</span>
</template>
</el-table-column> -->
<el-table-column
width=
"1
50
"
label=
"支付方式"
min-width=
"70"
style=
"background:#EAEAEA"
>
<el-table-column
width=
"1
15
"
label=
"支付方式"
min-width=
"70"
style=
"background:#EAEAEA"
>
<
template
slot-scope=
"scope"
>
<span
class=
"fz15 fbold"
>
{{
scope
.
row
.
paymentInfo
.
Name
}}
</span>
</
template
>
...
...
@@ -825,12 +837,11 @@
</
template
>
</el-table>
<div
class=
"row justify-sb mt mb20"
v-if=
"item.IncomeList.length>0||item.RefundList.length>0||item.CostList.length>0"
>
<div
class=
"row justify-sb mt"
v-if=
"chind.OrderState!=2"
>
<div
class=
"column px15 bgf5 radius5 flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
<div
class=
"fz12"
>
{{$t('objFill.collectiondocument')}}
</div>
<div
class=
"row wrap orderNo fz12 py"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
<div
class=
"row wrap orderNo fz12 py
t5
"
>
<span
class=
"cursor-pointer radius5 mr mb
5
px5"
:class=
"{'bgD9F3FF':x.ColorState==1,'bg20c997':x.ColorState==2,'bgFAEAED':x.ColorState==3,'bjFFF3E0':x.ColorState==4,
'c3FC4FF':x.ColorState==1,'c20c997':x.ColorState==2,'cF1416C':x.ColorState==3,'cff9800':x.ColorState==4}"
v-for=
"(x, i) in item.IncomeList"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
...
...
@@ -847,8 +858,8 @@
</div>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
<div
class=
"fz12"
>
{{$t('objFill.refundreceipt')}}
</div>
<div
class=
"row wrap orderNo fz12 py"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
<div
class=
"row wrap orderNo fz12 py
t5
"
>
<span
class=
"cursor-pointer radius5 mr mb
5
px5"
:class=
"{'bgD9F3FF':x.ColorState==1,'bg20c997':x.ColorState==2,'bgFAEAED':x.ColorState==3,'bjFFF3E0':x.ColorState==4,
'c3FC4FF':x.ColorState==1,'c20c997':x.ColorState==2,'cF1416C':x.ColorState==3,'cff9800':x.ColorState==4}"
v-for=
"(x, i) in item.RefundList"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
...
...
@@ -864,8 +875,8 @@
</div>
<div
class=
"column px15 bgf5 radius5 ml flex-g pa relative"
style=
"min-width: 150px;max-width:400px"
>
<div
class=
"fz12"
>
{{$t('objFill.costdocument')}}
</div>
<div
class=
"row wrap orderNo fz12 py"
>
<span
class=
"cursor-pointer radius5 mr mb px5"
<div
class=
"row wrap orderNo fz12 py
t5
"
>
<span
class=
"cursor-pointer radius5 mr mb
5
px5"
:class=
"{'bgD9F3FF':x.ColorState==1,'bg20c997':x.ColorState==2,'bgFAEAED':x.ColorState==3,'bjFFF3E0':x.ColorState==4,
'c3FC4FF':x.ColorState==1,'c20c997':x.ColorState==2,'cF1416C':x.ColorState==3,'cff9800':x.ColorState==4}"
v-for=
"(x, i) in item.CostList"
@
click=
"openDetails(x)"
>
{{ x.FrID }}
</span>
...
...
@@ -1264,8 +1275,8 @@
this
.
queryObj
=
query
this
.
cdState
=
true
},
isOffset
(
chi
l
d
,
row
,
num
)
{
this
.
makeAdocument
(
chi
l
d
,
row
,
num
,
'Offset'
)
isOffset
(
chi
n
d
,
row
,
num
)
{
this
.
makeAdocument
(
chi
n
d
,
row
,
num
,
'Offset'
)
},
editRemark
(
item
)
{
this
.
postMsg
.
OrderId
=
item
.
OrderId
...
...
@@ -1489,8 +1500,8 @@
},
// 制作单据
makeAdocument
(
chind
,
row
,
num
,
Offset
)
{
if
((
num
==
2
||
num
==
3
)
&&
chi
ld
&&
((
chil
d
.
OrderType
==
1
&&
row
.
Income
+
row
.
PlatformMoney
)
||
(
chi
l
d
.
OrderType
==
2
&&
chind
.
Income
+
chind
.
PlatformMoney
))
<=
0
)
{
if
((
num
==
2
||
num
==
3
)
&&
chi
nd
&&
((
chin
d
.
OrderType
==
1
&&
row
.
Income
+
row
.
PlatformMoney
)
||
(
chi
n
d
.
OrderType
==
2
&&
chind
.
Income
+
chind
.
PlatformMoney
))
<=
0
)
{
this
.
Info
(
'请先制收款单据,再制成本或退款单据!'
)
return
}
...
...
@@ -1528,11 +1539,11 @@
};
// 检索财务流程
if
(
num
==
1
)
{
query
.
searchTitle
=
row
.
PayWay
==
1
?
'车行
月结收入'
:
'收款
'
query
.
searchTitle
=
row
.
PayWay
==
1
?
'车行
'
:
'车行
'
}
else
if
(
num
==
2
)
{
query
.
searchTitle
=
'溢收团费退款'
}
else
if
(
num
==
3
)
{
query
.
searchTitle
=
row
.
PayWay
==
1
?
'车行
成本月结'
:
'车行车资付款
'
query
.
searchTitle
=
row
.
PayWay
==
1
?
'车行
'
:
'车行
'
if
(
this
.
cdState
==
false
)
query
.
portTypeId
=
6
;
}
...
...
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