Browse Source

调整客户打样申请,未送样列表,点击送样,新增送样单号,如果与现有送样单号重复时,出现错误提示,确认送样按钮不能操作的问题。

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10644 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
huangct 8 years ago
parent
commit
7bb8983672
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/tpl/index/sale/sample_send.html

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

@@ -184,7 +184,7 @@
 		</div>
 	</div>
 	<div class="modal-footer">
-		<button class="btn btn-primary" type="submit" ng-disabled="sampleSendForm.$invalid" ng-click="setOrdersRead(sampleItem.id)">确认送样</button>
+		<button class="btn btn-primary" type="submit" ng-disabled="!sampleSendForm.$dirty && sampleSendForm.$invalid" ng-click="setOrdersRead(sampleItem.id)">确认送样</button>
 		<button class="btn btn-warning" ng-click="cancel()" type="button">取消</button>
 	</div>
 </form>