diff --git a/pages/process/template/index.wxml b/pages/process/template/index.wxml
index 76f25a5..31ff815 100644
--- a/pages/process/template/index.wxml
+++ b/pages/process/template/index.wxml
@@ -11,7 +11,7 @@
代收结算信息
- 已关闭
+ {{agentStatus(form.paymentOrderInfo)}}
@@ -58,7 +58,7 @@
订单金额(元)
- {{formate.formateAmount(form.paymentOrderInfo.settleTotalAmount, 2)}}
+ {{formate.formateAmount(form.paymentOrderInfo.totalPrice, 2)}}
@@ -75,3 +75,17 @@
+
+ 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
+
\ No newline at end of file