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
58c88cf5
Commit
58c88cf5
authored
Aug 02, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品查询增加行业类型
parent
2d84b799
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
6 deletions
+70
-6
DinningDetails.vue
src/components/LeaderManagement/DinningDetails.vue
+56
-4
productQuery.vue
src/components/SalesModule/productQuery.vue
+14
-2
No files found.
src/components/LeaderManagement/DinningDetails.vue
View file @
58c88cf5
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
<th>
日期
</th>
<th>
日期
</th>
<th>
餐厅名称
</th>
<th>
餐厅名称
</th>
<th>
计划金额
</th>
<th>
计划金额
</th>
<th>
用餐信息
</th>
<th>
类别
</th>
<th>
用餐人数
</th>
<th>
单价
</th>
<th>
金额
</th>
<th>
金额
</th>
<th>
币种
</th>
<th>
币种
</th>
<th>
支付方式
</th>
<th>
支付方式
</th>
...
@@ -18,7 +20,7 @@
...
@@ -18,7 +20,7 @@
<tr>
<tr>
<td
v-show=
"dataList.length==0"
colspan=
"16"
align=
"center"
>
暂无数据
</td>
<td
v-show=
"dataList.length==0"
colspan=
"16"
align=
"center"
>
暂无数据
</td>
</tr>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<
!--
<
tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr>
<tr>
<td>
{{
item
.
UseTimeStr
}}
</td>
<td>
{{
item
.
UseTimeStr
}}
</td>
<td>
<td>
...
@@ -52,7 +54,49 @@
...
@@ -52,7 +54,49 @@
<td>
{{
item
.
Remarks
}}
</td>
<td>
{{
item
.
Remarks
}}
</td>
</tr>
</tr>
</tbody>
</tbody>
-->
<template
v-for=
'(item,index) in dataList'
>
<template
v-for=
"(subItem,subIndex) in item.DiningSummaryList"
>
<tr
v-for=
"(childItem,childIndex) in subItem.DiningPriceList"
>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DiningPriceList.length"
>
{{
item
.
UseTimeStr
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DiningPriceList.length"
>
{{
subItem
.
DiningName
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DiningPriceList.length"
>
{{
childItem
.
TotalPrice
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DiningPriceList.length"
>
{{
subItem
.
UseDinnerTypeStr
}}
</td>
<td>
{{
peopleStrToWord
(
childItem
.
PeopleType
)
}}
:
{{
childItem
.
PeopleNum
}}
</td>
<td>
<p>
{{
subItem
.
PayStyle
===
1
?
moneyFormat
(
childItem
.
PeoplePrice
)
:
0
}}
</p>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DiningPriceList.length"
>
{{
diningTotalPrice
(
subItem
,
subItem
.
DiningPriceList
)
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DiningPriceList.length"
>
<span
v-if=
"subItem.PayStyle === 1"
>
现付
</span>
<span
v-else-if=
"subItem.PayStyle === 2"
>
公司结算
</span>
<span
v-else-if=
"subItem.PayStyle === 3"
>
预付
</span>
<span
v-else-if=
"subItem.PayStyle === 6"
>
公司合团支付
</span>
<span
v-else
></span>
</br>
<span
v-show=
"subItem.PayStyle==6"
>
付款团号:
{{
subItem
.
PayTypeTCNUM
}}
</span>
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DiningPriceList.length"
>
{{
urrencyTypeObj
[
subItem
.
ReimburseList
.
CurrencyId
]
}}
</td>
<td
v-if=
"childIndex==0"
:rowspan=
"subItem.DiningPriceList.length"
>
{{
subItem
.
ReimburseList
.
Remarks
}}
</td>
</tr>
</
template
>
</template>
</table>
</table>
</div>
</div>
<!-- <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
<!-- <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
...
@@ -88,6 +132,14 @@ export default {
...
@@ -88,6 +132,14 @@ export default {
this
.
financeinfo_post_GetList
();
this
.
financeinfo_post_GetList
();
},
},
methods
:
{
methods
:
{
peopleStrToWord
(
str
)
{
if
(
str
==
1
)
return
'成人'
if
(
str
==
2
)
return
'儿童'
if
(
str
==
3
)
return
'小人'
},
diningTotalPrice
(
sObj
,
obj
)
{
diningTotalPrice
(
sObj
,
obj
)
{
let
totalPrice
=
0
let
totalPrice
=
0
obj
.
forEach
(
x
=>
{
obj
.
forEach
(
x
=>
{
...
@@ -139,7 +191,7 @@ export default {
...
@@ -139,7 +191,7 @@ export default {
this
.
dataList
.
push
(
item
);
this
.
dataList
.
push
(
item
);
}
}
});
});
//
console.log("this.dataList",this.dataList);
console
.
log
(
"this.dataList"
,
this
.
dataList
);
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
...
...
src/components/SalesModule/productQuery.vue
View file @
58c88cf5
...
@@ -160,7 +160,7 @@
...
@@ -160,7 +160,7 @@
<div
class=
"flexOne"
>
<div
class=
"flexOne"
>
<div
class=
"productQuerybottomLayer ownScrollbarStyle"
v-show=
"isShowLayer"
>
<div
class=
"productQuerybottomLayer ownScrollbarStyle"
v-show=
"isShowLayer"
>
<p>
<p>
立即报名
立即报名
555
<span
class=
"fr"
>
<span
class=
"fr"
>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"取消"
@
click=
"cancelSubmit()"
/>
<input
type=
"button"
class=
"hollowFixedBtn"
value=
"取消"
@
click=
"cancelSubmit()"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"立即报名"
@
click=
"submitForm('addMsg')"
/>
<input
type=
"button"
class=
"normalBtn"
value=
"立即报名"
@
click=
"submitForm('addMsg')"
/>
...
@@ -181,6 +181,7 @@
...
@@ -181,6 +181,7 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"联系人"
prop=
"ContactName"
v-if=
'addMsg.CustomerType==3||addMsg.CustomerType==4'
>
<el-form-item
label=
"联系人"
prop=
"ContactName"
v-if=
'addMsg.CustomerType==3||addMsg.CustomerType==4'
>
...
@@ -196,7 +197,9 @@
...
@@ -196,7 +197,9 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
v-show=
"addMsg.GroupType==2"
label=
"行业类别"
prop=
"IndustryCategory"
>
<el-input
v-model=
'addMsg.IndustryCategory'
></el-input>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
label=
"出发城市"
prop=
"DepartureCityId"
>
<el-form-item
label=
"出发城市"
prop=
"DepartureCityId"
>
...
@@ -957,6 +960,7 @@
...
@@ -957,6 +960,7 @@
TCID
:
'0'
,
TCID
:
'0'
,
CustomerType
:
''
,
CustomerType
:
''
,
GroupType
:
''
,
GroupType
:
''
,
IndustryCategory
:
''
,
ContactName
:
''
,
ContactName
:
''
,
ContactMobile
:
''
,
ContactMobile
:
''
,
CustomerId
:
''
,
CustomerId
:
''
,
...
@@ -1196,6 +1200,7 @@
...
@@ -1196,6 +1200,7 @@
}
}
},
},
gettypechange
(
type
){
gettypechange
(
type
){
if
(
type
==
4
){
if
(
type
==
4
){
this
.
HightUnitPrice
=
'1'
;
this
.
HightUnitPrice
=
'1'
;
this
.
addMsg
.
AirticketNum
=
0
;
this
.
addMsg
.
AirticketNum
=
0
;
...
@@ -1885,6 +1890,13 @@
...
@@ -1885,6 +1890,13 @@
}
}
},
},
saveOrder
()
{
saveOrder
()
{
// 判断单团类型
if
(
this
.
addMsg
.
GroupType
==
2
){
if
(
this
.
addMsg
.
IndustryCategory
==
""
){
this
.
Error
(
"请填写行业类别!"
)
return
;
}
}
//验证人数和机位数
//验证人数和机位数
if
((
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
!=
Number
(
if
((
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
))
!=
Number
(
this
.
addMsg
.
YSeatNum
)
+
Number
(
this
.
addMsg
.
ESeatNum
)
+
Number
(
this
.
addMsg
.
FSeatNum
))
{
this
.
addMsg
.
YSeatNum
)
+
Number
(
this
.
addMsg
.
ESeatNum
)
+
Number
(
this
.
addMsg
.
FSeatNum
))
{
...
...
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