|
|
|
@ -133,14 +133,14 @@ |
|
|
|
brandItem = ""; |
|
|
|
} |
|
|
|
lis.push('<li style="width:100%;margin-top: 10px;float:left;border: 1px solid #9999996e;"><div class="layui-card my-shadow my-card flow1" onclick="showDetail(' |
|
|
|
+ result[i].id + ')"><div class="layui-card-header"><h2>' + result[i].applicantName + "的入库申请" + '</h2></div>'); |
|
|
|
lis.push('<div class="layui-col-md4 my-info" style="margin-left: 15px; color: #999;font-size: 15px;">' |
|
|
|
+ '<p style="font-size: large">' + "物料名称:"+ result[i].mname + '</p>' |
|
|
|
+ result[i].id + ')"><div class="layui-card-header"><h3 style="font-weight: bold">' + result[i].applicantName + "的入库申请" + '</h3></div>'); |
|
|
|
lis.push('<div class="layui-col-md4 my-info" style="margin-left: 15px; color: #666;font-size: 15px;">' |
|
|
|
+ '<p >' + "物料名称:"+ result[i].mname + '</p>' |
|
|
|
+ '<p>' + "物料型号:"+result[i].mversion + '</p>' |
|
|
|
+ brandItem |
|
|
|
+ '<p>' + "入库数量:"+result[i].quantity + " : " + result[i].airUnit + '</p>' |
|
|
|
+ '<p>' + "入库位置:"+result[i].depositoryName+"-"+result[i].pkingdeecode + '</p>' |
|
|
|
+ '<p style="text-align: right">' + "申请时间:"+ result[i].applicantTime + '</p>' |
|
|
|
+ '<p>' + "申请时间:"+ result[i].applicantTime + '</p>' |
|
|
|
+ '</div></div></li>'); |
|
|
|
} |
|
|
|
lis.push('</div>'); |
|
|
|
@ -234,15 +234,20 @@ |
|
|
|
result = res.data; |
|
|
|
lis.push("<div class='clearfix'>"); |
|
|
|
for (let i = 0; i < result.length; i++) { |
|
|
|
|
|
|
|
let brandItem ='<p>' + "物料品牌:"+result[i].mbrand + '</p>'; |
|
|
|
if(result[i].mbrand === ""){ |
|
|
|
brandItem = ""; |
|
|
|
} |
|
|
|
lis.push('<li style="width:100%;margin-top: 10px;float:left;border: 1px solid #9999996e;"><div class="layui-card my-shadow my-card flow1" onclick="showDetail(' |
|
|
|
+ result[i].id + ')"><div class="layui-card-header"><h2>' + result[i].applicantName + "的入库申请" + '</h2></div>'); |
|
|
|
lis.push('<div class="layui-col-md4 my-info" style="margin-left: 15px; color: #999;font-size: 15px;">' |
|
|
|
+ '<p style="font-size: large">' + result[i].mname + '</p>' |
|
|
|
+ '<p>' + result[i].mversion + '</p>' |
|
|
|
+ '<p>' + result[i].mbrand + '</p>' |
|
|
|
+ '<p>' + result[i].quantity + " : " + result[i].airUnit + '</p>' |
|
|
|
+ '<p>' + result[i].depositoryName + '</p>' |
|
|
|
+ '<p style="text-align: right">' + result[i].applicantTime + '</p>' |
|
|
|
+ result[i].id + ')"><div class="layui-card-header"><h3 style="font-weight: bold">' + result[i].applicantName + "的入库申请" + '</h3></div>'); |
|
|
|
lis.push('<div class="layui-col-md4 my-info" style="margin-left: 15px; color: #666;font-size: 15px;">' |
|
|
|
+ '<p >' + "物料名称:"+ result[i].mname + '</p>' |
|
|
|
+ '<p>' + "物料型号:"+result[i].mversion + '</p>' |
|
|
|
+ brandItem |
|
|
|
+ '<p>' + "入库数量:"+result[i].quantity + " : " + result[i].airUnit + '</p>' |
|
|
|
+ '<p>' + "入库位置:"+result[i].depositoryName+"-"+result[i].pkingdeecode + '</p>' |
|
|
|
+ '<p>' + "申请时间:"+ result[i].applicantTime + '</p>' |
|
|
|
+ '</div></div></li>'); |
|
|
|
} |
|
|
|
lis.push('</div>'); |
|
|
|
|