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
2227e9df
Commit
2227e9df
authored
Sep 24, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单修改
parent
bb2ce689
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
36 deletions
+44
-36
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+1
-3
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+40
-3
newQuotation.vue
...ponents/TravelManager/TravelNewQuotation/newQuotation.vue
+3
-30
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
2227e9df
...
...
@@ -714,10 +714,8 @@
},
mounted
()
{
this
.
getAllCurrency
();
},
created
()
{},
watch
:
{}
};
</
script
>
</
script
>
\ No newline at end of file
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
2227e9df
...
...
@@ -135,8 +135,8 @@
"travel_post_SetConfigOffer_V2"
,
nObj
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
date
.
message
);
this
.
goUrl
(
'newQuotation'
);
this
.
Success
(
res
.
data
.
message
);
this
.
goUrl
(
'newQuotation'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -164,6 +164,36 @@
console
.
log
(
"res.data.data"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
this
.
postData
.
ID
=
tempData
.
ID
;
}
if
(
tempData
.
LineId
&&
tempData
.
LineId
>
0
)
{
this
.
postData
.
LineId
=
tempData
.
LineId
;
}
if
(
tempData
.
LineteamId
&&
tempData
.
LineteamId
>
0
)
{
this
.
postData
.
LineteamId
=
tempData
.
LineteamId
;
}
if
(
tempData
.
CSeat
&&
tempData
.
CSeat
>
0
)
{
this
.
postData
.
CSeat
=
tempData
.
CSeat
;
}
if
(
tempData
.
FSeat
&&
tempData
.
FSeat
>
0
)
{
this
.
postData
.
FSeat
=
tempData
.
FSeat
;
}
if
(
tempData
.
YSeat
&&
tempData
.
YSeat
>
0
)
{
this
.
postData
.
YSeat
=
tempData
.
YSeat
;
}
if
(
tempData
.
LowNum
&&
tempData
.
LowNum
>
0
)
{
this
.
postData
.
LowNum
=
tempData
.
LowNum
;
}
if
(
tempData
.
Title
&&
tempData
.
Title
!=
''
)
{
this
.
postData
.
Title
=
tempData
.
Title
;
}
if
(
tempData
.
DayNum
&&
tempData
.
DayNum
>
0
)
{
this
.
postData
.
DayNum
=
tempData
.
DayNum
;
}
if
(
tempData
.
NightNum
&&
tempData
.
NightNum
>
0
)
{
this
.
postData
.
NightNum
=
tempData
.
NightNum
;
}
this
.
LineList
=
tempData
.
LineList
;
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
0
)
{
...
...
@@ -175,7 +205,14 @@
if
(
tempData
.
teamPrice
)
{
this
.
teamPrice
=
tempData
.
teamPrice
;
}
if
(
tempData
.
CostNumberList
&&
tempData
.
CostNumberList
!=
null
&&
tempData
.
CostNumberList
.
length
>
0
)
{
this
.
CostNumberList
=
tempData
.
CostNumberList
;
}
if
(
tempData
.
CostCurrencyList
&&
tempData
.
CostCurrencyList
!=
null
&&
tempData
.
CostCurrencyList
.
length
>
0
)
{
this
.
CostCurrencyList
=
tempData
.
CostCurrencyList
;
}
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
src/components/TravelManager/TravelNewQuotation/newQuotation.vue
View file @
2227e9df
...
...
@@ -139,47 +139,20 @@
<div>
{{
item
.
CreateUserName
}}
</div>
</div>
</div>
<div>
<span
v-if=
"item.TravelState==2"
class=
"retract opbd"
@
click=
"revokeInfo(item.ID)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"待审核"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-chehui"
></i>
</el-tooltip>
</span>
<span
class=
"openGroup opbd"
v-if=
"item.TravelState==3&&item.OpenState==2"
@
click=
"goToOpenTravel('TravelManager',item.ID,item.OpenState)"
>
<span
class=
"openGroup opbd"
@
click=
"goToOpenTravel('TravelManager',item.ID,item.OpenState)"
>
开
</span>
<span
class=
"openGroup opbd"
v-if=
"item.TravelState==3&&item.OpenState==2"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看报价单"
placement=
"top-start"
popper-class=
"max-w250"
>
<span
@
click=
"goSubInfo('QuotationDetails',item.ID)"
>
查
</span>
</el-tooltip>
</span>
<span
class=
"openGroup opbd"
v-if=
"item.TravelState==5"
@
click=
"changeState(item.ID)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"提交审核"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-img_bdsc"
></i>
</el-tooltip>
</span>
<span
class=
"bianji opbd"
@
click=
"goUrl('MakeQuotation',item.ID,false)"
v-if=
"item.TravelState==4||item.TravelState==1||item.TravelState==5"
>
<span
class=
"bianji opbd"
@
click=
"goUrl('QuotationNewPrice',item.ID,false)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
</el-tooltip>
</span>
<span
class=
"openGroup opbd"
@
click=
"goUrl('MakeQuotation',item.ID,true)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"复制"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-copy"
></i>
</el-tooltip>
</span>
<span
class=
"openGroup opbd"
@
click=
"goUrlBo('CoastCountPage')"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"报价单"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-web-icon-"
></i>
</el-tooltip>
</span>
<span
class=
"QT-delete opbd"
@
click=
"delQuotation(item.ID)"
v-if=
"item.TravelState==4||item.TravelState==1||item.TravelState==5"
>
<span
class=
"QT-delete opbd"
@
click=
"delQuotation(item.ID)"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-shanchu"
></i>
</el-tooltip>
</span>
</div>
</div>
</li>
...
...
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