Browse Source

采购收货任务,SCP隐藏拒收按钮

master_hella_20240701
yufei0306 7 months ago
parent
commit
c820abbd12
  1. 7
      src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

7
src/views/wms/purchasereceiptManage/purchasereceipt/purchasereceiptJobMain/index.vue

@ -107,9 +107,14 @@ const route = useRoute() // 路由信息
const routeName = ref()
routeName.value = route.name
const tableColumns = ref([...PurchasereceiptJobMain.allSchemas.tableColumns,...PurchasereceiptJobDetail.allSchemas.tableMainColumns])
if(routeName.value.includes('SCP')){
tableColumns.value = tableColumns.value.filter(item=>item.label!='操作')
}
//
const updataTableColumns = (val) => {
if(routeName.value.includes('SCP')){
val = val.filter(item=>item.label!='操作')
}
tableColumns.value = val
}

Loading…
Cancel
Save