Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6b568369
authored
Feb 15, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
08c620a3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
646 additions
and
603 deletions
src/assets/css/goods/brand.less
src/assets/css/goods/brand.min.css
src/assets/css/goods/brand.min.css.map
src/assets/css/info/message.less
src/assets/css/info/message.min.css
src/assets/css/info/message.min.css.map
src/assets/css/store/enter.less
src/assets/css/store/enter.min.css
src/assets/css/store/enter.min.css.map
src/assets/css/store/goodslist.less
src/assets/css/store/goodslist.min.css
src/assets/css/store/goodslist.min.css.map
src/assets/css/store/list.less
src/assets/css/store/list.min.css
src/assets/css/store/list.min.css.map
src/components/menu.vue
src/router/index.js
src/views/Goods/brand.vue
src/views/Goods/goods.vue
src/views/Info/message.vue
src/views/News/index.vue
src/views/Store/enter.vue
src/views/Store/goodslist.vue
src/views/Store/list.vue
src/assets/css/goods/brand.less
View file @
6b568369
.brandxk {
.brand-con {
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #E5EBF6;
padding: 20px;
.brand-con {
background: #FFFFFF;
border-radius: 4px;
padding: 20px;
}
.search-btn {
cursor: pointer;
width: 76px;
height: 37px;
line-height: 37px;
background: #1969F9;
border-radius: 2px;
font-size: 14px;
color: #fff;
text-align: center;
&:hover {
background: #0050E0;
}
.search-btn {
cursor: pointer;
width: 76px;
height: 37px;
line-height: 37px;
}
.btn-nav {
margin-top: 11px;
margin-bottom: 22px;
.dcg {
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;;
color: #1969F9;
margin-right: 10px;
font-size: 14px;
transition: all 0.5s;
&:hover {
background: #1969F9;
border-radius: 2px;
font-size: 14px;
cursor: pointer;
color: #fff;
text-align: center;
}
&.delbtn {
border: 1px solid #FC1F00;
background: #FFE7E3;
color: #FC1F00;
&:hover {
background: #0050E0;
}
}
.btn-nav {
margin-top: 11px;
margin-bottom: 22px;
.dcg {
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;;
color: #1969F9;
margin-right: 10px;
font-size: 14px;
transition: all 0.5s;
&:hover {
background: #1969F9;
cursor: pointer;
color: #fff;
}
&.delbtn {
border: 1px solid #FC1F00;
background: #FFE7E3;
color: #FC1F00;
&:hover {
background: #FF715D;
color: #fff;
}
}
&.updatex {
}
}
.updatex {
width: 66px;
height: 26px;
line-height: 26px;
text-align: center;
background: #FFEEDD;
border: 1px solid #FF870D;
border-radius: 2px;
color: #FF870D;
font-size: 14px;
cursor: pointer;
width: 66px;
&:hover {
background: #FCA955;
color: #fff;
}
background: #FF715D;
color: #fff;
}
}
&.updatex {
}
}
.brand-img {
width: 80%;
height: 40px;
.updatex {
width: 66px;
height: 26px;
line-height: 26px;
text-align: center;
background: #FFEEDD;
border: 1px solid #FF870D;
border-radius: 2px;
color: #FF870D;
font-size: 14px;
cursor: pointer;
width: 66px;
&:hover {
background: #FCA955;
color: #fff;
}
}
}
.brand-img {
width: 80%;
height: 40px;
}
}
\ No newline at end of file
src/assets/css/goods/brand.min.css
View file @
6b568369
.brandxk
.brand-con
{
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding
:
20px
;
}
.brandxk
.search-btn
{
...
...
src/assets/css/goods/brand.min.css.map
View file @
6b568369
{"version":3,"sources":["brand.less"],"names":[],"mappings":"AAAA,QACI;EACI,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,aAAA;;AALR,QAQI;EACI,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AAEA,QAXJ,YAWK;EACG,mBAAA;;AApBZ,QAwBI;EACI,gBAAA;EACA,mBAAA;;AA1BR,QAwBI,SAII;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,mBAAA;EACA,cAAA;EACA,kBAAA;EACA,eAAA;EACA,oBAAA;;AAEA,QAjBR,SAII,KAaK;EACG,mBAAA;EACA,eAAA;EACA,WAAA;;AAGJ,QAvBR,SAII,KAmBK;EACG,yBAAA;EACA,mBAAA;EACA,cAAA;;AAEA,QA5BZ,SAII,KAmBK,OAKI;EACG,mBAAA;EACA,WAAA;;AAtDpB,QAwBI,SAuCI;EAEI,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,eAAA;EACA,WAAA;;AAEA,QApDR,SAuCI,SAaK;EAEG,mBAAA;EACA,WAAA;;AA/EhB,QAqFI;EACI,UAAA;EACA,YAAA","file":"brand.min.css"}
\ No newline at end of file
{"version":3,"sources":["brand.less"],"names":[],"mappings":"AAAA,QACE;EACE,mBAAA;EACA,kBAAA;EACA,aAAA;;AAJJ,QAOE;EACE,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AAEA,QAXF,YAWG;EACC,mBAAA;;AAnBN,QAuBE;EACE,gBAAA;EACA,mBAAA;;AAzBJ,QAuBE,SAIE;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,mBAAA;EACA,cAAA;EACA,kBAAA;EACA,eAAA;EACA,oBAAA;;AAEA,QAjBJ,SAIE,KAaG;EACC,mBAAA;EACA,eAAA;EACA,WAAA;;AAGF,QAvBJ,SAIE,KAmBG;EACC,yBAAA;EACA,mBAAA;EACA,cAAA;;AAEA,QA5BN,SAIE,KAmBG,OAKE;EACC,mBAAA;EACA,WAAA;;AArDV,QAuBE,SAuCE;EAEE,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,eAAA;EACA,WAAA;;AAEA,QApDJ,SAuCE,SAaG;EAEC,mBAAA;EACA,WAAA;;AA9ER,QAoFE;EACE,UAAA;EACA,YAAA","file":"brand.min.css"}
\ No newline at end of file
src/assets/css/info/message.less
View file @
6b568369
.messagexk {
.message-box {
background: #fff;
padding: 20px;
height: calc(100vh - 136px);
.h3 {
font-size: 16px;
color: #333;
font-weight: bold;
position: relative;
&::before {
content: "";
width: 3px;
...
...
@@ -18,53 +18,14 @@
background: #1969F9;
position: absolute;
left: -20px;
top: 0
px
;
top: 0;
}
}
.el-form {
float: left;
.el-form-item__label {
color: #333;
}
.el-input {
width: 280px;
color: #333;
}
padding-top: 35px;
.el-input.is-disabled .el-input__inner {
background: #F1F4FA;
border: 1px solid #F1F4FA;
color: #333;
}
.submits {
margin-top: 26px;
cursor: pointer;
width: 76px;
height: 37px;
line-height: 37px;
background: #1969F9;
border-radius: 2px;
font-size: 14px;
color: #fff;
text-align: center;
&:hover {
background: #0050E0;
}
}
}
.up-box {
position: relative;
margin-left: 90px;
padding-top: 37px;
.avatar-uploader {
width: 98px;
height: 34px;
...
...
@@ -74,20 +35,20 @@
line-height: 34px;
font-size: 14px;
color: #646B78;
.iconfont {
font-size: 18px;
position: relative;
top: -1px;
margin-left: 10px;
}
&:hover, .el-upload--picture-card:hover, .el-upload:focus {
color: #1969F9 !important;
border-color: #1969F9 !important;
}
}
.imspre {
width: 100px;
height: 100px;
...
...
@@ -97,5 +58,5 @@
}
}
}
}
\ No newline at end of file
src/assets/css/info/message.min.css
View file @
6b568369
...
...
@@ -16,43 +16,10 @@
background
:
#1969F9
;
position
:
absolute
;
left
:
-20px
;
top
:
0px
;
}
.messagexk
.message-box
.el-form
{
float
:
left
;
padding-top
:
35px
;
}
.messagexk
.message-box
.el-form
.el-form-item__label
{
color
:
#333
;
}
.messagexk
.message-box
.el-form
.el-input
{
width
:
280px
;
color
:
#333
;
}
.messagexk
.message-box
.el-form
.el-input.is-disabled
.el-input__inner
{
background
:
#F1F4FA
;
border
:
1px
solid
#F1F4FA
;
color
:
#333
;
}
.messagexk
.message-box
.el-form
.submits
{
margin-top
:
26px
;
cursor
:
pointer
;
width
:
76px
;
height
:
37px
;
line-height
:
37px
;
background
:
#1969F9
;
border-radius
:
2px
;
font-size
:
14px
;
color
:
#fff
;
text-align
:
center
;
}
.messagexk
.message-box
.el-form
.submits
:hover
{
background
:
#0050E0
;
top
:
0
;
}
.messagexk
.message-box
.up-box
{
position
:
relative
;
margin-left
:
90px
;
padding-top
:
37px
;
}
.messagexk
.message-box
.up-box
.avatar-uploader
{
width
:
98px
;
...
...
src/assets/css/info/message.min.css.map
View file @
6b568369
{"version":3,"sources":["message.less"],"names":[],"mappings":"AAAA,UAEE;EACE,gBAAA;EACA,aAAA;EACA,QAAQ,mBAAR;;AALJ,UAEE,aAKE;EACE,eAAA;EACA,WAAA;EACA,iBAAA;EACA,kBAAA;;AAEA,UAXJ,aAKE,IAMG;EACC,SAAS,EAAT;EACA,UAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,WAAA;EACA,QAAA;;AApBR,UAEE,aAsBE;EACE,WAAA;EAWA,iBAAA;;AApCN,UAEE,aAsBE,SAGE;EACE,WAAA;;AA5BR,UAEE,aAsBE,SAOE;EACE,YAAA;EACA,WAAA;;AAjCR,UAEE,aAsBE,SAcE,UAAS,YAAa;EACpB,mBAAA;EACA,yBAAA;EACA,WAAA;;AAzCR,UAEE,aAsBE,SAoBE;EACE,gBAAA;EACA,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AAEA,UAtDN,aAsBE,SAoBE,SAYG;EACC,mBAAA;;AAzDV,UAEE,aA4DE;EACE,kBAAA;EACA,iBAAA;EACA,iBAAA;;AAjEN,UAEE,aA4DE,QAKE;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,gBAAA;EACA,iBAAA;EACA,eAAA;EACA,cAAA;;AA3ER,UAEE,aA4DE,QAKE,iBAUE;EACE,eAAA;EACA,kBAAA;EACA,SAAA;EACA,iBAAA;;AAGF,UAlFN,aA4DE,QAKE,iBAiBG;AApFT,UAEE,aA4DE,QAKE,iBAiBW,yBAAwB;AApFzC,UAEE,aA4DE,QAKE,iBAiB2C,WAAU;EACjD,cAAA;EACA,qBAAA;;AAtFV,UAEE,aA4DE,QA4BE;EACE,YAAA;EACA,aAAA;EACA,iBAAA;EACA,mBAAA;EACA,mBAAA","file":"message.min.css"}
\ No newline at end of file
{"version":3,"sources":["message.less"],"names":[],"mappings":"AAAA,UAEE;EACE,gBAAA;EACA,aAAA;EACA,QAAQ,mBAAR;;AALJ,UAEE,aAKE;EACE,eAAA;EACA,WAAA;EACA,iBAAA;EACA,kBAAA;;AAEA,UAXJ,aAKE,IAMG;EACC,SAAS,EAAT;EACA,UAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,WAAA;EACA,MAAA;;AApBR,UAEE,aAuBE;EACE,kBAAA;;AA1BN,UAEE,aAuBE,QAGE;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,gBAAA;EACA,iBAAA;EACA,eAAA;EACA,cAAA;;AApCR,UAEE,aAuBE,QAGE,iBAUE;EACE,eAAA;EACA,kBAAA;EACA,SAAA;EACA,iBAAA;;AAGF,UA3CN,aAuBE,QAGE,iBAiBG;AA7CT,UAEE,aAuBE,QAGE,iBAiBW,yBAAwB;AA7CzC,UAEE,aAuBE,QAGE,iBAiB2C,WAAU;EACjD,cAAA;EACA,qBAAA;;AA/CV,UAEE,aAuBE,QA0BE;EACE,YAAA;EACA,aAAA;EACA,iBAAA;EACA,mBAAA;EACA,mBAAA","file":"message.min.css"}
\ No newline at end of file
src/assets/css/store/enter.less
View file @
6b568369
.enter{
.el-upload-list--text{
display: none;
.enter {
.el-upload-list--text {
display: none;
}
.enter-con {
background: #FFFFFF;
border-radius: 4px;
padding: 20px;
}
.search-btn {
cursor: pointer;
width: 76px;
height: 37px;
line-height: 37px;
background: #1969F9;
border-radius: 2px;
font-size: 14px;
color: #fff;
text-align: center;
&:hover {
background: #0050E0;
}
.enter-con{
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #E5EBF6;
padding:20px;
}
.search-btn{
cursor: pointer;
width: 76px;
height: 37px;
line-height: 37px;
}
.btn-nav {
margin-top: 11px;
margin-bottom: 22px;
.dcg {
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #fff;
color: #1969F9;
margin-right: 10px;
font-size: 14px;
transition: all 0.5s;
&.long {width: 95px;}
&:hover {
background: #1969F9;
border-radius: 2px;
font-size: 14px;
color:#fff;
text-align: center;
&:hover{
background: #0050E0;
}
}
.btn-nav{
margin-top: 11px;
margin-bottom: 22px;
.dcg{
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #fff;
color:#1969F9;
margin-right: 10px;
font-size: 14px;
transition: all 0.5s;
&.long{width:95px;}
&:hover{
background: #1969F9;
cursor: pointer;
color:#fff;
}
&.delbtn{
border:1px solid #FC1F00;
background: #FFE7E3;
color:#FC1F00;
&:hover{
background: #FF715D;
color:#fff;
}
}
cursor: pointer;
color: #fff;
}
&.delbtn {
border: 1px solid #FC1F00;
background: #FFE7E3;
color: #FC1F00;
&:hover {
background: #FF715D;
color: #fff;
}
}
}
}
}
\ No newline at end of file
src/assets/css/store/enter.min.css
View file @
6b568369
...
...
@@ -4,7 +4,6 @@
.enter
.enter-con
{
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding
:
20px
;
}
.enter
.search-btn
{
...
...
src/assets/css/store/enter.min.css.map
View file @
6b568369
{"version":3,"sources":["enter.less"],"names":[],"mappings":"AAAA,MACI;EACI,aAAA;;AAFR,MAII;EACI,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,aAAA;;AARR,MAUI;EACI,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AACA,MAVJ,YAUK;EACG,mBAAA;;AArBZ,MAwBI;EACI,gBAAA;EACA,mBAAA;;AA1BR,MAwBI,SAII;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;EACA,eAAA;EACA,oBAAA;;AACA,MAhBR,SAII,KAYK;EAAM,WAAA;;AACP,MAjBR,SAII,KAaK;EACG,mBAAA;EACA,eAAA;EACA,WAAA;;AAEJ,MAtBR,SAII,KAkBK;EACG,yBAAA;EACA,mBAAA;EACA,cAAA;;AACA,MA1BZ,SAII,KAkBK,OAII;EACG,mBAAA;EACA,WAAA","file":"enter.min.css"}
\ No newline at end of file
{"version":3,"sources":["enter.less"],"names":[],"mappings":"AAAA,MACE;EACE,aAAA;;AAFJ,MAKE;EACE,mBAAA;EACA,kBAAA;EACA,aAAA;;AARJ,MAWE;EACE,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AAEA,MAXF,YAWG;EACC,mBAAA;;AAvBN,MA2BE;EACE,gBAAA;EACA,mBAAA;;AA7BJ,MA2BE,SAIE;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,gBAAA;EACA,cAAA;EACA,kBAAA;EACA,eAAA;EACA,oBAAA;;AAEA,MAjBJ,SAIE,KAaG;EAAO,WAAA;;AAER,MAnBJ,SAIE,KAeG;EACC,mBAAA;EACA,eAAA;EACA,WAAA;;AAGF,MAzBJ,SAIE,KAqBG;EACC,yBAAA;EACA,mBAAA;EACA,cAAA;;AAEA,MA9BN,SAIE,KAqBG,OAKE;EACC,mBAAA;EACA,WAAA","file":"enter.min.css"}
\ No newline at end of file
src/assets/css/store/goodslist.less
View file @
6b568369
.store-con {
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #E5EBF6;
padding: 20px;
.search-btn {
...
...
src/assets/css/store/goodslist.min.css
View file @
6b568369
.store-con
{
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding
:
20px
;
}
.store-con
.search-btn
{
...
...
src/assets/css/store/goodslist.min.css.map
View file @
6b568369
{"version":3,"sources":["goodslist.less"],"names":[],"mappings":"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","file":"goodslist.min.css"}
\ No newline at end of file
{"version":3,"sources":["goodslist.less"],"names":[],"mappings":"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","file":"goodslist.min.css"}
\ No newline at end of file
src/assets/css/store/list.less
View file @
6b568369
.store-con{
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #E5EBF6
;
padding:20px;
.search-btn
{
cursor: pointer;
width: 76px;
height: 37px;
line-height: 37px;
background: #1969F9;
border-radius: 2px;
font-size: 14px;
color:
#fff;
text-align: center;
&:hover{
background: #0050E0;
}
.store-con
{
background: #FFFFFF;
border-radius: 4px;
padding: 20px
;
.search-btn
{
cursor: pointer;
width: 76px;
height: 37px;
line-height: 37px;
background: #1969F9;
border-radius: 2px;
font-size: 14px;
color:
#fff;
text-align: center;
&:hover {
background: #0050E0;
}
.btn-nav{
margin-top: 11px;
margin-bottom: 22px;
.update{
width: 66px;
height: 26px;
line-height: 26px;
text-align: center;
background: #FFEEDD;
border: 1px solid #FF870D;
border-radius: 2px;
color:#FF870D;
font-size: 14px;
cursor: pointer;
width: 66px;
i{margin-left: 3px;}
&:hover{
background: #FCA955;
color:#fff;
}
}
.dcg{
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;
color:#1969F9;
margin-left: 10px;
font-size: 14px;
transition: all 0.5s;
&:hover{
background: #1969F9;
cursor: pointer;
color:#fff;
}
&.heti{
width:56px;
background: #fff;
&:hover{
background: #E5EEFF;
color:#1969F9;
}
}
&.xjk{
position: relative;
left:-11px;
border-left:1px solid #1969F9;
&:hover{
border-left:1px solid #1969F9;
}
}
}
}
.btn-nav {
margin-top: 11px;
margin-bottom: 22px;
.update {
width: 66px;
height: 26px;
line-height: 26px;
text-align: center;
background: #FFEEDD;
border: 1px solid #FF870D;
border-radius: 2px;
color: #FF870D;
font-size: 14px;
cursor: pointer;
width: 66px;
i {margin-left: 3px;}
&:hover {
background: #FCA955;
color: #fff;
}
}
.updatebox{
.dcg {
width: 66px;
height: 26px;
border-radius: 2px;
text-align: center;
line-height: 26px;
border: 1px solid #1969F9;
background: #E5EEFF;
color: #1969F9;
margin-left: 10px;
font-size: 14px;
transition: all 0.5s;
&:hover {
background: #1969F9;
cursor: pointer;
color: #fff;
}
&.heti {
width: 56px;
background: #fff;
&:hover {
background: #E5EEFF;
color: #1969F9;
}
}
&.xjk {
position: relative;
.selectdw{
height: 36px;
width: 36px;
position: absolute;
top: 1px;
right: 2px;
.el-select {
width: 36px;
border-left:1px solid #C0C4CC;
input{
border:0px;
padding:0px;
height: 36px;
width: 36px;
font-size: 14px;
color: #333;
text-align: center;
}
.el-input__prefix, .el-input__suffix{display: none!important;}
}
left: -11px;
border-left: 1px solid #1969F9;
&:hover {
border-left: 1px solid #1969F9;
}
}
}
}
.updatebox {
position: relative;
.price-more{
.more-search-btn{
width: 70px;
height: 26px;
background: #F1F4FA;
border-radius: 2px;
border: 1px solid #BEC9DF;
font-size: 12px;
color:#1969F9;
text-align: center;
transition: all 0.5s;
position: relative;
cursor: pointer;
&:hover{
border: 1px solid #1969F9;
}
.selectdw {
height: 36px;
width: 36px;
position: absolute;
top: 1px;
right: 2px;
.el-select {
width: 36px;
border-left: 1px solid #C0C4CC;
input {
border: 0px;
padding: 0px;
height: 36px;
width: 36px;
font-size: 14px;
color: #333;
text-align: center;
}
.el-input__prefix, .el-input__suffix {display: none !important;}
}
}
}
.price-more {
.more-search-btn {
width: 70px;
height: 26px;
background: #F1F4FA;
border-radius: 2px;
border: 1px solid #BEC9DF;
font-size: 12px;
color: #1969F9;
text-align: center;
transition: all 0.5s;
position: relative;
cursor: pointer;
&:hover {
border: 1px solid #1969F9;
}
}
}
}
\ No newline at end of file
src/assets/css/store/list.min.css
View file @
6b568369
.store-con
{
background
:
#FFFFFF
;
border-radius
:
4px
;
border
:
1px
solid
#E5EBF6
;
padding
:
20px
;
}
.store-con
.search-btn
{
...
...
@@ -100,7 +99,7 @@
}
.store-con
.updatebox
.selectdw
.el-select
.el-input__prefix
,
.store-con
.updatebox
.selectdw
.el-select
.el-input__suffix
{
display
:
none
!important
;
display
:
none
!important
;
}
.store-con
.price-more
.more-search-btn
{
width
:
70px
;
...
...
src/assets/css/store/list.min.css.map
View file @
6b568369
{"version":3,"sources":["list.less"],"names":[],"mappings":"AAAA;EACI,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,aAAA;;AAJJ,UAKI;EACI,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AACA,UAVJ,YAUK;EACG,mBAAA;;AAhBZ,UAmBI;EACI,gBAAA;EACA,mBAAA;;AArBR,UAmBI,SAGI;EAEI,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,eAAA;EACA,WAAA;;AAjCZ,UAmBI,SAGI,QAYI;EAAE,gBAAA;;AACF,UAhBR,SAGI,QAaK;EAEG,mBAAA;EACA,WAAA;;AAtChB,UAmBI,SAuBI;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,mBAAA;EACA,cAAA;EACA,iBAAA;EACA,eAAA;EACA,oBAAA;;AACA,UAnCR,SAuBI,KAYK;EACG,mBAAA;EACA,eAAA;EACA,WAAA;;AAEJ,UAxCR,SAuBI,KAiBK;EACG,WAAA;EACA,gBAAA;;AACA,UA3CZ,SAuBI,KAiBK,KAGI;EACG,mBAAA;EACA,cAAA;;AAGR,UAhDR,SAuBI,KAyBK;EACG,kBAAA;EACA,WAAA;EACA,8BAAA;;AACA,UApDZ,SAuBI,KAyBK,IAII;EACG,8BAAA;;AAxEpB,UA6EI;EACI,kBAAA;;AA9ER,UA6EI,WAEI;EACI,YAAA;EACA,WAAA;EAEA,kBAAA;EACA,QAAA;EACA,UAAA;;AArFZ,UA6EI,WAEI,UAOI;EACI,WAAA;EACA,8BAAA;;AAxFhB,UA6EI,WAEI,UAOI,WAGI;EACI,WAAA;EACA,YAAA;EACA,YAAA;EACA,WAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AAhGpB,UA6EI,WAEI,UAOI,WAaI;AAnGhB,UA6EI,WAEI,UAOI,WAauB;EAAkB,uBAAA;;AAnGrD,UAyGI,YACI;EACI,WAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,eAAA;EACA,cAAA;EACA,kBAAA;EACA,oBAAA;EACA,kBAAA;EACA,eAAA;;AAEA,UAdR,YACI,iBAaK;EACG,yBAAA","file":"list.min.css"}
\ No newline at end of file
{"version":3,"sources":["list.less"],"names":[],"mappings":"AAAA;EACE,mBAAA;EACA,kBAAA;EACA,aAAA;;AAHF,UAKE;EACE,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AAEA,UAXF,YAWG;EACC,mBAAA;;AAjBN,UAqBE;EACE,gBAAA;EACA,mBAAA;;AAvBJ,UAqBE,SAIE;EAEE,YAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,eAAA;EACA,WAAA;;AApCN,UAqBE,SAIE,QAaE;EAAG,gBAAA;;AAEH,UAnBJ,SAIE,QAeG;EAEC,mBAAA;EACA,WAAA;;AA3CR,UAqBE,SA2BE;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;EACA,iBAAA;EACA,yBAAA;EACA,mBAAA;EACA,cAAA;EACA,iBAAA;EACA,eAAA;EACA,oBAAA;;AAEA,UAxCJ,SA2BE,KAaG;EACC,mBAAA;EACA,eAAA;EACA,WAAA;;AAGF,UA9CJ,SA2BE,KAmBG;EACC,WAAA;EACA,gBAAA;;AAEA,UAlDN,SA2BE,KAmBG,KAIE;EACC,mBAAA;EACA,cAAA;;AAIJ,UAxDJ,SA2BE,KA6BG;EACC,kBAAA;EACA,WAAA;EACA,8BAAA;;AAEA,UA7DN,SA2BE,KA6BG,IAKE;EACC,8BAAA;;AAnFV,UAyFE;EACE,kBAAA;;AA1FJ,UAyFE,WAGE;EACE,YAAA;EACA,WAAA;EAEA,kBAAA;EACA,QAAA;EACA,UAAA;;AAlGN,UAyFE,WAGE,UAQE;EACE,WAAA;EACA,8BAAA;;AAtGR,UAyFE,WAGE,UAQE,WAIE;EACE,WAAA;EACA,YAAA;EACA,YAAA;EACA,WAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AA/GV,UAyFE,WAGE,UAQE,WAeE;AAnHR,UAyFE,WAGE,UAQE,WAeqB;EAAmB,wBAAA;;AAnH9C,UAyHE,YACE;EACE,WAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,eAAA;EACA,cAAA;EACA,kBAAA;EACA,oBAAA;EACA,kBAAA;EACA,eAAA;;AAEA,UAdJ,YACE,iBAaG;EACC,yBAAA","file":"list.min.css"}
\ No newline at end of file
src/components/menu.vue
View file @
6b568369
...
...
@@ -67,6 +67,7 @@
<el-menu-item-group>
<el-menu-item
:index=
"'/orderTrackGoods'"
>
已采购订单
</el-menu-item>
<el-menu-item
:index=
"'/orderTrackInvoice'"
>
发货单
</el-menu-item>
<el-menu-item
:index=
"'/returnGoods'"
>
退货单
</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu
index=
"4"
>
...
...
@@ -107,6 +108,7 @@
</
template
>
<el-menu-item-group>
<el-menu-item
:index=
"'/news'"
>
消息列表
</el-menu-item>
<el-menu-item
:index=
"'/notice'"
>
系统公告
</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu
index=
"8"
>
...
...
src/router/index.js
View file @
6b568369
...
...
@@ -20,8 +20,10 @@ const BindError = resolve => require(['@/views/User/bindError.vue'], resolve);
const
OrderTrackGoods
=
resolve
=>
require
([
'@/views/OrderTrack/goods.vue'
],
resolve
);
const
orderTrackGoodsDetail
=
resolve
=>
require
([
'@/views/OrderTrack/goodsDetail.vue'
],
resolve
);
const
OrderTrackInvoice
=
resolve
=>
require
([
'@/views/OrderTrack/invoice.vue'
],
resolve
);
const
ReturnGoods
=
resolve
=>
require
([
'@/views/OrderTrack/returnGoods.vue'
],
resolve
);
const
OrderTrackPurAdd
=
resolve
=>
require
([
'@/views/OrderTrack/purAdd.vue'
],
resolve
);
const
News
=
resolve
=>
require
([
'@/views/News/index.vue'
],
resolve
);
const
Notice
=
resolve
=>
require
([
'@/views/News/notice.vue'
],
resolve
);
const
InquireTransform
=
resolve
=>
require
([
'@/views/InquireTransform/index.vue'
],
resolve
);
...
...
@@ -64,7 +66,6 @@ const routes = [
name
:
'Brand'
,
meta
:
{
title
:
'品牌列表'
},
component
:
Brand
},
...
...
@@ -73,7 +74,6 @@ const routes = [
name
:
'List'
,
meta
:
{
title
:
'库存列表'
},
component
:
List
},
...
...
@@ -142,6 +142,14 @@ const routes = [
component
:
OrderTrackInvoice
},
{
path
:
'/returnGoods'
,
name
:
'returnGoods'
,
meta
:
{
title
:
'退货单'
},
component
:
ReturnGoods
},
{
path
:
'/orderTrackPurAdd'
,
name
:
'OrderTrackPurAdd'
,
meta
:
{
...
...
@@ -153,8 +161,7 @@ const routes = [
path
:
'/login'
,
name
:
'Login'
,
meta
:
{
title
:
'猎芯云芯商家-登录'
,
title
:
'猎芯云芯商家-登录'
},
component
:
Login
},
...
...
@@ -162,8 +169,7 @@ const routes = [
path
:
'/notfound'
,
name
:
'notfound'
,
meta
:
{
title
:
'猎芯网'
,
title
:
'猎芯网'
},
component
:
notfound
},
...
...
@@ -171,8 +177,7 @@ const routes = [
path
:
'/bindError'
,
name
:
'BindError'
,
meta
:
{
title
:
'微信重新绑定'
,
title
:
'微信重新绑定'
},
component
:
BindError
},
...
...
@@ -180,17 +185,23 @@ const routes = [
path
:
'/news'
,
name
:
'news'
,
meta
:
{
title
:
'消息列表'
,
title
:
'消息列表'
},
component
:
News
},
{
path
:
'/notice'
,
name
:
'notice'
,
meta
:
{
title
:
'系统公告'
},
component
:
Notice
},
{
path
:
'/inquireTransform'
,
name
:
'inquireTransform'
,
meta
:
{
title
:
'询价转化统计'
,
title
:
'询价转化统计'
},
component
:
InquireTransform
},
...
...
src/views/Goods/brand.vue
View file @
6b568369
<
template
>
<div
class=
"brandxk pagex"
>
<div
class=
"brand-con"
>
<!--搜索区-->
<el-form
:inline=
"true"
:model=
"formParam"
class=
"demo-form-inline"
ref=
"formParam"
>
<el-form-item
label=
"品牌"
prop=
"brand_name"
>
<el-autocomplete
v-model=
"formParam.brand_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"submit"
:fetch-suggestions=
"querySearchAsyncBrand"
placeholder=
"请输入品牌"
clearable
></el-autocomplete>
...
...
@@ -8,87 +9,90 @@
<el-form-item
label=
"关键词"
prop=
"keyword"
>
<el-input
v-model=
"formParam.keyword"
placeholder=
"请输入关键词"
@
keyup
.
enter
.
native=
"submit"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"更新时间"
>
<el-date-picker
v-model=
"formParam.date"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"submit"
>
搜索
</el-button>
<el-button
@
click=
"resetForm('formParam')"
>
重置
</el-button>
</el-form-item>
</el-form>
<div
class=
"btn-nav clr"
>
<el-button
type=
"primary"
@
click=
"updateBrand"
>
修改
</el-button>
<el-button
type=
"primary"
@
click=
"downOut"
>
导出
</el-button>
<el-button
type=
"danger"
@
click=
"del"
>
删除
</el-button>
<a
:href=
"downHref"
ref=
"downs"
target=
"_blank"
style=
"display:none"
>
下载
</a>
<!--操作区-->
<div
class=
"operation-area row verCenter bothSide"
>
<div
class=
"operation-button row verCenter"
>
<el-button
type=
"primary"
@
click=
"updateBrand"
>
编辑品牌
</el-button>
<el-button
type=
"primary"
@
click=
"downOut"
>
导出
</el-button>
<a
:href=
"downHref"
ref=
"downs"
target=
"_blank"
style=
"display:none"
>
下载
</a>
</div>
</div>
<!--列表区-->
<div
class=
"data-box th-all"
v-if=
"tableData"
>
<el-table
:data=
"tableData"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
prop=
"internal_standard_name"
label=
"内部标准名称"
min-width=
"15%"
>
</el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
min-width=
"15%"
>
</el-table-column>
<el-table-column
prop=
"region"
label=
"地区"
min-width=
"15%"
>
</el-table-column>
<el-table-column
prop=
"brand_logo"
label=
"LOGO"
min-width=
"10%"
>
<template
slot-scope=
"scope"
v-if=
"scope.row.brand_logo"
>
<img
:src=
"scope.row.brand_logo"
class=
"brand-img"
alt=
""
>
</
template
>
</el-table-column>
<el-table-column
prop=
"sku_num"
label=
"型号量"
min-width=
"10%"
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"品牌备注"
min-width=
"15%"
>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
min-width=
"15%"
>
</el-table-column>
<el-table-column
prop=
"update_time"
label=
"更新时间"
min-width=
"15%"
>
</el-table-column>
<el-table-column
fixed
type=
"selection"
width=
"40"
align=
"center"
></el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌名称"
min-width=
"15%"
></el-table-column>
<el-table-column
prop=
"internal_standard_name"
label=
"猎芯标准品牌名"
min-width=
"15%"
></el-table-column>
<el-table-column
prop=
"region"
label=
"地区"
min-width=
"15%"
></el-table-column>
<el-table-column
prop=
"sku_num"
label=
"型号量"
min-width=
"10%"
></el-table-column>
<el-table-column
prop=
"sku_num"
label=
"品牌图片"
min-width=
"10%"
></el-table-column>
<el-table-column
prop=
"remark"
label=
"品牌授权书"
min-width=
"15%"
></el-table-column>
<el-table-column
prop=
"remark"
label=
"规格书"
min-width=
"15%"
></el-table-column>
<el-table-column
prop=
"remark"
label=
"品牌备注"
min-width=
"15%"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
min-width=
"15%"
></el-table-column>
<el-table-column
prop=
"update_time"
label=
"更新时间"
min-width=
"15%"
></el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
<!--修改品牌弹窗-->
<el-dialog
title=
"修改品牌"
:visible
.
sync=
"dialogVisible"
width=
"1000px"
>
<div
class=
"kc-mask"
>
<el-table
:data=
"updateBranddata"
border
max-height=
"600"
>
<el-table-column
prop=
"brand_name"
label=
"品牌"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"region"
label=
"地区"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"brand_logo"
label=
"LOGO"
min-width=
"120"
>
<
template
slot-scope=
"scope"
v-if=
"scope.row.brand_logo"
>
<img
:src=
"scope.row.brand_logo"
class=
"brand-img"
alt=
""
>
</
template
>
</el-table-column>
<el-table-column
prop=
"internal_standard_name"
label=
"内部标准名称"
min-width=
"170"
>
<
template
slot-scope=
"scope"
>
<el-input
v-model=
"scope.row.internal_standard_name"
placeholder=
"点击修改"
></el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"remark"
label=
"品牌备注"
width=
"320"
>
<
template
slot-scope=
"scope"
>
<el-input
v-model=
"scope.row.remark"
placeholder=
"点击修改"
></el-input>
</
template
>
</el-table-column>
</el-table>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-dialog
title=
"编辑品牌"
:visible
.
sync=
"dialogVisible"
width=
"550px"
custom-class=
"custom-dialog"
>
<el-form
:model=
"formParam"
class=
"demo-form-inline"
ref=
"formParam"
label-width=
"120px"
>
<el-form-item
label=
"型号"
prop=
"goods_name"
>
<el-input
v-model=
"formParam.goods_name"
placeholder=
"请输入型号"
@
keyup
.
enter
.
native=
"submit"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"品牌名"
prop=
"goods_name"
>
<el-input
v-model=
"formParam.goods_name"
placeholder=
"请输入品牌名"
@
keyup
.
enter
.
native=
"submit"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"对应猎芯品牌名"
prop=
"goods_name"
>
<el-input
v-model=
"formParam.goods_name"
placeholder=
"请输入对应猎芯品牌名"
@
keyup
.
enter
.
native=
"submit"
clearable
></el-input>
</el-form-item>
<el-form-item
label=
"商品图片"
>
<el-upload
class=
"upload-demo"
drag
action=
"https://jsonplaceholder.typicode.com/posts/"
multiple
>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
class=
"el-upload__tip"
slot=
"tip"
>
只能上传jpg/png文件,且不超过500kb
</div>
</el-upload>
</el-form-item>
<el-form-item
label=
"品牌授权书"
>
<el-upload
class=
"upload-demo"
drag
action=
"https://jsonplaceholder.typicode.com/posts/"
multiple
>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
class=
"el-upload__tip"
slot=
"tip"
>
只能上传jpg/png文件,且不超过500kb
</div>
</el-upload>
</el-form-item>
<el-form-item
label=
"规格书"
>
<el-upload
class=
"upload-demo"
drag
action=
"https://jsonplaceholder.typicode.com/posts/"
multiple
>
<i
class=
"el-icon-upload"
></i>
<div
class=
"el-upload__text"
>
将文件拖到此处,或
<em>
点击上传
</em></div>
<div
class=
"el-upload__tip"
slot=
"tip"
>
只能上传jpg/png文件,且不超过500kb
</div>
</el-upload>
</el-form-item>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"submitUpdate"
>
确 定
</el-button>
</
span
>
</
div
>
</el-dialog>
</div>
<Menu/>
</div>
</
template
>
<
script
>
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Autocomplete
,
Button
,
Dialog
,
Form
,
FormItem
,
Input
,
Message
,
MessageBox
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
}
from
'element-ui'
import
{
Autocomplete
,
Button
,
Dialog
,
Form
,
FormItem
,
Input
,
Message
,
MessageBox
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
,
Upload
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Pagination
).
use
(
Autocomplete
)
Vue
.
use
(
TableColumn
).
use
(
Table
)
Vue
.
use
(
TableColumn
).
use
(
Table
)
.
use
(
Upload
)
export
default
{
name
:
"brand"
,
data
()
{
...
...
@@ -101,7 +105,8 @@ export default {
downHref
:
""
,
formParam
:
{
brand_name
:
''
,
keyword
:
''
keyword
:
''
,
date
:
''
},
disabled
:
false
,
tableData
:
""
,
...
...
@@ -188,7 +193,7 @@ export default {
})
},
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
formParam
.
date
=
''
;
this
.
$refs
[
formName
].
resetFields
();
},
submit
()
{
...
...
@@ -304,4 +309,9 @@ export default {
</
script
>
<
style
scoped
>
@import
"../../assets/css/goods/brand.min.css"
;
::v-deep
.custom-dialog
.el-dialog__body
{
height
:
500px
;
overflow-y
:
auto
;
}
</
style
>
\ No newline at end of file
src/views/Goods/goods.vue
View file @
6b568369
This diff is collapsed.
Click to expand it.
src/views/Info/message.vue
View file @
6b568369
<
template
>
<div
class=
"messagexk pagex"
>
<div
class=
"message-box"
>
<div
class=
"h3"
>
基本信息
</div>
<el-form
:model=
"userinfo"
label-width=
"90px"
>
<el-form-item
label=
"公司名称"
>
<el-input
v-model=
"userinfo.company_name"
placeholder=
""
disabled
></el-input>
<div
class=
"tip"
>
基本信息
</div>
<div
class=
"row verCenter"
>
<div
class=
"up-box"
>
<img
:src=
"userinfo.avatar"
class=
"imspre"
/>
<el-upload
class=
"avatar-uploader"
:data=
"fileData"
:action=
"upUrl"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
<span
class=
"icon iconfont fl"
>
</span>
<div
class=
"fl"
>
更换头像
</div>
</el-upload>
</div>
<el-form
:inline=
"true"
:model=
"userinfo"
label-width=
"90px"
>
<el-form-item
label=
"公司名称"
>
<el-input
v-model=
"userinfo.company_name"
placeholder=
""
disabled
style=
"width: 180px"
></el-input>
</el-form-item>
<el-form-item
label=
"联系人"
>
<el-input
v-model=
"userinfo.contacts_name"
style=
"width: 180px"
></el-input>
</el-form-item>
<el-form-item
label=
"联系人电话"
>
<el-input
v-model=
"userinfo.mobile"
disabled
style=
"width: 180px"
></el-input>
</el-form-item>
<el-form-item
label=
"邮箱"
>
<el-input
v-model=
"userinfo.email"
style=
"width: 180px"
></el-input>
</el-form-item>
</el-form>
</div>
<div
class=
"tip"
style=
"margin-top: 20px"
>
猎芯联系渠道
</div>
<el-form
:inline=
"true"
:model=
"userinfo"
label-width=
"124px"
>
<el-form-item
label=
"猎芯专属采购经理"
>
<el-input
v-model=
"userinfo.company_name"
placeholder=
""
></el-input>
</el-form-item>
<el-form-item
label=
"联系
人
"
>
<el-form-item
label=
"联系
电话
"
>
<el-input
v-model=
"userinfo.contacts_name"
></el-input>
</el-form-item>
<el-form-item
label=
"联系人电话"
>
<el-input
v-model=
"userinfo.mobile"
disabled
></el-input>
<br>
<el-form-item
label=
"猎芯渠道经理"
>
<el-input
v-model=
"userinfo.mobile"
></el-input>
</el-form-item>
<el-form-item
label=
"
邮箱
"
>
<el-form-item
label=
"
联系电话
"
>
<el-input
v-model=
"userinfo.email"
></el-input>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"submituser"
>
确认
</el-button>
</el-form>
<div
class=
"tip"
style=
"margin-top: 20px"
>
意见反馈渠道
</div>
<el-form
:inline=
"true"
:model=
"userinfo"
label-width=
"124px"
>
<el-form-item
label=
"运营总监"
>
<el-input
value=
"Sophie(符静女士)"
placeholder=
""
></el-input>
</el-form-item>
<el-form-item
label=
"邮箱"
>
<el-input
value=
"sophie@ichunt.com"
></el-input>
</el-form-item>
</el-form>
<div
class=
"fl up-box"
>
<img
:src=
"userinfo.avatar"
class=
"imspre"
/>
<el-upload
class=
"avatar-uploader"
:data=
"fileData"
:action=
"upUrl"
:show-file-list=
"false"
:on-success=
"handleAvatarSuccess"
:before-upload=
"beforeAvatarUpload"
>
<span
class=
"icon iconfont fl"
>
</span>
<div
class=
"fl"
>
更换头像
</div>
</el-upload>
</div>
<el-row>
<el-button
type=
"primary"
>
编辑
</el-button>
</el-row>
</div>
<Menu
/>
<Menu/>
</div>
</
template
>
<
script
>
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
Tool
from
'../../tool'
import
{
Form
,
FormItem
,
Input
,
Upload
,
Message
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
Vue
.
use
(
Form
).
use
(
FormItem
).
use
(
Input
).
use
(
Upload
)
export
default
{
name
:
"message"
,
data
()
{
return
{
upUrl
:
NODE_ENVS
+
'/api/user/setavatar'
,
fileData
:{
token
:
Tool
.
getCookie
(
'token'
)},
userinfo
:
{
company_name
:
''
,
contacts_name
:
''
,
mobile
:
''
,
email
:
''
,
avatar
:
'https://www.ichunt.com/v3/dist/res/home/images/headimg/boy1.png'
}
};
},
watch
:
{},
created
()
{
this
.
getUseInfo
()
},
computed
:
{},
methods
:
{
getUseInfo
()
{
if
(
window
.
userInfo
)
{
this
.
userinfo
=
window
.
userInfo
;
}
else
{
this
.
$http
(
'get'
,
"/api/user/getuserinfo"
).
then
(
res
=>
{
this
.
userinfo
=
res
.
data
;
window
.
userInfo
=
res
.
data
})
}
},
submituser
()
{
this
.
$http
(
'post'
,
"/api/user/setuserinfo"
,
{
email
:
this
.
userinfo
.
email
,
contacts_name
:
this
.
userinfo
.
contacts_name
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
$message
(
"提交成功"
);
sessionStorage
.
removeItem
(
'userInfox'
)
}
else
{
this
.
$message
(
res
.
msg
);
}
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
Tool
from
'../../tool'
import
{
Form
,
FormItem
,
Input
,
Message
,
Upload
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
Vue
.
use
(
Form
).
use
(
FormItem
).
use
(
Input
).
use
(
Upload
)
export
default
{
name
:
"message"
,
data
()
{
return
{
upUrl
:
NODE_ENVS
+
'/api/user/setavatar'
,
fileData
:
{
token
:
Tool
.
getCookie
(
'token'
)},
userinfo
:
{
company_name
:
''
,
contacts_name
:
''
,
mobile
:
''
,
email
:
''
,
avatar
:
'https://www.ichunt.com/v3/dist/res/home/images/headimg/boy1.png'
}
};
},
created
()
{
this
.
getUseInfo
()
},
computed
:
{},
methods
:
{
getUseInfo
()
{
if
(
window
.
userInfo
)
{
this
.
userinfo
=
window
.
userInfo
;
}
else
{
this
.
$http
(
'get'
,
"/api/user/getuserinfo"
).
then
(
res
=>
{
this
.
userinfo
=
res
.
data
;
window
.
userInfo
=
res
.
data
})
},
handleAvatarSuccess
(
res
,
file
)
{
}
},
submituser
()
{
this
.
$http
(
'post'
,
"/api/user/setuserinfo"
,
{
email
:
this
.
userinfo
.
email
,
contacts_name
:
this
.
userinfo
.
contacts_name
}).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
$message
(
"设置成功"
)
this
.
userinfo
.
avatar
=
URL
.
createObjectURL
(
file
.
raw
);
this
.
$message
(
"提交成功"
);
sessionStorage
.
removeItem
(
'userInfox'
)
}
else
{
this
.
$message
(
res
.
msg
);
}
},
beforeAvatarUpload
(
file
)
{
const
isJPG
=
file
.
type
===
'image/jpeg'
||
file
.
type
===
'image/png'
||
file
.
type
===
'image/jpg'
||
file
.
type
===
'image/gif'
;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
5
;
if
(
!
isJPG
)
{
this
.
$message
(
'上传头像图片只能是 JPG、PNG、GIF 格式!'
);
}
if
(
!
isLt2M
)
{
this
.
$message
(
'上传头像图片大小不能超过 5MB!'
);
}
return
isJPG
&&
isLt2M
;
})
},
handleAvatarSuccess
(
res
,
file
)
{
if
(
res
.
code
===
0
)
{
this
.
$message
(
"设置成功"
)
this
.
userinfo
.
avatar
=
URL
.
createObjectURL
(
file
.
raw
);
sessionStorage
.
removeItem
(
'userInfox'
)
}
else
{
this
.
$message
(
res
.
msg
);
}
},
components
:
{
Menu
beforeAvatarUpload
(
file
)
{
const
isJPG
=
file
.
type
===
'image/jpeg'
||
file
.
type
===
'image/png'
||
file
.
type
===
'image/jpg'
||
file
.
type
===
'image/gif'
;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
5
;
if
(
!
isJPG
)
{
this
.
$message
(
'上传头像图片只能是 JPG、PNG、GIF 格式!'
);
}
if
(
!
isLt2M
)
{
this
.
$message
(
'上传头像图片大小不能超过 5MB!'
);
}
return
isJPG
&&
isLt2M
;
}
};
},
components
:
{
Menu
}
};
</
script
>
<
style
scoped
>
@import
"../../assets/css/info/message.min.css"
;
@import
"../../assets/css/info/message.min.css"
;
.tip
{
padding
:
8px
16px
;
background-color
:
#ecf8ff
;
border-radius
:
4px
;
border-left
:
5px
solid
#50bfff
;
margin-bottom
:
10px
;
}
</
style
>
\ No newline at end of file
src/views/News/index.vue
View file @
6b568369
<
template
>
<section
class=
"store pagex"
>
<div
class=
"store-con"
>
<!--搜索区-->
<el-form
:inline=
"true"
:model=
"formParam"
ref=
"formParam"
>
<el-form-item
label=
"消息类型"
prop=
"msg_type"
>
<el-select
v-model=
"formParam.msg_type"
placeholder=
"全部"
clearable
>
...
...
@@ -17,11 +18,12 @@
<el-button
@
click=
"resetForm('formParam')"
>
重置
</el-button>
</el-form-item>
</el-form>
<!--列表区-->
<div
class=
"data-box"
>
<el-table
:data=
"list"
border
max-height=
"600"
>
<el-table-column
prop=
"msg_sn"
label=
"消息编号"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"msg_type"
label=
"消息类型"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"160"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"msg_sn"
label=
"消息编号"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"msg_type"
label=
"消息类型"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"160"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
label=
"操作"
width=
"110"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"viewChange(scope.$index, scope.row)"
class=
"yunyin-btn"
>
查看内容
</el-button>
...
...
@@ -125,7 +127,7 @@ export default {
this
.
getData
();
},
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
formParam
.
date
=
''
;
this
.
$refs
[
formName
].
resetFields
();
},
handleSizeChange
(
val
)
{
...
...
src/views/Store/enter.vue
View file @
6b568369
<
template
>
<div
class=
"enter pagex"
>
<div
class=
"enter-con"
>
<!--搜索区-->
<el-form
:inline=
"true"
:model=
"formParam"
class=
"demo-form-inline"
ref=
"formParam"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-select
v-model=
"formParam.status"
placeholder=
"全部"
>
...
...
@@ -19,6 +20,7 @@
<el-button
@
click=
"resetForm('formParam')"
>
重置
</el-button>
</el-form-item>
</el-form>
<!--操作区-->
<div
class=
"btn-nav clr"
>
<el-upload
class=
"upload-demo fl"
:data=
"fileData"
:action=
"uploadUrl"
:on-change=
"handleChange"
multiple
>
<div
class=
"fl dcg"
>
导入
</div>
...
...
@@ -27,33 +29,34 @@
<a
class=
"fl dcg"
:href=
"downUrl"
target=
"_blank"
>
下载模版
</a>
<div
class=
"fl dcg delbtn"
@
click=
"del"
>
删除
</div>
</div>
<!--列表区-->
<div
class=
"data-box th-all"
v-if=
"tableData"
>
<el-table
:data=
"tableData"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
label=
"单号"
min-width=
"20%"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
align=
"center"
></el-table-column>
<el-table-column
label=
"单号"
min-width=
"20%"
align=
"center"
>
<template
slot-scope=
"scope"
>
<a
:href=
"'/#/listDetail?sn='+scope.row.up_sn+'&id='+scope.row.id"
class=
"f-blue"
>
{{
scope
.
row
.
up_sn
}}
</a>
</
template
>
</el-table-column>
<el-table-column
prop=
"file_name"
label=
"文件名字"
min-width=
"20%"
:show-overflow-tooltip=
"true"
>
</el-table-column>
<el-table-column
prop=
"status"
label=
"状态"
min-width=
"20%"
>
<el-table-column
prop=
"file_name"
label=
"文件名字"
min-width=
"20%"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"status"
label=
"状态"
width=
"120"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.status==1"
class=
"f-green"
>
待处理
</span>
<span
v-else-if=
"scope.row.status==2"
class=
"f-yellow1"
>
处理中
</span>
<span
v-else-if=
"scope.row.status==3"
>
已处理
</span>
<span
v-else-if=
"scope.row.status==4"
class=
"f-red1"
>
失败
</span>
<el-tag
v-if=
"scope.row.status==1"
type=
"primary"
>
待处理
</el-tag>
<el-tag
v-else-if=
"scope.row.status==2"
type=
"warning"
>
处理中
</el-tag>
<el-tag
v-else-if=
"scope.row.status==3"
type=
"success"
>
已处理
</el-tag>
<el-tag
v-else-if=
"scope.row.status==4"
type=
"danger"
>
失败
</el-tag>
<el-tooltip
:aa=
"scope"
class=
"item"
effect=
"dark"
placement=
"top-start"
>
<i
class=
"el-icon-question"
style=
"color:#ff7e11;margin-left:5px;cursor:pointer;font-size:16px;"
></i>
<div
slot=
"content"
>
统计我司上传的型号从【猎芯询报价系统】自动匹配推送过来的询价次数
</div>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
prop=
"latest_notice"
label=
"最新上传状态"
min-width=
"20%"
>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"上传时间"
width=
"160"
>
</el-table-column>
<el-table-column
prop=
"latest_notice"
label=
"最新上传状态"
min-width=
"20%"
align=
"center"
></el-table-column>
<el-table-column
prop=
"create_time"
label=
"上传时间"
width=
"160"
align=
"center"
></el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
</div>
<Menu/>
</div>
...
...
@@ -63,11 +66,11 @@ import Vue from 'vue';
import
Menu
from
"@/components/menu.vue"
;
import
Tool
from
'../../tool'
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
{
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Message
,
MessageBox
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
,
Upload
}
from
'element-ui'
import
{
Button
,
DatePicker
,
Dialog
,
Dropdown
,
DropdownItem
,
DropdownMenu
,
Form
,
FormItem
,
Input
,
Message
,
MessageBox
,
Option
,
Pagination
,
Select
,
Table
,
TableColumn
,
Tag
,
Upload
}
from
'element-ui'
Vue
.
prototype
.
$message
=
Message
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Pagination
)
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Upload
)
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Pagination
)
.
use
(
Tag
);
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Upload
)
;
export
default
{
name
:
"enter"
,
data
()
{
...
...
@@ -119,7 +122,7 @@ export default {
})
},
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
formParam
.
date
=
''
;
this
.
$refs
[
formName
].
resetFields
();
},
submit
()
{
...
...
src/views/Store/goodslist.vue
View file @
6b568369
<
template
>
<section
class=
"store pagex"
>
<div
class=
"store-con"
>
<!--搜索区-->
<el-form
:inline=
"true"
:model=
"formParam"
class=
"demo-form-inline"
ref=
"formParam"
>
<el-form-item
label=
"型号"
prop=
"goods_name"
>
<el-autocomplete
v-model=
"formParam.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
...
...
@@ -15,39 +16,67 @@
<el-option
label=
"不参与询价"
value=
"2"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"币种"
prop=
"join_inquiry"
>
<el-select
v-model=
"formParam.join_inquiry"
placeholder=
"全部"
clearable
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"参与询价"
value=
"1"
></el-option>
<el-option
label=
"不参与询价"
value=
"2"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"创建时间"
>
<el-date-picker
v-model=
"formParam.date"
value-format=
"yyyy-MM-dd"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
@
click=
"onSubmit"
>
搜索
</el-button>
<el-button
@
click=
"resetForm('formParam')"
>
重置
</el-button>
</el-form-item>
</el-form>
<div
class=
"btn-nav clr"
>
<el-button
type=
"primary"
@
click=
"addBestgoodsChange"
>
新增
</el-button>
<el-button
type=
"primary"
@
click=
"updateBestgoods"
>
修改
</el-button>
<el-button
type=
"danger"
@
click=
"delBestgoods"
>
删除
</el-button>
<el-button
type=
"primary"
@
click=
"isJoinInquiryChange(1)"
>
参与询价
</el-button>
<el-button
type=
"primary"
@
click=
"isJoinInquiryChange(2)"
>
不参与询价
</el-button>
<!--操作区-->
<div
class=
"operation-area row verCenter bothSide"
>
<div
class=
"operation-button row verCenter"
>
<el-button
type=
"primary"
@
click=
"addBestgoodsChange"
>
新增
</el-button>
<el-button
type=
"primary"
@
click=
"updateBestgoods"
>
修改
</el-button>
<el-button
type=
"danger"
@
click=
"delBestgoods"
>
删除
</el-button>
<el-button
type=
"primary"
@
click=
"isJoinInquiryChange(1)"
>
参与询价
</el-button>
<el-button
type=
"primary"
@
click=
"isJoinInquiryChange(2)"
>
不参与询价
</el-button>
<el-button
type=
"primary"
>
下载模板
</el-button>
<el-button
type=
"primary"
>
批量导入
</el-button>
</div>
<div
class=
"text-tip row verCenter"
>
<i
class=
"el-icon-warning"
></i>
<span>
该页面展示的数据为:我司上传的优势物料信息,并参与【猎芯询报价】系统自动推送询价
</span>
</div>
</div>
<!--列表区-->
<div
class=
"data-box"
>
<el-table
:data=
"list"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
prop=
"goods_name"
label=
"型号"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"start_order_number"
label=
"起订量"
width=
"120"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"currency_str"
label=
"币种"
width=
"120"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"price_origin"
label=
"价格"
width=
"120"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"batch"
label=
"批次"
width=
"120"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"stock_number"
label=
"库存"
width=
"120"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
prop=
"join_inquiry_str"
label=
"状态"
width=
"120"
:show-overflow-tooltip=
"true"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
align=
"center"
></el-table-column>
<el-table-column
prop=
"goods_name"
label=
"型号"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"brand_name"
label=
"品牌"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"start_order_number"
label=
"起订量"
width=
"120"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"currency_str"
label=
"币种"
width=
"120"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"price_origin"
label=
"价格"
width=
"120"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"batch"
label=
"批次"
width=
"120"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"stock_number"
label=
"库存"
width=
"120"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
<el-table-column
prop=
"join_inquiry_str"
label=
"状态"
width=
"120"
:show-overflow-tooltip=
"true"
align=
"center"
>
<template
slot-scope=
"scope"
>
<el-tag
:type=
"scope.row.join_inquiry === 1 ? 'success' : 'primary'"
disable-transitions
>
{{
scope
.
row
.
join_inquiry_str
}}
</el-tag>
</
template
>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"160"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"110"
align=
"center"
>
<el-table-column
prop=
""
label=
"统计"
width=
"100"
:show-overflow-tooltip=
"true"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"handleClick(scope.row)"
type=
"primary"
size=
"mini"
class=
"yunyin-btn"
>
查看日志
</el-button>
<el-popover
placement=
"bottom"
title=
""
width=
"350"
trigger=
"hover"
>
<el-table
:data=
"gridData"
border
>
<el-table-column
property=
"name"
label=
"统计"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
property=
"num"
label=
"次数"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
property=
"num"
label=
"排名"
:show-overflow-tooltip=
"true"
></el-table-column>
<el-table-column
property=
"date"
label=
"最近时间"
:show-overflow-tooltip=
"true"
></el-table-column>
</el-table>
<a
slot=
"reference"
href=
"javascript:;"
class=
"alink"
>
查看
</a>
</el-popover>
</
template
>
</el-table-column>
<el-table-column
prop=
"create_time"
label=
"创建时间"
width=
"160"
:show-overflow-tooltip=
"true"
align=
"center"
></el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
...
...
@@ -305,7 +334,7 @@ export default {
name
:
"list"
,
data
()
{
return
{
logs
:[],
logs
:
[],
total
:
0
,
page
:
1
,
limit
:
10
,
...
...
@@ -355,11 +384,29 @@ export default {
],
updateBestgoodsParam
:
[],
formParam
:
{
date
:
''
,
goods_name
:
''
,
brand_name
:
''
,
join_inquiry
:
''
},
multipleSelection
:
[]
multipleSelection
:
[],
gridData
:
[{
date
:
'2016-05-02'
,
name
:
'搜索次数'
,
num
:
'21221'
},
{
date
:
'2016-05-04'
,
name
:
'询价次数'
,
num
:
'1612'
},
{
date
:
'2016-05-01'
,
name
:
'报价次数'
,
num
:
'158'
},
{
date
:
'2016-05-03'
,
name
:
'成单次数'
,
num
:
'100'
}]
};
},
created
()
{
...
...
@@ -846,7 +893,7 @@ export default {
this
.
multipleSelection
=
val
;
},
resetForm
(
formName
)
{
this
.
formParam
.
date
=
''
;
this
.
formParam
.
date
=
''
;
this
.
$refs
[
formName
].
resetFields
();
},
onSubmit
()
{
...
...
src/views/Store/list.vue
View file @
6b568369
<
template
>
<div
class=
"store pagex"
>
<div
class=
"store-con"
>
<!--搜索区-->
<el-form
:inline=
"true"
:model=
"formParam"
class=
"demo-form-inline"
ref=
"formParam"
>
<el-form-item
label=
"型号"
prop=
"goods_name"
>
<el-autocomplete
v-model=
"formParam.goods_name"
:trigger-on-focus=
"false"
@
keyup
.
enter
.
native=
"onSubmit"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
clearable
></el-autocomplete>
...
...
@@ -23,40 +24,40 @@
<el-button
@
click=
"resetForm('formParam')"
>
重置
</el-button>
</el-form-item>
</el-form>
<div
class=
"btn-nav clr"
>
<div
class=
"fl"
>
<el-dropdown
@
command=
"handleCommand"
>
<div
class=
"update"
>
修改
|
<i
class=
"el-icon-arrow-down"
></i></div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"1"
>
修改库存
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
修改交期
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<!--操作区-->
<div
class=
"operation-area row verCenter bothSide"
>
<div
class=
"operation-button row verCenter"
>
<div
class=
"btn-nav"
style=
"margin-bottom: 0;margin-top: 0"
>
<el-dropdown
@
command=
"handleCommand"
>
<div
class=
"update"
>
修改
|
<i
class=
"el-icon-arrow-down"
></i></div>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
command=
"1"
>
修改库存
</el-dropdown-item>
<el-dropdown-item
command=
"2"
>
修改交期
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</div>
<el-button
type=
"primary"
@
click=
"downOut"
style=
"margin-left: 10px;"
>
导出
</el-button>
<el-button
type=
"primary"
@
click=
"changeStatus(1)"
>
上架
</el-button>
<el-button
type=
"primary"
@
click=
"changeStatus(3)"
>
下架
</el-button>
<a
:href=
"downHref"
ref=
"downs"
target=
"_blank"
style=
"display:none"
>
下载
</a>
</div>
<div
class=
"text-tip row verCenter"
>
<i
class=
"el-icon-warning"
></i>
<span>
该页面展示的数据为:我司上传的型号库存信息,将在【猎芯网站】进行售卖,并参与【猎芯询报价】系统自动推送询价
</span>
</div>
<el-button
type=
"primary"
@
click=
"downOut"
style=
"margin-left: 10px;"
>
导出
</el-button>
<el-button
type=
"primary"
@
click=
"changeStatus(1)"
>
上架
</el-button>
<el-button
type=
"primary"
@
click=
"changeStatus(3)"
>
下架
</el-button>
<a
:href=
"downHref"
ref=
"downs"
target=
"_blank"
style=
"display:none"
>
下载
</a>
</div>
<!--列表区-->
<div
class=
"data-box"
>
<el-table
:data=
"tableData"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
fixed
prop=
"goods_name"
label=
"型号"
width=
"180"
>
</el-table-column>
<el-table-column
fixed
prop=
"goods_sn"
label=
"供应商内部型号编码"
width=
"180"
>
</el-table-column>
<el-table-column
fixed
prop=
"brand_name"
label=
"品牌"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"encap"
label=
"封装"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"batch_sn"
label=
"批次"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"moq"
label=
"起订量"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"mpq"
label=
"标准包装量"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"stock"
label=
"库存数量"
width=
"150"
>
</el-table-column>
<el-table-column
fixed
type=
"selection"
width=
"40"
align=
"center"
></el-table-column>
<el-table-column
label=
"型号"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
label=
"品牌"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"encap"
label=
"猎芯标准品牌"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"encap"
label=
"封装"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"batch_sn"
label=
"批次"
width=
"180"
align=
"center"
></el-table-column>
<el-table-column
prop=
"moq"
label=
"起订量"
width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"mpq"
label=
"标准包装量"
width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"stock"
label=
"库存数量"
width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"cn_ladder_price"
label=
"国内含税价(¥)"
width=
"130"
align=
"center"
>
<template
slot-scope=
"scope"
v-if=
"scope.row.cn_ladder_price && scope.row.cn_ladder_price.length>0"
>
<div
class=
"price-more"
>
...
...
@@ -87,17 +88,15 @@
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"cn_delivery_time"
label=
"大陆交期"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"hk_delivery_time"
label=
"香港交期"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"goods_status"
label=
"状态"
width=
"150"
>
<el-table-column
prop=
"cn_delivery_time"
label=
"大陆交期"
width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"hk_delivery_time"
label=
"香港交期"
width=
"150"
align=
"center"
></el-table-column>
<el-table-column
prop=
"goods_status"
label=
"状态"
width=
"150"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.goods_status==1"
class=
"f-green"
>
上架
</span>
<span
v-else-if=
"scope.row.goods_status==3"
>
下架
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"update_time"
label=
"更新时间"
width=
"150"
></el-table-column>
<el-table-column
prop=
"update_time"
label=
"更新时间"
width=
"150"
align=
"center"
></el-table-column>
</el-table>
<el-pagination
layout=
"total, sizes, prev, pager, next, jumper"
:page-sizes=
"[10, 20, 50, 100, 200]"
:total=
"total"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page=
"page"
></el-pagination>
</div>
...
...
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