Browse Source

BUG修复

1、采购角色不显示操作按钮BUG
master_hella_20240701
bjang03 5 months ago
parent
commit
e237727273
  1. 10
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

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

@ -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{

Loading…
Cancel
Save