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
9128780b
Commit
9128780b
authored
Feb 11, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ac5fb52e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
125 additions
and
104 deletions
+125
-104
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+88
-39
QuotationNewPrice.vue
...ts/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
+13
-10
newQuotation.vue
...ponents/TravelManager/TravelNewQuotation/newQuotation.vue
+24
-55
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
9128780b
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelNewQuotation/QuotationNewPrice.vue
View file @
9128780b
...
@@ -52,6 +52,7 @@
...
@@ -52,6 +52,7 @@
StartCityId
:
0
,
StartCityId
:
0
,
ReturnArriveCityId
:
0
,
//返回抵达城市
ReturnArriveCityId
:
0
,
//返回抵达城市
CustomerName
:
""
,
//客户名称
CustomerName
:
""
,
//客户名称
TeamType
:
0
,
//团队类型
},
},
dayCostPriceList
:
[],
//报价列表
dayCostPriceList
:
[],
//报价列表
isSubmit
:
true
,
isSubmit
:
true
,
...
@@ -81,10 +82,10 @@
...
@@ -81,10 +82,10 @@
InlandTrafficShareMoney
:
0
,
//内陆段交通分摊费用
InlandTrafficShareMoney
:
0
,
//内陆段交通分摊费用
OtherShareMoney
:
0
,
//杂费分摊费用
OtherShareMoney
:
0
,
//杂费分摊费用
OtherRemark
:
""
,
//其他价格备注
OtherRemark
:
""
,
//其他价格备注
VisaMoneyCurrencyId
:
0
,
//签证费币种
VisaMoneyCurrencyId
:
0
,
//签证费币种
SafeMoneyCurrencyId
:
0
,
//保险费币种
SafeMoneyCurrencyId
:
0
,
//保险费币种
LeaderTripMoneyCurrencyId
:
0
,
//领队小费币种
LeaderTripMoneyCurrencyId
:
0
,
//领队小费币种
DriverGuideMoneyCurrencyId
:
0
,
//司机导游小费币种
DriverGuideMoneyCurrencyId
:
0
,
//司机导游小费币种
},
},
CostCurrencyList
:
[],
//选择的币种
CostCurrencyList
:
[],
//选择的币种
CostNumberList
:
[],
//人数
CostNumberList
:
[],
//人数
...
@@ -118,6 +119,7 @@
...
@@ -118,6 +119,7 @@
BackSafeMoney
:
0
,
//退保险费
BackSafeMoney
:
0
,
//退保险费
ContractUrl
:
""
,
//合同地址
ContractUrl
:
""
,
//合同地址
PriceRemark
:
""
,
//定价备注
PriceRemark
:
""
,
//定价备注
LeaderGuideDriveZhuSu
:
0
,
//领队导游住宿费
},
},
LineList
:
[],
//线路列表
LineList
:
[],
//线路列表
loading
:
false
loading
:
false
...
@@ -154,11 +156,10 @@
...
@@ -154,11 +156,10 @@
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
let
isfrom
=
this
.
$route
.
query
.
isNewQuo
;
if
(
this
.
postData
.
TeamType
==
1
)
{
if
(
isfrom
==
1
){
this
.
goUrl
(
'newQuotation'
);
}
else
{
this
.
goUrl
(
'newQuotation2'
);
this
.
goUrl
(
'newQuotation2'
);
}
else
{
this
.
goUrl
(
'newQuotation'
);
}
}
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
...
@@ -191,7 +192,7 @@
...
@@ -191,7 +192,7 @@
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
tempData
=
res
.
data
.
data
;
var
tempData
=
res
.
data
.
data
;
console
.
log
(
"tempData"
,
tempData
);
console
.
log
(
"tempData"
,
tempData
);
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
if
(
tempData
.
ID
&&
tempData
.
ID
>
0
)
{
this
.
postData
.
ID
=
tempData
.
ID
;
this
.
postData
.
ID
=
tempData
.
ID
;
}
}
...
@@ -264,9 +265,11 @@
...
@@ -264,9 +265,11 @@
err
=>
{}
err
=>
{}
);
);
},
},
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
TeamType
)
{
this
.
postData
.
TeamType
=
this
.
$route
.
query
.
TeamType
;
}
this
.
getPostData
();
this
.
getPostData
();
},
},
components
:
{
components
:
{
...
...
src/components/TravelManager/TravelNewQuotation/newQuotation.vue
View file @
9128780b
...
@@ -34,9 +34,11 @@
...
@@ -34,9 +34,11 @@
box-shadow
:
none
;
box-shadow
:
none
;
color
:
#555
;
color
:
#555
;
}
}
.BilldownLoadCommon
table
td
{
.BilldownLoadCommon
table
td
{
text-align
:
left
;
text-align
:
left
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"flexOne quoTation"
>
<div
class=
"flexOne quoTation"
>
...
@@ -76,7 +78,7 @@
...
@@ -76,7 +78,7 @@
</li>
</li>
<li>
<li>
<button
class=
"hollowFixedBtn"
@
click=
"getList(),resetPageIndex()"
>
查询
</button>
<button
class=
"hollowFixedBtn"
@
click=
"getList(),resetPageIndex()"
>
查询
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goMakeQuo('QuotationNewPrice')"
>
新增
</button>
<button
class=
"hollowFixedBtn"
@
click=
"goMakeQuo('QuotationNewPrice'
,0
)"
>
新增
</button>
</li>
</li>
</ul>
</ul>
</div>
</div>
...
@@ -195,7 +197,7 @@
...
@@ -195,7 +197,7 @@
<i
class=
"iconfont icon-nav-hangzheng"
></i>
<i
class=
"iconfont icon-nav-hangzheng"
></i>
</el-tooltip>
</el-tooltip>
</span>
</span>
<span
class=
"bianji opbd"
@
click=
"go
Url('QuotationNewPrice',item.ID,false
)"
>
<span
class=
"bianji opbd"
@
click=
"go
MakeQuo('QuotationNewPrice',item.ID
)"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('pub.updateMsg')"
placement=
"top-start"
popper-class=
"max-w250"
>
popper-class=
"max-w250"
>
<i
class=
"iconfont icon-bianji-smal"
></i>
<i
class=
"iconfont icon-bianji-smal"
></i>
...
@@ -268,7 +270,8 @@
...
@@ -268,7 +270,8 @@
</tbody>
</tbody>
<tr
height=
"66"
>
<tr
height=
"66"
>
<td
colspan=
"2"
style=
"text-align:center;"
>
<td
colspan=
"2"
style=
"text-align:center;"
>
<input
type=
"button"
class=
"normalBtn"
style=
"margin-left:-70px;"
:value=
"$t('pub.sureBtn')"
@
click=
"DownLoadFile()"
/>
<input
type=
"button"
class=
"normalBtn"
style=
"margin-left:-70px;"
:value=
"$t('pub.sureBtn')"
@
click=
"DownLoadFile()"
/>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
@@ -290,7 +293,8 @@
...
@@ -290,7 +293,8 @@
PageIndex
:
1
,
PageIndex
:
1
,
PageSize
:
10
,
PageSize
:
10
,
total
:
0
,
total
:
0
,
currentPage
:
1
currentPage
:
1
,
TeamType
:
0
,
//0常规,1-小包团,2-一日游,3-地接团
},
},
loading
:
true
,
loading
:
true
,
//报价单状态
//报价单状态
...
@@ -511,70 +515,27 @@
...
@@ -511,70 +515,27 @@
});
});
that
.
outerVisible
=
true
;
that
.
outerVisible
=
true
;
},
},
goUrl
(
path
,
configId
,
isCopy
)
{
//报价单跳转
var
routeName
=
this
.
$route
.
name
;
goMakeQuo
(
path
,
configId
)
{
var
isNewQuo
=
1
;
if
(
routeName
==
'newQuotation'
)
{
isNewQuo
=
1
;
}
if
(
routeName
==
'newQuotation2'
)
{
isNewQuo
=
2
;
}
if
(
configId
>
0
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
configId
:
configId
,
isCopy
:
isCopy
,
isNewQuo
:
isNewQuo
,
blank
:
'y'
}
});
}
else
{
this
.
$router
.
push
({
name
:
path
});
}
},
goUrlBo
(
path
)
{
this
.
$router
.
push
({
path
:
path
,
query
:
{
blank
:
'y'
,
tab
:
'报价单'
}
});
},
goMakeQuo
(
path
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
path
,
path
:
path
,
query
:
{
query
:
{
configId
:
0
,
TeamType
:
this
.
queryData
.
TeamType
,
configId
:
configId
,
blank
:
'y'
,
blank
:
'y'
,
tab
:
'报价单'
tab
:
'报价单'
}
}
});
});
},
},
goSubInfo
(
path
,
configId
)
{
this
.
$store
.
commit
(
"pageConditionUpdate"
,
this
.
queryData
);
this
.
$router
.
push
({
path
:
path
,
query
:
{
configId
:
configId
}
});
},
//开团或修改
//开团或修改
goToOpenTravel
(
item
)
{
goToOpenTravel
(
item
)
{
var
routeName
=
this
.
$route
.
name
;
var
routeName
=
this
.
$route
.
name
;
var
path
=
''
;
var
path
=
''
;
if
(
routeName
==
'newQuotation'
)
{
if
(
routeName
==
'newQuotation'
)
{
path
=
'TravelManager6'
path
=
'TravelManager6'
}
}
if
(
routeName
==
'newQuotation2'
)
{
if
(
routeName
==
'newQuotation2'
)
{
path
=
'TravelManager5'
path
=
'TravelManager5'
}
}
if
(
item
.
ID
>
0
)
{
if
(
item
.
ID
>
0
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -618,6 +579,13 @@
...
@@ -618,6 +579,13 @@
},
},
},
},
mounted
()
{
mounted
()
{
var
routeName
=
this
.
$route
.
name
;
if
(
routeName
==
'newQuotation'
)
{
this
.
queryData
.
TeamType
=
3
;
}
if
(
routeName
==
'newQuotation2'
)
{
this
.
queryData
.
TeamType
=
1
;
}
this
.
getLineList
();
this
.
getLineList
();
this
.
getList
();
this
.
getList
();
let
isNoOffer
=
this
.
$route
.
params
.
isNoOffer
;
let
isNoOffer
=
this
.
$route
.
params
.
isNoOffer
;
...
@@ -626,6 +594,7 @@
...
@@ -626,6 +594,7 @@
}
}
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
hasOwnProperty
(
"cache"
))
{
if
(
this
.
$route
.
query
.
hasOwnProperty
(
"cache"
))
{
if
(
this
.
$store
.
state
.
pageCondition
!=
null
)
{
if
(
this
.
$store
.
state
.
pageCondition
!=
null
)
{
this
.
queryData
=
this
.
$store
.
state
.
pageCondition
;
this
.
queryData
=
this
.
$store
.
state
.
pageCondition
;
...
...
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