<navigator url="/packageA/remitVoucher/detail?id={{item.sa_paybillid}}" class="item" wx:for="{{list}}" wx:key="billno">
    <view class="top">
        付款时间 : {{item.paydate || ' --'}} <text style="color:{{set.color(item.status)}}">{{item.status}}</text>
    </view>
    <view class="content">
        <view class="num">
            凭证单号：{{item.billno}}
        </view>
        <view class="exp">
            经销商编号：{{item.agentnum || ' --'}}
        </view>
        <view class="exp">
            经销商简称：{{item.enterprisename || ' --'}}
        </view>
        <view class="exp">
            付款人：{{item.payer || ' --'}}
        </view>
        <view class="exp">
            回款归属月份：{{item.period || ' --'}}
        </view>
        <view class="exp">
            打款金额：{{item.amount || ' --'}}
        </view>
    </view>
</navigator>
<Yl_Empty wx:if="{{list.length==0}}" />

<wxs module="set">
    module.exports = {
        color: function (statu) {
            var color = '#999999';
            switch (statu) {
                case "审核":
                    color = '#FA8C16';
                    break;
                case "提交":
                    color = '#52C41A';
                    break;
                case "新建":
                    color = '#333333';
                    break;
            };
            return color;
        }
    }
</wxs>