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
0b135ac0
Commit
0b135ac0
authored
Apr 26, 2019
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物店新加修改
parent
14f030bf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
537 additions
and
411 deletions
+537
-411
ShoppingStore.vue
src/components/ShoppingStore/ShoppingStore.vue
+537
-411
No files found.
src/components/ShoppingStore/ShoppingStore.vue
View file @
0b135ac0
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
.shoppingStore
.hotelResource
{
.shoppingStore
.hotelResource
{
width
:
100%
;
width
:
100%
;
margin-top
:
20px
;
margin-top
:
20px
;
}
}
.shoppingStore
.resourceList
{
.shoppingStore
.resourceList
{
width
:
215px
;
width
:
215px
;
height
:
230px
;
height
:
230px
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -13,25 +14,29 @@
...
@@ -13,25 +14,29 @@
font-size
:
12px
;
font-size
:
12px
;
color
:
#333333
;
color
:
#333333
;
float
:
left
;
float
:
left
;
}
}
.shoppingStore
.resourceList
:hover
{
.shoppingStore
.resourceList
:hover
{
box-shadow
:
0px
0px
20px
rgba
(
191
,
191
,
191
,
1
);
box-shadow
:
0px
0px
20px
rgba
(
191
,
191
,
191
,
1
);
transition
:
all
linear
0.5s
;
transition
:
all
linear
0.5s
;
}
}
.shoppingStore
.reTopInfo
{
.shoppingStore
.reTopInfo
{
width
:
100%
;
width
:
100%
;
height
:
123px
;
height
:
123px
;
position
:
relative
;
position
:
relative
;
}
}
.shoppingStore
.reTopInfo
img
{
.shoppingStore
.reTopInfo
img
{
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
top
:
0
;
top
:
0
;
border-top-left-radius
:
4px
;
border-top-left-radius
:
4px
;
border-top-right-radius
:
4px
;
border-top-right-radius
:
4px
;
}
}
.shoppingStore
.profitList
{
.shoppingStore
.profitList
{
position
:
absolute
;
position
:
absolute
;
width
:
132px
;
width
:
132px
;
height
:
54px
;
height
:
54px
;
...
@@ -43,15 +48,18 @@
...
@@ -43,15 +48,18 @@
left
:
50%
;
left
:
50%
;
margin-left
:
-66px
;
margin-left
:
-66px
;
top
:
32px
;
top
:
32px
;
}
}
.shoppingStore
.cumlaProfit
{
.shoppingStore
.cumlaProfit
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
0
10px
;
padding
:
0
10px
;
}
}
.shoppingStore
.profOne
{
.shoppingStore
.profOne
{
margin
:
8px
0
5px
0
;
margin
:
8px
0
5px
0
;
}
}
.shoppingStore
.eventName
{
.shoppingStore
.eventName
{
position
:
absolute
;
position
:
absolute
;
height
:
22px
;
height
:
22px
;
width
:
100%
;
width
:
100%
;
...
@@ -63,31 +71,36 @@
...
@@ -63,31 +71,36 @@
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
white-space
:
nowrap
;
line-height
:
22px
;
line-height
:
22px
;
}
}
.shoppingStore
.AccumuTrading
{
.shoppingStore
.AccumuTrading
{
color
:
#666666
;
color
:
#666666
;
margin
:
20px
0
0
20px
;
margin
:
20px
0
0
20px
;
}
}
.shoppingStore
.amountOf
{
.shoppingStore
.amountOf
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#333
;
color
:
#333
;
margin
:
10px
0
0
20px
;
margin
:
10px
0
0
20px
;
font-family
:
PingFangSC-Semibold
,
sans-serif
;
font-family
:
PingFangSC-Semibold
,
sans-serif
;
}
}
.shoppingStore
.PhoneNum
{
.shoppingStore
.PhoneNum
{
width
:
175px
;
width
:
175px
;
height
:
24px
;
height
:
24px
;
background-color
:
#ededed
;
background-color
:
#ededed
;
text-align
:
center
;
text-align
:
center
;
line-height
:
24px
;
line-height
:
24px
;
margin
:
10px
auto
;
margin
:
10px
auto
;
}
}
.shoppingStore
.PhoneNum
i
{
.shoppingStore
.PhoneNum
i
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#afafaf
;
color
:
#afafaf
;
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.shoppingStore
.Sort
{
.shoppingStore
.Sort
{
position
:
absolute
;
position
:
absolute
;
width
:
50px
;
width
:
50px
;
height
:
25px
;
height
:
25px
;
...
@@ -98,85 +111,102 @@
...
@@ -98,85 +111,102 @@
background-image
:
url(../../assets/img/Sort.png)
;
background-image
:
url(../../assets/img/Sort.png)
;
line-height
:
25px
;
line-height
:
25px
;
text-align
:
center
;
text-align
:
center
;
}
}
.shoppingStore
.resourceList
:hover
.profitList
{
.shoppingStore
.resourceList
:hover
.profitList
{
background-color
:
rgba
(
4
,
213
,
124
,
0.8
);
background-color
:
rgba
(
4
,
213
,
124
,
0.8
);
}
}
.shoppingStore
.btnList
{
.shoppingStore
.btnList
{
margin-top
:
16px
;
margin-top
:
16px
;
text-align
:
center
;
text-align
:
center
;
}
}
.shoppingStore
.hotelBtn
{
.shoppingStore
.hotelBtn
{
width
:
80px
;
width
:
80px
;
height
:
28px
;
height
:
28px
;
background
:
#f76f6f
;
background
:
#f76f6f
;
border-radius
:
14px
;
border-radius
:
14px
;
color
:
#fff
;
color
:
#fff
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.shoppingStore
.hotelBtn
:first-child
{
.shoppingStore
.hotelBtn
:first-child
{
margin-right
:
19px
;
margin-right
:
19px
;
}
}
.shoppingStore
.w150
.el-input
{
.shoppingStore
.w150
.el-input
{
width
:
150px
;
width
:
150px
;
}
}
.shoppingStore
.btmAddStore
::-webkit-scrollbar
{
.shoppingStore
.btmAddStore
::-webkit-scrollbar
{
width
:
4px
;
width
:
4px
;
height
:
8px
;
height
:
8px
;
}
}
.shoppingStore
.btmAddStore
::-webkit-scrollbar-track
{
.shoppingStore
.btmAddStore
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
4px
;
border-radius
:
4px
;
background
:
#ededed
;
background
:
#ededed
;
}
}
.shoppingStore
.btmAddStore
::-webkit-scrollbar-thumb
{
.shoppingStore
.btmAddStore
::-webkit-scrollbar-thumb
{
border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
background
:
#c9c9c9
;
background
:
#c9c9c9
;
}
}
.shoppingStore
.el-pagination
{
.shoppingStore
.el-pagination
{
border
:
none
!important
;
border
:
none
!important
;
}
}
.shoppingStore
.btmAddStore
{
.shoppingStore
.btmAddStore
{
border-top
:
1px
solid
#d1d1d1
;
border-top
:
1px
solid
#d1d1d1
;
display
:
none
;
display
:
none
;
overflow-x
:
auto
;
overflow-x
:
auto
;
width
:
86%
;
width
:
86%
;
overflow-y
:
auto
;
overflow-y
:
auto
;
position
:
fixed
;
position
:
fixed
;
background
:
#f9f9f9
;
background
:
#f9f9f9
;
bottom
:
0
;
bottom
:
0
;
}
}
.shoppingStore
.btmTitle
{
.shoppingStore
.btmTitle
{
padding
:
0
10px
;
padding
:
0
10px
;
margin
:
20px
0
20px
40px
;
margin
:
20px
0
20px
40px
;
border-left
:
3px
solid
#e95252
;
border-left
:
3px
solid
#e95252
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#000000
;
color
:
#000000
;
}
}
.shoppingStore
.changeMsg
li
{
.shoppingStore
.changeMsg
li
{
display
:
inline-block
;
display
:
inline-block
;
color
:
#666666
;
color
:
#666666
;
}
}
.shoppingStore
.el-form-item__label
{
.shoppingStore
.el-form-item__label
{
font-size
:
12px
;
font-size
:
12px
;
}
}
.shoppingStore
.changeMsg
{
.shoppingStore
.changeMsg
{
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.addressChoice
{
.addressChoice
{
height
:
30px
;
height
:
30px
;
position
:
relative
;
position
:
relative
;
}
}
.shoppingStore
.addChoice
{
.shoppingStore
.addChoice
{
width
:
210px
;
width
:
210px
;
height
:
34px
;
height
:
34px
;
border-radius
:
17px
;
border-radius
:
17px
;
outline
:
none
;
outline
:
none
;
border
:
1px
solid
#d1d1d1
;
border
:
1px
solid
#d1d1d1
;
padding
:
0
50px
0
10px
;
padding
:
0
50px
0
10px
;
}
}
.shoppingStore
.addressIcon
{
.shoppingStore
.addressIcon
{
position
:
absolute
;
position
:
absolute
;
right
:
4px
;
right
:
4px
;
top
:
10px
;
top
:
10px
;
...
@@ -187,29 +217,33 @@
...
@@ -187,29 +217,33 @@
height
:
20px
;
height
:
20px
;
line-height
:
20px
;
line-height
:
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.shoppingStore
.remarkInfo
{
.shoppingStore
.remarkInfo
{
float
:
left
;
float
:
left
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#666
;
color
:
#666
;
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.shoppingStore
.addImg
span
,
.remarkInfo
span
{
.shoppingStore
.addImg
span
,
.remarkInfo
span
{
display
:
inline-block
;
display
:
inline-block
;
width
:
100px
;
width
:
100px
;
text-align
:
right
;
text-align
:
right
;
vertical-align
:
top
;
vertical-align
:
top
;
}
}
.shoppingStore
.reInfo
{
.shoppingStore
.reInfo
{
width
:
225px
;
width
:
225px
;
height
:
100px
;
height
:
100px
;
border
:
1px
solid
#dadada
;
border
:
1px
solid
#dadada
;
border-radius
:
10px
;
border-radius
:
10px
;
margin-left
:
10px
;
margin-left
:
10px
;
padding
:
5px
;
padding
:
5px
;
}
}
.shoppingStore
.addIcon
{
.shoppingStore
.addIcon
{
width
:
160px
;
width
:
160px
;
height
:
100px
;
height
:
100px
;
background-color
:
#ececec
;
background-color
:
#ececec
;
...
@@ -219,72 +253,86 @@
...
@@ -219,72 +253,86 @@
cursor
:
pointer
;
cursor
:
pointer
;
display
:
inline-block
;
display
:
inline-block
;
margin-top
:
-2px
;
margin-top
:
-2px
;
}
}
.shoppingStore
.addImg
{
.shoppingStore
.addImg
{
display
:
inline-block
;
display
:
inline-block
;
margin-left
:
30px
;
margin-left
:
30px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.shoppingStore
.imgDiv
{
.shoppingStore
.imgDiv
{
display
:
inline-block
;
display
:
inline-block
;
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.shoppingStore
.addIcon
i
{
.shoppingStore
.addIcon
i
{
font-size
:
50px
;
font-size
:
50px
;
color
:
#d1d1d1
;
color
:
#d1d1d1
;
}
}
.shoppingStore
.btmBtn
{
.shoppingStore
.btmBtn
{
width
:
100%
;
width
:
100%
;
height
:
70px
;
height
:
70px
;
border-top
:
1px
dashed
#d1d1d1
;
border-top
:
1px
dashed
#d1d1d1
;
line-height
:
70px
;
line-height
:
70px
;
}
}
.shoppingStore
.addIconDiv
{
.shoppingStore
.addIconDiv
{
width
:
160px
;
width
:
160px
;
height
:
100px
;
height
:
100px
;
}
}
.shoppingStore
.fillShow
,
.isShow
{
.shoppingStore
.fillShow
,
.isShow
{
display
:
block
!important
;
display
:
block
!important
;
}
}
.shoppingStore
.fillTop
,
.divTop
{
.shoppingStore
.fillTop
,
.divTop
{
height
:
320px
;
height
:
320px
;
overflow-y
:
scroll
;
overflow-y
:
scroll
;
}
}
.shoppingStore
.hotelResource
::-webkit-scrollbar
{
.shoppingStore
.hotelResource
::-webkit-scrollbar
{
width
:
4px
;
width
:
4px
;
height
:
8px
;
height
:
8px
;
}
}
.shoppingStore
.hotelResource
::-webkit-scrollbar-track
{
.shoppingStore
.hotelResource
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
border-radius
:
4px
;
border-radius
:
4px
;
background
:
#ededed
;
background
:
#ededed
;
}
}
.shoppingStore
.hotelResource
::-webkit-scrollbar-thumb
{
.shoppingStore
.hotelResource
::-webkit-scrollbar-thumb
{
border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
inset
0
0
2px
rgba
(
0
,
0
,
0
,
0.2
);
background
:
#c9c9c9
;
background
:
#c9c9c9
;
}
}
.shoppingStore
.el-textarea__inner
{
.shoppingStore
.el-textarea__inner
{
resize
:
none
;
resize
:
none
;
height
:
100px
;
height
:
100px
;
width
:
200px
;
width
:
200px
;
}
}
.shoppingStore
.re-img
{
.shoppingStore
.re-img
{
width
:
140px
;
width
:
140px
;
height
:
93px
;
height
:
93px
;
border-radius
:
10px
;
border-radius
:
10px
;
float
:
left
;
float
:
left
;
margin
:
0
30px
0
0
;
margin
:
0
30px
0
0
;
position
:
relative
;
position
:
relative
;
}
}
.shoppingStore
.re-img
img
{
.shoppingStore
.re-img
img
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
border-radius
:
10px
;
border-radius
:
10px
;
}
}
.shoppingStore
.imgzhe
{
.shoppingStore
.imgzhe
{
display
:
none
;
display
:
none
;
background
:
rgba
(
0
,
0
,
0
,
0.4
);
background
:
rgba
(
0
,
0
,
0
,
0.4
);
width
:
100%
;
width
:
100%
;
...
@@ -292,11 +340,13 @@
...
@@ -292,11 +340,13 @@
border-radius
:
10px
;
border-radius
:
10px
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
}
}
.shoppingStore
.re-img
:hover
.imgzhe
{
.shoppingStore
.re-img
:hover
.imgzhe
{
display
:
block
;
display
:
block
;
}
}
.shoppingStore
.re-delte
{
.shoppingStore
.re-delte
{
width
:
32px
;
width
:
32px
;
height
:
32px
;
height
:
32px
;
background
:
gray
;
background
:
gray
;
...
@@ -306,91 +356,116 @@
...
@@ -306,91 +356,116 @@
color
:
#fff
;
color
:
#fff
;
margin
:
30px
auto
;
margin
:
30px
auto
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.shoppingStore
.re-delte
:hover
{
.shoppingStore
.re-delte
:hover
{
color
:
#e95252
;
color
:
#e95252
;
background
:
#fff
;
background
:
#fff
;
}
}
.shoppingStore
.imgList
{
.shoppingStore
.imgList
{
float
:
left
;
float
:
left
;
}
}
.shoppingStore
.upload-demo
{
.shoppingStore
.upload-demo
{
text-align
:
center
;
text-align
:
center
;
padding-bottom
:
30px
;
padding-bottom
:
30px
;
}
}
.shoppingStore
.impoTable
{
.shoppingStore
.impoTable
{
width
:
100%
;
width
:
100%
;
min-width
:
1400px
;
min-width
:
1400px
;
}
}
.shoppingStore
.impoTable
td
{
.shoppingStore
.impoTable
td
{
text-align
:
center
;
text-align
:
center
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#333
;
color
:
#333
;
background-color
:
#e0f4ff
;
background-color
:
#e0f4ff
;
height
:
34px
;
height
:
34px
;
}
}
.shoppingStore
.impoTable
th
{
.shoppingStore
.impoTable
th
{
background-color
:
#cbe9fa
;
background-color
:
#cbe9fa
;
color
:
#387ea5
;
color
:
#387ea5
;
height
:
34px
;
height
:
34px
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.shoppingStore
.impotBtn
{
.shoppingStore
.impotBtn
{
border-top
:
none
;
border-top
:
none
;
}
}
.shoppingStore
.typnNoe
{
.shoppingStore
.typnNoe
{
display
:
none
;
display
:
none
;
}
}
.shoppingStore
.disType
{
.shoppingStore
.disType
{
display
:
block
;
display
:
block
;
}
}
.shoppingStore
.delInfo
{
.shoppingStore
.delInfo
{
display
:
inline-block
;
display
:
inline-block
;
color
:
#387ea5
;
color
:
#387ea5
;
width
:
30px
;
width
:
30px
;
height
:
20px
;
height
:
20px
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.shoppingStore
.redType
.el-input__inner
{
.shoppingStore
.redType
.el-input__inner
{
border-color
:
#e95252
;
border-color
:
#e95252
;
}
}
.shoppingStore
.downBtn
{
.shoppingStore
.downBtn
{
padding
:
6px
20px
;
padding
:
6px
20px
;
position
:
relative
;
position
:
relative
;
top
:
-1px
;
top
:
-1px
;
}
}
.shoppingStore
.litTip
{
.shoppingStore
.litTip
{
font-size
:
12px
;
font-size
:
12px
;
margin-left
:
10px
;
margin-left
:
10px
;
}
}
.shoppingStore
.el-dialog--center
.el-dialog__body
{
.shoppingStore
.el-dialog--center
.el-dialog__body
{
padding
:
15px
25px
0
!important
;
padding
:
15px
25px
0
!important
;
}
}
.shoppingStore
.mapList
{
.shoppingStore
.mapList
{
width
:
850px
!important
;
width
:
850px
!important
;
height
:
510px
!important
;
height
:
510px
!important
;
}
}
.delScien
{
.delScien
{
color
:
#fff
;
color
:
#fff
;
}
}
.shoppingStore
.delScien
{
.shoppingStore
.delScien
{
position
:
absolute
;
position
:
absolute
;
right
:
10px
;
right
:
10px
;
top
:
10px
;
top
:
10px
;
display
:
none
;
display
:
none
;
}
}
.shoppingStore
.delScien
:hover
{
.shoppingStore
.delScien
:hover
{
color
:
#f76f6f
;
color
:
#f76f6f
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.shoppingStore
.resourceList
:hover
.delScien
{
.shoppingStore
.resourceList
:hover
.delScien
{
display
:
block
;
display
:
block
;
}
}
.shoppingStore
.combottomDiv
{
height
:
400px
;}
.IsConflict
td
{
.shoppingStore
.combottomDiv
{
background-color
:
pink
!important
;
height
:
400px
;
}
}
/* 购物店 */
.IsConflict
td
{
background-color
:
pink
!important
;
}
/* 购物店 */
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"flexOne shoppingStore"
>
<div
class=
"flexOne shoppingStore"
>
...
@@ -399,13 +474,13 @@
...
@@ -399,13 +474,13 @@
<li>
<li>
<span>
<span>
<em>
{{
$t
(
'system.quety_area'
)
}}
</em>
<em>
{{
$t
(
'system.quety_area'
)
}}
</em>
<el-select
v-model=
"msg.QCountry"
clearable
class=
"w150"
filterable
@
change=
"getProvinceList(msg.QCountry,1)"
<el-select
v-model=
"msg.QCountry"
clearable
class=
"w150"
filterable
:placeholder=
"$t('hotel.hotel_country')"
>
@
change=
"getProvinceList(msg.QCountry,1)"
:placeholder=
"$t('hotel.hotel_country')"
>
<el-option
v-for=
'item in countryList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<el-option
v-for=
'item in countryList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
<el-select
v-model=
"msg.QProvince"
clearable
class=
"w150"
filterable
@
change=
"getProvinceList(msg.QProvince,2)"
<el-select
v-model=
"msg.QProvince"
clearable
class=
"w150"
filterable
:placeholder=
"$t('hotel.hotel_province')"
>
@
change=
"getProvinceList(msg.QProvince,2)"
:placeholder=
"$t('hotel.hotel_province')"
>
<el-option
v-for=
'item in provinceList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
<el-option
v-for=
'item in provinceList'
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -427,7 +502,8 @@
...
@@ -427,7 +502,8 @@
</span>
</span>
</li>
</li>
<li>
<li>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"resetPageIndex(),getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"hollowFixedBtn"
type=
"button"
@
click=
"resetPageIndex(),getList()"
>
{{
$t
(
'pub.searchBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"showDiv"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
<button
class=
"normalBtn"
type=
"button"
@
click=
"showDiv"
>
{{
$t
(
'pub.addBtn'
)
}}
</button>
<button
class=
"normalBtn importBtn"
type=
"button"
@
click=
"outerVisible=true"
>
导入营销数据
</button>
<button
class=
"normalBtn importBtn"
type=
"button"
@
click=
"outerVisible=true"
>
导入营销数据
</button>
<a
class=
"hollowFixedBtn downBtn"
:href=
"downList"
>
下载模板
</a>
<a
class=
"hollowFixedBtn downBtn"
:href=
"downList"
>
下载模板
</a>
...
@@ -466,8 +542,8 @@
...
@@ -466,8 +542,8 @@
</div>
</div>
</div>
</div>
</div>
</div>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
layout=
"total,prev, pager, next, jumper"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:page-size=
'msg.pageSize'
:total=
'total'
>
layout=
"total,prev, pager, next, jumper"
:page-size=
'msg.pageSize'
:total=
'total'
>
</el-pagination>
</el-pagination>
<div
class=
"combottomDiv"
v-if=
"isShow"
>
<div
class=
"combottomDiv"
v-if=
"isShow"
>
<el-row>
<el-row>
...
@@ -496,18 +572,22 @@
...
@@ -496,18 +572,22 @@
</li>
</li>
<li>
<li>
<el-form-item
label=
"国家"
>
<el-form-item
label=
"国家"
>
<el-select
placeholder=
"请选择国家"
filterable
v-model=
"addMsg.Country"
class=
'multiple_input w150'
@
change=
"GetSubAreaList(addMsg.Country,1)"
>
<el-select
placeholder=
"请选择国家"
filterable
v-model=
"addMsg.Country"
class=
'multiple_input w150'
@
change=
"GetSubAreaList(addMsg.Country,1)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in AddMsgCountryList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
<el-option
v-for=
"childItem in AddMsgCountryList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</li>
</li>
<li>
<li>
<el-form-item
label=
"省"
>
<el-form-item
label=
"省"
>
<el-select
placeholder=
"请选择省"
filterable
class=
'multiple_input w150'
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2)"
>
<el-select
placeholder=
"请选择省"
filterable
class=
'multiple_input w150'
v-model=
"addMsg.Province"
@
change=
"GetSubAreaList(addMsg.Province,2)"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in AddMsgProvinceList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
<el-option
v-for=
"childItem in AddMsgProvinceList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -516,7 +596,8 @@
...
@@ -516,7 +596,8 @@
<el-form-item
label=
"市"
>
<el-form-item
label=
"市"
>
<el-select
placeholder=
"请选择市"
filterable
class=
'multiple_input w150'
v-model=
"addMsg.City"
>
<el-select
placeholder=
"请选择市"
filterable
class=
'multiple_input w150'
v-model=
"addMsg.City"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'SelectDefaultValue'
></el-option>
<el-option
v-for=
"childItem in AddMsgCityList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
<el-option
v-for=
"childItem in AddMsgCityList"
:key=
"childItem.ID"
:label=
"childItem.Name"
:value=
"childItem.ID"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -531,9 +612,10 @@
...
@@ -531,9 +612,10 @@
</li>
</li>
<li>
<li>
<el-form-item
label=
"营业时间"
>
<el-form-item
label=
"营业时间"
>
<el-time-select
v-model=
"startTime"
:picker-options=
"
{start: '00:00',step: '00:05',end: '24:00'}" class="w150"
<el-time-select
v-model=
"startTime"
:picker-options=
"
{start: '00:00',step: '00:05',end: '24:00'}"
placeholder="选择时间">
</el-time-select>
class="w100" placeholder="选择时间">
</el-time-select>
至
<el-time-select
placeholder=
"结束时间"
v-model=
"endTime"
class=
"w150"
:picker-options=
"
{ start: '00:00', step: '00:05', end: '24:00',minTime: startTime}">
</el-time-select>
至
<el-time-select
placeholder=
"结束时间"
v-model=
"endTime"
class=
"w100"
:picker-options=
"
{ start: '00:00', step: '00:05', end: '24:00',minTime: startTime}">
</el-time-select>
</el-form-item>
</el-form-item>
</li>
</li>
<li>
<li>
...
@@ -546,6 +628,15 @@
...
@@ -546,6 +628,15 @@
<el-input
v-model=
"addMsg.Contact"
class=
"w150"
maxlength=
"20"
></el-input>
<el-input
v-model=
"addMsg.Contact"
class=
"w150"
maxlength=
"20"
></el-input>
</el-form-item>
</el-form-item>
</li>
</li>
<li>
<el-form-item
label=
"资金池账户"
>
<el-select
placeholder=
"请选择资金池"
class=
'multiple_input w150'
v-model=
"addMsg.CapitalPoolId"
>
<el-option
:label=
"$t('pub.unlimitedSel')"
:value=
'0'
></el-option>
<el-option
v-for=
'item in accountList'
:label=
'item.Alias'
:value=
'item.ID'
:key=
'item.ID'
>
</el-option>
</el-select>
</el-form-item>
</li>
</ul>
</ul>
<div
class=
"clearfix"
>
<div
class=
"clearfix"
>
<div
class=
"remarkInfo"
>
<div
class=
"remarkInfo"
>
...
@@ -565,8 +656,8 @@
...
@@ -565,8 +656,8 @@
</div>
</div>
</div>
</div>
<div
class=
"addIcon"
>
<div
class=
"addIcon"
>
<el-upload
:http-request=
"UploadImage"
:multiple=
"true"
accept=
"image/jpeg,image/gif,image/png,image/bmp"
<el-upload
:http-request=
"UploadImage"
:multiple=
"true"
:show-file-list=
"false"
action=
""
>
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
action=
""
>
<div
class=
"addIconDiv"
>
<div
class=
"addIconDiv"
>
<i
class=
"iconfont icon-img_haha"
></i>
<i
class=
"iconfont icon-img_haha"
></i>
</div>
</div>
...
@@ -641,7 +732,8 @@
...
@@ -641,7 +732,8 @@
</el-dialog>
</el-dialog>
<el-dialog
custom-class=
'w700'
title=
"导入营销数据"
:visible
.
sync=
"outerVisible"
center
>
<el-dialog
custom-class=
'w700'
title=
"导入营销数据"
:visible
.
sync=
"outerVisible"
center
>
<el-upload
drag
class=
"upload-demo"
:action=
"importFileUrl2"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
<el-upload
drag
class=
"upload-demo"
:action=
"importFileUrl2"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
<i
class=
"el-icon-upload"
></i>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
只能上传Excel文件
</div>
<div
slot=
"tip"
class=
"el-upload__tip"
>
只能上传Excel文件
</div>
...
@@ -694,7 +786,7 @@
...
@@ -694,7 +786,7 @@
//城市列表
//城市列表
AddMsgCityList
:
[],
AddMsgCityList
:
[],
//表格Loading
//表格Loading
tabLoading
:
false
,
tabLoading
:
false
,
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
14
,
pageSize
:
14
,
...
@@ -720,8 +812,12 @@
...
@@ -720,8 +812,12 @@
PicPath
:
""
,
PicPath
:
""
,
Country
:
0
,
Country
:
0
,
Province
:
0
,
Province
:
0
,
City
:
0
City
:
0
,
//资金池编号
CapitalPoolId
:
0
},
},
//资金池账户列表
accountList
:
[],
rules
:
{
rules
:
{
Name
:
[{
Name
:
[{
required
:
true
,
required
:
true
,
...
@@ -991,6 +1087,22 @@
...
@@ -991,6 +1087,22 @@
this
.
isShow
=
true
;
this
.
isShow
=
true
;
this
.
addMsg
.
ID
=
0
;
this
.
addMsg
.
ID
=
0
;
this
.
titleInfo
=
"新增购物店"
;
this
.
titleInfo
=
"新增购物店"
;
this
.
addMsg
.
Name
=
""
;
this
.
addMsg
.
Type
=
""
;
this
.
addMsg
.
Contact
=
""
;
this
.
addMsg
.
Tel
=
""
;
this
.
addMsg
.
Remark
=
""
;
this
.
addMsg
.
BusinessHours
=
""
;
this
.
addMsg
.
Address
=
""
;
this
.
addMsg
.
QCountry
=
""
;
this
.
addMsg
.
QProvince
=
""
;
this
.
addMsg
.
QCity
=
""
;
this
.
addMsg
.
QDistrict
=
0
;
this
.
addMsg
.
PicPath
=
""
;
this
.
addMsg
.
Country
=
0
;
this
.
addMsg
.
Province
=
0
;
this
.
addMsg
.
City
=
0
;
this
.
addMsg
.
CapitalPoolId
=
0
;
},
},
hideFill
()
{
hideFill
()
{
this
.
fillShow
=
false
;
this
.
fillShow
=
false
;
...
@@ -1129,9 +1241,23 @@
...
@@ -1129,9 +1241,23 @@
null
null
);
);
});
});
},
GetCashPoolList
()
{
// 获取资金池账
this
.
apipost
(
'BankAccount_post_GetCashPoolListExt'
,
{
Alias
:
''
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
x
.
allName
=
x
.
Alias
;
});
this
.
accountList
=
data
;
}
},
err
=>
{})
}
}
},
},
mounted
()
{
mounted
()
{
this
.
GetCashPoolList
();
var
jsArray
=
document
.
getElementsByTagName
(
"script"
);
var
jsArray
=
document
.
getElementsByTagName
(
"script"
);
var
flag
=
false
;
var
flag
=
false
;
var
jsUrl
=
this
.
domainManager
().
GoogleMapUrl
;
var
jsUrl
=
this
.
domainManager
().
GoogleMapUrl
;
...
...
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