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
fe0b8343
authored
Sep 23, 2022
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
关闭
parent
aff4e72a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
87 deletions
src/assets/css/public/common.less
src/assets/css/public/common.min.css
src/assets/css/public/common.min.css.map
src/views/List/quote.vue
src/assets/css/public/common.less
View file @
fe0b8343
...
...
@@ -190,47 +190,20 @@ body {
padding: 20px;
}
//js跟随提示框
.el-tooltip__popper {
box-shadow: 1px 2px 10px 0px rgba(119, 135, 145, 0.5);
border: 1px solid #387FFF !important;
border-radius: 0px !important;
.boxxrth2021 {
width: 150px;
background: #fff;
font-size: 12px;
color: #333;
p {
height: 28px;
line-height: 28px;
span {
width: 50%
}
}
.zdypop {
.el-form-item__label {
color: #333
}
}
.el-tooltip__popper[x-placement="top"] .popper__arrow {
border-top-color: #387FFF !important
}
.el-tooltip__popper[x-placement="bottom"] .popper__arrow {
border-bottom-color: #387FFF !important
}
.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow {
border-top-color: #387FFF !important
}
.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow {
border-bottom-color: #387FFF !important
}
.el-input.is-disabled {
background-color: #F1F4FA;
border-color: #F1F4FA
}
.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow {
border-left-color: #387FFF !important
.el-input.is-disabled .el-input__inner {
background-color: #F1F4FA;
border-color: #F1F4FA
}
}
//弹窗公共样式
...
...
src/assets/css/public/common.min.css
View file @
fe0b8343
...
...
@@ -204,38 +204,16 @@ body {
.pagex
{
padding
:
20px
;
}
.el-tooltip__popper
{
box-shadow
:
1px
2px
10px
0px
rgba
(
119
,
135
,
145
,
0.5
);
border
:
1px
solid
#387FFF
!important
;
border-radius
:
0px
!important
;
}
.el-tooltip__popper
.boxxrth2021
{
width
:
150px
;
background
:
#fff
;
font-size
:
12px
;
.zdypop
.el-form-item__label
{
color
:
#333
;
}
.
el-tooltip__popper
.boxxrth2021
p
{
height
:
28px
;
line-height
:
28px
;
.
zdypop
.el-input.is-disabled
{
background-color
:
#F1F4FA
;
border-color
:
#F1F4FA
;
}
.el-tooltip__popper
.boxxrth2021
p
span
{
width
:
50%
;
}
.el-tooltip__popper
[
x-placement
=
"top"
]
.popper__arrow
{
border-top-color
:
#387FFF
!important
;
}
.el-tooltip__popper
[
x-placement
=
"bottom"
]
.popper__arrow
{
border-bottom-color
:
#387FFF
!important
;
}
.el-tooltip__popper.is-light
[
x-placement
^=
top
]
.popper__arrow
{
border-top-color
:
#387FFF
!important
;
}
.el-tooltip__popper.is-light
[
x-placement
^=
bottom
]
.popper__arrow
{
border-bottom-color
:
#387FFF
!important
;
}
.el-tooltip__popper.is-light
[
x-placement
^=
left
]
.popper__arrow
{
border-left-color
:
#387FFF
!important
;
.zdypop
.el-input.is-disabled
.el-input__inner
{
background-color
:
#F1F4FA
;
border-color
:
#F1F4FA
;
}
.el-dialog__body
{
padding
:
20px
!important
;
...
...
src/assets/css/public/common.min.css.map
View file @
fe0b8343
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AAAM;EACJ,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AAAM;AAAK;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAK;AAAM;AAAM;AAAU;AAAQ;AAAO;AAAU;AAAG;AAAY;AAAI;AAAI;AAAI;A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;EACE,WAAA;EACA,gBAAA;;AALJ,OAQE;EACE,YAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA;EACA,gBAAA;EACA,gBAAA;;AAIJ,iBACE;EACE,UAAA;;AAIJ;EACE,iBAAA;EACA,yBAAA;EACA,kBAAA;EACA,8BAAA;EACA,cAAA;;AALF,UAOE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;;AAIJ;EACE,WAAA;EACA,YAAA;EACA,uBAAA;;AAGF;EACE,uBAAA;;AAGF;EACE,kBAAA;EACA,yBAAA;;AAGF,yBAAyB;EACvB,yBAAA","file":"common.min.css"}
\ No newline at end of file
{"version":3,"sources":["common.less"],"names":[],"mappings":"AAAA;EACE,8BAAA;EACA,0BAAA;;AAGF,IAAK;EACH,UAAA;EACA,yCAAA;EACA,6CAAA;;AAGF;AAAM;EACJ,8CAA8C,6BAA9C;EACA,kBAAA;EACA,mCAAA;EACA,kCAAA;EACA,eAAA;EACA,cAAA;;AAGF;AAAM;AAAK;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAI;AAAK;AAAM;AAAM;AAAU;AAAQ;AAAO;AAAU;AAAG;AAAY;AAAI;AAAI;AAAI;AAAQ;AAAS;AAAO;AAAS;AAAY;AAAQ;AAAQ;AAAQ;AAAM;AAAK;EACxN,SAAA;EACA,UAAA;;AAGF;AAAQ;AAAO;AAAQ;EACrB,eAAA;EACA,YAAA;EACA,wBAAA;;AAGF,KAAK;AAAe,KAAK;AAAa,KAAK;EACzC,eAAA;;AAGF;EACE,yBAAA;EACA,iBAAA;;AAGF;AAAI;AAAI;EACN,gBAAA;;AAGF;AAAI;AAAI;AAAI;AAAI;AAAI;EAClB,eAAA;EACA,gBAAA;;AAGF;AAAI;AAAG;EACL,kBAAA;;AAGF;EACE,qBAAA;;AAGF;EACE,YAAA;;AAGF;EACE,QAAA;EACA,WAAA;;AAGF,IAAI;EAC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ACpB,SAAS,OAAT;;AAGF,qBACE;AADqB,cACrB;EACE,WAAA;EACA,YAAA;EACA,kBAAA;EACA,iBAAA;EACA,mBAAA;EACA,yBAAA;EACA,kBAAA;EACA,cAAA;EACA,eAAA;EACA,YAAA;;AAEA,qBAZF,WAYG;AAAD,cAZF,WAYG;AAAQ,qBAZX,WAYY;AAAD,cAZX,WAYY;EACR,cAAA;EACA,mBAAA;EACA,yBAAA;;AAGF,qBAlBF,WAkBG;AAAD,cAlBF,WAkBG;EACC,yBAAA;EACA,WAAA;EACA,mBAAA;;AAEA,qBAvBJ,WAkBG,mBAKE;AAAD,cAvBJ,WAkBG,mBAKE;AAAQ,qBAvBb,WAkBG,mBAKW;AAAD,cAvBb,WAkBG,mBAKW;EACR,WAAA;EACA,mBAAA;EACA,yBAAA;;AAMR;EACE,kBAAA;;AADF,OAGE;EACE,WAAA;EACA,gBAAA;;AALJ,OAQE;EACE,YAAA;EACA,YAAA;EACA,mBAAA;EACA,kBAAA;EACA,eAAA;EACA,cAAA;EACA,iBAAA;EACA,gBAAA;EACA,gBAAA;;AAIJ,iBACE;EACE,UAAA;;AAIJ;EACE,iBAAA;EACA,yBAAA;EACA,kBAAA;EACA,8BAAA;EACA,cAAA;;AALF,UAOE;EACE,eAAA;EACA,cAAA;EACA,kBAAA;;AAIJ;EACE,WAAA;EACA,YAAA;EACA,uBAAA;;AAGF;EACE,uBAAA;;AAGF;EACE,kBAAA;EACA,yBAAA;;AAGF,yBAAyB;EACvB,yBAAA","file":"common.min.css"}
\ No newline at end of file
src/views/List/quote.vue
View file @
fe0b8343
...
...
@@ -30,18 +30,19 @@
<div
class=
"data-box th-all"
>
<el-table
:data=
"tableData"
border
max-height=
"600"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
align=
"center"
></el-table-column>
<el-table-column
prop=
"goods_name"
fixed=
"left"
label=
"型号"
width=
"200"
>
<el-table-column
prop=
"quote_sn"
fixed=
"left"
label=
"报价单号"
width=
"200"
></el-table-column>
<el-table-column
prop=
"inquiry_goods_name"
fixed=
"left"
label=
"型号"
width=
"200"
>
<template
slot-scope=
"scope"
>
<div
class=
"price-mores"
>
<el-
tooltip
effect=
"light
"
placement=
"bottom-start"
popper-class=
"popper-class-box"
>
<div
slot=
"content"
>
<el-
popover
effect=
"light"
trigger=
"hover
"
placement=
"bottom-start"
popper-class=
"popper-class-box"
>
<div>
<p
class=
"p-text row verCenter"
>
<em
class=
"row"
>
型号
</em>
<span
class=
"row verCenter boxsiz"
>
{{
scope
.
row
.
goods_name
}}
</span>
<span
class=
"row verCenter boxsiz"
>
{{
scope
.
row
.
inquiry_
goods_name
}}
</span>
</p>
<p
class=
"p-text row verCenter"
>
<em
class=
"row"
>
品牌
</em>
<span
class=
"row verCenter boxsiz"
>
{{
scope
.
row
.
brand_name
}}
</span>
<span
class=
"row verCenter boxsiz"
>
{{
scope
.
row
.
inquiry_
brand_name
}}
</span>
</p>
<p
class=
"p-text row verCenter"
>
<em
class=
"row"
>
数量
</em>
...
...
@@ -56,24 +57,21 @@
<span
class=
"row verCenter boxsiz"
>
{{
scope
.
row
.
delivery_time
}}
</span>
</p>
</div>
<div
class=
"more-search-btn"
>
{{
scope
.
row
.
goods_name
}}
</div>
</el-
tooltip
>
<div
slot=
"reference"
class=
"more-search-btn"
>
{{
scope
.
row
.
inquiry_
goods_name
}}
</div>
</el-
popover
>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"brand_name"
fixed=
"left"
label=
"品牌"
width=
"200"
></el-table-column>
<el-table-column
prop=
"
inquiry_
brand_name"
fixed=
"left"
label=
"品牌"
width=
"200"
></el-table-column>
<el-table-column
prop=
"inquiry_sn"
label=
"询价单号"
width=
"200"
></el-table-column>
<el-table-column
prop=
"quote_goods_name"
label=
"报价型号"
width=
"200"
></el-table-column>
<el-table-column
prop=
"quote_brand_name"
label=
"报价品牌"
width=
"200"
></el-table-column>
<el-table-column
prop=
"status"
label=
"状态"
width=
"100"
>
<
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"
>
已成单
</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==-1"
class=
"f-red1"
>
已撤销
</span>
<span
v-if=
"scope.row.quote_status==1"
class=
"f-green"
>
确认中
</span>
<span
v-else-if=
"scope.row.quote_status==2"
class=
"f-yellow1"
>
已选中
</span>
<span
v-else-if=
"scope.row.quote_status==3"
>
已成单
</span>
<span
v-else-if=
"scope.row.quote_status==4"
class=
"f-red1"
>
已关闭
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"expire_status_val"
label=
"是否有效"
width=
"100"
></el-table-column>
...
...
@@ -96,7 +94,7 @@
</el-table-column>
<el-table-column
prop=
"expire_time"
label=
"报价有效期"
width=
"200"
></el-table-column>
<el-table-column
prop=
"remark"
label=
"备注"
width=
"200"
></el-table-column>
<el-table-column
prop=
"
crea
te_time"
label=
"最近报价时间"
width=
"200"
></el-table-column>
<el-table-column
prop=
"
quo
te_time"
label=
"最近报价时间"
width=
"200"
></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>
...
...
@@ -107,12 +105,12 @@
<
script
>
import
Vue
from
'vue'
;
import
Menu
from
"@/components/menu.vue"
;
import
{
Form
,
FormItem
,
Select
,
Option
,
Input
,
DatePicker
,
Button
,
Dropdown
,
DropdownMenu
,
DropdownItem
,
Table
,
TableColumn
,
MessageBox
,
Message
,
Dialog
,
Pagination
,
Autocomplete
,
Tooltip
}
from
'element-ui'
import
{
Form
,
FormItem
,
Select
,
Option
,
Input
,
DatePicker
,
Button
,
Dropdown
,
DropdownMenu
,
DropdownItem
,
Table
,
TableColumn
,
MessageBox
,
Message
,
Dialog
,
Pagination
,
Autocomplete
,
Tooltip
,
Popover
}
from
'element-ui'
import
{
NODE_ENVS
}
from
"../../ajax"
;
import
Tool
from
'../../tool'
Vue
.
prototype
.
$message
=
Message
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Autocomplete
).
use
(
Tooltip
);
Vue
.
use
(
Button
).
use
(
Form
).
use
(
Select
).
use
(
Option
).
use
(
Input
).
use
(
FormItem
).
use
(
Dialog
).
use
(
Autocomplete
).
use
(
Tooltip
)
.
use
(
Popover
)
;
Vue
.
use
(
DatePicker
).
use
(
Dropdown
).
use
(
DropdownMenu
).
use
(
DropdownItem
).
use
(
TableColumn
).
use
(
Table
).
use
(
Pagination
);
export
default
{
...
...
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