Browse Source

数电发票附件调整

sangwenwei 6 months ago
parent
commit
a3c03177d6
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/common/DigitalInvoiceUploadComponent.vue

+ 5 - 1
src/views/common/DigitalInvoiceUploadComponent.vue

@@ -244,8 +244,12 @@
         }
 
 		  if (this.commonJS.isEmpty(toCompany)) {
-			  this.dividerName = '江苏兴光项目管理有限公司'
+			  this.toCompany = '江苏兴光会计师事务所有限责任公司'
 		  } else {
+		  	//对公司名中的括号进行转化,便于与附件中的公司名进行比较
+			  toCompany = toCompany
+				  .replace(/(/g, '(')
+				  .replace(/)/g, ')');
 			  this.toCompany = toCompany
 		  }
         if (directory !== undefined && directory !== null && directory !== '' && directory !== {}) {