| | |
| | | console.log("JS加载开始"); |
| | | (function (vc, vm) { |
| | | |
| | | vc.extends({ |
| | |
| | | |
| | | }); |
| | | }, |
| | | editResourceStore: function () { |
| | | editResourceStoreForStock: function () { |
| | | if (!vc.component.editResourceStoreValidate()) { |
| | | console.log("开始判断!"); |
| | | |
| | | vc.message(vc.validate.errInfo); |
| | | return; |
| | | } |
| | | |
| | | console.log("开始向后台发送请求!"); |
| | | vc.http.post( |
| | | 'editResourceStore', |
| | | 'update', |
| | |
| | | }, |
| | | function (json, res) { |
| | | //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); |
| | | console.log("请求结果为:"); |
| | | console.log(res); |
| | | console.log(json); |
| | | if (res.status == 200) { |
| | | //关闭model |
| | | $('#editItemNumberStoreModel').modal('hide'); |