InvoicesEdit.html 4.19 KB
<%include '../common/__ui/header'%>
<%include '../common/__partail/ListHeader'%>

<div class="contentpanel">
    <div class="row">
        <div class="col-md-12">
            <form id="basicForm" role="form" class="form-horizontal form-bordered" method="post" action="<%action%>">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <h4 class="panel-title">基本信息</h4>
                    </div>
                    <div class="panel-body">
                        <div class="row">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">供应商名称 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <%data.supplierName%>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">是否支持电子发票 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
                                        <input type="radio" name="isElecInvoice" value="Y"/>支持 </label>
                                    <label class="radio-inline">
                                        <input type="radio" name="isElecInvoice" value="N"/>不支持 </label>
                                </div>
                                <input type="hidden" id="isElecInvoice" value="<%data.isElecInvoice%>" for="radio" required>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">是否支持纸质发票 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
                                        <input type="radio" name="isPaperInvoice" value="Y"/>支持 </label>
                                    <label class="radio-inline">
                                        <input type="radio" name="isPaperInvoice" value="N"/>不支持 </label>
                                </div>
                                <input type="hidden" id="isPaperInvoice" value="<%data.isPaperInvoice%>" for="radio" required>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">默认发票勾选 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <label class="radio-inline">
                                        <input type="radio" name="defaultInvoice" value="1"/>纸质发票 </label>
                                    <label class="radio-inline">
                                        <input type="radio" name="defaultInvoice" value="2"/>电子发票 </label>
                                    <label class="radio-inline">
                                        <input type="radio" name="defaultInvoice" value="0"/>都不勾选 </label>
                                </div>
                                <input type="hidden" id="defaultInvoice" value="<%data.defaultInvoice%>" for="radio" required>
                            </div>

                            <input type="hidden" id="id" value="<%data.supplierId%>">
                        </div>
                    </div>

                    <div class="panel-footer">
                        <div class="row">
                            <div class="col-sm-8 col-sm-offset-2">
                                <a href="javascript:;" class="btn btn-default"
                                   onclick="javascript:history.go(-1);">取消</a>
                                <button id="saveInvoices" type="submit" data-loading-text="保存中..." class="btn delay-btn btn-success">保存</button>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<%include '../common/__ui/footer'%>