|
|
@ -386,12 +386,12 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea |
|
|
|
link: true, // 文本展现按钮 |
|
|
|
hasPermi: 'wms:supplierinvoice-request-main:financeRej' |
|
|
|
}, |
|
|
|
defaultButtons.mainListEditBtn({ hasPermi: 'wms:supplierinvoice-request-main:update' , hide: isShowMainButton(row, ['1','8','6'])}), // 编辑 |
|
|
|
defaultButtons.mainListPurchasePlanCloBtn({ hasPermi: 'wms:supplierinvoice-request-main:close' ,hide: isShowMainButton(row, ['1','8','6']) }), // 关闭 |
|
|
|
defaultButtons.mainListEditBtn({ hasPermi: 'wms:supplierinvoice-request-main:update' , hide: isShowMainButton(row, ['1','3','6'])}), // 编辑 |
|
|
|
defaultButtons.mainListPurchasePlanCloBtn({ hasPermi: 'wms:supplierinvoice-request-main:close' ,hide: isShowMainButton(row, ['1','3','6']) }), // 关闭 |
|
|
|
{ |
|
|
|
label: t('ts.作废'), |
|
|
|
name: 'repeal', |
|
|
|
hide: isShowMainButton(row, ['1','8','6']), |
|
|
|
hide: isShowMainButton(row, ['1','3','6']), |
|
|
|
type: 'danger', |
|
|
|
color: '', |
|
|
|
link: true, // 文本展现按钮 |
|
|
@ -499,7 +499,7 @@ const handleImport = () => { |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
if(row && row.status == '8'){ |
|
|
|
if(row && (row.status == '3' || row.status == '7')){ |
|
|
|
SupplierinvoiceRequestMainRules.invoiceTime[0].required = true |
|
|
|
SupplierinvoiceRequestMainRules.goldenTaxInvoiceNumber[0].required = true |
|
|
|
}else{ |
|
|
@ -566,7 +566,7 @@ const handleImport = () => { |
|
|
|
detailAnnexTable.value[0].hiddenUpload = true |
|
|
|
} |
|
|
|
// 发票附件 |
|
|
|
if(row.status=='7'){ |
|
|
|
if(row.status=='3' || row.status=='7'){ |
|
|
|
detailAnnexTable.value[1].hiddenDelete = false |
|
|
|
detailAnnexTable.value[1].hiddenUpload = false |
|
|
|
}else{ |
|
|
|