Pman.Tab.XtupleSalesShipment.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 29 Jan 2014 09:51:59 +0000 (17:51 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 29 Jan 2014 09:51:59 +0000 (17:51 +0800)
Pman.Tab.XtupleSalesShipment.js

Pman.Tab.XtupleSalesShipment.bjs
Pman.Tab.XtupleSalesShipment.js

index fccd5db..ea08e0e 100644 (file)
@@ -33,7 +33,7 @@
                     "items": [
                         {
                             "listeners": {
-                                "beforeload": "function (_self, options)\n{\n    options.params._status =  _this.status.getValue();\n}"
+                                "beforeload": "function (_self, options)\n{\n    options.params._status =  _this.status.getValue();\n    var cust = _this.custSel.getValue();\n    if (cust *1) {\n    \n    \n    }\n}"
                             },
                             "*prop": "dataSource",
                             "remoteSort": true,
index 244c81b..c60c63e 100644 (file)
@@ -68,6 +68,11 @@ Pman.Tab.XtupleSalesShipment = new Roo.XComponent({
                         beforeload : function (_self, options)
                         {
                             options.params._status =  _this.status.getValue();
+                            var cust = _this.custSel.getValue();
+                            if (cust *1) {
+                            
+                            
+                            }
                         }
                     },
                     remoteSort : true,