Commit 2c927d90 by 前端

修复一系列BUG

1 parent 51c479ec
......@@ -21,13 +21,18 @@
v-model="detail.staffSceneLabelArr[index]"
disabled />
</span> -->
<el-checkbox-group v-model="detail.staffSceneLabelArr">
<el-checkbox v-for="(item,index) in detail.staffSceneLabelArr"
:label="item"
:key="index"
disabled
style="width: 50px;" />
</el-checkbox-group>
<div v-if="detail.staffSceneLabelArr && detail.staffSceneLabelArr.length > 0">
<el-checkbox-group v-model="detail.staffSceneLabelArr">
<el-checkbox v-for="(item,index) in detail.staffSceneLabelArr"
:label="item"
:key="index"
disabled
style="width: 50px;" />
</el-checkbox-group>
</div>
<div v-else>
-
</div>
</div>
<div class="info-item flex">
<label>员工角色:</label>
......@@ -40,29 +45,32 @@
<div class="info-wrap">
<div class="info-item-line">
<label>服务门店:</label>
<div>
<div v-if="detail.shopMerchantList && detail.shopMerchantList.length > 0">
<div v-for="(item, index) in detail.shopMerchantList"
:key="index"
class="line-div">
<span class="mr-10">{{ item.merchantName }}</span>
<span class="mr-10">
<span class="mr-10"
:title="item.carBrandListString">
<!-- <template v-for="brand in item.carBrandList">
{{ brand.name }}
</template> -->
{{ item.carBrandListString }}
</span>
<span>
最后订单时间:{{ item.orderTimeString }}
最后订单时间:{{ item.orderTimeString || '-' }}
</span>
<el-button type="text"
class="secureBtn"
@click="handleSecure(item)">解绑该服务门店</el-button>
</div>
</div>
<div v-else
class="line-div">-</div>
</div>
<div class="info-item-line">
<label>归属商户:</label>
<div>
<div v-if="detail.belongList && detail.belongList.length > 0">
<div v-for="(item, index) in detail.belongList"
:key="index"
class="line-div">
......@@ -72,6 +80,8 @@
</span>
</div>
</div>
<div v-else
class="line-div">-</div>
</div>
</div>
</div>
......@@ -117,7 +127,7 @@
</div>
</div>
<div class="btnCon">
<el-button class="cancel-btn"
<el-button type="primary"
@click="handleCancel"> 返回 </el-button>
</div>
......@@ -484,7 +494,7 @@ export default {
// }
.btnCon {
width: 710px;
width: 100%;
margin-top: 40px;
text-align: center;
}
......@@ -566,7 +576,7 @@ export default {
font-size: 14px;
color: #1d1d1d;
display: inline-block;
cursor: pointer;
// cursor: pointer;
max-width: 500px;
overflow: hidden;
/* 防止文本换行 */
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!