ayer = layui.layer;
    var $;

    var cur_open_div;

    layui.use(['jquery', 'layer', 'form'], function () {
        $ = layui.$;
        var form = layui.form;

        form.on('radio(is_samedefault_now)', function (data) {
            <?php if (defined('ROLE') && ROLE == 'agenter') { ?>
            if (data.value == 0) {
                $('#samedefault_now').hide();
                $('#same_form').html('保持目前售卖时间不变');
            } else if (data.value == 2) {
                $('#same