{$layout "layout_popup"}

<!-- <h3>修改有效期选项</h3> -->

<form class="ui form" data-tea-action="$" data-tea-success="success">
    <csrf-token></csrf-token>
    <input type="hidden" name="periodId" :value="period.id"/>

    <table class="ui table definition selectable">
        <tr>
            <td class="title">有效期选项</td>
            <td>{{period.count}}{{period.unitName}}</td>
        </tr>
        <tr>
            <td>启用</td>
            <td>
                <checkbox name="isOn" v-model="period.isOn"></checkbox>
            </td>
        </tr>
    </table>

    <submit-btn></submit-btn>
</form>