function DataShow(type,no) { this.type=type; this.no=no; this.colRowDistributionChart = null; this.RowDistributionChart = null; } DataShow.prototype.showHint=function(){ let htmltext=''; let dataAnalyze = new DataAnalyze(this.no); if(this.type=='StoreSign'||this.type=='Store') { let store= dataAnalyze.getStore(this.no); htmltext='
仓库编码:'+store.No +'
'; htmltext+='仓库名称:'+store.Name +'
'; htmltext+='总库存:'+dataAnalyze.getStoreTotalBin(this.no) +'
'; htmltext+='已占库存:'+dataAnalyze.getStoreOccurpyBin(this.no) +'
'; htmltext+='今日入库:'+dataAnalyze.getStoreTotalBin(this.no) +'
'; htmltext+='今日出库:'+dataAnalyze.getStoreOccurpyBin(this.no) +'
'; htmltext+='编码:'+group.No +'
'; htmltext+='名称:'+group.Name +'
'; htmltext+='总库存:'+dataAnalyze.getGroupTotalBin(this.no) +'
'; htmltext+='已占库存:'+dataAnalyze.getGroupOccurpyBin(this.no) +'
'; htmltext+='今日入库:'+dataAnalyze.getGroupTotalBin(this.no) +'
'; htmltext+='今日出库:'+dataAnalyze.getGroupOccurpyBin(this.no) +'
'; htmltext+='编码:'+bin.No +'
'; htmltext+='名称:'+bin.Name +'
'; htmltext+='条码号:'+bin.Barcode +'
'; htmltext+='状态:'+bin.State +'
'; } return htmltext; }