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
84fb40e9
Commit
84fb40e9
authored
5 years ago
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
地接总表修改
parent
b7c0c70d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
58 deletions
+46
-58
dmcTotalTable.vue
src/components/dmc/manager/dmcTotalTable.vue
+46
-58
No files found.
src/components/dmc/manager/dmcTotalTable.vue
View file @
84fb40e9
...
@@ -263,7 +263,8 @@
...
@@ -263,7 +263,8 @@
<span
style=
"color: #4BCA81;"
v-if=
"item.ResultReport.HotelResult==1"
>
√
</span>
<span
style=
"color: #4BCA81;"
v-if=
"item.ResultReport.HotelResult==1"
>
√
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
ResultReport
.
HotelResult
==
'-1'
?
"x"
:
"O"
}}
</span>
<span
class=
"colorE95252"
v-else
>
{{
item
.
ResultReport
.
HotelResult
==
'-1'
?
"x"
:
"O"
}}
</span>
</div>
</div>
<p
v-if=
"item.LineId==14 && item.CommonReport.PriceHotelResult && item.CommonReport.PriceHotelResult.length>0"
>
<p
v-if=
"item.LineId==14 && item.CommonReport.PriceHotelResult && item.CommonReport.PriceHotelResult.length>0"
>
<el-popover
width=
"600"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<el-popover
width=
"600"
trigger=
"click"
popper-class=
"TC_HotelPop"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<table
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"singeRowTable"
>
<tr>
<tr>
...
@@ -295,11 +296,13 @@
...
@@ -295,11 +296,13 @@
</a>
</a>
<a
v-if=
"(hotelSubItem.OPState==1||(hotelSubItem.OPState==2 && hotelSubItem.DMCState==0))&& hotelSubItem.UseCount>0 "
<a
v-if=
"(hotelSubItem.OPState==1||(hotelSubItem.OPState==2 && hotelSubItem.DMCState==0))&& hotelSubItem.UseCount>0 "
style=
"color:green"
>
style=
"color:green"
>
【使用: {{hotelSubItem.UseCount}} 间 {{hotelSubItem.CostPrice!=0?"价格:"+hotelSubItem.CostPrice:""}} 】
【使用: {{hotelSubItem.UseCount}} 间
{{hotelSubItem.CostPrice!=0?"价格:"+hotelSubItem.CostPrice:""}} 】
</a>
</a>
</td>
</td>
<td>
<td>
<
template
v-if=
"hotelSubItem.OPState==1||(hotelSubItem.OPState==2 && hotelSubItem.DMCState==0)"
>
<
template
v-if=
"hotelSubItem.OPState==1||(hotelSubItem.OPState==2 && hotelSubItem.DMCState==0)"
>
{{
hotelSubItem
.
CreateDateStr
}}
</
template
>
{{
hotelSubItem
.
CreateDateStr
}}
</
template
>
</td>
</td>
</tr>
</tr>
...
@@ -336,37 +339,50 @@
...
@@ -336,37 +339,50 @@
<td>
<td>
<div
class=
"w250"
>
<div
class=
"w250"
>
<el-button-group>
<el-button-group>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"收付款"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"地接信息"
placement=
"top-start"
>
<el-button
icon=
"iconfont icon-shoufukuan"
@
click=
"goUrlT('teamRevenueExpenditure',item.TCID,'团队收支')"
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"添加备注"
placement=
"top-start"
>
<el-popover
placement=
"bottom"
width=
"300"
trigger=
"click"
>
<el-popover
placement=
"bottom"
width=
"300"
trigger=
"click"
>
<el-input
class=
'mt10'
v-model=
'remarkString'
type=
'textarea'
></el-input>
<table>
<tr>
<td
style=
"text-align:right;width:80px;"
>
地接团号:
</td>
<td>
<el-input
class=
'mt10'
v-model=
'NumObj.DMCNum'
type=
'text'
></el-input>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
此团号会带到,房、餐、车、景点使用.并且会显示在组团团控列表
</td>
</tr>
<tr>
<td
style=
"text-align:right;"
>
备注:
</td>
<td>
<el-input
class=
'mt10'
v-model=
'NumObj.remarkString'
type=
'textarea'
></el-input>
<br
/>
</td>
</tr>
<tr>
<td
colspan=
"2"
>
此备注会现在在组团团控列表.
</td>
</tr>
</table>
<p
class=
"alcenter mt10"
>
<p
class=
"alcenter mt10"
>
<input
type=
"button"
value=
"保存"
@
click=
"saveRemark"
class=
"normalBtn"
/>
<input
type=
"button"
value=
"保存"
@
click=
"saveRemark"
class=
"normalBtn"
/>
</p>
</p>
<el-button
type=
"primary"
icon=
"iconfont icon-beizhu"
slot=
"reference"
@
click=
'CkedItem(item)'
<el-button
type=
"primary"
icon=
"iconfont icon-beizhu"
slot=
"reference"
@
click=
'CkedItem(item,outItem.TCIDs)'
style=
"background:#AD9AF6; border-color:#AD9AF6; border-radius: 0;"
></el-button>
style=
"background:#AD9AF6; border-color:#AD9AF6; border-radius: 0;"
></el-button>
</el-popover>
</el-popover>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"收付款"
placement=
"top-start"
>
<el-button
icon=
"iconfont icon-shoufukuan"
@
click=
"goUrlT('teamRevenueExpenditure',item.TCID,'团队收支')"
type=
"primary"
style=
"background:#00C6FF; border-color:#00C6FF"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"联系OP"
placement=
"top-start"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"联系OP"
placement=
"top-start"
>
<el-button
@
click=
'openChart(item)'
icon=
"iconfont icon-dianhua"
type=
"primary"
<el-button
@
click=
'openChart(item)'
icon=
"iconfont icon-dianhua"
type=
"primary"
style=
"background:#6DD875; border-color:#6DD875"
></el-button>
style=
"background:#6DD875; border-color:#6DD875"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"地接团号"
placement=
"top-start"
>
<el-popover
placement=
"bottom"
width=
"300"
trigger=
"click"
>
<el-input
class=
'mt10'
v-model=
'NumObj.DMCNum'
type=
'textarea'
></el-input>
<p
class=
"alcenter mt10"
>
<input
type=
"button"
value=
"保存"
@
click=
"UpdateCombinationNum()"
class=
"normalBtn"
/>
</p>
<el-button
type=
"primary"
icon=
"iconfont icon-jituan"
slot=
"reference"
@
click=
'ClickNumItem(item.DMCNum,outItem.NewCombinationNum,outItem.TCIDs)'
style=
"background:#3333FF; border-color:#AD9AF6; border-radius: 0;"
></el-button>
</el-popover>
</el-tooltip>
</el-button-group>
</el-button-group>
</div>
</div>
</td>
</td>
...
@@ -400,8 +416,6 @@
...
@@ -400,8 +416,6 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
ckedTCID
:
0
,
remarkString
:
''
,
loading
:
false
,
loading
:
false
,
currentPage
:
1
,
currentPage
:
1
,
total
:
0
,
total
:
0
,
...
@@ -430,7 +444,8 @@
...
@@ -430,7 +444,8 @@
//地接团号对象
//地接团号对象
NumObj
:
{
NumObj
:
{
DMCNum
:
""
,
DMCNum
:
""
,
TCIDs
:
""
TCIDs
:
""
,
remarkString
:
''
,
},
},
queryCommonData
:
{
queryCommonData
:
{
//公司数据
//公司数据
...
@@ -468,15 +483,13 @@
...
@@ -468,15 +483,13 @@
avatar
:
obj
.
CreateByPhoto
avatar
:
obj
.
CreateByPhoto
})
})
},
},
CkedItem
(
obj
)
{
CkedItem
(
obj
,
TCIDs
)
{
this
.
ckedTCID
=
obj
.
TCID
;
this
.
NumObj
.
TCIDs
=
TCIDs
;
this
.
remarkString
=
obj
.
DMCRemark
;
this
.
NumObj
.
remarkString
=
obj
.
DMCRemark
;
this
.
NumObj
.
DMCNum
=
obj
.
DMCNum
;
},
},
saveRemark
()
{
saveRemark
()
{
this
.
apipost
(
'dmcstatistics_post_SetDMCRemark'
,
{
this
.
apipost
(
'dmcstatistics_post_SetDMCRemark'
,
this
.
NumObj
,
res
=>
{
TCID
:
this
.
ckedTCID
,
DMCRemark
:
this
.
remarkString
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
getList
()
this
.
getList
()
...
@@ -640,31 +653,6 @@
...
@@ -640,31 +653,6 @@
}
}
},
err
=>
{})
},
err
=>
{})
},
},
ClickNumItem
(
DMCNum
,
newCombinationNum
,
tcids
)
{
if
(
DMCNum
&&
DMCNum
!=
""
)
{
this
.
NumObj
.
DMCNum
=
DMCNum
;
}
else
{
this
.
NumObj
.
DMCNum
=
newCombinationNum
;
}
this
.
NumObj
.
TCIDs
=
tcids
;
},
//保存地接团号
UpdateCombinationNum
()
{
this
.
loading
=
true
;
let
msg
=
{
DMCNum
:
this
.
NumObj
.
DMCNum
,
TCIDs
:
this
.
NumObj
.
TCIDs
};
this
.
apipost
(
'dmcstatistics_post_UpdateCombinationNum'
,
msg
,
res
=>
{
this
.
loading
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
},
err
=>
{})
},
//初始化公司
//初始化公司
getCompanyList
()
{
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
()
let
userInfo
=
this
.
getLocalStorage
()
...
...
This diff is collapsed.
Click to expand it.
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