From 4cc74381fc21fc66f9270e685688691da752f122 Mon Sep 17 00:00:00 2001 From: zhaoxuebing <1291173720@qq.com> Date: Wed, 15 May 2024 15:48:49 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f4123a4e8..74eef9397 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## dev发布2024-05-15-003 +## dev发布2024-05-15-004 **xxxx.data.ts 文件配置说明** **form表单查询弹窗配置** form: { From fd4c1643fe8c754a0bbb8e68f1a282b211b099cf Mon Sep 17 00:00:00 2001 From: zhousq Date: Wed, 15 May 2024 16:47:55 +0800 Subject: [PATCH 2/5] =?UTF-8?q?2024-05-15=20=E4=BF=AE=E6=94=B9=20=E6=8E=92?= =?UTF-8?q?=E7=8F=AD=E6=97=A5=E5=8E=86-=E5=8D=95=E6=97=A5=E6=8E=92?= =?UTF-8?q?=E7=8F=AD=E5=8F=96=E6=B6=88=E6=8C=89=E9=92=AE=E4=B8=8D=E5=A5=BD?= =?UTF-8?q?=E7=94=A8bug=20=EF=BC=9B=E5=88=A0=E9=99=A4=E6=8E=92=E7=8F=AD?= =?UTF-8?q?=E6=97=A5=E5=8E=86=E6=97=A0=E6=95=88=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../holidayCalendar/holidayCalendar.data.ts | 179 ------------------ src/views/mes/holidayCalendar/index.vue | 75 -------- src/views/mes/jobcalendar/index.vue | 8 - src/views/mes/workcalendar/index.vue | 6 +- 4 files changed, 5 insertions(+), 263 deletions(-) delete mode 100644 src/views/mes/holidayCalendar/holidayCalendar.data.ts delete mode 100644 src/views/mes/holidayCalendar/index.vue delete mode 100644 src/views/mes/jobcalendar/index.vue diff --git a/src/views/mes/holidayCalendar/holidayCalendar.data.ts b/src/views/mes/holidayCalendar/holidayCalendar.data.ts deleted file mode 100644 index 6094de858..000000000 --- a/src/views/mes/holidayCalendar/holidayCalendar.data.ts +++ /dev/null @@ -1,179 +0,0 @@ -import type { CrudSchema } from '@/hooks/web/useCrudSchemas' -import { dateFormatter } from '@/utils/formatTime' - -// 表单校验 -export const HolidayCalendarRules = reactive({ - endTime: [required], - concurrencyStamp: [required], -}) - -export const HolidayCalendar = useCrudSchemas(reactive([ - { - label: 'ID', - field: 'id', - sort: 'custom', - isForm: false, - }, - { - label: '日期', - field: 'holidayDate', - sort: 'custom', - formatter: dateFormatter, - isSearch: true, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - valueFormat: 'x' - } - }, - }, - { - label: '结束时间', - field: 'endTime', - sort: 'custom', - formatter: dateFormatter, - isSearch: true, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - valueFormat: 'x' - } - }, - }, - { - label: '备用字段一', - field: 'textOne', - sort: 'custom', - isSearch: true, - }, - { - label: '备用字段二', - field: 'textTwo', - sort: 'custom', - isSearch: true, - }, - { - label: '备用字段三', - field: 'textThree', - sort: 'custom', - isSearch: true, - }, - { - label: '备用字段四', - field: 'textFour', - sort: 'custom', - isSearch: true, - }, - { - label: '备用字段五', - field: 'textFive', - sort: 'custom', - isSearch: true, - }, - { - label: '删除时间', - field: 'deleteTime', - sort: 'custom', - formatter: dateFormatter, - isSearch: true, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - form: { - component: 'DatePicker', - componentProps: { - type: 'datetime', - valueFormat: 'x' - } - }, - }, - { - label: '状态', - field: 'status', - sort: 'custom', - isSearch: true, - form: { - component: 'Radio' - }, - }, - { - label: '并发乐观锁', - field: 'concurrencyStamp', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - }, - }, - { - label: '备注', - field: 'remark', - sort: 'custom', - isSearch: true, - }, - { - label: '创建时间', - field: 'createTime', - sort: 'custom', - formatter: dateFormatter, - isSearch: true, - search: { - component: 'DatePicker', - componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', - type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] - } - }, - isForm: false, - }, - { - label: '删除用户名', - field: 'deleter', - sort: 'custom', - isSearch: true, - }, - { - label: '位置ID', - field: 'siteId', - sort: 'custom', - isSearch: true, - form: { - component: 'InputNumber', - value: 0 - }, - }, - { - label: '操作', - field: 'action', - isForm: false, - table: { - width: 150, - fixed: 'right' - } - } -])) diff --git a/src/views/mes/holidayCalendar/index.vue b/src/views/mes/holidayCalendar/index.vue deleted file mode 100644 index 21eeb6ee8..000000000 --- a/src/views/mes/holidayCalendar/index.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/mes/jobcalendar/index.vue b/src/views/mes/jobcalendar/index.vue deleted file mode 100644 index acd7a2a6c..000000000 --- a/src/views/mes/jobcalendar/index.vue +++ /dev/null @@ -1,8 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/mes/workcalendar/index.vue b/src/views/mes/workcalendar/index.vue index 4876ec101..16c054af5 100644 --- a/src/views/mes/workcalendar/index.vue +++ b/src/views/mes/workcalendar/index.vue @@ -238,7 +238,7 @@ @@ -661,6 +661,10 @@ const batchAddWork = () => { const handleBatchClose = () => { batchAddDrawer.value = false } +const handleAddClose = () => { + drawer.value = false +} + const savePlan = async (workList) => { await workCalendarApi.createBatch(workList) //await workCalendarApi.createObj(workList); From e6593bf2a69150daa66f44e329fba4decb166254 Mon Sep 17 00:00:00 2001 From: chenfang Date: Wed, 15 May 2024 16:48:58 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug=E7=94=9F=E4=BA=A7?= =?UTF-8?q?=E9=80=80=E6=96=99=E6=89=93=E5=8D=B0=E6=A0=87=E7=AD=BE=E7=A9=BA?= =?UTF-8?q?=E7=99=BD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../relegateRequest/relegateRequest.data.ts | 1 + .../productionreturnRequestMain/index.vue | 75 ++++++++++++++++--- .../productionreturnRequestMain.data.ts | 54 +++++++++++++ .../inventorymoveRequestMain/index.vue | 12 +-- 4 files changed, 127 insertions(+), 15 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/relegateRequest/relegateRequest.data.ts b/src/views/wms/basicDataManage/itemManage/relegateRequest/relegateRequest.data.ts index d5dee49f8..de2becfec 100644 --- a/src/views/wms/basicDataManage/itemManage/relegateRequest/relegateRequest.data.ts +++ b/src/views/wms/basicDataManage/itemManage/relegateRequest/relegateRequest.data.ts @@ -20,6 +20,7 @@ export const RelegateRequest = useCrudSchemas(reactive([ field: 'number', sort: 'custom', isSearch: true, + isForm:false, }, { label: '物料代码', diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue index 299e34fef..ff157a819 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/index.vue @@ -70,6 +70,7 @@ :apiDelete="ProductionreturnRequestDetailApi.deleteProductionreturnRequestDetail" @searchTableSuccessDetail="searchTableSuccessDetail" @detailOpenForm="detailOpenForm" + :detailValidate="detailValidate" /> @@ -90,13 +91,14 @@ - + +