Pman.Dialog.XtuplePurchaseOrder.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 10:21:54 +0000 (18:21 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 10:21:54 +0000 (18:21 +0800)
Pman.Dialog.XtuplePurchaseOrder.js

Pman.Dialog.XtuplePurchaseOrder.bjs
Pman.Dialog.XtuplePurchaseOrder.js

index 770012e..b461643 100644 (file)
                                                                     "items": [
                                                                         {
                                                                             "listeners": {
-                                                                                "|click": "function()\n{\n   var pohead_number = _this.form.findField('pohead_number').getValue();\n    var pohead_id = _this.form.findField('pohead_id').getValue();\n        \n    \n        new Pman.Request({\n            url : baseURL + '/Roo/pohead.php',\n            method :'POST',\n            params : {\n                pohead_id : pohead_id,\n                _recv_fix : 1\n                \n            },\n            success : function(res) {\n                Roo.MessageBox.alert('Notice', 'DONE');\n            }\n        });\n    \n    \n    \n    \n    \n}\n"
+                                                                                "|click": "function()\n{\n   var pohead_number = _this.form.findField('pohead_number').getValue();\n    var pohead_id = _this.form.findField('pohead_id').getValue();\n        \n    \n        new Pman.Request({\n            url : baseURL + '/Roo/pohead.php',\n            mask : 'sending',\n            method :'POST',\n            params : {\n                pohead_id : pohead_id,\n                _recv_fix : 1\n                \n            },\n            success : function(res) {\n                Roo.MessageBox.alert('Notice', 'DONE');\n            }\n        });\n    \n    \n    \n    \n    \n}\n"
                                                                             },
                                                                             "cls": "x-btn-text-icon",
                                                                             "text": "Repost goods reciept",
index a6dc81f..e9f9493 100644 (file)
@@ -1492,6 +1492,7 @@ Pman.Dialog.XtuplePurchaseOrder = {
                                                                     
                                                                         new Pman.Request({
                                                                             url : baseURL + '/Roo/pohead.php',
+                                                                            mask : 'sending',
                                                                             method :'POST',
                                                                             params : {
                                                                                 pohead_id : pohead_id,