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
bb2ce689
Commit
bb2ce689
authored
Sep 24, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单页面修改
parent
aa1afbb2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
134 additions
and
91 deletions
+134
-91
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+84
-56
DirectNewQuotation.vue
...s/TravelManager/TravelNewQuotation/DirectNewQuotation.vue
+2
-2
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+48
-33
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
bb2ce689
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/DirectNewQuotation.vue
View file @
bb2ce689
...
@@ -114,7 +114,7 @@
...
@@ -114,7 +114,7 @@
<div
class=
"singlePrice clearfix"
>
<div
class=
"singlePrice clearfix"
>
<CostNewPrice
ref=
"CostNewPrice"
:postConfig=
"postConfig"
:OtherPrice=
"otherPrice"
<CostNewPrice
ref=
"CostNewPrice"
:postConfig=
"postConfig"
:OtherPrice=
"otherPrice"
:dayCostPrice=
"dayCostPrice"
:LineList=
"LineList"
></CostNewPrice>
:dayCostPrice=
"dayCostPrice"
:LineList=
"LineList"
:CostCurrencyList=
"CostCurrencyList"
:CostNumberList=
"CostNumberList"
:CurrencyNumberListExt=
"CurrencyNumberListExt"
></CostNewPrice>
</div>
</div>
</div>
</div>
<div
class=
"DirectRightPrice"
style=
"margin-left:20px;"
>
<div
class=
"DirectRightPrice"
style=
"margin-left:20px;"
>
...
@@ -273,7 +273,7 @@
...
@@ -273,7 +273,7 @@
import
CostNewPrice
from
"../TravelNewQuotation/CostNewPrice"
;
import
CostNewPrice
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
,
...
...
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
bb2ce689
<
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>
...
@@ -33,11 +34,11 @@
...
@@ -33,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
:
""
,
//产品经理备注
//产品经理备注
...
@@ -46,8 +47,8 @@
...
@@ -46,8 +47,8 @@
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
,
//返回抵达城市
},
},
...
@@ -78,10 +79,10 @@
...
@@ -78,10 +79,10 @@
SingleRoomShareMoney
:
0
,
//单房差分摊费用
SingleRoomShareMoney
:
0
,
//单房差分摊费用
InlandTrafficShareMoney
:
0
,
//内陆段交通分摊费用
InlandTrafficShareMoney
:
0
,
//内陆段交通分摊费用
OtherShareMoney
:
0
,
//杂费分摊费用
OtherShareMoney
:
0
,
//杂费分摊费用
CostCurrencyList
:
[],
//选择的币种
CostNumberList
:
[],
//人数
CurrencyNumberListExt
:[],
//币种和人数列表
},
},
CostCurrencyList
:
[],
//选择的币种
CostNumberList
:
[],
//人数
CurrencyNumberListExt
:
[],
//币种和人数列表
//团报价信息
//团报价信息
teamPrice
:
{
teamPrice
:
{
QuotationId
:
0
,
//主键编号
QuotationId
:
0
,
//主键编号
...
@@ -121,20 +122,36 @@
...
@@ -121,20 +122,36 @@
},
},
//保存数据
//保存数据
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
;
let
msg
=
{
let
msg
=
{
...
@@ -146,21 +163,19 @@
...
@@ -146,21 +163,19 @@
res
=>
{
res
=>
{
console
.
log
(
"res.data.data"
,
res
.
data
);
console
.
log
(
"res.data.data"
,
res
.
data
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
var
tempData
=
res
.
data
.
data
;
this
.
LineList
=
tempData
.
LineList
;
this
.
LineList
=
tempData
.
LineList
;
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
0
)
if
(
tempData
.
dayCostPriceList
&&
tempData
.
dayCostPriceList
!=
null
&&
tempData
.
dayCostPriceList
.
length
>
{
0
)
{
this
.
dayCostPriceList
=
tempData
.
dayCostPriceList
;
this
.
dayCostPriceList
=
tempData
.
dayCostPriceList
;
}
}
if
(
tempData
.
otherPrice
)
if
(
tempData
.
otherPrice
)
{
{
this
.
otherPrice
=
tempData
.
otherPrice
;
this
.
otherPrice
=
tempData
.
otherPrice
;
}
}
if
(
tempData
.
teamPrice
)
{
if
(
tempData
.
teamPrice
)
this
.
teamPrice
=
tempData
.
teamPrice
;
{
}
this
.
teamPrice
=
tempData
.
teamPrice
;
}
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
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