Browse Source

发货,批量发货、货车发货时增加发货单号长度限制

hejq 9 years ago
parent
commit
d5a5568881

+ 1 - 1
src/main/webapp/resources/tpl/index/sale/notice.html

@@ -399,7 +399,7 @@
                 <div ng-show="!notice.$editing">{{notice.remark}}</div>
                 <div ng-if="notice.$editing">
                     <input type="text" class="form-control input-xs"
-                           ng-model="notice.send.code" placeholder="送货单号">
+                           ng-model="notice.send.code" placeholder="送货单号" maxlength="40">
                 </div>
                 <div style="margin: 5px auto" ng-if="notice.$editing" ng-click="autoCode(notice)">
                     <button style="width: 100%;" class="btn btn-default btn-xs">生成随机单号</button>

+ 1 - 1
src/main/webapp/resources/tpl/index/sale/sendByBatch.html

@@ -9,7 +9,7 @@
 				class="text-inverse">*</strong> 发货单号:</label>
 			<div class="col-md-6 col-sm-6">
 				<input class="form-control input-sm" ng-model="saleSend.code"
-					required type="text" placeholder="请输入本次发货单号">
+					required type="text" placeholder="请输入本次发货单号" maxlength="40">
 			</div>
 		</div>
 		<div class="row" style="margin-bottom: 10px; line-height: 30px;">

+ 1 - 1
src/main/webapp/resources/tpl/index/sale/track.html

@@ -8,7 +8,7 @@
 				class="text-inverse text-bold">*</span>送货单号:</label>
 			<div class="col-md-4 col-sm-4">
 				<input type="text" class="form-control input-sm"
-					ng-model="saleSend.code" required placeholder="填写本次送货单号" autofocus>
+					ng-model="saleSend.code" required placeholder="填写本次送货单号" autofocus maxlength="40">
 			</div>
 		</div>
 		<div class="form-group">