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
79adadb5
Commit
79adadb5
authored
Jul 29, 2025
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单调整
parent
b706681b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
45 deletions
+116
-45
CostNewPriceForm.vue
...nts/TravelManager/TravelNewQuotation/CostNewPriceForm.vue
+80
-44
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+36
-1
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPriceForm.vue
View file @
79adadb5
...
...
@@ -181,20 +181,25 @@
<el-input
type=
"textarea"
resize=
"none"
style=
"width:180px;"
v-model=
"subItem.Title"
></el-input>
</td>
<td>
<el-select
filterable
remote
:remote-method=
"(query) => remoteSearchAdGroup(query, subItem)"
v-model=
'subItem.HotelId'
:placeholder=
"$t('objFill.qingshurujdmc')"
:loading=
"loading"
@
change=
"getHotel(subItem,subItem.HotelId)"
style=
"width:135px;"
>
<el-option
v-for=
"(x) in subItem.HotelList"
:key=
"x.ID"
:label=
"x.Name"
:value=
'x.ID'
>
<template
v-if=
"x.Inventory>0||x.CostPrice>0"
>
<span
style=
"float: left"
>
{{
x
.
Name
}}
</span>
<span
style=
"float: right; font-size: 13px"
>
<font
style=
"color:blue"
>
库存/剩余:
{{
x
.
Inventory
}}
/
{{
x
.
RemainingInventory
}}
</font>
<font
style=
"color:#67C23A"
>
价格:
{{
x
.
CostPrice
}}
</font>
</span>
</
template
>
</el-option>
</el-select>
<template
v-if=
"postConfig.LineId==90"
>
<el-input
v-model=
"subItem.HotelName"
></el-input>
</
template
>
<
template
v-else
>
<el-select
filterable
remote
:remote-method=
"(query) => remoteSearchAdGroup(query, subItem)"
v-model=
'subItem.HotelId'
:placeholder=
"$t('objFill.qingshurujdmc')"
:loading=
"loading"
@
change=
"getHotel(subItem,subItem.HotelId)"
style=
"width:135px;"
>
<el-option
v-for=
"(x) in subItem.HotelList"
:key=
"x.ID"
:label=
"x.Name"
:value=
'x.ID'
>
<template
v-if=
"x.Inventory>0||x.CostPrice>0"
>
<span
style=
"float: left"
>
{{
x
.
Name
}}
</span>
<span
style=
"float: right; font-size: 13px"
>
<font
style=
"color:blue"
>
库存/剩余:
{{
x
.
Inventory
}}
/
{{
x
.
RemainingInventory
}}
</font>
<font
style=
"color:#67C23A"
>
价格:
{{
x
.
CostPrice
}}
</font>
</span>
</
template
>
</el-option>
</el-select>
</template>
<el-form-item
:label=
"$t('objFill.v101.hancan')"
>
<el-select
v-model=
'subItem.ContainDinnerType'
style=
"width:100px;"
:placeholder=
"$t('objFill.v101.hancanlxin')"
@
change=
"DinnerTypeChange(subItem)"
>
...
...
@@ -305,44 +310,75 @@
</
template
>
</td>
<td>
<
template
v-for=
"(scenicItem,scenicIndex) in subItem.ScenicList"
>
<template
v-if=
"scenicIndex==0"
>
<el-select
:key=
"`d_`+subIndex+`_sn_`+scenicIndex"
filterable
remote
:remote-method=
"(query) => remoteSearchTicket(query, scenicItem)"
:loading=
"loading"
@
change=
"changeTicket(scenicItem)"
v-model=
"scenicItem.TicketId"
value-key=
"TicketId"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"(x) in scenicItem.TicketSourceList"
:key=
"x.TicketId"
:label=
"x.TicketName"
:value=
'x.TicketId'
>
</el-option>
</el-select>
<
template
v-if=
"postConfig.LineId==90"
>
<template
v-for=
"(scenicItem,scenicIndex) in subItem.ScenicList"
>
<template
v-if=
"scenicIndex==0"
>
<el-input
v-model=
"scenicItem.TicketName"
></el-input>
</
template
>
<
template
v-else-if=
"scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketName!=''"
>
<el-input
v-model=
"scenicItem.TicketName"
></el-input>
</
template
>
</template>
<
template
v-else-if=
"scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketId>0"
>
<el-select
:key=
"`d_`+subIndex+`_sn_`+scenicIndex"
filterable
remote
:remote-method=
"(query) => remoteSearchTicket(query, scenicItem)"
:loading=
"loading"
@
change=
"changeTicket(scenicItem)"
v-model=
"scenicItem.TicketId"
value-key=
"TicketId"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"(x) in scenicItem.TicketSourceList"
:key=
"x.TicketId"
:label=
"x.TicketName"
:value=
'x.TicketId'
>
</el-option>
</el-select>
</template>
<
template
v-else
>
<template
v-for=
"(scenicItem,scenicIndex) in subItem.ScenicList"
>
<template
v-if=
"scenicIndex==0"
>
<el-select
:key=
"`d_`+subIndex+`_sn_`+scenicIndex"
filterable
remote
:remote-method=
"(query) => remoteSearchTicket(query, scenicItem)"
:loading=
"loading"
@
change=
"changeTicket(scenicItem)"
v-model=
"scenicItem.TicketId"
value-key=
"TicketId"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"(x) in scenicItem.TicketSourceList"
:key=
"x.TicketId"
:label=
"x.TicketName"
:value=
'x.TicketId'
>
</el-option>
</el-select>
</
template
>
<
template
v-else-if=
"scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketId>0"
>
<el-select
:key=
"`d_`+subIndex+`_sn_`+scenicIndex"
filterable
remote
:remote-method=
"(query) => remoteSearchTicket(query, scenicItem)"
:loading=
"loading"
@
change=
"changeTicket(scenicItem)"
v-model=
"scenicItem.TicketId"
value-key=
"TicketId"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
v-for=
"(x) in scenicItem.TicketSourceList"
:key=
"x.TicketId"
:label=
"x.TicketName"
:value=
'x.TicketId'
>
</el-option>
</el-select>
</
template
>
</template>
</template>
</td>
<td>
<
template
v-for=
"(scenicItem,scenicIndex) in subItem.ScenicList"
>
<template
v-if=
"scenicIndex==0"
>
<el-input
:key=
"`d_`+subIndex+`_sc_`+scenicIndex"
type=
'text'
v-model=
"scenicItem.TicketCostPrice"
class=
"w70"
@
keyup
.
native=
"checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder=
"$t('objFill.v101.jindianjiag')"
>
</el-input>
<
template
v-if=
"postConfig.LineId==90"
>
<template
v-for=
"(scenicItem,scenicIndex) in subItem.ScenicList"
>
<template
v-if=
"scenicIndex==0"
>
<el-input
:key=
"`d_`+subIndex+`_sc_`+scenicIndex"
type=
'text'
v-model=
"scenicItem.TicketCostPrice"
class=
"w70"
@
keyup
.
native=
"checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder=
"$t('objFill.v101.jindianjiag')"
>
</el-input>
</
template
>
<
template
v-else-if=
"scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketName!=''"
>
<el-input
:key=
"`d_`+subIndex+`_sc_`+scenicIndex"
type=
'text'
v-model=
"scenicItem.TicketCostPrice"
class=
"w70"
@
keyup
.
native=
"checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder=
"$t('objFill.v101.jindianjiag')"
>
</el-input>
</
template
>
</template>
<
template
v-else-if=
"scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketId>0"
>
<el-input
:key=
"`d_`+subIndex+`_sc_`+scenicIndex"
type=
'text'
v-model=
"scenicItem.TicketCostPrice"
class=
"w70"
@
keyup
.
native=
"checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder=
"$t('objFill.v101.jindianjiag')"
>
</el-input>
</template>
<
template
v-else
>
<template
v-for=
"(scenicItem,scenicIndex) in subItem.ScenicList"
>
<template
v-if=
"scenicIndex==0"
>
<el-input
:key=
"`d_`+subIndex+`_sc_`+scenicIndex"
type=
'text'
v-model=
"scenicItem.TicketCostPrice"
class=
"w70"
@
keyup
.
native=
"checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder=
"$t('objFill.v101.jindianjiag')"
>
</el-input>
</
template
>
<
template
v-else-if=
"scenicIndex!=0 && subItem.ScenicList[scenicIndex-1].TicketId>0"
>
<el-input
:key=
"`d_`+subIndex+`_sc_`+scenicIndex"
type=
'text'
v-model=
"scenicItem.TicketCostPrice"
class=
"w70"
@
keyup
.
native=
"checkPrice(scenicItem,'TicketCostPrice'),getchange(1)"
:placeholder=
"$t('objFill.v101.jindianjiag')"
>
</el-input>
</
template
>
</template>
</template>
</td>
<td>
<el-input
type=
"text"
v-model=
'subItem.OtherName'
class=
"w70"
...
...
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
79adadb5
...
...
@@ -168,6 +168,29 @@
</el-input>
</td>
</tr>
<tr
v-if=
"postData.LineId==90"
>
<td
colspan=
"6"
style=
"height:20px;"
>
</td>
</tr>
<tr
v-if=
"postData.LineId==90"
>
<td
width=
"80"
class=
"txtRightCost"
>
客户电话
</td>
<td>
<el-input
v-model=
"postData.CustomerTel"
type=
"text"
placeholder=
"客户电话"
maxlength=
"200"
>
</el-input>
</td>
<td
width=
"80"
class=
"txtRightCost"
>
领队人数
</td>
<td>
<el-input
v-model=
"postData.LeaderNum"
type=
"text"
:placeholder=
"$t('fnc.khmingcheng')"
maxlength=
"200"
>
</el-input>
</td>
<td
width=
"80"
class=
"txtRightCost"
>
自动下单
</td>
<td>
<el-switch
v-model=
"postData.IsCreateOrder"
active-color=
"#13ce66"
inactive-color=
"#ff4949"
:active-value=
"1"
:inactive-value=
"0"
>
</el-switch>
</td>
</tr>
<tr>
<td
colspan=
"6"
style=
"height:20px;"
>
</td>
...
...
@@ -272,7 +295,10 @@
OPId
:
""
,
AssistantList
:
[],
dayCostPriceList
:
[],
//行程报价
OfferArray
:
[]
OfferArray
:
[],
CustomerTel
:
""
,
//客户电话
LeaderNum
:
0
,
//领队数量
IsCreateOrder
:
0
,
//是否自动生成订单
},
isSubmit
:
true
,
LineList
:
[],
//线路列表
...
...
@@ -675,6 +701,15 @@
if
(
tempData
.
OutBranchName
&&
tempData
.
OutBranchName
!=
''
)
{
this
.
postData
.
OutBranchId
=
Number
(
tempData
.
OutBranchId
);
}
if
(
tempData
.
OutBranchName
&&
tempData
.
OutBranchName
!=
''
)
{
this
.
postData
.
CustomerTel
=
tempData
.
CustomerTel
;
}
if
(
tempData
.
LeaderNum
&&
tempData
.
LeaderNum
!=
0
)
{
this
.
postData
.
LeaderNum
=
Number
(
tempData
.
LeaderNum
);
}
if
(
tempData
.
IsCreateOrder
&&
tempData
.
IsCreateOrder
!=
0
)
{
this
.
postData
.
IsCreateOrder
=
Number
(
tempData
.
IsCreateOrder
);
}
if
(
tempData
.
IsRoll
)
{
this
.
postData
.
IsRoll
=
tempData
.
IsRoll
;
}
...
...
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