Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
develop-platform
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 5bd1d703
authored
Nov 26, 2020
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
9a4a21f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
src/components/d2-dialog/index.vue
src/views/goods/commodity.vue
src/views/goods/storeDetail.vue
src/components/d2-dialog/index.vue
View file @
5bd1d70
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
<el-dialog
<el-dialog
:title=
"title"
:title=
"title"
:visible
.
sync=
"isVisible"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
:width=
"width"
:width=
"width"
...
@@ -42,6 +43,10 @@ export default {
...
@@ -42,6 +43,10 @@ export default {
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
},
},
showClose
:
{
type
:
Boolean
,
default
:
true
},
btnOkLabel
:
{
btnOkLabel
:
{
type
:
String
,
type
:
String
,
default
:
'确定'
default
:
'确定'
...
...
src/views/goods/commodity.vue
View file @
5bd1d70
...
@@ -92,9 +92,10 @@
...
@@ -92,9 +92,10 @@
>
{{
scope
.
scope
.
state
?
'上架'
:
'下架'
}}
</el-button>
-->
>
{{
scope
.
scope
.
state
?
'上架'
:
'下架'
}}
</el-button>
-->
</d2-table>
</d2-table>
<d2-dialog
<d2-dialog
title=
"
关联门店信息
"
title=
"
门店列表
"
:className=
"storeDetail"
:className=
"storeDetail"
:isVisible
.
sync=
"detailVisible"
:isVisible
.
sync=
"detailVisible"
:showClose=
"showClose"
noCancel=
"true"
noCancel=
"true"
@
closeDialog=
"handleDetailClose"
@
closeDialog=
"handleDetailClose"
@
confirmDialog=
"handleDetailClose"
@
confirmDialog=
"handleDetailClose"
...
@@ -182,6 +183,7 @@ export default {
...
@@ -182,6 +183,7 @@ export default {
},
},
// 查看门店
// 查看门店
detailVisible
:
false
,
detailVisible
:
false
,
showClose
:
false
,
// 基本数据
// 基本数据
baseData
:
{
baseData
:
{
goodsType
:
[],
goodsType
:
[],
...
...
src/views/goods/storeDetail.vue
View file @
5bd1d70
<!-- 查看门店弹窗 -->
<!-- 查看门店弹窗 -->
<
template
>
<
template
>
<div
class=
"storeDetail
flex
"
>
<div
class=
"storeDetail"
>
<
div>
门店列表
</div
>
<
!--
<div>
门店列表
</div>
--
>
<div
class=
"detail-rows"
>
<div
class=
"detail-rows"
>
<el-scrollbar>
<el-scrollbar>
<div
<div
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<block>
<block>
<p><span
class=
"txt-order"
>
{{
index
+
1
}}
</span>
{{
item
.
merchantName
}}
</p>
<p><span
class=
"txt-order"
>
{{
index
+
1
}}
</span>
{{
item
.
merchantName
}}
</p>
<p>
<p>
<span
class=
"txt-num"
>
编
号
{{
item
.
merchantId
}}
</span>
<span
class=
"txt-num"
>
商户
号
{{
item
.
merchantId
}}
</span>
<span>
{{
item
.
phone
}}
</span>
<span>
{{
item
.
phone
}}
</span>
</p>
</p>
<p>
{{
item
.
provinceName
||
''
}}{{
item
.
cityName
||
''
}}{{
item
.
address
}}
</p>
<p>
{{
item
.
provinceName
||
''
}}{{
item
.
cityName
||
''
}}{{
item
.
address
}}
</p>
...
@@ -71,7 +71,7 @@ export default {
...
@@ -71,7 +71,7 @@ export default {
align-items
:
center
;
align-items
:
center
;
}
}
.storeDetail
.detail-rows
{
.storeDetail
.detail-rows
{
width
:
86
%
;
width
:
100
%
;
height
:
540px
;
height
:
540px
;
}
}
.storeDetail
.txt-order
{
.storeDetail
.txt-order
{
...
...
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