You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
4.7 KiB
Plaintext

<%@ Page Title="上传文件" Language="C#" MasterPageFile="~/Areas/MvcContainer/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
<link type="text/css" rel="stylesheet" href="../../Areas/MvcContainer/Content/css/orderlist.css" />
<link type="text/css" rel="stylesheet" href="../../Areas/MvcContainer/Content/hplus/css/plugins/chosen/chosen.css" />
<link type="text/css" rel="stylesheet" href="../../Areas/MvcContainer/Content/hplus/css/plugins/datapicker/datepicker3.css" />
<style type="text/css">
.form-radio input[type="radio"] {
width:15px;
height:15px;
float:left;
margin-right:7px;
}
.form-radio .radio-label {
width:105px;
float:left;
margin-top:2px;
}
</style>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentBody" runat="server">
<%
%>
<div class="wrapper wrapper-content animated fadeIn" style="padding-top: 0px;">
<div class="row">
<div class="col-lg-8">
<div class="ibox float-e-margins" style="margin-bottom:0px;">
<div class="ibox-content" style="padding-top:0px;padding-bottom:0px;">
<div class="row">
<form id="editForm" method="post" action="/MvcContainer/MsCodeCtnTk/UpEdiFileParse" enctype="multipart/form-data">
<div class="form-horizontal">
<div class="input-bk">
<div class="form-group col-lg-6 col-md-6">
<label class="control-label">罐证文件(文件名必须与罐号一致)</label>
<div class="col-lg-10 col-md-10 col-sm-10">
<input type="file" name="file" class="form-control" multiple />
</div>
</div>
</div>
</div>
<!--col-sm-offset-9-->
<div class="form-group">
<div class="col-lg-4 col-md-4 col-sm-5">
<a class="btn btn-primary" id="btnUpload" style="width:100px;display:block;margin:0 auto;">上传</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</asp:Content>
<asp:Content ContentPlaceHolderID="FooterScript" runat="server">
<%
%>
<script type="text/javascript">
$(function () {
$("#btnUpload").click(function () {
var fileVal = $("#editForm input[name='file']").val()
if (fileVal.length == 0) {
layer.alert('请先选择文件')
return
}
$("#editForm").ajaxSubmit({
success: function (rtn) {
if (rtn.Success) {
layer.alert(rtn.Message, function () {
parent.extParentWinFrame.close()
location.reload()
})
} else {
layer.alert(rtn.Message)
}
}
})
})
})
</script>
<script src="../../Areas/MvcContainer/Content/hplus/js/plugins/validate/jquery.validate.min.js"></script>
<script src="../../Areas/MvcContainer/Content/hplus/js/plugins/validate/messages_zh.min.js"></script>
<script src="../../Areas/MvcContainer/Content/hplus/js/plugins/suggest/bootstrap-suggest.min.js"></script>
<script src="../../Areas/MvcContainer/Content/hplus/js/plugins/datapicker/bootstrap-datepicker.js"></script>
<script src="../../Areas/MvcContainer/Content/js/validatorConfig.js"></script>
<script src="../../Areas/MvcContainer/Content/hplus/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
<script src="../../Areas/MvcContainer/Content/hplus/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="../../Areas/MvcContainer/Content/otherjs/jquery.form.js"></script>
<script src="../../Areas/MvcContainer/Content/otherjs/common.js"></script>
<script src="../../Areas/MvcContainer/Content/otherjs/laydate/laydate.js"></script>
</asp:Content>