Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-mall
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 ed45d580
authored
Apr 25, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式隔离
1 parent
2cbe7ae1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
src/components/glsx-combi-form/index.vue
src/views/goodsWarehouse/warehouse.vue
src/components/glsx-combi-form/index.vue
View file @
ed45d58
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<el-form
:ref=
"formRef"
:disabled=
"formDisable"
:inline=
"isInline"
:model=
"formObj"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<el-form
:ref=
"formRef"
:disabled=
"formDisable"
:inline=
"isInline"
:model=
"formObj"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<template
v-for=
"(item, index) in formData"
>
<template
v-for=
"(item, index) in formData"
>
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:labelWidth=
"isEdit ? '144px' : labelWidth"
:class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:labelWidth=
"isEdit ? '144px' : labelWidth"
:class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px' : '30px', ...item.style }" :label="item.label" :prop="item.name">
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block
tooltip-wrap
"
slot=
"label"
>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'"
>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'"
>
<span
class=
"tips-icon"
></span>
<span
class=
"tips-icon"
></span>
...
@@ -271,7 +271,7 @@ export default {
...
@@ -271,7 +271,7 @@ export default {
}
}
}
}
</
script
>
</
script
>
<
style
>
<
style
scoped
>
/* .glsx-combi-form {
/* .glsx-combi-form {
min-width: 922px;
min-width: 922px;
} */
} */
...
@@ -327,7 +327,7 @@ export default {
...
@@ -327,7 +327,7 @@ export default {
.glsx-combi-form
.tips-label
{
.glsx-combi-form
.tips-label
{
margin-right
:
20px
;
margin-right
:
20px
;
}
}
.glsx-combi-form
.tips-icon
{
.glsx-combi-form
.tips-icon
{
position
:
absolute
;
position
:
absolute
;
display
:
inline-block
;
display
:
inline-block
;
width
:
12px
;
width
:
12px
;
...
@@ -339,7 +339,7 @@ export default {
...
@@ -339,7 +339,7 @@ export default {
border
:
1px
dotted
#7f7f7f
;
border
:
1px
dotted
#7f7f7f
;
border-radius
:
50%
;
border-radius
:
50%
;
}
}
.glsx-combi-form
.tips-icon
::before
{
.glsx-combi-form
.tips-icon
::before
{
content
:
'?'
;
content
:
'?'
;
position
:
absolute
;
position
:
absolute
;
width
:
8px
;
width
:
8px
;
...
...
src/views/goodsWarehouse/warehouse.vue
View file @
ed45d58
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope"
:buttonNum=
"3"
></GLTableButton>
</div>
</div>
<div
slot=
"shelvesStatusSlot"
slot-scope=
"scope"
>
<div
slot=
"shelvesStatusSlot"
slot-scope=
"scope"
>
<span
class=
"circle"
:style=
"
{
color: scope.scope
== 1001 ? '#2CCA74' : '#999999'}">
</span>
<span
class=
"circle"
:style=
"
{
backgroundColor: scope.scope.shelvesStatus
== 1001 ? '#2CCA74' : '#999999'}">
</span>
<span>
{{
scope
.
scope
==
1001
?
'可上架'
:
'已下架'
}}
</span>
<span>
{{
scope
.
scope
.
shelvesStatus
==
1001
?
'可上架'
:
'已下架'
}}
</span>
</div>
</div>
</GLTable>
</GLTable>
<setPriceDialog
v-if=
"isVisible"
:visible=
"isVisible"
@
handleClose=
"handleClose"
@
confirm=
"confirmPriceChange"
>
<setPriceDialog
v-if=
"isVisible"
:visible=
"isVisible"
@
handleClose=
"handleClose"
@
confirm=
"confirmPriceChange"
>
...
...
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