File:cn/goods-list.htm
Method:system.set()
picc
对像不存在
cn/xmls/goods.xmls
...agIds like} {?and} {*CatalogPath like} {?)}'];
}
}
@wheres=@querygoods.sql(@where);
@goodslist=@querygoods.pager(['GoodsName,GoodsId,Guid,CAS,EnGoodsName,GoodsCode,MW,MF,MDL,BrandName,Grade'],@wheres,['Grade desc,GoodsId desc'],4,$argv(2,1));
@PCcoent=@goodslist.format(@Pcformat);
@Mocoent=@goodslist.format(@Moformat);
@map[pcCoent]=@PCcoent;
@map[moCoent]=@Mocoent;
@map[pager]=$helper.pager(@Pager,4,@count,$argv(2,1),#2,3);
@map[count]=@count;
$if(@count==0){
@map[pcCoent]=@Prompt;
@map[moCoent]=@Prompt;
@map[pager]=$empty;
}
$shell.put(@map);
$return($empty);
}

$sub searchPage(Pcformat,Moformat,Pager,Prompt,TagIds){
@map=$map();
@querygoods=$query(goods,goods);
@Method=$get(Method,$null);
@keywords=$get(keywords,$null);
@Type=$get(Type,$null);
@CatalogId=$argv(0,$null);
$if(@CatalogId){
@CatalogPath=[",{@CatalogId},"];
}
$else{
@CatalogPath=$null;
}
$if(@Method==batch){
$if(@Type==Goods){
@querygoods[GoodsCode]=@keywords;
@where=['Status>0 and {*...