|
@@ -887,12 +887,11 @@
|
|
|
// 获取可见行的数量作为新行的序号(行号从1开始可+1)
|
|
|
const serialNumber = $visibleTrs.length;
|
|
|
|
|
|
- // 你的表头HTML(保持不变)
|
|
|
const dataHtml = "<tr class='listInfo header'>"+
|
|
|
"<td class='hide'>" +
|
|
|
"<input id='reimbursementElectronicInvoiceVATTaxes" + trLength +"_id' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength +"].id' type='hidden' value=''/>"+
|
|
|
"<input id='reimbursementElectronicInvoiceVATTaxes" + trLength +"_delFlag' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength +"].delFlag' type='hidden' value='0'/>"+
|
|
|
- "<input id='reimbursementElectronicInvoiceVATTaxes" + trLength +"_invoiceType' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength +"].invoiceType' type='hidden' value='" + data.InherentLabelGeneralOrSpecialVATLabelCode +"'/>"+
|
|
|
+ "<input id='reimbursementElectronicInvoiceVATTaxes" + trLength +"_invoiceType' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength +"].invoiceType' type='hidden' value='" + (data.InherentLabelGeneralOrSpecialVATLabelCode ? data.InherentLabelGeneralOrSpecialVATLabelCode : '') +"'/>"+
|
|
|
|
|
|
"<input id='reimbursementElectronicInvoiceVATTaxes" + trLength +"_url' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength +"].url' type='hidden' value=''/>"+
|
|
|
"<input id='reimbursementElectronicInvoiceVATTaxes" + trLength +"_fileName' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength +"].fileName' type='hidden' value=''/>"+
|
|
@@ -910,20 +909,20 @@
|
|
|
<%--序号--%>
|
|
|
"<td style='text-align: center;position: relative; width:50px'></td>" +
|
|
|
"<td style='text-align: center;position: relative; width:80px;'>" + trLength + "</td>" +
|
|
|
- "<td style='text-align: center; width:150px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceTypeStr' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceTypeStr' type='text' value='" + data.InherentLabelGeneralOrSpecialVATLabelName + "' class='form-control judgment'/></td>"+
|
|
|
- "<td style='text-align: center; width:250px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceProjectName' onmouseover='this.title=this.value' readOnly='true' maxlength='500' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceProjectName' type='text' value='" + data.IssuItemInformationItemName + "' class='form-control judgment'/></td>"+
|
|
|
+ "<td style='text-align: center; width:150px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceTypeStr' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceTypeStr' type='text' value='" + (data.InherentLabelGeneralOrSpecialVATLabelName ? data.InherentLabelGeneralOrSpecialVATLabelName : '') + "' class='form-control judgment'/></td>"+
|
|
|
+ "<td style='text-align: center; width:250px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceProjectName' onmouseover='this.title=this.value' readOnly='true' maxlength='500' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceProjectName' type='text' value='" + (data.IssuItemInformationItemName ? data.IssuItemInformationItemName : '') + "' class='form-control judgment'/></td>"+
|
|
|
<%--发票号--%>
|
|
|
- "<td style='text-align: center; width:200px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceNumber' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceNumber' type='text' value='" + data.InvoiceNumber + "' class='form-control judgment number'/></td>"+
|
|
|
+ "<td style='text-align: center; width:200px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceNumber' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceNumber' type='text' value='" + (data.InvoiceNumber ? data.InvoiceNumber : '') + "' class='form-control judgment number'/></td>"+
|
|
|
<%--金额--%>
|
|
|
- "<td style='text-align: center; width:100px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_money' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].money' type='text' value='" + data.BasicInformationTotalAmWithoutTax + "' class='form-control judgment number'/></td>"+
|
|
|
+ "<td style='text-align: center; width:100px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_money' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].money' type='text' value='" + (data.BasicInformationTotalAmWithoutTax ? data.BasicInformationTotalAmWithoutTax : '') + "' class='form-control judgment number'/></td>"+
|
|
|
<%--税额--%>
|
|
|
- "<td style='text-align: center; width:100px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_taxAmount' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].taxAmount' type='text' value='" + data.BasicInformationTotalTaxAm + "' class='form-control judgment number'/></td>"+
|
|
|
+ "<td style='text-align: center; width:100px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_taxAmount' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].taxAmount' type='text' value='" + (data.BasicInformationTotalTaxAm ? data.BasicInformationTotalTaxAm : '') + "' class='form-control judgment number'/></td>"+
|
|
|
<%--合计价税--%>
|
|
|
- "<td style='text-align: center; width:100px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_sumMoney' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].sumMoney' type='text' value='" + data.BasicInformationTotalTaxincludedAmount + "' class='form-control judgment number'/></td>"+
|
|
|
+ "<td style='text-align: center; width:100px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_sumMoney' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].sumMoney' type='text' value='" + (data.BasicInformationTotalTaxincludedAmount ? data.BasicInformationTotalTaxincludedAmount : '') + "' class='form-control judgment number'/></td>"+
|
|
|
<%--开票日期--%>
|
|
|
- "<td style='text-align: center; width:150px'><input readonly onmouseover='this.title=this.value' autocomplete='off' id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceDate' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceDate' type='text' value='" + data.IssueTime + "' class='form-control judgment'/></td>"+
|
|
|
+ "<td style='text-align: center; width:150px'><input readonly onmouseover='this.title=this.value' autocomplete='off' id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceDate' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceDate' type='text' value='" + (data.IssueTime ? data.IssueTime : '') + "' class='form-control judgment'/></td>"+
|
|
|
<%--开票单位--%>
|
|
|
- "<td style='text-align: center; width:350px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceUnit' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceUnit' type='text' value='" + data.SellerInformationSellerName + "' class='form-control judgment'/></td>"+
|
|
|
+ "<td style='text-align: center; width:350px'><input id='reimbursementElectronicInvoiceVATTaxes" + trLength + "_invoiceUnit' onmouseover='this.title=this.value' readOnly='true' maxlength='50' name='workAccountList[" + parentIndex + "].reimbursementElectronicInvoiceVATTaxes[" + trLength + "].invoiceUnit' type='text' value='" + (data.SellerInformationSellerName ? data.SellerInformationSellerName : '') + "' class='form-control judgment'/></td>"+
|
|
|
<%--文件预览--%>
|
|
|
"<td style='text-align: center; width:300px; max-width: 200px; text-align: center; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;'></td>"+
|
|
|
<%--上传人--%>
|