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
8255c1f9
Commit
8255c1f9
authored
Apr 28, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
f9858942
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
17 deletions
+57
-17
groupApproval.vue
src/components/FinancialModule/groupApproval.vue
+33
-2
ListCar.vue
src/components/Hotel/singleProduct/components/ListCar.vue
+24
-15
No files found.
src/components/FinancialModule/groupApproval.vue
View file @
8255c1f9
...
...
@@ -103,6 +103,16 @@
<el-table-column
prop=
"ActualProfit"
label=
"团队利润"
></el-table-column>
<el-table-column
prop=
"SaleCommission"
label=
"预计提成"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
SaleCommission
}}
<p
v-if=
"scope.row.SaleCommission>0"
style=
"cursor: pointer;text-decoration: underline;color: #33B3FF;"
@
click=
"showDialog(scope.row.TCID, scope.row.Config_OfferId)"
>
报价详情
</p>
</
template
>
</el-table-column>
<el-table-column
v-if=
"active==1"
prop=
"AuditEmpName"
label=
"审批人"
></el-table-column>
...
...
@@ -184,11 +194,14 @@
</el-row>
</div>
</el-dialog>
<el-dialog
:visible
.
sync=
"dialog.show"
width=
"1400px"
title=
"报价详情"
>
<price-dialog
:ConfigId=
"dialog.ConfigId"
:OfferId=
"dialog.OfferId"
ref=
"dialog"
></price-dialog>
</el-dialog>
</div>
</template>
<
script
>
import
priceDialog
from
'../TravelManager/TravelNewQuotation/priceDialog.vue'
;
export
default
{
data
()
{
return
{
...
...
@@ -211,9 +224,17 @@
total
:
0
,
EmployeeId
:
0
,
multipleSelection
:
[],
AuditLoading
:
false
AuditLoading
:
false
,
dialog
:
{
show
:
false
,
ConfigId
:
''
,
OfferId
:
''
},
}
},
components
:
{
priceDialog
},
created
()
{
this
.
getTeamList
()
let
userinfo
=
this
.
getLocalStorage
();
...
...
@@ -233,6 +254,16 @@
},
methods
:
{
showDialog
(
ConfigId
,
OfferId
)
{
this
.
dialog
=
{
show
:
true
,
ConfigId
,
OfferId
}
this
.
$nextTick
(()
=>
{
this
.
$refs
.
dialog
.
getPostData
()
})
},
selectable
(
row
,
index
)
{
if
(
this
.
active
==
1
){
return
true
...
...
src/components/Hotel/singleProduct/components/ListCar.vue
View file @
8255c1f9
...
...
@@ -67,6 +67,7 @@
</div>
<div
v-if=
"cars.length==0"
style=
"text-align: center;padding: 20px 0;"
>
暂无数据
</div>
</div>
<div
class=
"ListCar-bottom"
v-if=
"cars.length>0"
>
<div
v-if=
"crmOrderObj"
style=
"margin-bottom: 10px;"
>
<span
style=
"color: red;"
>
引流人:
{{
crmOrderObj
.
LureEmpNmae
}}
</span>
...
...
@@ -128,10 +129,10 @@
<
script
>
export
default
{
props
:
{
crmOrderObj
:
{
type
:
Object
,
require
:
false
},
//
crmOrderObj: {
//
type: Object,
//
require: false
//
},
HotelRow
:
{
type
:
Object
,
require
:
false
...
...
@@ -143,6 +144,7 @@
},
data
()
{
return
{
crmOrderObj
:
null
,
OptionalTime
:
this
.
getBeforeDate
(
0
,
new
Date
().
Format
(
'yyyy-MM-dd'
)),
//可编辑时间
cars
:
[],
HotelLength
:
0
,
...
...
@@ -195,17 +197,17 @@
};
},
watch
:
{
crmOrderObj
:
{
handler
:
function
(
val
,
oldVal
)
{
this
.
crmOrderObj
=
val
if
(
this
.
crmOrderObj
){
this
.
parameters
.
LureEmpId
=
val
.
LureEmpId
//引流id
this
.
parameters
.
CRMGuestId
=
val
.
CRMGuestId
//客人ID
}
},
deep
:
true
,
immediate
:
true
},
//
crmOrderObj: {
//
handler: function (val, oldVal) {
//
this.crmOrderObj = val
//
if(this.crmOrderObj){
//
this.parameters.LureEmpId = val.LureEmpId//引流id
//
this.parameters.CRMGuestId = val.CRMGuestId //客人ID
//
}
//
},
//
deep: true,
//
immediate: true
//
},
cars
:
{
handler
:
function
(
val
,
oldVal
)
{
this
.
HotelLength
=
this
.
cars
.
length
...
...
@@ -222,6 +224,13 @@
}
},
created
()
{
// crm自动登陆传过来的参数
if
(
this
.
$route
.
query
.
crmOrderObj
){
let
crmOrderObj
=
JSON
.
parse
(
this
.
$route
.
query
.
crmOrderObj
)
this
.
crmOrderObj
=
crmOrderObj
this
.
parameters
.
LureEmpId
=
crmOrderObj
.
LureEmpId
//引流id
this
.
parameters
.
CRMGuestId
=
crmOrderObj
.
CRMGuestId
//客人ID
}
this
.
cars
=
JSON
.
parse
(
localStorage
.
getItem
(
"cars"
))
this
.
HotelLength
=
localStorage
.
getItem
(
"HotelLength"
)
},
...
...
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