Authored by weiqingting

提交

... ... @@ -263,7 +263,10 @@ $(document).on("click",".edit",function(){
var goodsgird=new common.grid({
el:'#goodsgird',
parms:function(){
return {};
return {
xxx:"",
xxx1:"",
};
},
columns:[
{display:"选择",type:"checkbox"},
... ... @@ -279,6 +282,9 @@ var goodsgird=new common.grid({
{display:"库存",name:"storage_num"}
]
});
$(document).on("click","#search",function(){
goodsgird.reload();
});
$(document).on("click","#goodsSelectBtn",function(){
new common.dialog({
title:"选择商品",
... ...
... ... @@ -8,7 +8,8 @@ exports.getJSONFile=function(req,res){
}
exports.search=function(req,res){
var url="http://192.168.102.208:8087/yohosearch/search.json?viewNum=15&query=51022754,51178582";
//req.body
var url="http://192.168.102.208:8087/yohosearch/search.json";//?viewNum=15&query=51022754,51178582
request({url: url}, function (error, response, body) {
var data={};
data.list=[];
... ...