Commit 5bd1d703 by cwq0219

bug修复

1 parent 9a4a21f7
...@@ -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: '确定'
......
...@@ -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: [],
......
<!-- 查看门店弹窗 --> <!-- 查看门店弹窗 -->
<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 {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!