Jelajahi Sumber

盖章信息修改

wangqiang 2 tahun lalu
induk
melakukan
20b920c129

+ 13 - 11
src/main/webapp/webpage/modules/sealApplyFor/sealApplyForForm2.jsp

@@ -78,14 +78,16 @@
                     // var val2 = $("#sealMaterialInfoList").find("tr").eq(0).find("input").eq(3).val();
                     // console.log('val2', val2)
                     var arr = [];
-                    for (var j=0;j<size2;j++){
-                        var val = $("#sealMaterialInfoList").find("tr").eq(j).find("input").eq(3).val();
+                    for (var j=0;j<size;j++){
+                        // var val = $("#sealMaterialInfoList").find("tr").eq(j).find("input").eq(3).val();
+                        var val = $("#sealMaterialInfoList").find("tr").eq(j).find("input").eq(6).val();
                         arr.push(val);
                     }
                     console.log('arr', arr)
-                    for (var i = 0; i < size; i++) {
+                    for (var i = 0; i < size2; i++) {
                         // var delFlag = $("#workInvoiceProjectRelationList").val()
-                        var val = $("#workInvoiceProjectRelationList").find("tr").eq(i).find("input").eq(6).val();
+                        // var val = $("#workInvoiceProjectRelationList").find("tr").eq(i).find("input").eq(6).val();
+                        var val = $("#workInvoiceProjectRelationList").find("tr").eq(i).find("input").eq(3).val();
                         console.log('val', val)
                         if (arr.includes(val)){
 
@@ -481,13 +483,13 @@
                         <table id="contentTables" class="table table-bordered table-condensed can-edit no-bottom-margin details">
                             <thead>
                             <tr>
-                                <th width="20%"><font color="red" >*</font>报告号</th>
-                                <th width="10%"><font color="red" >*</font>盖章材料名称</th>
-                                <th width="10%"><font color="red">*</font>份数</th>
-                                <th width="30%">主要内容简述</th>
-                                <th width="10%">经办人</th>
-                                <th width="10%">备注</th>
-                                <th width="10%">操作</th>
+                                <th width="250px"><font color="red" >*</font>报告号</th>
+                                <th width="250px"><font color="red" >*</font>盖章材料名称</th>
+                                <th width="80px"><font color="red">*</font>份数</th>
+                                <th width="350px">主要内容简述</th>
+                                <th width="80px">经办人</th>
+                                <th width="80px">备注</th>
+                                <th width="80px">操作</th>
                             </tr>
                             </thead>
                             <tbody id="sealMaterialInfoList">