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
c41a172e
Commit
c41a172e
authored
Apr 18, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
757bc97c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
224 additions
and
72 deletions
+224
-72
TeamRevenueReport.vue
...mponents/FinancialModule/ReportForm/TeamRevenueReport.vue
+28
-0
groupApproval.vue
src/components/FinancialModule/groupApproval.vue
+149
-70
priceGroup.vue
src/components/TravelManager/TravelTeam/priceGroup.vue
+36
-0
order-form.vue
src/components/orderCommon/order-form.vue
+11
-2
No files found.
src/components/FinancialModule/ReportForm/TeamRevenueReport.vue
View file @
c41a172e
...
...
@@ -946,6 +946,24 @@ Vue.component("TCStatusport", {
}
}
});
Vue
.
component
(
"clumpingStatus"
,
{
template
:
`<span>
<span v-if="rowData.TravelStatus==1" style="color: red;">未结团</span>
<span v-if="rowData.TravelStatus==2" style="color: #47BF8C;">已结团</span>
<span v-if="rowData.TravelStatus==5">待结团审核</span>
</span>`
,
props
:
{
rowData
:
{
type
:
Object
},
field
:
{
type
:
String
},
index
:
{
type
:
Number
}
}
});
Vue
.
component
(
"Transport"
,
{
// 是否联运团
template
:
`<span><span v-if="rowData.Is_Transport==='是'" style="color: red;">{{rowData.Is_Transport}}</span><span v-else>{{rowData.Is_Transport}}</span></span>`
,
...
...
@@ -1139,6 +1157,16 @@ export default {
isFrozen
:
true
,
componentName
:
"TCStatusport"
},
{
field
:
"TravelStatus"
,
title
:
"结团状态"
,
width
:
80
,
titleAlign
:
"left"
,
columnAlign
:
"left"
,
isResize
:
true
,
isFrozen
:
true
,
componentName
:
"clumpingStatus"
},
{
field
:
"LeaderName"
,
title
:
"领队"
,
...
...
src/components/FinancialModule/groupApproval.vue
View file @
c41a172e
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelTeam/priceGroup.vue
View file @
c41a172e
...
...
@@ -976,6 +976,42 @@
components
:
{
orderForm
:
orderForm
},
filters
:
{
priceFormat
(
value
)
{
if
(
value
==
null
)
{
return
0.0
;
}
let
nStr
=
value
.
toFixed
(
2
);
nStr
+=
""
;
let
x
=
nStr
.
split
(
"."
);
let
x1
=
x
[
0
];
let
x2
=
x
.
length
>
1
?
"."
+
x
[
1
]
:
""
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
while
(
rgx
.
test
(
x1
))
{
x1
=
x1
.
replace
(
rgx
,
"$1"
+
","
+
"$2"
);
}
return
x1
+
x2
;
},
priceFormat2
(
value
)
{
if
(
value
==
null
)
{
return
"已包含"
;
}
let
nStr
=
value
.
toFixed
(
2
);
nStr
+=
""
;
let
x
=
nStr
.
split
(
"."
);
let
x1
=
x
[
0
];
let
x2
=
x
.
length
>
1
?
"."
+
x
[
1
]
:
""
;
var
rgx
=
/
(\d
+
)(\d{3})
/
;
while
(
rgx
.
test
(
x1
))
{
x1
=
x1
.
replace
(
rgx
,
"$1"
+
","
+
"$2"
);
}
let
result
=
x1
+
x2
;
if
(
result
===
"0.00"
)
{
result
=
"已包含"
;
}
return
result
;
},
},
methods
:
{
//刷新页面
reSearchPage
()
{
...
...
src/components/orderCommon/order-form.vue
View file @
c41a172e
<
style
scoped
>
.commonOrderForm
{
overflow
:
auto
;
height
:
600px
;
.commonOrderForm
{
position
:
fixed
;
left
:
0
;
right
:
0
;
bottom
:
0
;
z-index
:
2
;
overflow
:
auto
;
height
:
600px
;
border-top
:
3px
solid
#38425d
;
background-color
:
#ffffff
;
padding
:
10px
10px
0
;
...
...
@@ -1618,6 +1624,9 @@
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
joinTypeList
=
res
.
data
.
data
;
this
.
joinTypeList
.
splice
(
-
1
)
this
.
joinTypeList
.
splice
(
-
1
)
this
.
joinTypeList
.
splice
(
-
1
)
}
},
);
...
...
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