| | |
| | | CommonStatusEnum, |
| | | DICT_TYPE, |
| | | MesProWorkOrderStatusEnum, |
| | | } from '../../../packages/constants/src'; |
| | | import { getDictOptions } from '../../../packages/effects/hooks/src'; |
| | | import { formatDateTime } from '../../../packages/utils/src'; |
| | | } from '@vben/constants'; |
| | | import { getDictOptions } from '@vben/hooks'; |
| | | import { formatDateTime } from '@vben/utils'; |
| | | |
| | | import { z } from '#/adapter/form'; |
| | | import { generateBarcodeContent } from '#/api/mes/wm/barcode'; |
| | | import { DictTag } from '#/components/dict-tag'; |
| | | import { DvMachinerySelect } from '#/views/mes/dv/machinery/components'; |
| | | import { MdClientSelect } from '#/views/mes/md/client/components'; |
| | | import { MdItemSelect } from '#/views/mes/md/item/components'; |
| | | import { MdmItemSelect } from '#/views/basicData/mdm/components'; |
| | | import { MdVendorSelect } from '#/views/mes/md/vendor/components'; |
| | | import { |
| | | MdWorkshopSelect, |
| | |
| | | import { UserSelect } from '#/views/system/user/components'; |
| | | |
| | | import { WmMaterialStockSelect } from '../materialstock/components'; |
| | | import { WmPackageSelect } from '../packages/components'; |
| | | import { WmPackageSelect } from '#/views/wls/packages/components'; |
| | | import { |
| | | WmWarehouseAreaSelect, |
| | | WmWarehouseLocationSelect, |
| | |
| | | { |
| | | fieldName: 'bizId', |
| | | label: '产品物料', |
| | | component: markRaw(MdItemSelect), |
| | | component: markRaw(MdmItemSelect), |
| | | componentProps: { |
| | | onChange: (item: any) => syncBizDetail(formApi, item), |
| | | }, |
| | |
| | | /** 配置列表的字段 */ |
| | | export function useConfigGridColumns( |
| | | onAutoGenerateChange: ( |
| | | newVal: number | boolean, |
| | | row: MesWmBarcodeConfigApi.BarcodeConfig, |
| | | ) => Promise<boolean>, |
| | | ): VxeTableGridOptions<MesWmBarcodeConfigApi.BarcodeConfig>['columns'] { |