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
ca3cccb4
Commit
ca3cccb4
authored
Aug 04, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
29e72219
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
7 deletions
+51
-7
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+3
-4
CostNewPriceAudit.vue
...ts/TravelManager/TravelNewQuotation/CostNewPriceAudit.vue
+16
-1
CostNewPriceCC.vue
...nents/TravelManager/TravelNewQuotation/CostNewPriceCC.vue
+16
-1
CostNewPriceForm.vue
...nts/TravelManager/TravelNewQuotation/CostNewPriceForm.vue
+16
-1
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
ca3cccb4
...
@@ -1109,7 +1109,6 @@
...
@@ -1109,7 +1109,6 @@
</el-input>
</el-input>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td
class=
"CP_ComTitle2"
>
附件
</td>
<td
class=
"CP_ComTitle2"
>
附件
</td>
<td
colspan=
"13"
>
<td
colspan=
"13"
>
...
@@ -1138,7 +1137,7 @@
...
@@ -1138,7 +1137,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
props
:
[
"postConfig"
,
"OtherPrice"
,
"dayCostPrice"
,
"LineList"
,
"CostNumberList"
,
"CurrencyNumberListExt"
,
props
:
[
"postConfig"
,
"OtherPrice"
,
"dayCostPrice"
,
"LineList"
,
"CostNumberList"
,
"CurrencyNumberListExt"
,
"CostCurrencyList"
,
"teamPrice"
,
"loading"
"CostCurrencyList"
,
"teamPrice"
,
"loading"
],
],
data
()
{
data
()
{
return
{
return
{
...
@@ -1726,14 +1725,14 @@
...
@@ -1726,14 +1725,14 @@
var
wuPrice
=
Number
(
this
.
getDayXiaoJi
(
5
,
2
));
//午餐
var
wuPrice
=
Number
(
this
.
getDayXiaoJi
(
5
,
2
));
//午餐
var
wanPrice
=
Number
(
this
.
getDayXiaoJi
(
6
,
2
));
//晚餐
var
wanPrice
=
Number
(
this
.
getDayXiaoJi
(
6
,
2
));
//晚餐
var
otherPrice
=
Number
(
this
.
getDayXiaoJi
(
9
,
2
));
//其它费用
var
otherPrice
=
Number
(
this
.
getDayXiaoJi
(
9
,
2
));
//其它费用
var
busFee
=
Number
(
this
.
getDayXiaoJi
(
2
,
2
))
+
Number
(
this
.
getDayXiaoJi
(
7
,
2
));
//车费
var
busFee
=
Number
(
this
.
getDayXiaoJi
(
2
,
2
))
+
Number
(
this
.
getDayXiaoJi
(
7
,
2
));
//车费
totalMoney
=
busFee
+
hotelPrice
+
sencePrice
+
zaoPrice
+
wuPrice
+
wanPrice
+
otherPrice
;
totalMoney
=
busFee
+
hotelPrice
+
sencePrice
+
zaoPrice
+
wuPrice
+
wanPrice
+
otherPrice
;
return
totalMoney
.
toFixed
(
0
);
return
totalMoney
.
toFixed
(
0
);
},
},
//获取地接项目报价
//获取地接项目报价
getLocalJpyTotalMoney
(
PeopleNumber
)
{
getLocalJpyTotalMoney
(
PeopleNumber
)
{
let
totalMoney
=
0.0
;
let
totalMoney
=
0.0
;
var
busFee
=
Number
(
this
.
getDayXiaoJi
(
2
,
1
))
+
Number
(
this
.
getDayXiaoJi
(
7
,
1
));
//车费
var
busFee
=
Number
(
this
.
getDayXiaoJi
(
2
,
1
))
+
Number
(
this
.
getDayXiaoJi
(
7
,
1
));
//车费
var
hotelPrice
=
Number
(
this
.
getDayXiaoJi
(
1
,
1
));
//酒店费用
var
hotelPrice
=
Number
(
this
.
getDayXiaoJi
(
1
,
1
));
//酒店费用
var
sencePrice
=
Number
(
this
.
getDayXiaoJi
(
3
,
1
));
//景点费用
var
sencePrice
=
Number
(
this
.
getDayXiaoJi
(
3
,
1
));
//景点费用
var
zaoPrice
=
Number
(
this
.
getDayXiaoJi
(
4
,
1
));
//早餐
var
zaoPrice
=
Number
(
this
.
getDayXiaoJi
(
4
,
1
));
//早餐
...
...
src/components/TravelManager/TravelNewQuotation/CostNewPriceAudit.vue
View file @
ca3cccb4
...
@@ -187,7 +187,9 @@
...
@@ -187,7 +187,9 @@
<
template
v-for=
"(subItem,subIndex) in dayCostPrice"
>
<
template
v-for=
"(subItem,subIndex) in dayCostPrice"
>
<tr
:key=
"subIndex+100000"
>
<tr
:key=
"subIndex+100000"
>
<td
align=
"center"
>
<td
align=
"center"
>
{{
subItem
.
DayNum
}}
第
{{
subItem
.
DayNum
}}
天
<br
/>
{{
GetDayStr
(
subItem
.
DayNum
-
1
)
}}
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
>
{{
getCurrencyName
(
subItem
.
CurrencyId
)
}}
{{
getCurrencyName
(
subItem
.
CurrencyId
)
}}
...
@@ -528,6 +530,19 @@
...
@@ -528,6 +530,19 @@
}
}
},
},
methods
:
{
methods
:
{
GetDayStr
(
dayNum
)
{
var
str
=
""
;
if
(
this
.
postConfig
.
OutDateTime
&&
this
.
postConfig
.
OutDateTime
!=
''
)
{
var
dateFormat
=
new
Date
(
this
.
postConfig
.
OutDateTime
);
dateFormat
=
dateFormat
.
setDate
(
dateFormat
.
getDate
()
+
dayNum
);
dateFormat
=
new
Date
(
dateFormat
);
let
y
=
dateFormat
.
getFullYear
()
let
m
=
(
dateFormat
.
getMonth
()
+
1
).
toString
().
padStart
(
2
,
'0'
)
let
d
=
dateFormat
.
getDate
().
toString
().
padStart
(
2
,
'0'
)
str
=
`
${
y
}
-
${
m
}
-
${
d
}
`
;
}
return
str
;
},
getTeamList
()
{
getTeamList
()
{
//出团公司
//出团公司
this
.
apipost
(
this
.
apipost
(
...
...
src/components/TravelManager/TravelNewQuotation/CostNewPriceCC.vue
View file @
ca3cccb4
...
@@ -94,7 +94,9 @@
...
@@ -94,7 +94,9 @@
<template
v-for=
"(subItem,subIndex) in dayCostPrice"
>
<template
v-for=
"(subItem,subIndex) in dayCostPrice"
>
<tr
:key=
"subIndex+100000"
>
<tr
:key=
"subIndex+100000"
>
<td
align=
"center"
>
<td
align=
"center"
>
{{
subItem
.
DayNum
}}
第
{{
subItem
.
DayNum
}}
天
<br
/>
{{
GetDayStr
(
subItem
.
DayNum
-
1
)
}}
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
>
{{
getCurrencyName
(
subItem
.
CurrencyId
)
}}
{{
getCurrencyName
(
subItem
.
CurrencyId
)
}}
...
@@ -414,6 +416,19 @@
...
@@ -414,6 +416,19 @@
}
}
},
},
methods
:
{
methods
:
{
GetDayStr
(
dayNum
)
{
var
str
=
""
;
if
(
this
.
postConfig
.
OutDateTime
&&
this
.
postConfig
.
OutDateTime
!=
''
)
{
var
dateFormat
=
new
Date
(
this
.
postConfig
.
OutDateTime
);
dateFormat
=
dateFormat
.
setDate
(
dateFormat
.
getDate
()
+
dayNum
);
dateFormat
=
new
Date
(
dateFormat
);
let
y
=
dateFormat
.
getFullYear
()
let
m
=
(
dateFormat
.
getMonth
()
+
1
).
toString
().
padStart
(
2
,
'0'
)
let
d
=
dateFormat
.
getDate
().
toString
().
padStart
(
2
,
'0'
)
str
=
`
${
y
}
-
${
m
}
-
${
d
}
`
;
}
return
str
;
},
//下载文件
//下载文件
downloadFile
(
fileUrl
,
fileName
)
{
downloadFile
(
fileUrl
,
fileName
)
{
const
link
=
document
.
createElement
(
'a'
);
const
link
=
document
.
createElement
(
'a'
);
...
...
src/components/TravelManager/TravelNewQuotation/CostNewPriceForm.vue
View file @
ca3cccb4
...
@@ -156,7 +156,9 @@
...
@@ -156,7 +156,9 @@
<template
v-for=
"(subItem,subIndex) in dayCostPrice"
>
<template
v-for=
"(subItem,subIndex) in dayCostPrice"
>
<tr
:key=
"subIndex"
>
<tr
:key=
"subIndex"
>
<td
align=
"center"
>
<td
align=
"center"
>
{{
subItem
.
DayNum
}}
第
{{
subItem
.
DayNum
}}
天
<br
/>
{{
GetDayStr
(
subItem
.
DayNum
-
1
)
}}
</td>
</td>
<td>
<td>
<el-form-item>
<el-form-item>
...
@@ -529,6 +531,19 @@
...
@@ -529,6 +531,19 @@
}
}
},
},
methods
:
{
methods
:
{
GetDayStr
(
dayNum
)
{
var
str
=
""
;
if
(
this
.
postConfig
.
OutDateTime
&&
this
.
postConfig
.
OutDateTime
!=
''
)
{
var
dateFormat
=
new
Date
(
this
.
postConfig
.
OutDateTime
);
dateFormat
=
dateFormat
.
setDate
(
dateFormat
.
getDate
()
+
dayNum
);
dateFormat
=
new
Date
(
dateFormat
);
let
y
=
dateFormat
.
getFullYear
()
let
m
=
(
dateFormat
.
getMonth
()
+
1
).
toString
().
padStart
(
2
,
'0'
)
let
d
=
dateFormat
.
getDate
().
toString
().
padStart
(
2
,
'0'
)
str
=
`
${
y
}
-
${
m
}
-
${
d
}
`
;
}
return
str
;
},
// 获取酒店名称
// 获取酒店名称
getHotel
(
subItem
,
HotelId
)
{
getHotel
(
subItem
,
HotelId
)
{
subItem
.
HotelList
.
forEach
(
x
=>
{
subItem
.
HotelList
.
forEach
(
x
=>
{
...
...
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