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
7341ea4b
Commit
7341ea4b
authored
Apr 23, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b2064a67
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
225 additions
and
228 deletions
+225
-228
productQueryOne.vue
src/components/SalesModule/productQueryOne.vue
+1
-1
order-form.vue
src/components/orderCommon/order-form.vue
+224
-227
No files found.
src/components/SalesModule/productQueryOne.vue
View file @
7341ea4b
...
...
@@ -628,7 +628,7 @@
</td>
</tr>
<tr
v-if=
"addMsg.GuestList.length==0"
>
<td
colspan=
"
5
"
>
暂无房客信息
</td>
<td
colspan=
"
6
"
>
暂无房客信息
</td>
</tr>
</tbody>
</table>
...
...
src/components/orderCommon/order-form.vue
View file @
7341ea4b
<
style
scoped
>
.commonOrderForm
{
.commonOrderForm
{
position
:
fixed
;
left
:
0
;
right
:
0
;
...
...
@@ -10,12 +10,10 @@
border-top
:
3px
solid
#38425d
;
background-color
:
#ffffff
;
padding
:
10px
10px
0
;
width
:
100%
;
padding
:
20px
20px
10px
80px
;
width
:
100%
;
padding
:
20px
20px
10px
80px
;
}
.title
{
border-left
:
3px
solid
#e95252
;
.title
{
border-left
:
3px
solid
#e95252
;
text-indent
:
15px
;
height
:
16px
;
font-family
:
"PingFangSc-Fine"
;
...
...
@@ -23,8 +21,7 @@
margin-bottom
:
20px
;
line-height
:
14px
;
color
:
#000
;
}
}
</
style
>
<
template
>
<div
class=
"commonOrderForm"
>
...
...
@@ -135,6 +132,11 @@
type=
"date"
@
change=
"getUnionTravelPrice(priceObj, 1)"
></el-date-picker>
</el-form-item>
</el-col>
<template>
</
template
>
<el-col
:span=
"4"
v-if=
"showCity&&pagesTitle=='跟团游产品'"
>
<!--返回城市-->
<el-form-item
:label=
"$t('salesModule.BackCity')"
prop=
"ReturnArriveCityId"
>
...
...
@@ -163,8 +165,9 @@
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('salesModule.TeamPrice')"
prop=
"TC_Price"
>
<el-input
v-if=
"addMsg.GroupType != 4"
v-model=
"addMsg.TC_Price"
:disabled=
"pagesTitle=='跟团游产品'?false:true"
@
input=
"getTotalPrice()"
>
<el-input
v-if=
"addMsg.GroupType != 4"
v-model=
"addMsg.TC_Price"
:disabled=
"pagesTitle=='跟团游产品'?false:true"
@
input=
"getTotalPrice()"
>
</el-input>
<el-input
v-else
v-model=
"SingleDMCPricex"
:disabled=
"true"
@
input=
"getTotalPrice()"
></el-input>
</el-form-item>
...
...
@@ -182,18 +185,18 @@
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('fnc.cjdanjia')"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-select
v-model=
"addMsg.Unit_Price"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice(2)"
>
<el-option
v-for=
"item in Unit_PriceList"
:label=
"item.LessMoney"
:value=
"item.ID"
:key=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('fnc.cjdanjia')"
prop=
"Unit_Price"
v-else
>
<el-input
v-if=
"addMsg.GroupType != 4"
v-model=
"addMsg.Unit_Price"
@
change=
"getTotalPrice(3)"
>
</el-input>
<el-input
v-else
v-model=
"SingleDMCPrice"
@
change=
"getTotalPrice(3)"
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('fnc.cjdanjia')"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-select
v-model=
"addMsg.Unit_Price"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice(2)"
>
<el-option
v-for=
"item in Unit_PriceList"
:label=
"item.LessMoney"
:value=
"item.ID"
:key=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('fnc.cjdanjia')"
prop=
"Unit_Price"
v-else
>
<el-input
v-if=
"addMsg.GroupType != 4"
v-model=
"addMsg.Unit_Price"
@
change=
"getTotalPrice(3)"
>
</el-input>
<el-input
v-else
v-model=
"SingleDMCPrice"
@
change=
"getTotalPrice(3)"
></el-input>
</el-form-item>
<!--高于本团单价-->
<el-form-item
:label=
"$t('salesModule.UpTeamPrice')"
v-show=
"addMsg.GroupType != '4'"
>
<el-switch
v-model=
"HightUnitPrice"
active-value=
"1"
inactive-value=
"2"
></el-switch>
...
...
@@ -234,45 +237,40 @@
</el-form-item>
</el-col>
<
template
v-if=
"pagesTitle=='跟团游产品'"
>
<el-col
:span=
"4"
>
<p
v-if=
"priceObj.IsSupportChildren == 2"
style=
"color:#e95252;font-size:12px;line-height:40px;text-align:center; "
>
{{
$t
(
"salesModule.NoSupplier"
)
}}
!
</p>
<el-form-item
v-if=
"priceObj.IsSupportChildren == 1"
:label=
"$t('Operation.Op_childNobed')"
prop=
"ChirdNoNeedBedNum"
>
<el-input
v-model=
"addMsg.ChirdNoNeedBedNum"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNoNeedBedNum')"
@
input=
"
<el-col
:span=
"4"
>
<p
v-if=
"priceObj.IsSupportChildren == 2"
style=
"color:#e95252;font-size:12px;line-height:40px;text-align:center; "
>
{{
$t
(
"salesModule.NoSupplier"
)
}}
!
</p>
<el-form-item
v-if=
"priceObj.IsSupportChildren == 1"
:label=
"$t('Operation.Op_childNobed')"
prop=
"ChirdNoNeedBedNum"
>
<el-input
v-model=
"addMsg.ChirdNoNeedBedNum"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNoNeedBedNum')"
@
input=
"
getNumber();
getHouseNo();
getTotalPrice();
autoRemarks('ChirdNoNeedBedNum', '儿童不占床');
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"priceObj.IsSupportChildren == 1"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
:label=
"$t('Operation.Op_childBed')"
prop=
"ChirdNeedBedNum"
>
<el-input
v-model=
"addMsg.ChirdNeedBedNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNeedBedNum')"
@
input=
"
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"priceObj.IsSupportChildren == 1"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
:label=
"$t('Operation.Op_childBed')"
prop=
"ChirdNeedBedNum"
>
<el-input
v-model=
"addMsg.ChirdNeedBedNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'ChirdNeedBedNum')"
@
input=
"
getNumber();
getHouseNo();
getTotalPrice();
autoRemarks('ChirdNeedBedNum', '儿童占床');
"
></el-input>
</el-form-item>
</el-col>
</el-form-item>
</el-col>
</
template
>
<
template
v-if=
"pagesTitle=='当地游产品'"
>
<el-col
:span=
"4"
>
<p
v-if=
'priceObj.IsSupportChildren==2'
style=
"color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"
>
{{
$t
(
'salesModule.NoSupplier'
)
}}
!
</p>
<el-form-item
v-if=
'priceObj.IsSupportChildren==1'
v-show=
"addMsg.GroupType !== '4'"
:label=
"$t('salesModule.ChildNum')"
prop=
"ChirdNoNeedBedNum"
>
<el-input
v-model=
'addMsg.ChirdNum'
:disabled=
"addMsg.GroupType==='4'"
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice();autoRemarks("ChirdNoNeedBedNum","儿童人数");'
@
change=
"getNumGuest"
></el-input>
<p
v-if=
'priceObj.IsSupportChildren==2'
style=
"color: #E95252; font-size: 12px; line-height: 40px; text-align: center;"
>
{{
$t
(
'salesModule.NoSupplier'
)
}}
!
</p>
<el-form-item
v-if=
'priceObj.IsSupportChildren==1'
v-show=
"addMsg.GroupType !== '4'"
:label=
"$t('salesModule.ChildNum')"
prop=
"ChirdNoNeedBedNum"
>
<el-input
v-model=
'addMsg.ChirdNum'
:disabled=
"addMsg.GroupType==='4'"
@
keyup
.
native=
"checkInteger(addMsg,'ChirdNoNeedBedNum')"
@
input=
'getNumber();getHouseNo();getTotalPrice();autoRemarks("ChirdNoNeedBedNum","儿童人数");'
@
change=
"getNumGuest"
></el-input>
</el-form-item>
</el-col>
</
template
>
...
...
@@ -287,49 +285,49 @@
</el-form-item>
</el-col>
<
template
v-if=
"pagesTitle=='跟团游产品'"
>
<el-col
:span=
"4"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
:label=
"$t('salesModule.OldPeopleNum')"
prop=
"OldPeopleNum"
>
<el-input
v-model=
"addMsg.OldPeopleNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'OldPeopleNum')"
@
input=
"
<el-col
:span=
"4"
v-show=
"addMsg.GroupType !== '4'"
>
<el-form-item
:label=
"$t('salesModule.OldPeopleNum')"
prop=
"OldPeopleNum"
>
<el-input
v-model=
"addMsg.OldPeopleNum"
:disabled=
"addMsg.GroupType === '4'"
@
keyup
.
native=
"checkInteger(addMsg, 'OldPeopleNum')"
@
input=
"
getNumber();
getHouseNo();
getTotalPrice();
autoRemarks('OldPeopleNum', '老人人数');
"
></el-input>
</el-form-item>
</el-col>
</el-form-item>
</el-col>
</
template
>
</el-row>
<el-row
:gutter=
"20"
>
<
template
v-if=
"pagesTitle=='跟团游产品'"
>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0'"
>
<el-form-item
:label=
"$t('salesModule.SingleRoomNum')"
prop=
"SingleRoomNum"
>
<el-input
v-model=
"addMsg.SingleRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'SingleRoomNum')"
@
input=
"
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0'"
>
<el-form-item
:label=
"$t('salesModule.SingleRoomNum')"
prop=
"SingleRoomNum"
>
<el-input
v-model=
"addMsg.SingleRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'SingleRoomNum')"
@
input=
"
yzSingleBed();
getTotalPrice();
autoRemarks('SingleRoomNum', '单房数量');
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0' && showCity"
>
<el-form-item
:label=
"$t('salesModule.BigRoomNum')"
prop=
"BigRoomNum"
>
<el-input
v-model=
"addMsg.BigRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'BigRoomNum')"
@
input=
"
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0' && showCity"
>
<el-form-item
:label=
"$t('salesModule.BigRoomNum')"
prop=
"BigRoomNum"
>
<el-input
v-model=
"addMsg.BigRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'BigRoomNum')"
@
input=
"
yzBigBed();
getTotalPrice();
autoRemarks('BigRoomNum', '大床房');
"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0' && showCity"
>
<el-form-item
:label=
"$t('salesModule.TripleRoomNum')"
prop=
"TripleRoomNum"
>
<el-input
v-model=
"addMsg.TripleRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'TripleRoomNum')"
@
input=
"
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0' && showCity"
>
<el-form-item
:label=
"$t('salesModule.TripleRoomNum')"
prop=
"TripleRoomNum"
>
<el-input
v-model=
"addMsg.TripleRoomNum"
@
keyup
.
native=
"checkInteger(addMsg, 'TripleRoomNum')"
@
input=
"
yzThreeBed();
getTotalPrice();
autoRemarks('TripleRoomNum', '三人房');
"
></el-input>
</el-form-item>
</el-col>
</
template
>
</el-form-item>
</el-col>
</
template
>
<el-col
:span=
"4"
v-if=
"pagesTitle=='跟团游产品'"
>
<el-form-item
:label=
"$t('salesModule.VisaNum')"
prop=
"VisaNum"
>
<el-input
v-model=
"addMsg.VisaNum"
@
keyup
.
native=
"checkInteger(addMsg, 'VisaNum')"
@
input=
"
...
...
@@ -358,16 +356,16 @@
</el-row>
<el-row
:gutter=
"20"
>
<
template
v-if=
"pagesTitle=='跟团游产品'"
>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0'"
>
<el-form-item
:label=
"$t('salesModule.PredictRoomNum')"
prop=
"PredictRoomNum"
>
<el-input
v-model=
"addMsg.PredictRoomNum"
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('fnc.yszonge')"
prop=
"PreferPrice"
>
<el-input
v-model=
"addMsg.PreferPrice"
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
v-if=
"addMsg.GroupTypeNeedHouse == '0'"
>
<el-form-item
:label=
"$t('salesModule.PredictRoomNum')"
prop=
"PredictRoomNum"
>
<el-input
v-model=
"addMsg.PredictRoomNum"
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('fnc.yszonge')"
prop=
"PreferPrice"
>
<el-input
v-model=
"addMsg.PreferPrice"
:disabled=
"true"
></el-input>
</el-form-item>
</el-col>
</
template
>
<el-col
:span=
"4"
v-show=
"addMsg.CustomerType == 1 || addMsg.CustomerType == 2"
>
<el-form-item
:label=
"$t('salesModule.SharePeople')"
prop=
"CommissionSharePeople"
>
...
...
@@ -389,21 +387,21 @@
</el-row>
<el-row
:gutter=
"20"
>
<
template
v-if=
"pagesTitle=='跟团游产品'"
>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_EconomyClass')"
prop=
"YSeatNum"
>
<el-input
v-model=
"addMsg.YSeatNum"
@
keyup
.
native=
"checkInteger(addMsg, 'YSeatNum')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_businessClass')"
prop=
"ESeatNum"
>
<el-input
v-model=
"addMsg.ESeatNum"
@
input=
"getNumber()"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_firstClass')"
prop=
"FSeatNum"
>
<el-input
v-model=
"addMsg.FSeatNum"
@
input=
"getNumber()"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_EconomyClass')"
prop=
"YSeatNum"
>
<el-input
v-model=
"addMsg.YSeatNum"
@
keyup
.
native=
"checkInteger(addMsg, 'YSeatNum')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_businessClass')"
prop=
"ESeatNum"
>
<el-input
v-model=
"addMsg.ESeatNum"
@
input=
"getNumber()"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
:label=
"$t('Airticket.Air_firstClass')"
prop=
"FSeatNum"
>
<el-input
v-model=
"addMsg.FSeatNum"
@
input=
"getNumber()"
></el-input>
</el-form-item>
</el-col>
</
template
>
<!--<el-col :span="4">
<el-form-item label="单地接数量" prop="AirticketNum">
...
...
@@ -414,8 +412,7 @@
<el-form-item
:label=
"$t('salesModule.ScenicRefund')"
>
<el-select
filterable
multiple
class=
"multiple_input"
v-model=
"addMsg.ScenicRefundArr"
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"ScenicRefundMethods"
>
<el-option
v-for=
"(item,index) in ScenicRefundList"
:label=
"item.ScenicName"
:value=
"item.Id"
:key=
"index"
>
<el-option
v-for=
"(item,index) in ScenicRefundList"
:label=
"item.ScenicName"
:value=
"item.Id"
:key=
"index"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -504,8 +501,8 @@
//团期编号,订单编号(新增传0),下单人选择的公司
props
:
[
'showCity'
,
'PTCID'
,
//团期编号(必须传),
'POrderId'
,
//订单编号(新增传0)
'PTCID'
,
//团期编号(必须传),
'POrderId'
,
//订单编号(新增传0)
'PBranchId'
,
//销售公司/联运公司
'PProductType'
,
//产品类型(1-常规团,2-包机团)
'productObj'
,
...
...
@@ -539,63 +536,63 @@
Unit_PriceList
:
[],
//成交单价下拉数据
LessMoney
:
0
,
addMsg
:
{
price
:
0
,
GroupTypeNeedHouse
:
0
,
OrderId
:
0
,
OneSex
:
0
,
TCID
:
0
,
CustomerType
:
""
,
GroupType
:
""
,
IndustryCategory
:
""
,
ContactName
:
""
,
ContactMobile
:
""
,
CustomerId
:
""
,
DepartureCityId
:
0
,
ReturnArriveCityId
:
""
,
IsIntermodal
:
"2"
,
IsReturnIntermodal
:
"2"
,
Unit_Price
:
0
,
TC_Price
:
0
,
ManNum
:
0
,
// 成人数量
ChirdNum
:
0
,
// 小孩数量
ChirdNoNeedBedNum
:
0
,
ChirdNeedBedNum
:
0
,
BabyNum
:
0
,
OldPeopleNum
:
0
,
SingleRoomNum
:
0
,
PreferPrice
:
0
,
YSeatNum
:
0
,
ESeatNum
:
0
,
FSeatNum
:
0
,
Commission
:
0
,
ClientSource
:
0
,
BrandId
:
0
,
TradeWay
:
"2"
,
PlatformAccount
:
""
,
PlatformOrder
:
""
,
GuestNum
:
0
,
IsChildrenTour
:
0
,
IsBirdDiscount
:
0
,
PredictRoomNum
:
0
,
BigRoomNum
:
0
,
TripleRoomNum
:
0
,
TradeDate
:
""
,
CostType
:
""
,
Remarks
:
""
,
VisaNum
:
0
,
SafeNum
:
0
,
AirticketNum
:
0
,
ScenicRefundArr
:
[],
GoCityTime
:
""
,
BackCityTime
:
""
,
CommissionSharePeople
:
0
,
CommissionShareMoney
:
0
,
OrderForm
:
"1"
,
SonControlID
:
"-1"
,
IsShowMessagesMoney
:
"2"
,
QuotationUrl
:
""
,
//单团附件
LureEmpId
:
0
,
//引流id
CRMGuestId
:
0
,
//客人ID
price
:
0
,
GroupTypeNeedHouse
:
0
,
OrderId
:
0
,
OneSex
:
0
,
TCID
:
0
,
CustomerType
:
""
,
GroupType
:
""
,
IndustryCategory
:
""
,
ContactName
:
""
,
ContactMobile
:
""
,
CustomerId
:
""
,
DepartureCityId
:
0
,
ReturnArriveCityId
:
""
,
IsIntermodal
:
"2"
,
IsReturnIntermodal
:
"2"
,
Unit_Price
:
0
,
TC_Price
:
0
,
ManNum
:
0
,
// 成人数量
ChirdNum
:
0
,
// 小孩数量
ChirdNoNeedBedNum
:
0
,
ChirdNeedBedNum
:
0
,
BabyNum
:
0
,
OldPeopleNum
:
0
,
SingleRoomNum
:
0
,
PreferPrice
:
0
,
YSeatNum
:
0
,
ESeatNum
:
0
,
FSeatNum
:
0
,
Commission
:
0
,
ClientSource
:
0
,
BrandId
:
0
,
TradeWay
:
"2"
,
PlatformAccount
:
""
,
PlatformOrder
:
""
,
GuestNum
:
0
,
IsChildrenTour
:
0
,
IsBirdDiscount
:
0
,
PredictRoomNum
:
0
,
BigRoomNum
:
0
,
TripleRoomNum
:
0
,
TradeDate
:
""
,
CostType
:
""
,
Remarks
:
""
,
VisaNum
:
0
,
SafeNum
:
0
,
AirticketNum
:
0
,
ScenicRefundArr
:
[],
GoCityTime
:
""
,
BackCityTime
:
""
,
CommissionSharePeople
:
0
,
CommissionShareMoney
:
0
,
OrderForm
:
"1"
,
SonControlID
:
"-1"
,
IsShowMessagesMoney
:
"2"
,
QuotationUrl
:
""
,
//单团附件
LureEmpId
:
0
,
//引流id
CRMGuestId
:
0
,
//客人ID
},
uploadLloading
:
false
,
rules
:
{
...
...
@@ -1056,7 +1053,7 @@
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
minPrice
=
res
.
data
.
data
&&
res
.
data
.
data
.
LowDeposit
;
this
.
minPrice
=
res
.
data
.
data
&&
res
.
data
.
data
.
LowDeposit
;
}
},
);
...
...
@@ -1076,11 +1073,11 @@
},
//计算少价金额
getTypePrice
()
{
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
this
.
addMsg
.
ContactName
=
''
this
.
addMsg
.
ContactMobile
=
''
}
if
(
this
.
addMsg
.
CustomerType
==
1
)
{
this
.
addMsg
.
TC_Price
=
this
.
priceObj
.
B2BMemberPrice
;
this
.
addMsg
.
Unit_Price
=
this
.
priceObj
.
B2BMemberPrice
;
...
...
@@ -1342,63 +1339,63 @@
//清空表单信息
clearMsg
()
{
this
.
addMsg
=
{
price
:
0
,
GroupTypeNeedHouse
:
0
,
OrderId
:
0
,
OneSex
:
0
,
TCID
:
0
,
CustomerType
:
""
,
GroupType
:
""
,
IndustryCategory
:
""
,
ContactName
:
""
,
ContactMobile
:
""
,
CustomerId
:
""
,
DepartureCityId
:
0
,
ReturnArriveCityId
:
""
,
IsIntermodal
:
"2"
,
IsReturnIntermodal
:
"2"
,
Unit_Price
:
0
,
TC_Price
:
0
,
ManNum
:
0
,
// 成人数量
ChirdNum
:
0
,
// 小孩数量
ChirdNoNeedBedNum
:
0
,
ChirdNeedBedNum
:
0
,
BabyNum
:
0
,
OldPeopleNum
:
0
,
SingleRoomNum
:
0
,
PreferPrice
:
0
,
YSeatNum
:
0
,
ESeatNum
:
0
,
FSeatNum
:
0
,
Commission
:
0
,
ClientSource
:
0
,
BrandId
:
0
,
TradeWay
:
"2"
,
PlatformAccount
:
""
,
PlatformOrder
:
""
,
GuestNum
:
0
,
IsChildrenTour
:
0
,
IsBirdDiscount
:
0
,
PredictRoomNum
:
0
,
BigRoomNum
:
0
,
TripleRoomNum
:
0
,
TradeDate
:
""
,
CostType
:
""
,
Remarks
:
""
,
VisaNum
:
0
,
SafeNum
:
0
,
AirticketNum
:
0
,
ScenicRefundArr
:
[],
GoCityTime
:
""
,
BackCityTime
:
""
,
CommissionSharePeople
:
0
,
CommissionShareMoney
:
0
,
OrderForm
:
"1"
,
SonControlID
:
"-1"
,
IsShowMessagesMoney
:
"2"
,
QuotationUrl
:
""
,
//单团附件
LureEmpId
:
0
,
//引流id
CRMGuestId
:
0
,
//客人ID
price
:
0
,
GroupTypeNeedHouse
:
0
,
OrderId
:
0
,
OneSex
:
0
,
TCID
:
0
,
CustomerType
:
""
,
GroupType
:
""
,
IndustryCategory
:
""
,
ContactName
:
""
,
ContactMobile
:
""
,
CustomerId
:
""
,
DepartureCityId
:
0
,
ReturnArriveCityId
:
""
,
IsIntermodal
:
"2"
,
IsReturnIntermodal
:
"2"
,
Unit_Price
:
0
,
TC_Price
:
0
,
ManNum
:
0
,
// 成人数量
ChirdNum
:
0
,
// 小孩数量
ChirdNoNeedBedNum
:
0
,
ChirdNeedBedNum
:
0
,
BabyNum
:
0
,
OldPeopleNum
:
0
,
SingleRoomNum
:
0
,
PreferPrice
:
0
,
YSeatNum
:
0
,
ESeatNum
:
0
,
FSeatNum
:
0
,
Commission
:
0
,
ClientSource
:
0
,
BrandId
:
0
,
TradeWay
:
"2"
,
PlatformAccount
:
""
,
PlatformOrder
:
""
,
GuestNum
:
0
,
IsChildrenTour
:
0
,
IsBirdDiscount
:
0
,
PredictRoomNum
:
0
,
BigRoomNum
:
0
,
TripleRoomNum
:
0
,
TradeDate
:
""
,
CostType
:
""
,
Remarks
:
""
,
VisaNum
:
0
,
SafeNum
:
0
,
AirticketNum
:
0
,
ScenicRefundArr
:
[],
GoCityTime
:
""
,
BackCityTime
:
""
,
CommissionSharePeople
:
0
,
CommissionShareMoney
:
0
,
OrderForm
:
"1"
,
SonControlID
:
"-1"
,
IsShowMessagesMoney
:
"2"
,
QuotationUrl
:
""
,
//单团附件
LureEmpId
:
0
,
//引流id
CRMGuestId
:
0
,
//客人ID
}
this
.
remarkMsg
=
{
zc
:
""
,
...
...
@@ -1413,7 +1410,7 @@
qz
:
""
,
qzf
:
""
,
}
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
this
.
addMsg
.
GroupType
=
"1"
}
this
.
clientSourceList
=
[];
...
...
@@ -1526,9 +1523,9 @@
this
.
addMsg
.
IsChildrenTour
=
this
.
priceObj
.
IsSupportChildren
;
this
.
addMsg
.
IsBirdDiscount
=
this
.
priceObj
.
IsBirdDiscount
;
let
url
if
(
this
.
PProductType
==
1
)
{
if
(
this
.
PProductType
==
1
)
{
url
=
'sellorder_post_SetOrderInfo_02'
}
else
if
(
this
.
PProductType
==
2
)
{
}
else
if
(
this
.
PProductType
==
2
)
{
url
=
'sellorder_post_SetTravelTeamOrderForB2B'
//团下单接口sellorder_post_SetOrderInfoForB2B
}
this
.
apipost
(
url
,
...
...
@@ -1683,10 +1680,11 @@
"sellorder_get_GetSellClientTypeEnumList"
,
{},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
this
.
showCity
)
{
this
.
customerTypeList
=
res
.
data
.
data
;
if
(
this
.
showCity
)
{
this
.
customerTypeList
=
res
.
data
.
data
;
}
else
{
this
.
customerTypeList
=
res
.
data
.
data
.
filter
(
item
=>
item
.
Id
<
3
);
this
.
customerTypeList
=
res
.
data
.
data
.
filter
(
item
=>
item
.
Id
<
3
);
console
.
log
(
'this.customerTypeList'
,
this
.
customerTypeList
)
}
}
},
...
...
@@ -1814,8 +1812,8 @@
this
.
getTradeWay
();
},
watch
:
{
productObj
:
{
handler
(
oldValue
,
newVal
)
{
productObj
:{
handler
(
oldValue
,
newVal
){
this
.
clearMsg
();
this
.
getTravelPirceInfo
()
this
.
addMsg
.
DepartureCityId
=
oldValue
.
StartCityID
...
...
@@ -1823,7 +1821,7 @@
this
.
addMsg
.
GoCityTime
=
this
.
starTime
=
oldValue
.
StartCityTime
;
this
.
addMsg
.
BackCityTime
=
this
.
endTime
=
oldValue
.
BackCityTime
;
this
.
priceObj
=
JSON
.
parse
(
JSON
.
stringify
(
oldValue
))
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
if
(
this
.
pagesTitle
==
'当地游产品'
)
{
let
str
=
''
if
(
oldValue
.
OtherPrice
>
0
)
{
str
+=
'杂费'
+
oldValue
.
OtherPrice
+
'/人;'
...
...
@@ -1851,5 +1849,4 @@
}
}
};
</
script
>
</
script
>
\ No newline at end of file
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