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
abefb734
authored
May 19, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/xiaokang/cloudSystem
parents
a7ef6fa9
cf90e32a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
224 additions
and
35 deletions
src/ajax/index.js
src/assets/css/info/message.min.css
src/assets/css/info/message.min.css.map
src/assets/css/list/inquireDetail.less
src/assets/css/list/inquireDetail.min.css
src/assets/css/list/inquireDetail.min.css.map
src/components/menu.vue
src/views/List/inquire.vue
src/views/List/inquireDetail.vue
src/views/List/quote.vue
src/ajax/index.js
View file @
abefb734
...
@@ -15,7 +15,7 @@ export let NODE_ENVS = "/";
...
@@ -15,7 +15,7 @@ export let NODE_ENVS = "/";
switch
(
envs
)
{
switch
(
envs
)
{
case
'development'
:
case
'development'
:
//开发环境
//开发环境
NODE_ENVS
=
'http://192.168.2.1
64
:8080'
;
NODE_ENVS
=
'http://192.168.2.1
42
:8080'
;
break
;
break
;
case
'test'
:
case
'test'
:
//测试环境
//测试环境
...
...
src/assets/css/info/message.min.css
View file @
abefb734
.messagexk
.message-box
{
background
:
#fff
;
padding
:
20px
;
height
:
calc
(
100vh
-
136px
)}
.messagexk
.message-box
.h3
{
font-size
:
16px
;
color
:
#333
;
font-weight
:
bold
;
position
:
relative
}
.messagexk
.message-box
.h3
::before
{
content
:
""
;
width
:
3px
;
height
:
100%
;
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
}
.messagexk
.message-box
.up-box
{
position
:
relative
;
margin-left
:
90px
;
padding-top
:
37px
}
.messagexk
.message-box
.up-box
.avatar-uploader
{
width
:
98px
;
height
:
34px
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
overflow
:
hidden
;
line-height
:
34px
;
font-size
:
14px
;
color
:
#646B78
}
.messagexk
.message-box
.up-box
.avatar-uploader
.iconfont
{
font-size
:
18px
;
position
:
relative
;
top
:
-1px
;
margin-left
:
10px
}
.messagexk
.message-box
.up-box
.avatar-uploader
:hover
,
.messagexk
.message-box
.up-box
.avatar-uploader
.el-upload--picture-card
:hover
,
.messagexk
.message-box
.up-box
.avatar-uploader
.el-upload
:focus
{
color
:
#1969F9
!important
;
border-color
:
#1969F9
!important
}
.messagexk
.message-box
.up-box
.imspre
{
width
:
100px
;
height
:
100px
;
border-radius
:
50px
;
margin-bottom
:
16px
}
.messagexk
.message-box
{
\ No newline at end of file
background
:
#fff
;
padding
:
20px
;
height
:
calc
(
100vh
-
136px
);
}
.messagexk
.message-box
.h3
{
font-size
:
16px
;
color
:
#333
;
font-weight
:
bold
;
position
:
relative
;
}
.messagexk
.message-box
.h3
::before
{
content
:
""
;
width
:
3px
;
height
:
100%
;
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
;
}
.messagexk
.message-box
.up-box
{
position
:
relative
;
margin-left
:
90px
;
padding-top
:
37px
;
}
.messagexk
.message-box
.up-box
.avatar-uploader
{
width
:
98px
;
height
:
34px
;
border-radius
:
2px
;
border
:
1px
solid
#BEC9DF
;
overflow
:
hidden
;
line-height
:
34px
;
font-size
:
14px
;
color
:
#646B78
;
}
.messagexk
.message-box
.up-box
.avatar-uploader
.iconfont
{
font-size
:
18px
;
position
:
relative
;
top
:
-1px
;
margin-left
:
10px
;
}
.messagexk
.message-box
.up-box
.avatar-uploader
:hover
,
.messagexk
.message-box
.up-box
.avatar-uploader
.el-upload--picture-card
:hover
,
.messagexk
.message-box
.up-box
.avatar-uploader
.el-upload
:focus
{
color
:
#1969F9
!important
;
border-color
:
#1969F9
!important
;
}
.messagexk
.message-box
.up-box
.imspre
{
width
:
100px
;
height
:
100px
;
border-radius
:
50px
;
margin-bottom
:
16px
;
}
/*# sourceMappingURL=message.min.css.map */
\ No newline at end of file
src/assets/css/info/message.min.css.map
View file @
abefb734
{"version":3,"sources":["message.less"],"names":[],"mappings":"AAAA,UAEI;EACI,gBAAA;EACA,aAAA;EACA,QAAO,mBAAP;;AALR,UAEI,aAII;EACI,eAAA;EACA,WAAA;EACA,iBAAA;EACA,kBAAA;;AACA,UATR,aAII,IAKK;EACG,SAAQ,EAAR;EACA,UAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,WAAA;EACA,QAAA;;AAlBhB,UAEI,aAmBI;EACI,WAAA;EAGA,iBAAA;;AAzBZ,UAEI,aAmBI,SAEI;EAAqB,WAAA;;AAvBjC,UAEI,aAmBI,SAGI;EAAU,YAAA;EAAY,WAAA;;AAxBlC,UAEI,aAmBI,SAKI,UAAS,YAAa;EAClB,mBAAA;EACA,yBAAA;EACA,WAAA;;AA7BhB,UAEI,aAmBI,SAUI;EACI,gBAAA;EACA,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AACA,UAxCZ,aAmBI,SAUI,SAWK;EACG,mBAAA","file":"message.min.css"}
{"version":3,"sources":["message.less"],"names":[],"mappings":"AAAA,UAEI;EACI,gBAAA;EACA,aAAA;EACA,QAAO,mBAAP;;AALR,UAEI,aAII;EACI,eAAA;EACA,WAAA;EACA,iBAAA;EACA,kBAAA;;AACA,UATR,aAII,IAKK;EACG,SAAQ,EAAR;EACA,UAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,WAAA;EACA,QAAA;;AAlBhB,UAEI,aAmBI;EACI,WAAA;EAGA,iBAAA;;AAzBZ,UAEI,aAmBI,SAEI;EAAqB,WAAA;;AAvBjC,UAEI,aAmBI,SAGI;EAAU,YAAA;EAAY,WAAA;;AAxBlC,UAEI,aAmBI,SAKI,UAAS,YAAa;EAClB,mBAAA;EACA,yBAAA;EACA,WAAA;;AA7BhB,UAEI,aAmBI,SAUI;EACI,gBAAA;EACA,eAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AACA,UAxCZ,aAmBI,SAUI,SAWK;EACG,mBAAA;;AA3CpB,UAEI,aA6CI;EACI,kBAAA;EACA,iBAAA;EACA,iBAAA;;AAlDZ,UAEI,aA6CI,QAII;EACI,WAAA;EACA,YAAA;EACA,kBAAA;EACA,yBAAA;EACA,gBAAA;EACA,iBAAA;EACA,eAAA;EACA,cAAA;;AA3DhB,UAEI,aA6CI,QAII,iBASI;EAAU,eAAA;EAAgB,kBAAA;EAAmB,SAAA;EAAS,iBAAA;;AACtD,UA3DZ,aA6CI,QAII,iBAUK;AA7DjB,UAEI,aA6CI,QAII,iBAUY,CAAA,wBAAwB;AA7DhD,UAEI,aA6CI,QAII,iBAU4C,WAAU;EAC9C,cAAA;EACA,qBAAA;;AA/DpB,UAEI,aA6CI,QAmBI;EACI,YAAA;EACA,aAAA;EACA,mBAAA;EACA,mBAAA","file":"message.min.css"}
\ No newline at end of file
\ No newline at end of file
src/assets/css/list/inquireDetail.less
View file @
abefb734
...
@@ -278,3 +278,25 @@
...
@@ -278,3 +278,25 @@
}
}
}
}
.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/list/inquireDetail.min.css
View file @
abefb734
...
@@ -225,4 +225,20 @@
...
@@ -225,4 +225,20 @@
.xx
.updatebox
.selectdw
.el-select
.el-input__suffix
{
.xx
.updatebox
.selectdw
.el-select
.el-input__suffix
{
display
:
none
!important
;
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
;
}
.price-more
.more-search-btn
:hover
{
border
:
1px
solid
#1969F9
;
}
/*# sourceMappingURL=inquireDetail.min.css.map */
/*# sourceMappingURL=inquireDetail.min.css.map */
\ No newline at end of file
src/assets/css/list/inquireDetail.min.css.map
View file @
abefb734
{"version":3,"sources":["inquireDetail.less"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AAA;;AANJ,GASE;EACE,kBAAA;;AAVJ,GASE,WAGE;EACE,YAAA;EACA,WAAA;EAEA,kBAAA;EACA,QAAA;EACA,UAAA;;AAlBN,GASE,WAGE,UAQE;EACE,WAAA;EACA,YAAA;EACA,8BAAA;;AAvBR,GASE,WAGE,UAQE,WAKE;EACE,WAAA;EACA,YAAA;EACA,YAAA;EACA,WAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AAhCV,GASE,WAGE,UAQE,WAgBE;AApCR,GASE,WAGE,UAQE,WAgBqB;EACjB,wBAAA","file":"inquireDetail.min.css"}
{"version":3,"sources":["inquireDetail.less"],"names":[],"mappings":"AAAA,cAEE;EACE,kBAAA;EACA,aAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,iBAAA;EACA,kBAAA;EACA,mBAAA;;AAEA,cAVF,qBAUG;EACC,kBAAA;EACA,SAAA;EACA,OAAA;EACA,UAAA;EACA,YAAA;EACA,mBAAA;EACA,SAAS,EAAT;EACA,cAAA;;AApBN,cAEE,qBAqBE;EACE,eAAA;EACA,cAAA;EACA,iBAAA;;AA1BN,cAEE,qBA2BE;EACE,gBAAA;EACA,mBAAA;;AA/BN,cAEE,qBA2BE,WAIE;EACE,eAAA;EACA,cAAA;EACA,sBAAA;EACA,kBAAA;;AArCR,cAEE,qBA2BE,WAWE;EACE,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,sBAAA;EACA,sBAAA;EACA,iBAAA;EACA,eAAA;EACA,cAAA;;AAhDR,cAEE,qBAkDE,MACE;EACE,eAAA;EACA,cAAA;EACA,iBAAA;;AAxDR,cAEE,qBAkDE,MAOE;EACE,eAAA;EACA,cAAA;EACA,iBAAA;;AA9DR,cAmEE;EACE,kBAAA;EACA,iBAAA;EACA,oBAAA;EACA,kBAAA;EACA,mBAAA;;AAEA,cAPF,OAOG;EACC,kBAAA;EACA,SAAA;EACA,OAAA;EACA,UAAA;EACA,YAAA;EACA,mBAAA;EACA,SAAS,EAAT;EAC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ACA,mBAAA;;AAvMJ,cAmME,WAME;EACE,YAAA;EACA,YAAA;EACA,gBAAgB,sCAAhB;EACA,sBAAA;EACA,cAAA;;AA9MN,cAmME,WAcE;EACE,yBAAA;EACA,mBAAA;;AAnNN,cAmME,WAcE,KAIE;EACE,YAAA;EACA,YAAA;EACA,mBAAA;EACA,8BAAA;EACA,eAAA;EACA,cAAA;EACA,eAAA;;AAEA,cA3BN,WAcE,KAIE,GASG;EACC,kBAAA;EACA,QAAA;EACA,mBAAA;EACA,eAAA;EACA,cAAA;EACA,gCAAA;;AAOV,GACE;EACE,mBAAA;;AAFJ,GAKE;EACE,6BAAA;;AANJ,GASE;EACE,kBAAA;;AAVJ,GASE,WAGE;EACE,YAAA;EACA,WAAA;EAEA,kBAAA;EACA,QAAA;EACA,UAAA;;AAlBN,GASE,WAGE,UAQE;EACE,WAAA;EACA,YAAA;EACA,8BAAA;;AAvBR,GASE,WAGE,UAQE,WAKE;EACE,WAAA;EACA,YAAA;EACA,YAAA;EACA,WAAA;EACA,eAAA;EACA,WAAA;EACA,kBAAA;;AAhCV,GASE,WAGE,UAQE,WAgBE;AApCR,GASE,WAGE,UAQE,WAgBqB;EACjB,wBAAA;;AASV,WACE;EACE,WAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,yBAAA;EACA,eAAA;EACA,cAAA;EACA,kBAAA;EACA,oBAAA;EACA,kBAAA;EACA,eAAA;;AAEA,WAbF,iBAaG;EACC,yBAAA","file":"inquireDetail.min.css"}
\ No newline at end of file
\ No newline at end of file
src/components/menu.vue
View file @
abefb734
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,7 @@
}
else
{
}
else
{
this
.
$http
(
'get'
,
"/api/user/getuserinfo"
).
then
(
res
=>
{
this
.
$http
(
'get'
,
"/api/user/getuserinfo"
).
then
(
res
=>
{
this
.
userinfo
=
res
.
data
;
this
.
userinfo
=
res
.
data
;
if
(
res
.
data
)
{
if
(
res
.
data
)
{
sessionStorage
.
setItem
(
'userInfox'
,
JSON
.
stringify
(
res
.
data
));
sessionStorage
.
setItem
(
'userInfox'
,
JSON
.
stringify
(
res
.
data
));
}
}
...
@@ -301,13 +301,9 @@
...
@@ -301,13 +301,9 @@
logout
()
{
logout
()
{
this
.
$http
(
'post'
,
"/auth/logout"
).
then
(
res
=>
{
this
.
$http
(
'post'
,
"/auth/logout"
).
then
(
res
=>
{
Util
.
delCookie
(
'token'
);
Util
.
delCookie
(
'token'
);
if
(
res
.
err_code
===
0
)
{
window
.
location
.
href
=
'/#/login'
;
window
.
location
.
href
=
'/#/login'
;
sessionStorage
.
removeItem
(
'userInfox'
)
sessionStorage
.
removeItem
(
'userInfox'
)
history
.
go
(
0
);
history
.
go
(
0
);
}
else
{
Message
(
res
.
err_msg
);
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
console
.
log
(
err
.
message
);
console
.
log
(
err
.
message
);
})
})
...
...
src/views/List/inquire.vue
View file @
abefb734
...
@@ -3,13 +3,10 @@
...
@@ -3,13 +3,10 @@
<div
class=
"store-con"
>
<div
class=
"store-con"
>
<el-form
:inline=
"true"
:model=
"formInline"
class=
"demo-form-inline"
>
<el-form
:inline=
"true"
:model=
"formInline"
class=
"demo-form-inline"
>
<el-form-item
label=
"型号"
>
<el-form-item
label=
"型号"
>
<el-
input
v-model=
"formInline.goods_name"
placeholder=
"请输入型号"
></el-input
>
<el-
autocomplete
v-model=
"formInline.goods_name"
:trigger-on-focus=
"false"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
@
select=
"handleSelectGoodsName"
></el-autocomplete
>
</el-form-item>
</el-form-item>
<el-form-item
label=
"品牌"
>
<el-form-item
label=
"品牌"
>
<el-select
v-model=
"formInline.brand"
placeholder=
"请选择"
>
<el-autocomplete
v-model=
"formInline.brand_name"
:trigger-on-focus=
"false"
:fetch-suggestions=
"querySearchAsync2"
placeholder=
"请输入品牌"
@
select=
"handleSelectBrandName"
></el-autocomplete>
<el-option
label=
"区域一"
value=
"shanghai"
></el-option>
<el-option
label=
"区域二"
value=
"beijing"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"询价日期"
>
<el-form-item
label=
"询价日期"
>
<el-date-picker
v-model=
"formInline.date"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
<el-date-picker
v-model=
"formInline.date"
type=
"daterange"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
></el-date-picker>
...
@@ -69,10 +66,11 @@
...
@@ -69,10 +66,11 @@
Message
,
Message
,
MessageBox
,
MessageBox
,
Dialog
,
Dialog
,
Pagination
Pagination
,
Autocomplete
}
from
'element-ui'
}
from
'element-ui'
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
);
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
)
.
use
(
Autocomplete
)
;
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
);
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
);
export
default
{
export
default
{
...
@@ -190,6 +188,42 @@
...
@@ -190,6 +188,42 @@
}
}
})
})
})
})
},
handleSelectGoodsName
(
item
)
{
this
.
formInline
.
goods_name
=
item
.
value
},
handleSelectBrandName
(
item
){
this
.
formInline
.
brand_name
=
item
.
value
;
this
.
formInline
.
brand_id
=
item
.
brand_id
;
},
querySearchAsync
(
queryString
,
cb
)
{
this
.
$http
(
'get'
,
"/api/search/getspu"
,
{
spu_name
:
this
.
formInline
.
goods_name
}).
then
(
res
=>
{
if
(
res
.
err_code
==
0
)
{
var
arrlist_
=
res
.
data
||
[];
var
arr_
=
[]
for
(
var
i
=
0
;
i
<
arrlist_
.
length
;
i
++
){
arr_
.
push
({
value
:
arrlist_
[
i
][
'spu_name'
]})
}
cb
(
arr_
);
}
})
},
querySearchAsync2
(
queryString
,
cb
)
{
this
.
$http
(
'get'
,
"/api/search/getbrand"
,
{
brand_name
:
this
.
formInline
.
brand_name
}).
then
(
res
=>
{
if
(
res
.
err_code
==
0
)
{
var
arrlist_
=
res
.
data
||
[];
this
.
brandList
=
[]
this
.
formInline
.
brand_id
=
""
for
(
var
i
=
0
;
i
<
arrlist_
.
length
;
i
++
){
this
.
brandList
.
push
({
value
:
arrlist_
[
i
][
'brand_name'
],
brand_id
:
arrlist_
[
i
][
'brand_id'
]})
}
cb
(
this
.
brandList
);
}
})
}
}
},
},
components
:
{
components
:
{
...
...
src/views/List/inquireDetail.vue
View file @
abefb734
This diff is collapsed.
Click to expand it.
src/views/List/quote.vue
View file @
abefb734
...
@@ -2,22 +2,17 @@
...
@@ -2,22 +2,17 @@
<section
class=
"store pagex"
>
<section
class=
"store pagex"
>
<div
class=
"store-con"
>
<div
class=
"store-con"
>
<el-form
:inline=
"true"
:model=
"formInline"
class=
"demo-form-inline"
>
<el-form
:inline=
"true"
:model=
"formInline"
class=
"demo-form-inline"
>
<el-form-item
label=
"型号"
>
<el-form-item
label=
"
报价
型号"
>
<el-
input
v-model=
"formInline.goods_name"
placeholder=
"请输入型号"
></el-input
>
<el-
autocomplete
v-model=
"formInline.goods_name"
:trigger-on-focus=
"false"
:fetch-suggestions=
"querySearchAsync"
placeholder=
"请输入型号"
@
select=
"handleSelectGoodsName"
></el-autocomplete
>
</el-form-item>
</el-form-item>
<el-form-item
label=
"品牌"
>
<el-form-item
label=
"品牌"
>
<el-select
v-model=
"formInline.brand"
placeholder=
"请选择"
>
<el-autocomplete
v-model=
"formInline.brand_name"
:trigger-on-focus=
"false"
:fetch-suggestions=
"querySearchAsync2"
placeholder=
"请输入品牌"
@
select=
"handleSelectBrandName"
></el-autocomplete>
<el-option
label=
"区域一"
value=
"shanghai"
></el-option>
<el-option
label=
"区域二"
value=
"beijing"
></el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"报价型号"
>
<el-input
v-model=
"formInline.goods_name"
placeholder=
"请输入型号"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
>
<el-form-item
label=
"状态"
>
<el-select
v-model=
"formInline.brand"
placeholder=
"请选择"
>
<el-select
v-model=
"formInline.status"
placeholder=
"请选择"
>
<el-option
label=
"区域一"
value=
"shanghai"
></el-option>
<el-option
label=
"比价中"
value=
"1"
></el-option>
<el-option
label=
"区域二"
value=
"beijing"
></el-option>
<el-option
label=
"已确认"
value=
"3"
></el-option>
<el-option
label=
"已成单"
value=
"4"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<div>
<div>
...
@@ -47,6 +42,7 @@
...
@@ -47,6 +42,7 @@
<span
v-if=
"scope.row.status==1"
class=
"f-green"
>
已报价
</span>
<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==2"
class=
"f-yellow1"
>
已选中
</span>
<span
v-else-if=
"scope.row.status==3"
>
已确认
</span>
<span
v-else-if=
"scope.row.status==3"
>
已确认
</span>
<span
v-else-if=
"scope.row.status==4"
>
已成单
</span>
<span
v-else-if=
"scope.row.status==5"
class=
"f-red1"
>
已关闭
</span>
<span
v-else-if=
"scope.row.status==5"
class=
"f-red1"
>
已关闭
</span>
<span
v-else-if=
"scope.row.status==9"
class=
"f-red1"
>
已删除
</span>
<span
v-else-if=
"scope.row.status==9"
class=
"f-red1"
>
已删除
</span>
<span
v-else-if=
"scope.row.status==-1"
class=
"f-red1"
>
已撤销
</span>
<span
v-else-if=
"scope.row.status==-1"
class=
"f-red1"
>
已撤销
</span>
...
@@ -91,10 +87,11 @@
...
@@ -91,10 +87,11 @@
Message
,
Message
,
MessageBox
,
MessageBox
,
Dialog
,
Dialog
,
Pagination
Pagination
,
Autocomplete
}
from
'element-ui'
}
from
'element-ui'
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
);
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
)
.
use
(
Autocomplete
)
;
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
);
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
);
export
default
{
export
default
{
...
@@ -109,7 +106,8 @@
...
@@ -109,7 +106,8 @@
formInline
:
{
formInline
:
{
goods_name
:
''
,
goods_name
:
''
,
brand
:
''
,
brand
:
''
,
date
:
''
date
:
''
,
status
:
''
}
}
};
};
},
},
...
@@ -126,7 +124,8 @@
...
@@ -126,7 +124,8 @@
goods_name
:
this
.
formInline
.
goods_name
,
goods_name
:
this
.
formInline
.
goods_name
,
brand
:
this
.
formInline
.
brand
,
brand
:
this
.
formInline
.
brand
,
start_time
:
this
.
formInline
.
date
[
0
],
start_time
:
this
.
formInline
.
date
[
0
],
end_time
:
this
.
formInline
.
date
[
1
]
end_time
:
this
.
formInline
.
date
[
1
],
status
:
this
.
formInline
.
status
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
if
(
res
.
err_code
===
0
)
{
this
.
tableData
=
res
.
data
.
list
||
[];
this
.
tableData
=
res
.
data
.
list
||
[];
...
@@ -210,6 +209,42 @@
...
@@ -210,6 +209,42 @@
})
})
})
})
},
},
handleSelectGoodsName
(
item
)
{
this
.
formInline
.
goods_name
=
item
.
value
},
handleSelectBrandName
(
item
)
{
this
.
formInline
.
brand_name
=
item
.
value
;
this
.
formInline
.
brand_id
=
item
.
brand_id
;
},
querySearchAsync
(
queryString
,
cb
)
{
this
.
$http
(
'get'
,
"/api/search/getspu"
,
{
spu_name
:
this
.
formInline
.
goods_name
}).
then
(
res
=>
{
if
(
res
.
err_code
==
0
)
{
var
arrlist_
=
res
.
data
||
[];
var
arr_
=
[]
for
(
var
i
=
0
;
i
<
arrlist_
.
length
;
i
++
)
{
arr_
.
push
({
value
:
arrlist_
[
i
][
'spu_name'
]})
}
cb
(
arr_
);
}
})
},
querySearchAsync2
(
queryString
,
cb
)
{
this
.
$http
(
'get'
,
"/api/search/getbrand"
,
{
brand_name
:
this
.
formInline
.
brand_name
}).
then
(
res
=>
{
if
(
res
.
err_code
==
0
)
{
var
arrlist_
=
res
.
data
||
[];
this
.
brandList
=
[]
this
.
formInline
.
brand_id
=
""
for
(
var
i
=
0
;
i
<
arrlist_
.
length
;
i
++
)
{
this
.
brandList
.
push
({
value
:
arrlist_
[
i
][
'brand_name'
],
brand_id
:
arrlist_
[
i
][
'brand_id'
]})
}
cb
(
this
.
brandList
);
}
})
}
},
},
components
:
{
components
:
{
Menu
Menu
...
...
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