| | |
| | | <Property name="label">入库日期</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="unit"> |
| | | <Property/> |
| | | <Property></Property> |
| | | <Property name="label">检验单位</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="zblb"> |
| | | <Property/> |
| | | <Property></Property> |
| | | <Property name="label">指标类别</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="qfrq"> |
| | |
| | | <Property name="label">报告出具时间</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="shrxm"> |
| | | <Property/> |
| | | <Property></Property> |
| | | <Property name="label">审核人姓名</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="qydbh"> |
| | | <Property/> |
| | | <Property></Property> |
| | | <Property name="label">扦样单编号</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="jdrxm"> |
| | | <Property/> |
| | | <Property></Property> |
| | | <Property name="label">监督人姓名</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="ypbh"> |
| | | <Property/> |
| | | <Property></Property> |
| | | <Property name="label">样品编号</Property> |
| | | </PropertyDef> |
| | | <PropertyDef name="updateTime"> |
| | |
| | | </DataPilot> |
| | | </Container> |
| | | <Dialog id="dialogMain"> |
| | | <ClientEvent name="beforeShow">var data = view.get("#dsMain.data:#")
 |
| | | var metricsBefore = data.get("zblb")
 |
| | | if(metricsBefore){
 |
| | | var list = metricsBefore.split("#");
 |
| | | var metrics ="" ;
 |
| | | list.forEach(item=>{
 |
| | | if(item == 1)metrics+="1:质量指标检验#";
 |
| | | if(item == 2)metrics+="2:储存品质检验#";
 |
| | | if(item == 3)metrics+="3:食品安全检验#";
 |
| | | console.log(item)
 |
| | | console.log(metrics) 
 |
| | | });
 |
| | | data.set("zblb", metrics.substring(0,metrics.length-1));
 |
| | | }</ClientEvent> |
| | | <Property name="visible">false</Property> |
| | | <Property name="caption">质量巡检信息</Property> |
| | | <Property name="width">80%</Property> |