🎈 perf: 排产计划页面简化
This commit is contained in:
@@ -4,14 +4,10 @@
|
||||
<!-- 主表信息 -->
|
||||
<el-descriptions :title="'单号:' + (stockIo.stockIoCode || '-')" :column="2" border>
|
||||
<el-descriptions-item label="类型">
|
||||
<el-tag :type="getIoTypeTagType(stockIo.ioType)">
|
||||
{{ getIoTypeLabel(stockIo.ioType) }}
|
||||
</el-tag>
|
||||
<dict-tag :options="dict.type.stock_io_type" :value="stockIo.ioType"></dict-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="业务类型">
|
||||
<el-tag :type="getBizTypeTagType(stockIo.bizType)">
|
||||
{{ getBizTypeLabel(stockIo.bizType) }}
|
||||
</el-tag>
|
||||
<dict-tag :options="dict.type.stock_biz_type" :value="stockIo.bizType"></dict-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="状态">
|
||||
<el-tag :type="stockIo.status === 2 ? 'success' : (stockIo.status === 1 ? 'warning' : 'info')">
|
||||
@@ -233,7 +229,7 @@ export default {
|
||||
SemiSelect,
|
||||
MaterialSelect
|
||||
},
|
||||
dicts: ['stock_item_type'],
|
||||
dicts: ['stock_item_type', 'stock_biz_type'],
|
||||
props: {
|
||||
stockIo: {
|
||||
type: Object,
|
||||
|
||||
@@ -48,16 +48,15 @@
|
||||
<el-table-column label="出入库单号" align="center" prop="stockIoCode" />
|
||||
<el-table-column label="类型" align="center" prop="ioType">
|
||||
<template slot-scope="scope">
|
||||
<el-tag :type="getIoTypeTagType(scope.row.ioType)">
|
||||
{{ getIoTypeLabel(scope.row.ioType) }}
|
||||
</el-tag>
|
||||
<dict-tag :options="dict.type.stock_io_type" :value="scope.row.ioType"></dict-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="业务类型" align="center" prop="bizType">
|
||||
<template slot-scope="scope">
|
||||
<el-tag :type="getBizTypeTagType(scope.row.bizType)">
|
||||
<!-- <el-tag :type="getBizTypeTagType(scope.row.bizType)">
|
||||
{{ getBizTypeLabel(scope.row.bizType) }}
|
||||
</el-tag>
|
||||
</el-tag> -->
|
||||
<dict-tag :options="dict.type.stock_biz_type" :value="scope.row.bizType"></dict-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="单据状态" align="center" prop="status">
|
||||
|
||||
Reference in New Issue
Block a user