| | |
| | | import { z } from '#/adapter/form'; |
| | | import { getSimpleBusinessList } from '#/api/crm/business'; |
| | | import { getSimpleContactList } from '#/api/crm/contact'; |
| | | import { getItemPage } from '#/api/mdm/item'; |
| | | import { getSimpleUserList } from '#/api/system/user'; |
| | | import { useUserStore } from '#/packages/stores/src'; |
| | | import CrmCustomerSelect from '#/components/crm-customer-select.vue'; |
| | |
| | | fieldName: 'no', |
| | | label: '报价单号', |
| | | component: 'Input', |
| | | rules: 'required', |
| | | help: '需全库唯一', |
| | | dependencies: { |
| | | triggerFields: ['id'], |
| | | disabled: (values) => !!values.id, |
| | | }, |
| | | componentProps: { |
| | | placeholder: '保存时自动生成', |
| | | disabled: true, |
| | | placeholder: '请输入报价单号', |
| | | maxLength: 32, |
| | | }, |
| | | }, |
| | | { |