Edit.html 14.4 KB
<%include '../../common/views/__ui/header'%>
<%include '../../common/views/__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">
                                    <input type="text" id="supplierName" placeholder="请填写公司名称" class="form-control"
                                           required value="<%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">
                                    <input id="supplierCode" placeholder="营业执照号" class="form-control" required
                                           value="<%data.supplierCode%>">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-sm-2 control-label">成立日期 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="text" id="foundTime" jsaction="date" placeholder="成立日期"
                                           class="form-control" readonly required value="<%data.foundTime%>">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-sm-2 control-label">营业期限<span class="red">*</span></label>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" jsaction="date:end:endOperateTime"
                                           id="beginOperateTime" required placeholder="营业期限开始时间"
                                           value="<%data.beginOperateTime%>" readonly>
                                </div>
                                <div class="col-sm-3">
                                    <input type="text" class="form-control" jsaction="date:start:beginOperateTime"
                                           id="endOperateTime" required placeholder="营业期限结束时间"
                                           value="<%data.endOperateTime%>" readonly>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">注册所在地 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="text" id="registeredAddress" placeholder="注册所在地" class="form-control"
                                           required value="<%data.registeredAddress%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">法人代表姓名 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="text" id="legalPerson" placeholder="请填写法人代表姓名" class="form-control"
                                           required value="<%data.legalPerson%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">法人身份证电子版<span class="red">*</span> </label>
                                <div class="col-sm-8">
                                    <input type="file" id="legalIdentityCard" name="legalIdentityCard"
                                           value="<%data.legalIdentityCard%>" required placeholder="法人身份证电子版">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">注册资本 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input id="registeredCapital" placeholder="请填写注册资本" class="form-control" required
                                           value="<%data.registeredCapital%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">营业执照电子版 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="file" id="businessLicense" name="businessLicense"
                                           value="<%data.businessLicense%>" required>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">组织机构代码证<span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="file" id="businessLicensePic" name="businessLicensePic"
                                           value="<%data.businessLicensePic%>" required>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">税务登记证<span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="file" id="taxCertificate" name="taxCertificate"
                                           value="<%data.taxCertificate%>" required>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">开户许可证<span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="file" id="accountOpeningLicense" name="accountOpeningLicense"
                                           value="<%data.accountOpeningLicense%>" required>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">纳税人资格证明</label>
                                <div class="col-sm-8">
                                    <input type="file" id="taxpayerQualificationCertificate"
                                           name="taxpayerQualificationCertificate"
                                           value="<%data.taxpayerQualificationCertificate%>">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">行业许可证</label>
                                <div class="col-sm-8">
                                    <input type="file" id="industryLicense" name="industryLicense" value="<%data.industryLicense%>">
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-sm-2 control-label">经营范围 </label>
                                <div class="col-sm-8">
                                    <input type="text" id="businessRange" placeholder="请填写经营范围" class="form-control"
                                           value="<%data.businessRange%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">公司联系电话</label>
                                <div class="col-sm-8">
                                    <input type="text" maxlength="20" id="contactPhone" placeholder="请填写公司联系电话"
                                           class="form-control" value="<%data.contactPhone%>">
                                    <p style="margin-top: 10px"><span class="red">注:与联系人电话至少填一个</span></p>
                                </div>
                            </div>


                            <div class="form-group">
                                <label class="col-sm-2 control-label">公司联系地址 <span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="text" id="contactAddress" placeholder="请填写公司联系地址" class="form-control"
                                           required value="<%data.contactAddress%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">联系人</label>
                                <div class="col-sm-8">
                                    <input type="text" id="linkman" placeholder="请填写联系人" class="form-control"
                                           maxlength="20" value="<%data.linkman%>" maxlength="10">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">联系电话</label>
                                <div class="col-sm-8">
                                    <input type="text" maxlength="20" id="phone" placeholder="请填写联系电话"
                                           class="form-control" value="<%data.phone%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">传真</label>
                                <div class="col-sm-8">
                                    <input type="text" id="fax" placeholder="请填写传真" class="form-control"
                                           value="<%data.fax%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">邮件地址</label>
                                <div class="col-sm-8">
                                    <input type="text" id="email" placeholder="请填写邮件地址" class="form-control"
                                           value="<%data.email%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">网址</label>
                                <div class="col-sm-8">
                                    <input type="text" id="url" placeholder="请填写网址" class="form-control"
                                           value="<%data.url%>">
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">开户行<span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="text" id="bankName" placeholder="请填写开户行" class="form-control"
                                           value="<%data.bankName%>" required>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">开户账号<span class="red">*</span></label>
                                <div class="col-sm-8">
                                    <input type="text" id="bankAccount" placeholder="请填写开户账号" class="form-control"
                                           value="<%data.bankAccount%>" required>
                                </div>
                            </div>

                            <input type="hidden" id="id" value="<%data.id%>">
                            <input type="hidden" id="operations" value="<%data.operations%>">
                            <input type="hidden" id="status" value="<%data.status%>">
                        </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>
                                <%if add%>
                                <button type="submit" class="btn delay-btn btn-info" data-loading-text="暂存中..." id="btnTemporary">暂存</button>
                                <%/if%>

                                <%if update%>
                                <button type="submit" class="btn delay-btn btn-success mr5" data-loading-text="提交审核中..." id="btnReview">提交审核</button>
                                <%/if%>

                                <%if updatecheck%>
                                <button type="submit" class="btn delay-btn btn-success mr5" data-loading-text="提交审核中..." id="updatecheck">提交审核</button>
                                <%/if%>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

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