diff --git a/src/types/components.d.ts b/src/types/components.d.ts index a8d76d1..e69de29 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -1,146 +0,0 @@ -/* eslint-disable */ -/* prettier-ignore */ -// @ts-nocheck -// Generated by unplugin-vue-components -// Read more: https://github.com/vuejs/core/pull/3399 -export {} - -declare module 'vue' { - export interface GlobalComponents { - AAlert: typeof import('@arco-design/web-vue')['Alert'] - AAvatar: typeof import('@arco-design/web-vue')['Avatar'] - ABadge: typeof import('@arco-design/web-vue')['Badge'] - ABreadcrumb: typeof import('@arco-design/web-vue')['Breadcrumb'] - ABreadcrumbItem: typeof import('@arco-design/web-vue')['BreadcrumbItem'] - AButton: typeof import('@arco-design/web-vue')['Button'] - AButtonGroup: typeof import('@arco-design/web-vue')['ButtonGroup'] - ACard: typeof import('@arco-design/web-vue')['Card'] - ACardMeta: typeof import('@arco-design/web-vue')['CardMeta'] - ACarousel: typeof import('@arco-design/web-vue')['Carousel'] - ACarouselItem: typeof import('@arco-design/web-vue')['CarouselItem'] - ACheckbox: typeof import('@arco-design/web-vue')['Checkbox'] - ACheckboxGroup: typeof import('@arco-design/web-vue')['CheckboxGroup'] - ACol: typeof import('@arco-design/web-vue')['Col'] - AColorPicker: typeof import('@arco-design/web-vue')['ColorPicker'] - AConfigProvider: typeof import('@arco-design/web-vue')['ConfigProvider'] - ADatePicker: typeof import('@arco-design/web-vue')['DatePicker'] - ADescriptions: typeof import('@arco-design/web-vue')['Descriptions'] - ADescriptionsItem: typeof import('@arco-design/web-vue')['DescriptionsItem'] - ADivider: typeof import('@arco-design/web-vue')['Divider'] - ADoption: typeof import('@arco-design/web-vue')['Doption'] - ADrawer: typeof import('@arco-design/web-vue')['Drawer'] - ADropdown: typeof import('@arco-design/web-vue')['Dropdown'] - AEmpty: typeof import('@arco-design/web-vue')['Empty'] - AForm: typeof import('@arco-design/web-vue')['Form'] - AFormItem: typeof import('@arco-design/web-vue')['FormItem'] - AGrid: typeof import('@arco-design/web-vue')['Grid'] - AGridItem: typeof import('@arco-design/web-vue')['GridItem'] - AIcon: typeof import('@arco-design/web-vue')['Icon'] - AImage: typeof import('@arco-design/web-vue')['Image'] - AInput: typeof import('@arco-design/web-vue')['Input'] - AInputGroup: typeof import('@arco-design/web-vue')['InputGroup'] - AInputNumber: typeof import('@arco-design/web-vue')['InputNumber'] - AInputPassword: typeof import('@arco-design/web-vue')['InputPassword'] - AInputSearch: typeof import('@arco-design/web-vue')['InputSearch'] - ALayout: typeof import('@arco-design/web-vue')['Layout'] - ALayoutContent: typeof import('@arco-design/web-vue')['LayoutContent'] - ALayoutHeader: typeof import('@arco-design/web-vue')['LayoutHeader'] - ALayoutSider: typeof import('@arco-design/web-vue')['LayoutSider'] - ALink: typeof import('@arco-design/web-vue')['Link'] - AMenu: typeof import('@arco-design/web-vue')['Menu'] - AMenuItem: typeof import('@arco-design/web-vue')['MenuItem'] - AModal: typeof import('@arco-design/web-vue')['Modal'] - AOption: typeof import('@arco-design/web-vue')['Option'] - AOverflowList: typeof import('@arco-design/web-vue')['OverflowList'] - APagination: typeof import('@arco-design/web-vue')['Pagination'] - APopconfirm: typeof import('@arco-design/web-vue')['Popconfirm'] - APopover: typeof import('@arco-design/web-vue')['Popover'] - AProgress: typeof import('@arco-design/web-vue')['Progress'] - ARadio: typeof import('@arco-design/web-vue')['Radio'] - ARadioGroup: typeof import('@arco-design/web-vue')['RadioGroup'] - ARangePicker: typeof import('@arco-design/web-vue')['RangePicker'] - ARow: typeof import('@arco-design/web-vue')['Row'] - AScrollbar: typeof import('@arco-design/web-vue')['Scrollbar'] - ASelect: typeof import('@arco-design/web-vue')['Select'] - ASkeleton: typeof import('@arco-design/web-vue')['Skeleton'] - ASkeletonLine: typeof import('@arco-design/web-vue')['SkeletonLine'] - ASpace: typeof import('@arco-design/web-vue')['Space'] - ASpin: typeof import('@arco-design/web-vue')['Spin'] - AStatistic: typeof import('@arco-design/web-vue')['Statistic'] - ASubMenu: typeof import('@arco-design/web-vue')['SubMenu'] - ASwitch: typeof import('@arco-design/web-vue')['Switch'] - ATable: typeof import('@arco-design/web-vue')['Table'] - ATableColumn: typeof import('@arco-design/web-vue')['TableColumn'] - ATabPane: typeof import('@arco-design/web-vue')['TabPane'] - ATabs: typeof import('@arco-design/web-vue')['Tabs'] - ATag: typeof import('@arco-design/web-vue')['Tag'] - ATextarea: typeof import('@arco-design/web-vue')['Textarea'] - ATooltip: typeof import('@arco-design/web-vue')['Tooltip'] - ATree: typeof import('@arco-design/web-vue')['Tree'] - ATreeSelect: typeof import('@arco-design/web-vue')['TreeSelect'] - ATrigger: typeof import('@arco-design/web-vue')['Trigger'] - ATypographyParagraph: typeof import('@arco-design/web-vue')['TypographyParagraph'] - ATypographyText: typeof import('@arco-design/web-vue')['TypographyText'] - ATypographyTitle: typeof import('@arco-design/web-vue')['TypographyTitle'] - AUpload: typeof import('@arco-design/web-vue')['Upload'] - Avatar: typeof import('./../components/Avatar/index.vue')['default'] - AWatermark: typeof import('@arco-design/web-vue')['Watermark'] - Breadcrumb: typeof import('./../components/Breadcrumb/index.vue')['default'] - CellCopy: typeof import('./../components/CellCopy/index.vue')['default'] - Chart: typeof import('./../components/Chart/index.vue')['default'] - CronForm: typeof import('./../components/GenCron/CronForm/index.vue')['default'] - CronModal: typeof import('./../components/GenCron/CronModal/index.vue')['default'] - DateRangePicker: typeof import('./../components/DateRangePicker/index.vue')['default'] - DayForm: typeof import('./../components/GenCron/CronForm/component/day-form.vue')['default'] - FilePreview: typeof import('./../components/FilePreview/index.vue')['default'] - GiCellAvatar: typeof import('./../components/GiCell/GiCellAvatar.vue')['default'] - GiCellGender: typeof import('./../components/GiCell/GiCellGender.vue')['default'] - GiCellStatus: typeof import('./../components/GiCell/GiCellStatus.vue')['default'] - GiCellTag: typeof import('./../components/GiCell/GiCellTag.vue')['default'] - GiCellTags: typeof import('./../components/GiCell/GiCellTags.vue')['default'] - GiCodeView: typeof import('./../components/GiCodeView/index.vue')['default'] - GiDot: typeof import('./../components/GiDot/index.tsx')['default'] - GiEditTable: typeof import('./../components/GiEditTable/GiEditTable.vue')['default'] - GiFlexibleBox: typeof import('./../components/GiFlexibleBox/index.vue')['default'] - GiFooter: typeof import('./../components/GiFooter/index.vue')['default'] - GiForm: typeof import('./../components/GiForm/src/GiForm.vue')['default'] - GiIconSelector: typeof import('./../components/GiIconSelector/index.vue')['default'] - GiIframe: typeof import('./../components/GiIframe/index.vue')['default'] - GiLeftRightPane: typeof import('./../components/GiLeftRightPane/index.vue')['default'] - GiOption: typeof import('./../components/GiOption/index.vue')['default'] - GiOptionItem: typeof import('./../components/GiOptionItem/index.vue')['default'] - GiOverFlowTags: typeof import('./../components/GiOverFlowTags/index.vue')['default'] - GiSpace: typeof import('./../components/GiSpace/index.vue')['default'] - GiSplitButton: typeof import('./../components/GiSplitButton/index.vue')['default'] - GiSplitPane: typeof import('./../components/GiSplitPane/index.vue')['default'] - GiSplitPaneFlexibleBox: typeof import('./../components/GiSplitPane/components/GiSplitPaneFlexibleBox.vue')['default'] - GiSvgIcon: typeof import('./../components/GiSvgIcon/index.vue')['default'] - GiTable: typeof import('./../components/GiTable/index.vue')['default'] - GiTag: typeof import('./../components/GiTag/index.tsx')['default'] - GiThemeBtn: typeof import('./../components/GiThemeBtn/index.vue')['default'] - HourForm: typeof import('./../components/GenCron/CronForm/component/hour-form.vue')['default'] - Icon403: typeof import('./../components/icons/Icon403.vue')['default'] - Icon404: typeof import('./../components/icons/Icon404.vue')['default'] - Icon500: typeof import('./../components/icons/Icon500.vue')['default'] - IconBorders: typeof import('./../components/icons/IconBorders.vue')['default'] - IconTableSize: typeof import('./../components/icons/IconTableSize.vue')['default'] - IconTreeAdd: typeof import('./../components/icons/IconTreeAdd.vue')['default'] - IconTreeReduce: typeof import('./../components/icons/IconTreeReduce.vue')['default'] - JsonPretty: typeof import('./../components/JsonPretty/index.vue')['default'] - MinuteForm: typeof import('./../components/GenCron/CronForm/component/minute-form.vue')['default'] - MonthForm: typeof import('./../components/GenCron/CronForm/component/month-form.vue')['default'] - ParentView: typeof import('./../components/ParentView/index.vue')['default'] - RouterLink: typeof import('vue-router')['RouterLink'] - RouterView: typeof import('vue-router')['RouterView'] - SecondForm: typeof import('./../components/GenCron/CronForm/component/second-form.vue')['default'] - SplitPanel: typeof import('./../components/SplitPanel/index.vue')['default'] - TextCopy: typeof import('./../components/TextCopy/index.vue')['default'] - ToggleDark: typeof import('./../components/ToggleDark/index.vue')['default'] - UserSelect: typeof import('./../components/UserSelect/index.vue')['default'] - Verify: typeof import('./../components/Verify/index.vue')['default'] - VerifyPoints: typeof import('./../components/Verify/Verify/VerifyPoints.vue')['default'] - VerifySlide: typeof import('./../components/Verify/Verify/VerifySlide.vue')['default'] - WeekForm: typeof import('./../components/GenCron/CronForm/component/week-form.vue')['default'] - YearForm: typeof import('./../components/GenCron/CronForm/component/year-form.vue')['default'] - } -} diff --git a/src/views/material/MaterialInfoAddModal.vue b/src/views/material/MaterialInfoAddModal.vue index 01eff50..849068a 100644 --- a/src/views/material/MaterialInfoAddModal.vue +++ b/src/views/material/MaterialInfoAddModal.vue @@ -126,7 +126,6 @@ const columns: ColumnItem[] = reactive([ type: 'image', savePath: 'material/', span: 24, - required: true, }, ]) diff --git a/src/views/weightManage/index.vue b/src/views/weightManage/index.vue index a1d2489..ca007f7 100644 --- a/src/views/weightManage/index.vue +++ b/src/views/weightManage/index.vue @@ -803,7 +803,7 @@ const handleNext = async () => { workOrderResp.value.totalCount = res.data?.totalCount || '' workOrderResp.value.materialName = formData.materialName || '' workOrderResp.value.encoding = formData.encoding || '' - + // 格式化生产日期为 yyyyMMddHHmm 格式 const now = new Date() const formattedDate = now.getFullYear().toString() + @@ -871,10 +871,10 @@ const handleNext = async () => { } // 调用后端接口获取比对结果 // todo - // const res = await vmSend(materialCode); - const res = { - data: 'success', - }; + const res = await vmSend(materialCode); + // const res = { + // data: 'success', + // }; if (res.data) { compareMatchResult.value = res.data if (res.data === 'success') {