var el = {
    paymentExpireDate: '#paymentExpireDate',
    id:'#ids'

};
$(function () {
    $(el.paymentExpireDate).datebox({
        value: moment().format('YYYY-MM-DD'),
    });
});
/**
 * 确定过账
 */
function confirm(call) {
    var paymentExpireDate = $(el.paymentExpireDate).datebox('getValue');
    var ids = $(el.id).val();
    if(!paymentExpireDate){
        topWin.layer.alert('请填写付款到期日', {icon: 0});
        return false;
    }
    var param = {
        paymentExpireDate : paymentExpireDate,
        ids:ids
    }
    call(param);
}
