Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
sso-equity
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fe698d80
authored
Dec 02, 2021
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
滚动条
1 parent
02ef9722
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
17 deletions
src/views/collection/index.vue
src/views/list/index.vue
src/views/collection/index.vue
View file @
fe698d8
<!--批次管理-->
<
template
>
<div
class=
"
container
"
>
<div
class=
"
equity-wrap tap
"
>
<el-tabs
v-model=
"activeName"
type=
"card"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"批次管理"
name=
"first"
>
<div
class=
"layout"
>
...
...
@@ -26,9 +26,9 @@
<el-option
v-for=
"(item, index) in options"
:key=
"index"
:label=
"item.merchantName"
:value=
"item.merchantName"
></el-option>
</el-select>
</div>
<div
class=
"item"
style=
"margin-left: auto"
>
<div
class=
"item"
style=
"margin-left: auto
; margin-right: 0
"
>
<el-button
plain
size=
"small"
@
click=
"selectCollectionTable('reset')"
class=
"selectBtn"
>
重置
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"selectCollectionTable('select')"
class=
"selectBtn
"
>
搜索
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"selectCollectionTable('select')"
class=
"selectBtn"
>
搜索
</el-button>
</div>
</div>
</div>
...
...
@@ -152,9 +152,38 @@
</el-tab-pane>
<!--领用记录 -->
<el-tab-pane
label=
"领用记录"
name=
"second"
>
<div
class=
"layout"
>
<div
class=
"tableBox"
>
<div
class=
"search-box"
>
<div
class=
"contain equity-wrap"
>
<el-form
:inline=
"true"
style=
"width: 100%"
label-width=
"70px"
label-position=
"right"
>
<el-row
style=
"display: flex; align-items: center"
>
<el-form-item
size=
"small"
label=
"生成日期"
>
<el-date-picker
v-model=
"colletionDate"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
size=
"small"
value-format=
"yyyy-MM-dd"
></el-date-picker>
</el-form-item>
<el-form-item
label=
"门店"
>
<el-select
size=
"small"
v-model=
"collectionListSearch.merchantName"
clearable
filterable
remote
reserve-keyword
placeholder=
"请输入关联门店"
:remote-method=
"remoteMethod"
:loading=
"loading"
class=
"formItem"
>
<el-option
v-for=
"(item, index) in options"
:key=
"index"
:label=
"item.merchantName"
:value=
"item.merchantName"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"设备SN"
>
<el-input
v-model=
"collectionListSearch.sn"
placeholder=
"请输入设备SN"
size=
"small"
class=
"formItem"
></el-input>
</el-form-item>
</el-row>
<el-row>
<el-form-item
size=
"small"
label=
"账号"
>
<el-input
v-model=
"collectionListSearch.mobile"
placeholder=
"请输入账号"
size=
"small"
class=
"formItem"
></el-input>
</el-form-item>
<el-form-item
size=
"small"
style=
"float: right"
>
<el-button
class=
"selectBtn"
size=
"small"
@
click=
"collectionSelect('reset')"
>
重置
</el-button>
<el-button
class=
"selectBtn"
size=
"small"
type=
"primary"
@
click=
"collectionSelect('select')"
style=
""
>
搜索
</el-button>
<el-button
class=
"selectBtn"
type=
"primary"
size=
"small"
@
click=
"exportCollection"
>
导出
</el-button>
</el-form-item>
</el-row>
</el-form>
<GLTable
ref=
"collectionTable"
:searchForm=
"collectionListSearch"
:tableParams=
"collectionTableParams"
:getListApi=
"listRequisitionMemberCard"
:beforeSearchFn=
"changeCollectionDataFormat"
:pageConf=
"pageConf"
></GLTable>
</div>
<!--
<div
class=
"layout"
>
-->
<!--
<div
class=
"tableBox"
>
-->
<!--
<div
class=
"search-box"
>
<div
class=
"top"
>
<div
class=
"item"
>
生成日期:
...
...
@@ -188,13 +217,13 @@
<el-button
class=
"selectBtn"
type=
"primary"
size=
"small"
@
click=
"exportCollection"
>
导出
</el-button>
</div>
</div>
</div>
<!-- 领用界面表格 -->
<div
class=
"tableCtn"
>
</div>
-->
<!-- 领用界面表格 -->
<!--
<div
class=
"tableCtn"
>
<GLTable
ref=
"collectionTable"
:searchForm=
"collectionListSearch"
:tableParams=
"collectionTableParams"
:getListApi=
"listRequisitionMemberCard"
:beforeSearchFn=
"changeCollectionDataFormat"
:pageConf=
"pageConf"
></GLTable>
</div>
</div
>
<
/div
>
</div>
-->
<!--
</div>
--
>
<
!--
</div>
--
>
</el-tab-pane>
</el-tabs>
</div>
...
...
@@ -290,7 +319,7 @@ export default {
}
},
{
width
:
'95'
,
width
:
'95'
,
label
:
'生成时间'
,
prop
:
'createdDate'
,
formatter
:
cellValue
=>
{
...
...
@@ -411,7 +440,7 @@ export default {
}
},
{
width
:
'95'
,
width
:
'95'
,
label
:
'生成时间'
,
prop
:
'createdDate'
,
minWidth
:
'200'
,
...
...
@@ -420,7 +449,7 @@ export default {
}
},
{
width
:
'95'
,
width
:
'95'
,
label
:
'有效时间'
,
prop
:
'validitDate'
,
minWidth
:
'200'
,
...
...
@@ -949,6 +978,16 @@ h2 {
width
:
180px
;
text-align
:
center
;
}
.tap
{
padding
:
2px
20px
0px
20px
;
}
.equity-wrap
.contain
{
background
:
#FFFFFF
;
margin
:
0px
20px
20px
0px
;
padding
:
20px
;
-webkit-box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
box-shadow
:
0
1px
5px
0
rgba
(
38
,
38
,
38
,
0.1
);
}
</
style
>
<
style
src=
"@a/css/tao.css"
></
style
>
src/views/list/index.vue
View file @
fe698d8
<
template
>
<div
class=
"
container
"
>
<div
class=
"
layout
"
>
<div
class=
"
equity-wrap
"
>
<div
class=
"
equity-wrap contain
"
>
<div
class=
"equity-title"
>
商品权益
</div>
<div
class=
"tableBox"
style=
"margin-top: 16px"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"addEquity(1)"
>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment