| | |
| | | CommonStatusEnum, |
| | | DICT_TYPE, |
| | | MesAutoCodeRuleCode, |
| | | } from '../../../../packages/constants/src'; |
| | | import { getDictOptions } from '../../../../packages/effects/hooks/src'; |
| | | } from '@vben/constants'; |
| | | import { getDictOptions } from '@vben/hooks'; |
| | | |
| | | import { Button } from 'ant-design-vue'; |
| | | |
| | |
| | | rules: z.number().default(CommonStatusEnum.ENABLE), |
| | | }, |
| | | { |
| | | fieldName: 'waitDuration', |
| | | label: '等待时长(小时)', |
| | | component: 'InputNumber', |
| | | formItemClass: 'col-span-2', |
| | | componentProps: { |
| | | class: '!w-full', |
| | | min: 0, |
| | | precision: 2, |
| | | placeholder: '留空或 0 表示无需倒计时', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'needReportQuantity', |
| | | label: '需填写报工数量', |
| | | component: 'Switch', |
| | | formItemClass: 'col-span-1', |
| | | defaultValue: true, |
| | | componentProps: { |
| | | checkedChildren: '是', |
| | | unCheckedChildren: '否', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'attention', |
| | | label: '工序说明', |
| | | component: 'Textarea', |