diff --git a/DSWeb/Areas/MvcShipping/Viewsjs/BillCheckOut/BillCheckOutIndex.js b/DSWeb/Areas/MvcShipping/Viewsjs/BillCheckOut/BillCheckOutIndex.js index 8060d662..28af1687 100644 --- a/DSWeb/Areas/MvcShipping/Viewsjs/BillCheckOut/BillCheckOutIndex.js +++ b/DSWeb/Areas/MvcShipping/Viewsjs/BillCheckOut/BillCheckOutIndex.js @@ -394,6 +394,15 @@ Ext.extend(Shipping.BillCheckOutIndex, Ext.Panel, { if (e.getKey() == e.ENTER) { _this.onRefreshClick(); } + }, + change: function () { + var basicForm = _this.formSearch.getForm(); + var _CHECKOUTNO = basicForm.findField('CHECKOUTNO').getValue(); + + if (_CHECKOUTNO.length >= 10) { + _this.onRefreshClick(); + } + } } }, {