单据上传增加上传状态

dev
郑明梁 2 years ago
parent 0a08c9ebbe
commit d300f868f6

@ -153,6 +153,14 @@
</el-tag>
</template>
</el-table-column>
<el-table-column label="上传状态" prop="exportStatus" width="100">
<template slot-scope="scope">
<el-tag :type="exportStatusFilterType(scope.row.exportStatus)">{{
exportStatus[scope.row.exportStatus]
}}
</el-tag>
</template>
</el-table-column>
<el-table-column label="备注" prop="remark" show-overflow-tooltip width="180"></el-table-column>
<el-table-column label="操作" width="200" fixed="right">
<template slot-scope="scope">
@ -472,6 +480,11 @@ export default {
8: "审核拒绝",
9: "正在处理", 10: "待审核", 11: "待配货",
},
exportStatus: {
0: "未上传",
1: "已上传",
2: "上传失败",
},
checkDateStatus: {
1: '已确认',
0: '未确认'
@ -1044,6 +1057,13 @@ export default {
};
return statusMap[status];
},
exportStatusFilterType(status) {
const statusMap = {
0: 'warning',
1: 'success',
}
return statusMap[status]
},
statusCheckType(status) {
const statusMap = {
0: 'warning',

Loading…
Cancel
Save