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
8957864a
Commit
8957864a
authored
Sep 24, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
c5321730
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
23 deletions
+49
-23
CostNewPrice.vue
...ponents/TravelManager/TravelNewQuotation/CostNewPrice.vue
+49
-22
GroupStageSetting.vue
...TravelManager/TravelQuotationCenter/GroupStageSetting.vue
+0
-1
No files found.
src/components/TravelManager/TravelNewQuotation/CostNewPrice.vue
View file @
8957864a
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item>
<el-form-item>
<el-input
class=
"w120 LowNum"
v-model=
"postConfig.DayNum"
<el-input
class=
"w120 LowNum"
v-model=
"postConfig.DayNum"
@
keyup
.
native=
"checkInteger(postConfig,'DayNum');createDayTripPrice()"
>
@
keyup
.
native=
"checkInteger(postConfig,'DayNum');createDayTripPrice()"
maxlength=
"2"
>
<
template
slot=
"append"
>
天
</
template
>
<
template
slot=
"append"
>
天
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item>
<el-form-item>
<el-input
class=
"w120 LowNum"
v-model=
"postConfig.NightNum"
<el-input
class=
"w120 LowNum"
v-model=
"postConfig.NightNum"
@
keyup
.
native=
"checkInteger(postConfig,'NightNum')"
>
@
keyup
.
native=
"checkInteger(postConfig,'NightNum')"
maxlength=
"2"
>
<
template
slot=
"append"
>
晚
</
template
>
<
template
slot=
"append"
>
晚
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -187,48 +187,47 @@
...
@@ -187,48 +187,47 @@
<th
width=
"90"
>
中
</th>
<th
width=
"90"
>
中
</th>
<th
width=
"90"
>
晚
</th>
<th
width=
"90"
>
晚
</th>
</tr>
</tr>
<
!-- <tr v-for="subItem in OfferCostPriceObj.CostLocalList
" :key="subItem.subCode">
<
tr
v-for=
"subItem in dayCostPrice
"
:key=
"subItem.subCode"
>
<td
align=
"center"
>
{{subItem.DayNum}}
</td>
<td
align=
"center"
>
{{subItem.DayNum}}
</td>
<td>
<td>
<el-input type="textarea" resize="none"></el-input>
<el-input
type=
"textarea"
resize=
"none"
v-model=
"subItem.Title"
></el-input>
</td>
</td>
<td>
<td>
<el-form-item>
<el-form-item>
<el-select
v-model=
'subItem.CurrencyId'
>
<el-select
v-model=
'subItem.CurrencyId'
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'defaultSelect'
></el-option>
<el-option v-for="items in O
fferCostPriceObj
.CostCurrencyList" :label='items.CurrencyName'
<el-option
v-for=
"items in O
therPrice
.CostCurrencyList"
:label=
'items.CurrencyName'
:value=
'items.CurrencyId'
:key=
'items.CurrencyId'
>
:value=
'items.CurrencyId'
:key=
'items.CurrencyId'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</td>
</td>
<td>
<td>
<el-input
v-if="!showHotel" type='text' v-model="subItem.HotelMoney
"
<el-input
type=
'text'
v-model=
"subItem.HotelCostPrice
"
@keyup.native="checkPrice(subItem,'Hotel
Money
')"></el-input>
@
keyup
.
native=
"checkPrice(subItem,'Hotel
CostPrice
')"
></el-input>
</td>
</td>
<td>
<td>
<span v-if="showCar">{{subItem.CarName}}</span>
<el-input
type=
'text'
v-model=
"subItem.BusCostPrice"
@
keyup
.
native=
"checkPrice(subItem,'BusCostPrice')"
>
<el-input type='text' v-model="subItem.CarMoney" @keyup.native="checkPrice(subItem,'CarMoney')"
</el-input>
v-if="!showCar"></el-input>
</td>
</td>
<td>
<td>
<span v-if="showTicket" class="QD_DetailName">{{subItem.TicketName}}</span>
<el-input
type=
'text'
v-model=
"subItem.ScenicCostPrice"
<el-input type='text' v-model="subItem.TicketMoney" @keyup.native="checkPrice(subItem,'TicketMoney')"
@
keyup
.
native=
"checkPrice(subItem,'ScenicCostPrice')"
></el-input>
v-if="!showTicket"></el-input>
</td>
</td>
<td>
<td>
<el-input type="text" :disabled='disabMoney' v-model='subItem.FoodItem[0].money'
<el-input
type=
"text"
v-model=
'subItem.BreakfastCostPrice'
@keyup.native="checkPrice(subItem.FoodItem[0],'money')"></el-input>
@
keyup
.
native=
"checkPrice(subItem,'BreakfastCostPrice')"
>
</el-input>
</td>
</td>
<td>
<td>
<el-input type="text"
:disabled='disabMoney' v-model='subItem.FoodItem[1].money
'
<el-input
type=
"text"
v-model=
'subItem.LunchCostPrice
'
@keyup.native="checkPrice(subItem
.FoodItem[1],'money
')"></el-input>
@
keyup
.
native=
"checkPrice(subItem
,'LunchCostPrice
')"
></el-input>
</td>
</td>
<td>
<td>
<el-input type="text"
:disabled='disabMoney' v-model='subItem.FoodItem[2].money
'
<el-input
type=
"text"
v-model=
'subItem.DinnerCostPrice
'
@keyup.native="checkPrice(subItem
.FoodItem[2],'money
')"></el-input>
@
keyup
.
native=
"checkPrice(subItem
,'DinnerCostPrice
')"
></el-input>
</td>
</td>
</tr>
-->
</tr>
</table>
</table>
<div
class=
"CP_ComTitle"
>
内陆段交通部分
</div>
<div
class=
"CP_ComTitle"
>
内陆段交通部分
</div>
<table
class=
"CostPriceTable"
>
<table
class=
"CostPriceTable"
>
...
@@ -491,6 +490,7 @@
...
@@ -491,6 +490,7 @@
</tr>
</tr>
</table>
</table>
</el-form>
</el-form>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -499,6 +499,8 @@
...
@@ -499,6 +499,8 @@
props
:
[
"postConfig"
,
"OtherPrice"
,
"dayCostPrice"
,
"LineList"
],
props
:
[
"postConfig"
,
"OtherPrice"
,
"dayCostPrice"
,
"LineList"
],
data
()
{
data
()
{
return
{
return
{
//下拉框默认值
defaultSelect
:
0
,
queryMsg
:
{
queryMsg
:
{
//汇率输入
//汇率输入
RateInput
:
""
,
RateInput
:
""
,
...
@@ -536,7 +538,33 @@
...
@@ -536,7 +538,33 @@
//生成行程报价
//生成行程报价
createDayTripPrice
()
{
createDayTripPrice
()
{
if
(
this
.
postConfig
.
DayNum
>
this
.
dayCostPrice
.
length
)
{
for
(
var
i
=
this
.
dayCostPrice
.
length
;
i
<
this
.
postConfig
.
DayNum
;
i
++
)
{
//去掉以前默认的交通
var
dayItem
=
{
Id
:
0
,
//主键编号
OfferId
:
0
,
//报价单编号
ConfigId
:
0
,
//配置编号
Title
:
""
,
//行程大点
DayNum
:
i
+
1
,
//行程天数
CurrencyId
:
0
,
//币种
HotelCostPrice
:
0
,
//酒店报价
BusCostPrice
:
0
,
//车辆报价
ScenicCostPrice
:
0
,
//景点报价
BreakfastCostPrice
:
0
,
//早餐报价
LunchCostPrice
:
0
,
//午餐报价
DinnerCostPrice
:
0
,
//晚餐报价
};
this
.
dayCostPrice
.
push
(
dayItem
);
}
}
else
{
//删除多余的项
for
(
var
i
=
this
.
postConfig
.
DayNum
;
i
<
this
.
dayCostPrice
.
length
;
i
++
)
{
this
.
dayCostPrice
.
splice
(
i
,
1
);
}
this
.
dayCostPrice
.
length
=
this
.
postConfig
.
DayNum
;
}
console
.
log
(
" this.dayCostPrice"
,
this
.
dayCostPrice
);
},
},
//添加人数费用
//添加人数费用
addPeoNunber
()
{
addPeoNunber
()
{
...
@@ -602,7 +630,6 @@
...
@@ -602,7 +630,6 @@
},
},
mounted
()
{
mounted
()
{
this
.
getAllCurrency
();
this
.
getAllCurrency
();
console
.
log
(
"line"
,
this
.
LineList
);
},
},
watch
:
{
watch
:
{
...
...
src/components/TravelManager/TravelQuotationCenter/GroupStageSetting.vue
View file @
8957864a
...
@@ -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