Browse Source

缺陷:HL-5405 应商物料关系没有修改入口,导致无法控制是否允许超发

hella_online_20240819
songguoqiang 4 months ago
parent
commit
7ed7a0901a
  1. 12
      src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue

12
src/views/wms/basicDataManage/supplierManage/supplieritem/index.vue

@ -77,14 +77,14 @@ const route = useRoute() //路由信息
const routeName = ref() const routeName = ref()
routeName.value = route.name routeName.value = route.name
const tableColumns = ref(Supplieritem.allSchemas.tableColumns) const tableColumns = ref(Supplieritem.allSchemas.tableColumns)
if(routeName.value.includes('SCP')){ // if(routeName.value.includes('SCP')){
tableColumns.value = tableColumns.value.filter(item=>item.field!='action') // tableColumns.value = tableColumns.value.filter(item=>item.field!='action')
} // }
// //
const updataTableColumns = (val) => { const updataTableColumns = (val) => {
if(routeName.value.includes('SCP')){ // if(routeName.value.includes('SCP')){
val = val.filter(item=>item.field!='action') // val = val.filter(item=>item.field!='action')
} // }
tableColumns.value = val tableColumns.value = val
} }
const { tableObject, tableMethods } = useTable({ const { tableObject, tableMethods } = useTable({

Loading…
Cancel
Save