Browse Source

状态

master_hella_20240701
wangyufei 5 months ago
parent
commit
36de2e9333
  1. 12
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

12
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -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)
}

Loading…
Cancel
Save