|
|
|
@ -11,7 +11,7 @@ |
|
|
|
</view> |
|
|
|
<view class="text-black text-sg text-bold" style="margin-left: 12rpx">代收结算信息</view> |
|
|
|
</view> |
|
|
|
<view class="text-sg" style="margin-left:12rpx">已关闭</view> |
|
|
|
<view class="text-sg" style="margin-left:12rpx">{{agentStatus(form.paymentOrderInfo)}}</view> |
|
|
|
</view> |
|
|
|
<van-cell> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
@ -58,7 +58,7 @@ |
|
|
|
<van-cell> |
|
|
|
<view slot="title" class="flex flex-justify"> |
|
|
|
<view class="text-black">订单金额(元)</view> |
|
|
|
<view class="text-gray">{{formate.formateAmount(form.paymentOrderInfo.settleTotalAmount, 2)}}</view> |
|
|
|
<view class="text-gray">{{formate.formateAmount(form.paymentOrderInfo.totalPrice, 2)}}</view> |
|
|
|
</view> |
|
|
|
</van-cell> |
|
|
|
<van-cell> |
|
|
|
@ -75,3 +75,17 @@ |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
<wxs module="agentStatus"> |
|
|
|
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 |
|
|
|
</wxs> |