Browse Source

WMS ——> bug WMS 采购收货申请去掉查看质检报告按钮

hella_online_20240829
gaojs 3 months ago
parent
commit
2dbe490c14
  1. 11
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

11
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRequestMain/index.vue

@ -334,6 +334,15 @@ const isShowMainButton = (row,val) => {
}
}
//
const isShowSourceTypeButton = (row) => {
if (row.sourceType == 'EDI' || row.sourceType == 'ASN_ExternalReceipt') {
return true
} else {
return false
}
}
//
const isASNShowMainButton = (row,val) => {
if (val.indexOf(row.status) > -1) {
@ -370,7 +379,7 @@ const butttondata = (row,$index) => {
defaultButtons.mainListPointBtn({ hide: isASNShowMainButton(row, ['3','6','8']) }), //
defaultButtons.mainListHandleBtn({hide:isShowMainButton(row,['3']),hasPermi:'wms:purchasereceipt-request-main:handle'}), //
defaultButtons.mainListCloseBtn({hide:isShowMainButton(row,['1','2','3','4','6']),hasPermi:'wms:purchasereceipt-request-main:close'}), //
defaultButtons.mainListPlanCheckQualityReportBtn({}), //
defaultButtons.mainListPlanCheckQualityReportBtn({hide:isShowSourceTypeButton(row)}), //
]
}

Loading…
Cancel
Save