Browse Source

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

master_hella_20240701
yufei0306 6 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() const routeName = ref()
routeName.value = route.name routeName.value = route.name
const tableColumns = ref([...PurchasereceiptJobMain.allSchemas.tableColumns,...PurchasereceiptJobDetail.allSchemas.tableMainColumns]) 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) => { const updataTableColumns = (val) => {
if(routeName.value.includes('SCP')){
val = val.filter(item=>item.label!='操作')
}
tableColumns.value = val tableColumns.value = val
} }

Loading…
Cancel
Save