Commit 214f08d5 by 张立顺

fix bug

1 parent 10efb442
<!-- 车型选择 --> <!-- 车型选择 -->
<template> <template>
<div>
<GLDialog bigTitle="选择适用车型" mode="big" :visible.sync="visible" okText="确定" :before-close="handleRelateStoreClose" <GLDialog bigTitle="选择适用车型" mode="big" :visible.sync="visible" okText="确定" :before-close="handleRelateStoreClose"
@onOk="handleRelateStoreConfirm" @onCancel="handleRelateStoreClose" class="relateStore"> @onOk="handleRelateStoreConfirm" @onCancel="handleRelateStoreClose" class="relateStore">
<div v-loading="carLoading">
<el-form :model="storeSearchForm" ref="relate" :inline="true" label-width="90px"> <el-form :model="storeSearchForm" ref="relate" :inline="true" label-width="90px">
<el-form-item label="车型名称:" prop="carTypeName"> <el-form-item label="车型名称:" prop="carTypeName">
<el-input :size="size" v-model.trim="storeSearchForm.carTypeName" placeholder="请输入车型名称" clearable></el-input> <el-input :size="size" v-model.trim="storeSearchForm.carTypeName" placeholder="请输入车型名称" clearable></el-input>
</el-form-item> </el-form-item>
<el-form-item label="车系:" prop="merchantName"> <el-form-item label="车系:" prop="merchantName">
<el-cascader :size="size" :props="props" v-model="storeSearchForm.seriesId" :options="options" <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> <span class="carTips">请先选择车系</span>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
...@@ -53,9 +53,9 @@ ...@@ -53,9 +53,9 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</GLDialog>
</div> </div>
</GLDialog>
</template> </template>
<script> <script>
...@@ -291,7 +291,9 @@ export default { ...@@ -291,7 +291,9 @@ export default {
.box_content { .box_content {
padding: 12px 8px; padding: 12px 8px;
overflow-y: scroll; overflow-y: scroll;
min-height: calc(100% - 40px); min-height: calc(100% - 40px);
max-height: calc(100% - 40px);
box-sizing: border-box; box-sizing: border-box;
.select_item { .select_item {
......
...@@ -46,6 +46,12 @@ ...@@ -46,6 +46,12 @@
scope.scope.filmRollList[0] }}</div> scope.scope.filmRollList[0] }}</div>
<div v-else>--</div> <div v-else>--</div>
</template> </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> </GLTable>
<div class="tips">说明:支持对未发货商品进行退货处理,进行退货后,对应商品不再继续进行发货,不影响其他商品正常发货。</div> <div class="tips">说明:支持对未发货商品进行退货处理,进行退货后,对应商品不再继续进行发货,不影响其他商品正常发货。</div>
</div> </div>
...@@ -95,6 +101,7 @@ export default { ...@@ -95,6 +101,7 @@ export default {
{ {
label: '商品名称', label: '商品名称',
prop: 'upgradeGoodsName', prop: 'upgradeGoodsName',
addHtml: 'upgradeGoodsName',
width: 120, width: 120,
line: 1 line: 1
}, },
...@@ -255,6 +262,11 @@ export default { ...@@ -255,6 +262,11 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.return {
width: 15px;
height: 14px;
}
.tips { .tips {
margin-top: 10px; margin-top: 10px;
color: #999999; color: #999999;
......
...@@ -216,8 +216,8 @@ export default { ...@@ -216,8 +216,8 @@ export default {
type: 'text' type: 'text'
}, },
condition: row => { 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: { listeners: {
click: this.handleReturnedProducts click: this.handleReturnedProducts
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!