excelExpress.html 1.8 KB
<style type="text/css">
	#delivery li{list-style-type:none;float:left;}
</style>
<div class="pageheader notab">
    <h1 class="pagetitle">导入Excel表发货</h1>
    <span class="pagedesc">导入Excel表发货</span>
</div><!--pageheader-->
<div id="contentwrapper" class="contentwrapper">
	<div class="contenttitle2">
		<h3>导入发货</h3>
	</div>
	<div class="overviewhead">
		<div class="line">
			<ul id="delivery">
				<li><a class="btn btn2 btn_link"  href="/resources/files/导入发货的快递信息模板.xls" >
					<span>下载快递信息模板</span>
				</a></li>
				<li>
					<label class="label">Excel文件: </label>
					<div class="input">
				<span class="btnfile" style="float:left" id="upload_btn_excel">
					<span id="upload_msg_excel">上传Excel文件</span>
					<input style="height: 100%;"
						   class="weui_uploader_input"
						   type="file"
						   name="attachs"
						   accept="application/msexcel"
						   action="../template/importOrderDelivery"
						   upload-excel-file />
				</span>
						<span id="excel_msg"></span>
					</div>
				</li>
			</ul>
		</div>
		<div>
			<span style="color: red">{{errorMsg}}</span>
		</div>
    </div>
    <br>
	<!--contenttitle-->
	<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable3">
		<thead>
			<tr>
				<th class="head0">序号</th>
				<th class="head0">订单号</th>
				<th class="head0">发货信息</th>
				<th class="head0">状态</th>
			</tr>
		</thead>
		<tbody>
			<tr class="gradeX" ng-repeat="info in deliveryInfos" >
				<td>{{$index+1}}</td>
				<td>{{ info.orderCode }}</td>
				<td>{{ info.msg }}</td>
				<td ng-if="info.flag == 1"><span style="color: red;">{{ info.status }}</span></td>
				<td ng-if="info.flag == 0"><span style="color: green;">{{ info.status }}</span></td>
			</tr>
		</tbody>
	</table>
</div>