|
|
@ -139,7 +139,7 @@ |
|
|
|
:apiDelete="SupplierinvoiceRequestDetailApi.deleteSupplierinvoiceRequestDetail" |
|
|
|
:Echo="Echo" |
|
|
|
:detailButtonIsShowEdit="true" |
|
|
|
:detailButtonIsShowAddStatusArray="['1','3','6']" |
|
|
|
:detailButtonIsShowAddStatusArray="['1','6']" |
|
|
|
:detailButtonIsShowDelete="true" |
|
|
|
:detailButtonIsShowAdd="true" |
|
|
|
@buttonBaseClick="detailButtonBaseClick" |
|
|
@ -548,8 +548,14 @@ const handleImport = () => { |
|
|
|
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name |
|
|
|
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode)) |
|
|
|
clicKRowId.value = row.id |
|
|
|
detailAnnexTable.value[0].hiddenDelete = Number(row.status)>=3 |
|
|
|
detailAnnexTable.value[0].hiddenUpload = Number(row.status)>=3 |
|
|
|
if(row.status=='1'||row.status=='3'||row.status=='6'){ |
|
|
|
detailAnnexTable.value[0].hiddenDelete = false |
|
|
|
detailAnnexTable.value[0].hiddenDelete = false |
|
|
|
}else{ |
|
|
|
detailAnnexTable.value[0].hiddenDelete = true |
|
|
|
detailAnnexTable.value[0].hiddenUpload = true |
|
|
|
} |
|
|
|
|
|
|
|
detailRef.value.openDetail(row, titleName, titleValue) |
|
|
|
} |
|
|
|
|
|
|
|