Authored by 陶雨

商品池修改

@@ -21,7 +21,6 @@ var $ = require('jquery'), @@ -21,7 +21,6 @@ var $ = require('jquery'),
21 return '<a class="btn btn-info detail" data-index="' + item.__index + '">详情</a>'; 21 return '<a class="btn btn-info detail" data-index="' + item.__index + '">详情</a>';
22 } 22 }
23 } 23 }
24 -  
25 ] 24 ]
26 }); 25 });
27 26
@@ -75,13 +74,14 @@ var $ = require('jquery'), @@ -75,13 +74,14 @@ var $ = require('jquery'),
75 common.util.__template($("#template1").html(), 74 common.util.__template($("#template1").html(),
76 { 75 {
77 poolId:obj.id, 76 poolId:obj.id,
78 - producttype:grid.rows[0].producttype 77 + producttype:obj.producttype
79 }), 78 }),
80 function() { 79 function() {
81 e.submit("/market/productPool/addProductPoolDetailBo",function(option){ 80 e.submit("/market/productPool/addProductPoolDetailBo",function(option){
82 //option.data; 81 //option.data;
83 82
84 - option.success=function(){ 83 + option.success=function(res){
  84 + util.__tip(res.data.message, "success");
85 grid.reload(); 85 grid.reload();
86 }; 86 };
87 option.error=function(){ 87 option.error=function(){
1 -exports.domain = require('../config/common.js').domain; 1 +//exports.domain = require('../config/common.js').domain;
2 // exports.domain = "http://192.168.102.201:8082/platform"; 2 // exports.domain = "http://192.168.102.201:8082/platform";
3 -// exports.domain = "http://172.16.6.210:8083/platform"; 3 + exports.domain = "http://172.16.6.210:8083/platform";
4 4
5 exports.res = [ 5 exports.res = [
6 { 6 {