File:cn/goods.htm
Method:file.readText(path)
未能找到文件“C:\inetpub\wwwroot\files\document\msds\MSDS-english\110231-30-6.html”。
系统IO操作失败
cn/xmls/goods.xmls
...ableDownload=$query(msds,download);
@TableDownload[GoodsCode]=@GoodsCode;
@FileName=@TableDownload.scalar(FileName,['{*GoodsCode =} and AreaId=1']);
$if(@FileName){
@texten=$file.readText($file.getMapPath(@FileName));
$return(@texten);
}
$write($empty);
}

//查询产品en SDS
$sub SelectEnSDS(){
@TableDownload=$query(msds,download);
@TableDownload[GoodsCode]=@GoodsCode;
@FileName=@TableDownload.scalar(FileName,['{*GoodsCode =} and AreaId=2']);
$write.out(@FileName,1);
$if(@FileName){
@
texten=$file.readText($file.getMapPath(@FileName));
$return(@texten);
}
$write($empty);
}








//最新产品
$ajax GoodsZxs(){
@format=[#<li class="fl">
<a class="block" href="{~../goods/*CAS}">
<span class="block"><img class="maxwh" data-cas="{*CAS}" src="{@picc}" alt=""></span>
<div >
<p class="wot">{#left(GoodsName,20,...)}</p>
<p class="fomar wot">{*GoodsCode}</p>
</div>
</a>
</li>#];
@GuId=$post(Guid);
@querygoods=$query(goods,goods);
@querycatalog=$query(catalog,goods...