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
72824603
Commit
72824603
authored
Sep 24, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
bc543e05
bb2ce689
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
355 additions
and
179 deletions
+355
-179
OPRules.vue
src/components/FinancialModule/OPRules.vue
+12
-10
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+1
-0
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+241
-71
DirectNewQuotation.vue
...s/TravelManager/TravelNewQuotation/DirectNewQuotation.vue
+6
-6
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+92
-72
newQuotation.vue
...ponents/TravelManager/TravelNewQuotation/newQuotation.vue
+3
-19
GroupStageSetting.vue
...TravelManager/TravelQuotationCenter/GroupStageSetting.vue
+0
-1
No files found.
src/components/FinancialModule/OPRules.vue
View file @
72824603
...
@@ -107,11 +107,11 @@
...
@@ -107,11 +107,11 @@
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"系列"
v-show=
"form.LineIdList.length==1 && form.LineIdList[0]!=-1"
>
<
!--
<
el-form-item
label=
"系列"
v-show=
"form.LineIdList.length==1 && form.LineIdList[0]!=-1"
>
<el-select
class=
"multiple_input"
filterable
multiple
collapse-tags
v-model=
"form.LtIdList"
>
<el-select
class=
"multiple_input"
filterable
multiple
collapse-tags
v-model=
"form.LtIdList"
>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.LtName'
:value=
'item.LtID'
:key=
'item.LtID'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"描述"
>
<el-form-item
label=
"描述"
>
<el-input
class=
"w220"
v-model=
"form.Description"
></el-input>
<el-input
class=
"w220"
v-model=
"form.Description"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -236,6 +236,7 @@ export default {
...
@@ -236,6 +236,7 @@ export default {
this
.
getLineList
();
this
.
getLineList
();
this
.
getList
();
this
.
getList
();
this
.
getEmployeeList
();
this
.
getEmployeeList
();
this
.
getDepartment
();
},
},
methods
:{
methods
:{
...
@@ -294,7 +295,7 @@ export default {
...
@@ -294,7 +295,7 @@ export default {
FInternMoney
:
item
.
FInternMoney
,
FInternMoney
:
item
.
FInternMoney
,
}
}
this
.
departmentMsg
.
RB_Branch_Id
=
item
.
BranchId
;
this
.
departmentMsg
.
RB_Branch_Id
=
item
.
BranchId
;
this
.
getDepartment
();
this
.
getLineTeamList
();
this
.
getLineTeamList
();
},
},
RulesOk
(
formName
){
RulesOk
(
formName
){
...
@@ -307,10 +308,10 @@ export default {
...
@@ -307,10 +308,10 @@ export default {
this
.
Error
(
"请选择分负责OP!"
)
this
.
Error
(
"请选择分负责OP!"
)
return
;
return
;
}
}
if
(
this
.
form
.
FZLEmployeeIdList
.
length
==
0
){
//
if(this.form.FZLEmployeeIdList.length==0){
this
.
Error
(
"请选择分助理!"
)
//
this.Error("请选择分助理!")
return
;
//
return;
}
//
}
if
(
this
.
form
.
FInternMoney
==
0
){
if
(
this
.
form
.
FInternMoney
==
0
){
this
.
Error
(
"请填写分负责人金额!"
)
this
.
Error
(
"请填写分负责人金额!"
)
return
;
return
;
...
@@ -415,9 +416,9 @@ export default {
...
@@ -415,9 +416,9 @@ export default {
linkageDepartment
(
val
){
linkageDepartment
(
val
){
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
form
.
BranchId
;
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
form
.
BranchId
;
this
.
departmentList
=
[];
//
this.departmentList=[];
this
.
form
.
DepartmentId
=-
1
;
this
.
form
.
DepartmentId
=-
1
;
this
.
getDepartment
();
//
this.getDepartment();
if
(
this
.
departmentMsg
.
RB_Branch_Id
==
0
){
if
(
this
.
departmentMsg
.
RB_Branch_Id
==
0
){
this
.
stateShow
=
false
;
this
.
stateShow
=
false
;
...
@@ -432,12 +433,13 @@ export default {
...
@@ -432,12 +433,13 @@ export default {
},
},
getDepart
(
id
){
getDepart
(
id
){
this
.
form
.
DepartmentId
=
id
;
this
.
form
.
DepartmentId
=
id
;
this
.
$forceUpdate
();
//
this.$forceUpdate();
},
},
getDepartment
()
{
getDepartment
()
{
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
departmentMsg
,
res
=>
{
this
.
apipost
(
'admin_get_DepartmentGetList'
,
this
.
departmentMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
departmentList
=
res
.
data
.
data
;
this
.
departmentList
=
res
.
data
.
data
;
console
.
log
(
"this.departmentList"
,
this
.
departmentList
)
}
}
},
err
=>
{})
},
err
=>
{})
},
},
...
...
src/components/LeaderManagement/leaderReimbursement.vue
View file @
72824603
...
@@ -423,6 +423,7 @@
...
@@ -423,6 +423,7 @@
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else-if=
"subItem.PayStyle === 11"
>
刷卡
</span>
<span
v-else-if=
"subItem.PayStyle === 11"
>
刷卡
</span>
<span
v-else-if=
"subItem.PayStyle === 10"
>
领队导游垫付
</span>
<span
v-else
></span>
<span
v-else
></span>
</br>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:{{subItem.PayTypeTCNUM}}
</span>
...
...
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
72824603
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/DirectNewQuotation.vue
View file @
72824603
...
@@ -107,14 +107,14 @@
...
@@ -107,14 +107,14 @@
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"DirectQuotation clearfix"
>
<div
class=
"Direct
New
Quotation clearfix"
>
<el-form
label-width=
"100px"
ref=
"currentOfferFrom"
>
<el-form
label-width=
"100px"
ref=
"currentOfferFrom"
>
<div
class=
"switchDiv clearfix"
style=
"width:98%;"
>
<div
class=
"switchDiv clearfix"
style=
"width:98%;"
>
<div
class=
"DirectPriceCenter"
>
<div
class=
"DirectPriceCenter"
>
<div
class=
"singlePrice clearfix"
>
<div
class=
"singlePrice clearfix"
>
<Cost
Price
ref=
"Cost
Price"
:postConfig=
"postConfig"
:OtherPrice=
"otherPrice"
<Cost
NewPrice
ref=
"CostNew
Price"
:postConfig=
"postConfig"
:OtherPrice=
"otherPrice"
:dayCostPrice=
"dayCostPrice"
:LineList=
"LineList"
></Cost
Price>
:dayCostPrice=
"dayCostPrice"
:LineList=
"LineList"
:CostCurrencyList=
"CostCurrencyList"
:CostNumberList=
"CostNumberList"
:CurrencyNumberListExt=
"CurrencyNumberListExt"
></CostNew
Price>
</div>
</div>
</div>
</div>
<div
class=
"DirectRightPrice"
style=
"margin-left:20px;"
>
<div
class=
"DirectRightPrice"
style=
"margin-left:20px;"
>
...
@@ -270,10 +270,10 @@
...
@@ -270,10 +270,10 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
CostPrice
from
"../TravelNewQuotation/CostNewPrice"
;
import
Cost
New
Price
from
"../TravelNewQuotation/CostNewPrice"
;
export
default
{
export
default
{
props
:
[
"postConfig"
,
"dayCostPrice"
,
"otherPrice"
,
"teamPrice"
,
"LineList"
],
props
:
[
"postConfig"
,
"dayCostPrice"
,
"otherPrice"
,
"teamPrice"
,
"LineList"
,
"CostCurrencyList"
,
"CostNumberList"
,
"CurrencyNumberListExt"
],
data
()
{
data
()
{
return
{
return
{
CheckedVaule
:
2
,
CheckedVaule
:
2
,
...
@@ -287,7 +287,7 @@
...
@@ -287,7 +287,7 @@
},
},
components
:
{
components
:
{
Cost
Price
:
Cost
Price
Cost
NewPrice
:
CostNew
Price
}
}
};
};
...
...
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
72824603
<
template
>
<
template
>
<div
class=
"DirectQuotation clearfix"
>
<div
class=
"DirectQuotation clearfix"
>
<DirectQuotation
ref=
"QuotationPrice"
:postConfig=
"postData"
:dayCostPrice=
"dayCostPriceList"
<DirectQuotation
ref=
"QuotationPrice"
:postConfig=
"postData"
:dayCostPrice=
"dayCostPriceList"
:otherPrice=
"otherPrice"
:teamPrice=
"teamPrice"
:LineList=
"LineList"
></DirectQuotation>
:otherPrice=
"otherPrice"
:teamPrice=
"teamPrice"
:LineList=
"LineList"
:CostCurrencyList=
"CostCurrencyList"
:CostNumberList=
"CostNumberList"
:CurrencyNumberListExt=
"CurrencyNumberListExt"
></DirectQuotation>
<div
class=
"btnFixedDiv"
>
<div
class=
"btnFixedDiv"
>
<div
class=
"toTop"
>
<div
class=
"toTop"
>
<i
class=
"iconfont icon-huidaodingbu"
></i>
<i
class=
"iconfont icon-huidaodingbu"
></i>
...
@@ -21,6 +22,7 @@
...
@@ -21,6 +22,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
ConfigID
:
0
,
//基本配置
//基本配置
postData
:
{
postData
:
{
ID
:
0
,
ID
:
0
,
...
@@ -32,11 +34,11 @@
...
@@ -32,11 +34,11 @@
IsSubstitution
:
1
,
IsSubstitution
:
1
,
IsB2B
:
1
,
IsB2B
:
1
,
IsB2C
:
1
,
IsB2C
:
1
,
FSeat
:
""
,
FSeat
:
0
,
CSeat
:
""
,
CSeat
:
0
,
YSeat
:
""
,
YSeat
:
0
,
//最低成团人数
//最低成团人数
LowNum
:
""
,
LowNum
:
0
,
//OP备注
//OP备注
OpRemark
:
""
,
OpRemark
:
""
,
//产品经理备注
//产品经理备注
...
@@ -45,13 +47,13 @@
...
@@ -45,13 +47,13 @@
PriceIsDirect
:
1
,
//是否直采报价(1-否-2-是)【全部默认非直采】
PriceIsDirect
:
1
,
//是否直采报价(1-否-2-是)【全部默认非直采】
PDFAlias
:
""
,
//pdf别名
PDFAlias
:
""
,
//pdf别名
ImgCover
:
""
,
//封面图
ImgCover
:
""
,
//封面图
DayNum
:
""
,
//天数
DayNum
:
0
,
//天数
NightNum
:
""
,
//晚数
NightNum
:
0
,
//晚数
StartCityId
:
0
,
StartCityId
:
0
,
ReturnArriveCityId
:
0
,
//返回抵达城市
ReturnArriveCityId
:
0
,
//返回抵达城市
},
},
dayCostPriceList
:
[],
//报价列表
dayCostPriceList
:
[],
//报价列表
isSubmit
:
fals
e
,
isSubmit
:
tru
e
,
otherPrice
:
{
otherPrice
:
{
CostId
:
0
,
//主键编号
CostId
:
0
,
//主键编号
ConfigID
:
0
,
//配置编号
ConfigID
:
0
,
//配置编号
...
@@ -77,39 +79,40 @@
...
@@ -77,39 +79,40 @@
SingleRoomShareMoney
:
0
,
//单房差分摊费用
SingleRoomShareMoney
:
0
,
//单房差分摊费用
InlandTrafficShareMoney
:
0
,
//内陆段交通分摊费用
InlandTrafficShareMoney
:
0
,
//内陆段交通分摊费用
OtherShareMoney
:
0
,
//杂费分摊费用
OtherShareMoney
:
0
,
//杂费分摊费用
CostCurrencyList
:[],
//选择的币种
CostNumberList
:[],
//人数
},
},
CostCurrencyList
:
[],
//选择的币种
CostNumberList
:
[],
//人数
CurrencyNumberListExt
:
[],
//币种和人数列表
//团报价信息
//团报价信息
teamPrice
:{
teamPrice
:
{
QuotationId
:
0
,
//主键编号
QuotationId
:
0
,
//主键编号
TeamId
:
0
,
//团期编号
TeamId
:
0
,
//团期编号
ConfigID
:
0
,
//团队配置编号
ConfigID
:
0
,
//团队配置编号
OfferId
:
0
,
//报价编号
OfferId
:
0
,
//报价编号
B2BMemberPrice
:
0
,
//同业会员价
B2BMemberPrice
:
0
,
//同业会员价
B2BPrice
:
0
,
//同业价格
B2BPrice
:
0
,
//同业价格
B2CMemberPrice
:
0
,
//直客会员价,
B2CMemberPrice
:
0
,
//直客会员价,
B2CPrice
:
0
,
//直客价格
B2CPrice
:
0
,
//直客价格
ChildNeedPrice
:
0
,
//小孩占床价格,
ChildNeedPrice
:
0
,
//小孩占床价格,
ChildNoNeedPrice
:
0
,
//小孩不占床价格
ChildNoNeedPrice
:
0
,
//小孩不占床价格
BabyPrice
:
0
,
//婴儿价格
BabyPrice
:
0
,
//婴儿价格
BabyChargePrice
:
0
,
//婴儿附加费
BabyChargePrice
:
0
,
//婴儿附加费
OldManChargePrice
:
0
,
//老人附加费
OldManChargePrice
:
0
,
//老人附加费
VisaPrice
:
0
,
//签证
VisaPrice
:
0
,
//签证
OtherPrice
:
0
,
//杂费
OtherPrice
:
0
,
//杂费
SingleRoomPrice
:
0
,
//单房差
SingleRoomPrice
:
0
,
//单房差
SingleDMCPrice
:
0
,
//单地接
SingleDMCPrice
:
0
,
//单地接
RebatePrice
:
0
,
//同行返佣
RebatePrice
:
0
,
//同行返佣
DiscountPrice
:
0
,
//早鸟优惠
DiscountPrice
:
0
,
//早鸟优惠
IsSupportChildren
:
1
,
//是否支持儿童出游(1-支持,2-不支持)
IsSupportChildren
:
1
,
//是否支持儿童出游(1-支持,2-不支持)
SafeMoney
:
0
,
//保险费
SafeMoney
:
0
,
//保险费
PeopleNumber
:
0
,
//人数
PeopleNumber
:
0
,
//人数
AirticketMoney
:
0
,
//机票费用
AirticketMoney
:
0
,
//机票费用
BackVisaPrice
:
0
,
//退签证费
BackVisaPrice
:
0
,
//退签证费
BackSafeMoney
:
0
,
//退保险费
BackSafeMoney
:
0
,
//退保险费
ContractUrl
:
""
,
//合同地址
ContractUrl
:
""
,
//合同地址
},
},
LineList
:
[],
//线路列表
LineList
:
[],
//线路列表
};
};
},
},
methods
:
{
methods
:
{
...
@@ -119,49 +122,66 @@
...
@@ -119,49 +122,66 @@
},
},
//保存数据
//保存数据
SaveData
()
{
SaveData
()
{
var
nObj
=
{
config
:
this
.
postData
,
dayCostPriceList
:
this
.
dayCostPriceList
,
otherPrice
:
this
.
otherPrice
,
teamPrice
:
this
.
teamPrice
,
CostCurrencyList
:
this
.
CostCurrencyList
,
CostNumberList
:
this
.
CostNumberList
};
console
.
log
(
"请求参数"
,
nObj
);
this
.
apipost
(
this
.
apipost
(
"travel_post_SetConfigOffer_V2"
,
{
"travel_post_SetConfigOffer_V2"
,
nObj
,
config
:
postData
,
dayCostPriceList
:
dayCostPriceList
,
otherPrice
:
otherPrice
,
teamPrice
:
teamPrice
},
res
=>
{
res
=>
{
console
.
log
(
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{}
this
.
Success
(
res
.
date
.
message
);
this
.
goUrl
(
'newQuotation'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
},
err
=>
{}
err
=>
{}
);
);
},
},
goUrl
(
path
)
{
this
.
$router
.
push
({
path
:
path
,
query
:
{
cache
:
true
}
});
},
getPostData
()
{
getPostData
()
{
let
configId
=
this
.
$route
.
query
.
configId
;
let
configId
=
this
.
$route
.
query
.
configId
;
if
(
configId
>
0
)
{
let
msg
=
{
let
msg
=
{
ID
:
configId
ID
:
configId
};
};
this
.
apipost
(
this
.
apipost
(
"travel_get_GetMyTravelInfo_V2"
,
"travel_get_GetMyTravelInfo_V2"
,
msg
,
msg
,
res
=>
{
res
=>
{
console
.
log
(
"res.data.data"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
"res.data.data"
,
res
.
data
);
var
tempData
=
res
.
data
.
data
;
this
.
postData
=
res
.
data
.
data
;
this
.
LineList
=
tempData
.
LineList
;
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
}
else
{
0
)
{
this
.
Error
(
res
.
data
.
message
);
this
.
dayCostPriceList
=
tempData
.
dayCostPriceList
;
}
if
(
tempData
.
otherPrice
)
{
this
.
otherPrice
=
tempData
.
otherPrice
;
}
}
},
if
(
tempData
.
teamPrice
)
{
err
=>
{}
this
.
teamPrice
=
tempData
.
teamPrice
;
);
}
}
else
{
let
params
=
{
}
else
{
isNoOffer
:
false
this
.
Error
(
res
.
data
.
message
);
};
}
this
.
$router
.
push
({
},
name
:
"quoTation"
,
err
=>
{}
params
:
params
);
});
}
}
}
},
},
created
()
{
created
()
{
...
...
src/components/TravelManager/TravelNewQuotation/newQuotation.vue
View file @
72824603
...
@@ -26,16 +26,7 @@
...
@@ -26,16 +26,7 @@
</el-select>
</el-select>
</span>
</span>
</li>
</li>
<li>
<span>
<em>
报价单状态
</em>
<el-select
v-model=
"queryData.TravelState"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'noLimit'
></el-option>
<el-option
v-for=
'item in TravelStateList'
:key=
"item.Id"
:label=
"item.label"
:value=
"item.Id"
>
</el-option>
</el-select>
</span>
</li>
<li>
<li>
<span>
<span>
<em>
开团状态
</em>
<em>
开团状态
</em>
...
@@ -148,14 +139,7 @@
...
@@ -148,14 +139,7 @@
<div>
{{
item
.
CreateUserName
}}
</div>
<div>
{{
item
.
CreateUserName
}}
</div>
</div>
</div>
</div>
</div>
<div>
<span>
报价单状态
</span>
<span
v-if=
"item.TravelState==1"
>
草稿
</span>
<span
v-else-if=
"item.TravelState==2"
>
待审核
</span>
<span
v-else-if=
"item.TravelState==3"
>
审核通过
</span>
<span
v-else-if=
"item.TravelState==4"
>
审核拒绝
</span>
<span
v-else-if=
"item.TravelState==5"
>
已撤销
</span>
</div>
<div>
<div>
<span
v-if=
"item.TravelState==2"
class=
"retract opbd"
@
click=
"revokeInfo(item.ID)"
>
<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"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"待审核"
placement=
"top-start"
popper-class=
"max-w250"
>
...
@@ -460,7 +444,7 @@
...
@@ -460,7 +444,7 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
path
,
path
:
path
,
query
:
{
query
:
{
configId
:
4288
,
configId
:
0
,
blank
:
'y'
,
blank
:
'y'
,
tab
:
'报价单'
tab
:
'报价单'
}
}
...
...
src/components/TravelManager/TravelQuotationCenter/GroupStageSetting.vue
View file @
72824603
...
@@ -470,7 +470,6 @@
...
@@ -470,7 +470,6 @@
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
"获取值"
,
this
.
postConfig
);
var
dateObj
=
this
.
$calendarUtils
.
getCurrentDate
();
var
dateObj
=
this
.
$calendarUtils
.
getCurrentDate
();
this
.
yearInput
=
dateObj
.
CurrentYear
;
this
.
yearInput
=
dateObj
.
CurrentYear
;
this
.
monthInput
=
dateObj
.
CurrentMonth
;
this
.
monthInput
=
dateObj
.
CurrentMonth
;
...
...
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