Commit 48138435 authored by feifei's avatar feifei

新增业务类型

parent fae1fcb2
...@@ -729,7 +729,7 @@ ...@@ -729,7 +729,7 @@
//借款单状态 //借款单状态
loanStatusFormat: function (row, column) { loanStatusFormat: function (row, column) {
var status = row['status']; var status = row['status'];
return this.$enumUtils.toMsg('LoanStatusEnum', status); return this.$enumUtils.toMsg('LoanStatuEnums', status);
}, },
/*日期*/ /*日期*/
......
...@@ -316,6 +316,19 @@ const enumUtils = { ...@@ -316,6 +316,19 @@ const enumUtils = {
] ]
}; };
/** 借条状态*/
enumOpts[0] = {
enumName: 'LoanStatuEnums', values: [
{code: 'SUBMITED', message: '待审核'},
{code: 'AUDITED', message: '审核通过'},
{code: 'BACKING', message: '回款中'},
{code: 'SETTLED', message: '已结清'},
{code: 'OVERDUED', message: '已逾期'},
{code: 'CANCELED', message: '已作废'},
]
};
for (var enumOptNum in enumOpts) { for (var enumOptNum in enumOpts) {
if (enumOpts[enumOptNum].enumName == enumName) { if (enumOpts[enumOptNum].enumName == enumName) {
for (var msgNum in enumOpts[enumOptNum].values) { for (var msgNum in enumOpts[enumOptNum].values) {
......
{ {
"name": "versiony", "name": "versiony",
"version": "5.6.7" "version": "5.6.9"
} }
\ 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