function agentStatus(paymentOrderInfo) { if(paymentOrderInfo.status == 0){ return '审核中' } else if(paymentOrderInfo.payableStatus == 0){ return '待付款' } else if(paymentOrderInfo.receivableStatus == 0) { return '待还款' } else if(paymentOrderInfo.receivableStatus == 1) { return '已还款' } } module.exports = agentStatus