Commit a7e72bc0 by 张立顺

fix bug

1 parent 214f08d5
......@@ -10,7 +10,7 @@
<el-form-item label="车系:" prop="merchantName">
<el-cascader :size="size" :props="props" v-model="storeSearchForm.seriesId" :options="options"
@change="handleChangeCar" filterable placeholder="搜索/请先选择车系"></el-cascader>
<span class="carTips">请先选择车系</span>
<div class="carTips" v-if="!storeSearchForm.seriesId.length">请先选择车系</div>
</el-form-item>
<el-form-item>
<el-button :size="size" type="primary" @click="handleSearchStore">搜索</el-button>
......@@ -260,8 +260,11 @@ export default {
</script>
<style lang="scss" scoped>
.carTips {
margin-left: 20px;
color: #666;
// margin-left: 20px;
height: 12px;
margin: 0;
color: #EB4E4E;
font-size: 12px;
}
.relateStore {
......
......@@ -134,7 +134,7 @@
</div>
</template>
<template slot="film" slot-scope="scope">
<el-tooltip v-if="scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length > 1" placement="top">
<el-tooltip v-if="scope.scope.suitCarTypeList && scope.scope.suitCarTypeList.length" placement="top">
<div slot="content" class="car-type-list">
<div v-for="(item, index) in scope.scope.suitCarTypeList" :key="index">{{ item.carTypeName }}</div>
</div>
......@@ -573,7 +573,11 @@ li {
}
::v-deep .el-tag--mini {
max-width: 155px;
max-width: 140px;
}
::v-deep .el-icon-close {
display: none;
}
.shoppingCartDrawerCon {
......
......@@ -217,7 +217,8 @@ export default {
},
condition: row => {
// 全部发货不能退货 只有部分发货能显示退货按钮
return [1, 2, 5].includes(row.status) && row.purchaseType == 1 && row.deliveryStatus == 3
// return [1, 2, 5].includes(row.status) && row.purchaseType == 1 && row.deliveryStatus == 3
return [1, 2, 5].includes(row.status) && row.purchaseType == 1 && row.deliveryStatus != 2
},
listeners: {
click: this.handleReturnedProducts
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!