functionaddIssueFileRow(){$("button[name='addIssueFile']").on('click',function(){var i;//行记录计数器var counter = localStorage.getItem("productInformation_counter");if(!counter){
i =$("input[name^='productInformation']").length;
localStorage.setItem("productInformation_counter", i);}else{
i =parseInt(counter);}var reg =newRegExp("xuHao","g");var reg2 =newRegExp("IBB003","g");var reg3 =newRegExp("IBB004","g");var reg4 =newRegExp("IBB041","g");var reg5 =newRegExp("IBB006","g");var reg6 =newRegExp("notice","g");var reg7 =newRegExp("volume","g");var reg8 =newRegExp("yjscDate","g");var reg9 =newRegExp("yyjhDate","g");var reg10 =newRegExp("productInformation","g");var reg11 =newRegExp("selectProcessStage","g");var code ="<tr id=\"productInformation\">"+"<td>"+"<input id = \"xuHao\" name = \"xuHao\" type=\"text\" class=\"input-small\"/>"+"</td>"+"<td>"+"<input id = \"IBB003\" name = \"IBB003\" type=\"text\" class = \"input-small\"/>"+"</td>"+"<td>"+"<input id = \"IBB004\" name = \"IBB004\" type=\"text\" class=\"input-small\"/>"+"</td>"+"<td>"+"<input id = \"IBB041\" name = \"IBB041\" type=\"text\" class = \"input-small\"/>"+"</td>"+"<td>"+"<select id=\"selectProcessStage\" class=\"select-medium required\">"+"<c:forEach items="${fns:getDictList('process_stage')}" var = "processStage">"+"<option value=\"${processStage.value}\">${processStage.label}</option>"+"</c:forEach>"+"</select>"+"</td>"+"<td>"+"<input id = \"IBB006\" name = \"IBB006\" type=\"text\" class = \"input-small\"/>"+"</td>"+"<td>"+"<input id = \"notice\" name = \"notice\" type=\"text\" class = \"input-small\"/>"+"</td>"+"<td>"+"<input id = \"volume\" name = \"volume\" type=\"text\" class = \"input-small\"/>"+"</td>"+"<td>"+"<input id=\"yjscDate\" name=\"yjscDate\" type=\"text\" class=\"input-medium Wdate required\" value=\"${fns:getDate('yyyy-MM-dd')}\" οnclick=\"WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});\"/>"+"</td>"+"<td>"+"<input id=\"yyjhDate\" name=\"yyjhDate\" type=\"text\" class=\"input-medium Wdate required\" value=\"${fns:getDate('yyyy-MM-dd')}\" οnclick=\"WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});\"/>"+"</td>"+"</tr>";var code = code.replace(reg,"xuHao"+ i ).replace(reg2,"IBB003"+ i ).replace(reg3,"IBB004"+ i ).replace(reg4,"IBB041"+ i ).replace(reg5,"IBB006"+ i ).replace(reg6,"notice"+ i ).replace(reg7,"volume"+ i ).replace(reg8,"yjscDate"+ i ).replace(reg9,"yyjhDate"+ i ).replace(reg10,"productInformation"+ i ).replace(reg11,"selectProcessStage"+ i );$(this).prev().append(code);
localStorage.setItem("productInformation_counter",++i);})}