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
56f11d83
Commit
56f11d83
authored
Feb 14, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
4a47577c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
45 deletions
+33
-45
CostNewPriceAudit.vue
...ts/TravelManager/TravelNewQuotation/CostNewPriceAudit.vue
+11
-7
QuotationAduit.vue
...nents/TravelManager/TravelNewQuotation/QuotationAduit.vue
+22
-38
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPriceAudit.vue
View file @
56f11d83
...
...
@@ -281,7 +281,7 @@
{{
subItem
.
Title
}}
</td>
<td>
{{
getCurrencyName
(
OtherPrice
.
CurrencyId
)
}}
{{
getCurrencyName
(
subItem
.
CurrencyId
)
}}
</td>
<td>
<template
v-if=
"subItem.ContainDinnerType==0"
>
含餐类型
</
template
>
...
...
@@ -708,17 +708,16 @@
<tr>
<td
class=
"CP_ComTitle2"
>
备注
</td>
<td
colspan=
"12"
>
<el-input
type=
"textarea"
></el-input>
<el-input
type=
"textarea"
v-model=
"postConfig.AuditContent"
></el-input>
</td>
</tr>
<tr>
<td
colspan=
"13"
style=
"text-align:center;"
>
<input
type=
"button"
class=
"normalBtn"
value=
"同意"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"拒绝"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"同意"
@
click=
"SubSaveType(3)"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"拒绝"
@
click=
"SubSaveType(4)"
/>
</td>
</tr>
</table>
<div
class=
"Cost_Line"
></div>
</el-form>
</div>
...
...
@@ -738,6 +737,10 @@
}
},
methods
:
{
//调用父组件方法
SubSaveType
(
type
)
{
this
.
$parent
.
SaveData
(
type
);
},
//交通部分小计
trafficXiaoJi
(
currencyType
)
{
var
trafficTotal
=
0
;
...
...
@@ -993,4 +996,5 @@
},
},
};
</
script
>
src/components/TravelManager/TravelNewQuotation/QuotationAduit.vue
View file @
56f11d83
...
...
@@ -10,24 +10,13 @@
</
style
>
<
template
>
<div
class=
"DirectQuotation clearfix"
v-loading=
"loading"
>
<div
class=
"singlePrice clearfix"
v-show=
"IsShow"
>
<div
class=
"singlePrice clearfix"
>
<CostNewPriceAudit
ref=
"CostNewPrice"
:postConfig=
"postData"
:OtherPrice=
"otherPrice"
:dayCostPrice=
"dayCostPriceList"
:CostCurrencyList=
"CostCurrencyList"
:CostNumberList=
"CostNumberList"
:CurrencyNumberListExt=
"CurrencyNumberListExt"
:teamPrice=
"teamPrice"
></CostNewPriceAudit>
</div>
<div
class=
"btnFixedDiv"
>
<div
class=
"toTop"
>
<i
class=
"iconfont icon-huidaodingbu"
></i>
</div>
<div
class=
"DTSaveBtn"
:class=
"
{'disClick':!isSubmit}" @click="SaveData(2)">提交
</div>
<div
class=
"DTSaveBtn"
style=
"display:none;"
>
复制
</div>
<div
class=
"DTSaveBtn caogao"
:class=
"
{'disClick':!isSubmit}" @click="SaveData(1)">
<span>
保存
</span>
<span>
草稿
</span>
</div>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -137,41 +126,36 @@
ContractUrl
:
""
,
//合同地址
PriceRemark
:
""
,
//定价备注
LeaderGuideDriveZhuSu
:
0
,
//领队导游住宿费
AuditContent
:
""
,
//审核备注
TravelState
:
0
,
//3审核通过,4拒绝
},
LineList
:
[],
//线路列表
loading
:
false
};
},
methods
:
{
//表单提交
submitForm
(
type
)
{
this
.
$refs
[
"QuotationPrice"
].
submitForm
(
type
);
},
//保存数据
SaveData
()
{
//保存数据
SaveData
(
Type
)
{
var
nObj
=
{
config
:
this
.
postData
,
ID
:
this
.
$route
.
query
.
configId
,
AuditContent
:
this
.
postData
.
AuditContent
,
TravelState
:
Type
};
// this.loading = true;
// this.apipost(
// "travel_post_SetConfigOffer_V2", nObj,
// res => {
// this.loading = false;
// if (res.data.resultCode == 1) {
// this.Success(res.data.message);
// if (this.postData.TeamType == 1) {
// this.goUrl('newQuotation2');
// } else {
// this.goUrl('newQuotation');
// }
// } else {
// this.Error(res.data.message);
// }
// },
// err => {}
// );
this
.
loading
=
true
;
this
.
apipost
(
"travel_get_AuditTravelConfig"
,
nObj
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
goUrl
(
'AuditDan'
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
},
goUrl
(
path
)
{
this
.
$router
.
push
({
...
...
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