Commit 2bc7a579 authored by 李苏's avatar 李苏 💬

改界面

parent 1f7b37d6
...@@ -154,15 +154,36 @@ ...@@ -154,15 +154,36 @@
{title: "规格型号", field: "wlxxGg", fieldType: "ftString",width:200}, {title: "规格型号", field: "wlxxGg", fieldType: "ftString",width:200},
{title: "数量", field: "zpsl", fieldType: "int"} {title: "数量", field: "zpsl", fieldType: "int"}
]; ];
var $hgbz= [
{title: "是否合格", field: "hgbz",width:180,align:"center",
formatter: function(value,row,index){
if (row.hzsl=="Y"){
return "合格";
} else {
return "不合格";
}
}
}
];
HTTP.post("kmes/wosngz/getGphymx",{gpfkid:rowData.id},function (res) {
if(res.success){
if(res.data.total==0){
$zpList.datagrid({
title:"详情",
columns:[new $.common.formatterCol($hgbz)],
pagination:false
});
$zpList.datagrid("loadData",[rowData])
}else{
$zpList.datagrid({ $zpList.datagrid({
title:"详情", title:"详情",
columns:[new $.common.formatterCol($righColumnsZp)], columns:[new $.common.formatterCol($righColumnsZp)],
pagination:false pagination:false
}); });
HTTP.post("kmes/wosngz/getGphymx",{gpfkid:rowData.id},function (res) {
if(res.success){
$zpList.datagrid("loadData",res.data.records||[]) $zpList.datagrid("loadData",res.data.records||[])
} }
}
}) })
} }
/*检验反馈*/ /*检验反馈*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment