Commit 202c5097 by wancheng

生产下料,下料附件清单优化

parent 2bd632c8
......@@ -121,7 +121,7 @@ $(function () {
}*/
if (filePath1) {
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+ 'onclick="showUploadFile(' + filePath1 + ',\'XL\')" >下料附件清单</a>';
+ 'onclick="showUploadFile(' + item.id + ')" >下料附件清单</a>';
}
return template
}
......@@ -386,9 +386,9 @@ function reqDetails(projCode) {
height: "90%"
});
}
function showUploadFile(id,type) {
function showUploadFile(id) {
JSColorbox.open({
href: "HPSC002A?methodName=initLoad&inqu_status-0-bizType="+type+"&inqu_status-0-id=" + id,
href: "HPSC002A?methodName=initLoad&inqu_status-0-bizType=XL&inqu_status-0-id=" + id,
title: "<div style='text-align: center;'>附件清单</div>",
width: "80%",
height: "80%",
......
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