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
c73080f9
Commit
c73080f9
authored
Apr 03, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
517ff0b3
b779eacd
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
6 deletions
+53
-6
chooseCustomer.vue
src/components/TravelManager/TravelTeam/chooseCustomer.vue
+22
-1
priceGroup.vue
src/components/TravelManager/TravelTeam/priceGroup.vue
+1
-1
buyGroup.vue
src/pubComponents/buyGroup.vue
+30
-4
No files found.
src/components/TravelManager/TravelTeam/chooseCustomer.vue
View file @
c73080f9
...
...
@@ -2,6 +2,25 @@
</
style
>
<
template
>
<div>
<div
style=
"border: none; display: flex; margin-bottom: 20px"
>
<ul
style=
"overflow: initial!important;display: flex; width: 100%"
>
<li
style=
"display: flex"
>
<span
style=
"width: 60px; line-height: 34px"
>
<em>
{{
$t
(
'salesModule.keyWords'
)
}}
</em>
</span>
<el-input
v-model=
"qMsg.CustomerName"
:placeholder=
"$t('salesModule.InputPhone')"
></el-input>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"resetPageIndex(),getCustomerList()"
>
</li>
</ul>
</div>
<el-card
class=
"box-card"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
选择同行
</span>
...
...
@@ -37,7 +56,7 @@
layout=
"total,prev, pager, next, jumper"
:page-size=
"qMsg.pageSize"
:total=
"qMsg.total"
>
</el-pagination>
</div>
</el-card>
</el-card>
</div>
</template>
<
script
>
export
default
{
...
...
@@ -46,6 +65,7 @@
loading
:
false
,
dataList
:
[],
//数据列表
qMsg
:
{
CustomerName
:
''
,
pageIndex
:
1
,
currentPage
:
1
,
pageSize
:
8
,
...
...
@@ -75,6 +95,7 @@
this
.
qMsg
.
pageIndex
=
val
;
this
.
getCustomerList
();
},
resetPageIndex
()
{
this
.
qMsg
.
pageIndex
=
1
;},
// 获取合作伙伴列表
getCustomerList
()
{
this
.
loading
=
true
;
...
...
src/components/TravelManager/TravelTeam/priceGroup.vue
View file @
c73080f9
...
...
@@ -1200,7 +1200,7 @@
addMsg
.
IsChildrenTour
=
this
.
addObj
.
IsSupportChildren
;
addMsg
.
IsBirdDiscount
=
this
.
addObj
.
IsBirdDiscount
;
this
.
apipost
(
"sellorder_post_Set
OrderInfo
"
,
"sellorder_post_Set
TravelTeamOrderForB2B
"
,
addMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/pubComponents/buyGroup.vue
View file @
c73080f9
...
...
@@ -669,6 +669,14 @@
TotalNumber
:
0
,
};
},
watch
:
{
info
:
{
handler
:
function
()
{
this
.
goBuy
(
this
.
info
)
},
deep
:
true
}
},
components
:
{
},
filters
:
{
...
...
@@ -1364,7 +1372,9 @@
}
this
.
autoRemarks
(
"VisaNum"
,
"不要签证数量"
);
},
// 计算价格
getTotalPrice
(
t
)
{
console
.
log
(
'getTotalPrice'
,
this
.
addObj
)
if
(
t
===
3
)
{
if
(
parseFloat
(
this
.
addMsg
.
Unit_Price
).
toString
()
===
"NaN"
)
{
this
.
$message
.
error
(
"请输入正确的价格!"
);
...
...
@@ -1416,7 +1426,7 @@
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
this
.
addObj
.
BackVisaPrice
*
(
this
.
addObj
.
BackVisaPrice
||
0
)
*
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
...
...
@@ -1483,7 +1493,7 @@
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
-
this
.
addObj
.
BackVisaPrice
*
(
this
.
addObj
.
BackVisaPrice
||
0
)
*
(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
...
...
@@ -1515,6 +1525,18 @@
dandijie
=
this
.
addObj
.
SingleDMCPrice
*
Number
(
this
.
addMsg
.
AirticketNum
);
}
console
.
log
(
'this.addObj.OtherPrice'
,
this
.
addObj
.
OtherPrice
,
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)),
this
.
addObj
.
VisaPrice
,(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)),(
Number
(
this
.
addMsg
.
AirticketNum
)
+
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
BabyNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
-
Number
(
this
.
addMsg
.
VisaNum
)))
this
.
addMsg
.
PreferPrice
=
dandijie
+
lianyun
+
...
...
@@ -1670,9 +1692,12 @@
},
// todo 购买的产品信息,需要从外部传入
goBuy
(
obj
)
{
console
.
log
(
'goBuy'
,
obj
)
if
(
!
obj
)
return
this
.
isUpdateSharePeople
=
false
;
this
.
isShowLayer
=
true
;
this
.
addObj
=
obj
;
this
.
addObj
.
SingleDMCPrice
=
this
.
addObj
.
SingleDMCPrice
||
0
this
.
addMsg
.
DepartureCityId
=
obj
.
StartCityID
;
this
.
addMsg
.
ReturnArriveCityId
=
obj
.
ReturnArriveCityId
;
...
...
@@ -1893,7 +1918,7 @@
if
(
this
.
addMsg
.
ClientSource
==
4
&&
this
.
addMsg
.
Remarks
.
indexOf
(
text
)
==
-
1
)
{
this
.
addMsg
.
Remarks
=
'飞猪订单;'
+
this
.
addMsg
.
Remarks
}
}
}
,
},
mounted
()
{
let
userInfo
=
this
.
getLocalStorage
();
...
...
@@ -1911,6 +1936,7 @@
let
nowDay
=
this
.
FormartDate
(
new
Date
());
this
.
msg
.
StartTime
=
nowDay
;
}
this
.
goBuy
(
this
.
info
)
this
.
getEmployee
();
this
.
getStartList
();
this
.
getKhlxList
();
...
...
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