src/main/webapp/static/js/mat/mat.js
@@ -8,6 +8,7 @@ ,{field: 'storeMax', align: 'center',title: '库存上限',width: 90} ,{field: 'storeMin', align: 'center',title: '库存下限',width: 90} ,{field: 'storeMaxDate', align: 'center',title: '库龄上限(天)',width: 90} ,{field: 'status$', align: 'center',title: '状态'} ]; cols.push.apply(cols, matCols); cols.push( @@ -337,6 +338,7 @@ } else { res.data[i]["barcodeUrl"]=baseUrl+"/mac/code/auth?type=2¶m="+res.data[i].matnr; } res.data[i].date = dateToStr(new Date()); } var tpl = templateDom.html(); var template = Handlebars.compile(tpl);