Browse Source

SCP去掉补打收货检验指引单按钮

hella_online_20240823
zhaoyiran 3 months ago
parent
commit
3b517fd9d5
  1. 4
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue

4
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptRecordMain/index.vue

@ -183,14 +183,14 @@ const isShowSourceTypeButton = (row) => {
const butttondata = (row,$index) => {
const findIndex = row['masterId']?tableObject.tableList.findIndex(item=>item['masterId'] == row['masterId']):-1
if(findIndex>-1&&findIndex<$index){
return [defaultButtons.mainListPrintInspectionBtn(null)]
return [defaultButtons.mainListPrintInspectionBtn({hide:routeName.value.includes('SCP')})]
}
return [
defaultButtons.mainInspectRequestBtn({hasPermi:'wms:purchasereceipt-record-main:createInspectRequest',hide:row.inspectRequestFlag == "FALSE" }),//
defaultButtons.mainPutawayRequestBtn({hasPermi:'wms:purchasereceipt-record-main:createPutawayRequest',hide:row.putawayRequestFlag == "FALSE" }),//
//defaultButtons.mainListPlanCheckQualityReportBtn({hide:row.orderTypeM == "2"}), //
defaultButtons.mainListPlanCheckQualityReportBtn({hide:isShowSourceTypeButton(row)}), //
defaultButtons.mainListPrintInspectionBtn(null),
defaultButtons.mainListPrintInspectionBtn({hide:routeName.value.includes('SCP')})
]
}

Loading…
Cancel
Save