Commit f5408f88 authored by dragondean@qq.com's avatar dragondean@qq.com

退仓屏蔽操作和仓库操作

parent 2336a0ef
......@@ -172,7 +172,7 @@
</template>
</el-table-column>
<el-table-column :label="$t('操作')" align="center" class-name="small-padding fixed-width" width="150px">
<el-table-column :label="$t('操作')" align="center" class-name="small-padding fixed-width actions" width="150px">
<template slot-scope="scope">
<!-- 已删除的订单只需要删除和查看 https://zentao.jdshangmen.com/bug-view-684.html -->
<template v-if="scope.row.status == 88">
......@@ -180,7 +180,7 @@
</template>
<template v-else>
<!--操作相关的-->
<el-dropdown>
<el-dropdown v-if="exclude(scope.row.inWarehouseState, [204,205,206])">
<el-button type="text">{{$t('操作')}}</el-button>
<el-dropdown-menu slot="dropdown">
<!-- 编辑 -->
......@@ -251,8 +251,8 @@
</el-dropdown-menu>
</el-dropdown>
<template v-if="scope.row.status != 0 && scope.row.inWarehouseState != 206">
<el-divider direction="vertical"></el-divider>
<template v-if="scope.row.status != 0 && [204,205,206].indexOf(scope.row.inWarehouseState) < 0">
<!-- <el-divider direction="vertical"></el-divider> -->
<!--仓库相关的-->
<el-dropdown>
<el-button type="text">{{$t('仓库')}}</el-button>
......@@ -321,7 +321,7 @@
</el-dropdown>
</template>
<el-divider direction="vertical" v-if="scope.row.status != 0"></el-divider>
<!-- <el-divider direction="vertical" v-if="scope.row.status != 0"></el-divider> -->
<!--打印相关的-->
<el-dropdown v-if="scope.row.status != 0">
<el-button type="text">{{$t('打印')}}</el-button>
......@@ -649,3 +649,13 @@ export default {
}
};
</script>
<style lang="scss" scoped>
::v-deep .actions{
.el-dropdown{
margin-right: 10px;
&::last-child{
margin-right: 0;
}
}
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment