单据上传记录

fengcang
anthonyywj2 3 years ago
parent 47cee0ee49
commit 5b74ee432c

@ -135,7 +135,7 @@ export default {
thirdBillNo: null,
submitTime: null,
status: null,
fromType: 1,
fromType: 2,
page: 1,
limit: 20,
},
@ -160,7 +160,7 @@ export default {
methods: {
onReset() {
this.filterQuery = {
fromType: 1,
fromType: 2,
genKey: null,
status: null,
page: 1,

@ -75,8 +75,13 @@
show-overflow-tooltip
>
<template slot-scope="scope">
<span>{{ getStatusInfo(scope.row.status) }}</span>
<el-tag :type="(scope.row.status ) | statusFilterType">{{
statusMap[scope.row.status]
}}
</el-tag>
</template>
</el-table-column>
<el-table-column
label="结果信息"
@ -141,6 +146,8 @@ export default {
list: [],
total: 0,
statusMap: {
0: "未提交",
1: "正在提交",
2: "提交成功",
3: "提交失败"
},
@ -224,7 +231,15 @@ export default {
this.getList();
},
},
filters: {
statusFilterType(status) {
const statusMap = {
2: "success",
3: "danger",
};
return statusMap[status];
},
},
mounted() {
},
created() {

Loading…
Cancel
Save