Commit 214f08d5 by 张立顺

fix bug

1 parent 10efb442
<!-- 车型选择 -->
<template>
<div>
<GLDialog bigTitle="选择适用车型" mode="big" :visible.sync="visible" okText="确定" :before-close="handleRelateStoreClose"
@onOk="handleRelateStoreConfirm" @onCancel="handleRelateStoreClose" class="relateStore">
<GLDialog bigTitle="选择适用车型" mode="big" :visible.sync="visible" okText="确定" :before-close="handleRelateStoreClose"
@onOk="handleRelateStoreConfirm" @onCancel="handleRelateStoreClose" class="relateStore">
<div v-loading="carLoading">
<el-form :model="storeSearchForm" ref="relate" :inline="true" label-width="90px">
<el-form-item label="车型名称:" prop="carTypeName">
<el-input :size="size" v-model.trim="storeSearchForm.carTypeName" placeholder="请输入车型名称" clearable></el-input>
</el-form-item>
<el-form-item label="车系:" prop="merchantName">
<el-cascader :size="size" :props="props" v-model="storeSearchForm.seriesId" :options="options"
@change="handleChangeCar" filterable placeholder="搜索/请先选择车系" v-loading="carLoading"></el-cascader>
@change="handleChangeCar" filterable placeholder="搜索/请先选择车系"></el-cascader>
<span class="carTips">请先选择车系</span>
</el-form-item>
<el-form-item>
......@@ -53,9 +53,9 @@
</div>
</el-col>
</el-row>
</GLDialog>
</div>
</div>
</GLDialog>
</template>
<script>
......@@ -291,7 +291,9 @@ export default {
.box_content {
padding: 12px 8px;
overflow-y: scroll;
min-height: calc(100% - 40px);
max-height: calc(100% - 40px);
box-sizing: border-box;
.select_item {
......
......@@ -46,6 +46,12 @@
scope.scope.filmRollList[0] }}</div>
<div v-else>--</div>
</template>
<template slot="upgradeGoodsName" slot-scope="scope">
<div>
<img v-if="scope.scope.refundStatus == 'Y'" class="return" src="@/assets/retrun.png" alt="">
<span>{{ scope.scope.upgradeGoodsName }}</span>
</div>
</template>
</GLTable>
<div class="tips">说明:支持对未发货商品进行退货处理,进行退货后,对应商品不再继续进行发货,不影响其他商品正常发货。</div>
</div>
......@@ -95,6 +101,7 @@ export default {
{
label: '商品名称',
prop: 'upgradeGoodsName',
addHtml: 'upgradeGoodsName',
width: 120,
line: 1
},
......@@ -255,6 +262,11 @@ export default {
</script>
<style lang="scss" scoped>
.return {
width: 15px;
height: 14px;
}
.tips {
margin-top: 10px;
color: #999999;
......
......@@ -216,8 +216,8 @@ export default {
type: 'text'
},
condition: row => {
// 全部发货不能退货
return [1, 2, 5].includes(row.status) && row.purchaseType == 1 && row.deliveryStatus != 2
// 全部发货不能退货 只有部分发货能显示退货按钮
return [1, 2, 5].includes(row.status) && row.purchaseType == 1 && row.deliveryStatus == 3
},
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!