Browse Source

平台新增采购单的方法更新

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10179 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 years ago
parent
commit
9bbeb85f5c

+ 40 - 0
src/main/webapp/resources/tpl/index/purc/modal/purc_order_vendProd.html

@@ -0,0 +1,40 @@
+<div class="modal-body" style="min-height: 500px;">
+	<div class="modal-header">
+		<h3 class="modal-title">
+			<span>采购订单 - 选择客户物料</span>
+		</h3>
+	</div>
+	<form class="form-horizontal">
+		<div class="form-group">
+			<label class="col-md-2 col-sm-2 control-label">筛选:</label>
+			<div class="col-md-8 col-sm-8">
+				<input ng-model="keyword" type="text" class="form-control input-sm" 
+					required placeholder="输入客户物料关键字查询" autofocus ng-search="onSearch()">
+			</div>
+		</div>
+	</form>
+	<table class="block table table-default table-striped table-bordered"
+		ng-table="tableParams">
+		<thead>
+			<tr class="header">
+				<th width="160px">编号</th>
+				<th width="160px">名称</th>
+				<th>规格</th>
+				<th width="80px">单位</th>
+				<th width="50px">选择</th>
+			</tr>
+		</thead>
+		<tbody>
+			<tr ng-repeat="product in $data">
+				<td class="text-center" ng-bind="::product.code"></td>
+				<td class="text-center" ng-bind="::product.title"></td>
+				<td class="text-left f12" ng-bind="::product.spec"></td>
+				<td class="text-center" ng-bind="::product.unit"></td>
+				<td class="text-center"><a title="选择" href="javascript:void(0)" ng-click="check(product)"><i class="fa fa-check-square-o"></i></a></td>
+			</tr>
+		</tbody>
+	</table>
+</div>
+<div class="modal-footer">
+	<button class="btn btn-default" ng-click="cancel()" type="button">取消</button>
+</div>