| | |
| | | import { onMounted, ref } from 'vue'; |
| | | import { getRoleButtons } from '/@/api/sys/menu'; |
| | | import { isNullOrEmpty } from '/@/utils/is'; |
| | | import { useUserStore } from '/@/store/modules/user'; |
| | | |
| | | const go = useGo(); |
| | | const { currentRoute } = useRouter(); |
| | |
| | | const [registerTable, { reload }] = useTable({ |
| | | title: '物料列表', |
| | | api: getListByPage, |
| | | searchInfo: { TABLE_NAME: 'BAS_ITEM' }, |
| | | searchInfo: { |
| | | TABLE_NAME: 'BAS_ITEM', |
| | | option: { |
| | | //根据据点查询,必需带这个参数 |
| | | UserId: useUserStore().getUserInfo.userId, |
| | | ByOrg: true, |
| | | CurOrg: useUserStore().getUserInfo.orgCode, |
| | | }, |
| | | }, |
| | | columns, |
| | | formConfig: { |
| | | labelWidth: 120, |