Преглед на файлове

机动车发票无法上传问题调整

huangguoce преди 1 седмица
родител
ревизия
ee92363993
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  1. 6 0
      src/main/webapp/webpage/modules/workreimbursement/new/workReimbursementNewFormAdd.jsp

+ 6 - 0
src/main/webapp/webpage/modules/workreimbursement/new/workReimbursementNewFormAdd.jsp

@@ -629,6 +629,12 @@
 
         // 更新发票行数据
         function updateInvoiceRow(index, data) {
+            console.log(data)
+            let labelCode = data.InherentLabelGeneralOrSpecialVATLabelCode
+            // 处理机动车销售统一发票
+            if (labelCode == '03') {
+                data.IssuItemInformationItemName = data.SpecificInformationMotorVehicleSalesVehicleModel
+            }
             $("#reimbursementElectronicInvoiceVATTaxes tr").eq(index).find("td").eq(0).find("input").eq(2).val(data.InherentLabelGeneralOrSpecialVATLabelCode);
             $("#reimbursementElectronicInvoiceVATTaxes tr").eq(index).find("td").eq(1).find("input").eq(0).val(data.InherentLabelGeneralOrSpecialVATLabelName);
             $("#reimbursementElectronicInvoiceVATTaxes tr").eq(index).find("td").eq(2).find("input").eq(0).val(data.IssuItemInformationItemName);