Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_electricity
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
zhengke
jz_electricity
Commits
e940a35e
Commit
e940a35e
authored
May 25, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ab29a157
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
33 deletions
+45
-33
choiceDmc.vue
src/components/common/choiceDmc.vue
+36
-33
goods.vue
src/components/sallCenter/plugin/goods.vue
+9
-0
No files found.
src/components/common/choiceDmc.vue
View file @
e940a35e
...
...
@@ -5,7 +5,7 @@
<el-tab-pane
label=
"酒店"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"餐食"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"门票"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"
车
"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"
线路
"
name=
"4"
></el-tab-pane>
</el-tabs>
<el-input
size=
"mini"
v-if=
"activeName!='4'"
v-model=
"msg.Name"
placeholder=
"根据名称搜索"
:clearable=
"true"
@
clear=
"msg.pageIndex=1,getCommonSerch()"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getCommonSerch()"
>
...
...
@@ -110,12 +110,16 @@
<el-table-column
type=
"selection"
width=
"50px"
>
</el-table-column>
</
template
>
<el-table-column
label=
"
Id
"
width=
"80px"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Id
}}
</
template
>
<el-table-column
label=
"
TCID
"
width=
"80px"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
TCID
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"StartCityName"
label=
"出发城市"
>
</el-table-column>
<el-table-column
prop=
"ArriveCityName"
label=
"到达城市"
>
<el-table-column
prop=
"Title"
label=
"名称"
>
<
template
slot-scope=
"scope"
>
<div
flex=
"cross:center dir:left"
>
<img
style=
"width:50px;height:50px;margin-right:10px;"
:src=
"scope.row.CoverImg"
/>
<div>
{{
scope
.
row
.
Title
}}
</div>
</div>
</
template
>
</el-table-column>
</el-table>
</template>
...
...
@@ -134,21 +138,19 @@
pageIndex
:
1
,
pageSize
:
15
,
Name
:
''
,
GoodsStatus
:
1
,
//上架中
IsGetSpec
:
0
},
carMsg
:
{
pageIndex
:
1
,
pageSize
:
15
,
ProductState
:
1
travelMsg
:
{
pageIndex
:
1
,
pageSize
:
15
,
Title
:
""
,
},
activeName
:
"1"
,
total
:
0
,
selectRow
:[],
selectRow
:
[],
selectRow1
:
[],
selectRow2
:[],
selectRow3
:[],
selectRow4
:[]
selectRow2
:
[],
selectRow3
:
[],
selectRow4
:
[]
};
},
created
()
{
...
...
@@ -158,7 +160,7 @@
},
methods
:
{
handleClick
()
{
this
.
msg
.
Name
=
''
;
this
.
msg
.
Name
=
''
;
this
.
msg
.
pageIndex
=
1
;
if
(
this
.
activeName
==
'1'
)
{
this
.
getHotelPage
();
...
...
@@ -166,11 +168,11 @@
if
(
this
.
activeName
==
'2'
)
{
this
.
getDinnerPage
();
}
if
(
this
.
activeName
==
'3'
){
if
(
this
.
activeName
==
'3'
)
{
this
.
getTicket
();
}
if
(
this
.
activeName
==
'4'
){
this
.
get
Carsz
();
if
(
this
.
activeName
==
'4'
)
{
this
.
get
TravelPage
();
}
},
//搜索
...
...
@@ -181,11 +183,11 @@
if
(
this
.
activeName
==
'2'
)
{
this
.
getDinnerPage
();
}
if
(
this
.
activeName
==
'3'
){
if
(
this
.
activeName
==
'3'
)
{
this
.
getTicket
();
}
if
(
this
.
activeName
==
'4'
){
this
.
get
Carsz
();
if
(
this
.
activeName
==
'4'
)
{
this
.
get
TravelPage
();
}
},
...
...
@@ -209,13 +211,13 @@
handleSelectionChange
(
val
)
{
this
.
selectRow1
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
handleSelectionChange2
(
val
){
handleSelectionChange2
(
val
)
{
this
.
selectRow2
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
handleSelectionChange3
(
val
){
handleSelectionChange3
(
val
)
{
this
.
selectRow3
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
handleSelectionChange4
(
val
){
handleSelectionChange4
(
val
)
{
this
.
selectRow4
=
JSON
.
parse
(
JSON
.
stringify
(
val
));
},
//获取餐食分页
...
...
@@ -236,7 +238,7 @@
})
},
//获取门票分页
getTicket
(){
getTicket
()
{
this
.
apipost
(
"/api/AppletDining/GetTicketCouponsPage"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
...
...
@@ -252,9 +254,9 @@
}
})
},
//获取
车
列表
get
Carsz
()
{
this
.
apipost
(
"/api/
carcustom/GetLineProductPageList"
,
this
.
car
Msg
,
res
=>
{
//获取
团期
列表
get
TravelPage
()
{
this
.
apipost
(
"/api/
Hotel/GetTravelPage"
,
this
.
travel
Msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
var
tempArray
=
res
.
data
.
data
.
pageData
;
...
...
@@ -281,8 +283,9 @@
},
//父组件调用方法
getChoicedDijie
()
{
this
.
selectRow
=
[];
this
.
selectRow
=
this
.
selectRow
.
concat
(
this
.
selectRow1
).
concat
(
this
.
selectRow2
).
concat
(
this
.
selectRow3
).
concat
(
this
.
selectRow4
)
;
this
.
selectRow
=
[];
this
.
selectRow
=
this
.
selectRow
.
concat
(
this
.
selectRow1
).
concat
(
this
.
selectRow2
).
concat
(
this
.
selectRow3
).
concat
(
this
.
selectRow4
);
return
this
.
selectRow
;
},
//清空多选方法
...
...
src/components/sallCenter/plugin/goods.vue
View file @
e940a35e
...
...
@@ -830,6 +830,15 @@
goodType
:
x
.
goodType
});
}
if
(
x
.
goodType
==
4
)
{
myArray
.
push
({
id
:
x
.
TCID
,
name
:
x
.
Title
,
picUrl
:
x
.
CoverImg
,
price
:
x
.
B2BPrice
,
goodType
:
x
.
goodType
});
}
});
}
if
(
this
.
comIndex
!==
null
)
{
...
...
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