|
|
@@ -860,9 +860,13 @@
|
|
|
let unit = this.allUnits.find(
|
|
|
(item) => item.unitId === this.document.enterpriseId
|
|
|
)
|
|
|
- let documenName = this.getDocumentType({
|
|
|
- documentId: this.document.documentId,
|
|
|
- })
|
|
|
+ this.costDocumentTemplateFiles = this.costDocumentTemplateFiles.filter(
|
|
|
+ (row) => row.pinyin !== 'ChengBenXiangMu' && row.pinyin !== 'XingCi'
|
|
|
+ )
|
|
|
+ let document = this.documentData.documentTypes.find(
|
|
|
+ (item) => item.id == row.documentId
|
|
|
+ )
|
|
|
+ let documenName = document.documentTypeName || documentName || ''
|
|
|
this.costDocumentTemplateFiles.forEach((item) => {
|
|
|
if (item.pinyin.includes('BeiJianShenDanWei')) {
|
|
|
item.dataValue = unit.unitName
|