From e53a0d92775787818b6d30828e687d7d1f6d011c Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 14 Mar 2024 18:06:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E5=BA=93=E5=8C=BA=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=B1=95=E7=A4=BA=E5=AD=97=E6=AE=B5=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itemManage/itemarea/itemarea.data.ts | 84 ++----------------- 1 file changed, 9 insertions(+), 75 deletions(-) diff --git a/src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts b/src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts index 20732e286..ecb3e4260 100644 --- a/src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts +++ b/src/views/wms/basicDataManage/itemManage/itemarea/itemarea.data.ts @@ -63,8 +63,6 @@ export const Itemarea = useCrudSchemas(reactive([ searchCondition: [{ key: 'available', value: 'TRUE', - action: '==', - isSearch: true, isMainValue: false }] } @@ -90,8 +88,6 @@ export const Itemarea = useCrudSchemas(reactive([ searchCondition: [{ key: 'available', value: 'TRUE', - action: '==', - isSearch: true, isMainValue: false }] } @@ -117,8 +113,6 @@ export const Itemarea = useCrudSchemas(reactive([ searchCondition: [{ key: 'available', value: 'TRUE', - action: '==', - isSearch: true, isMainValue: false }] } @@ -209,8 +203,6 @@ export const Itemarea = useCrudSchemas(reactive([ searchCondition: [{ key: 'available', value: 'TRUE', - action: '==', - isSearch: true, isMainValue: false }] } @@ -646,38 +638,10 @@ export const ItemareaDetail = useCrudSchemas(reactive([ label: '库位组', field: 'locationGroupCode', sort: 'custom', - tableForm:{ - isInpuFocusShow: true, // 开启查询弹窗 - searchListPlaceholder: '请选择库位组代码', // 输入框占位文本 - searchField: 'code', // 查询弹窗赋值字段 - searchTitle: '库位组基础信息', // 查询弹窗标题 - searchAllSchemas: Locationgroup.allSchemas, // 查询弹窗所需类 - searchPage: LocationgroupApi.getLocationgroupPage, // 查询弹窗所需分页方法 - searchCondition: [{ - key: 'available', - value: 'TRUE', - isMainValue: false - }] - }, - form: { - // labelMessage: '信息提示说明!!!', - componentProps: { - isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择库位组代码', // 输入框占位文本 - searchField: 'code', // 查询弹窗赋值字段 - searchTitle: '库位组基础信息', // 查询弹窗标题 - searchAllSchemas: Locationgroup.allSchemas, // 查询弹窗所需类 - searchPage: LocationgroupApi.getLocationgroupPage, // 查询弹窗所需分页方法 - searchCondition: [{ - key: 'available', - value: 'TRUE', - action: '==', - isSearch: true, - isMainValue: false - }] - } - } + isForm: false, + isTableForm: false, }, + { label: '库位代码', field: 'locationCode', @@ -694,9 +658,9 @@ export const ItemareaDetail = useCrudSchemas(reactive([ value: 'TRUE', isMainValue: false },{ - key: 'locationGroupCode', - value: 'locationGroupCode', - message: '请选择库位组!', + key: 'areaCode', + value: 'areaCode', + message: '请选择区域代码!', isMainValue: true }] }, @@ -714,9 +678,9 @@ export const ItemareaDetail = useCrudSchemas(reactive([ value: 'TRUE', isMainValue: false },{ - key: 'locationGroupCode', - value: 'locationGroupCode', - message: '请选择库位组!', + key: 'areaCode', + value: 'areaCode', + message: '请选择区域代码!', isMainValue: true }] } @@ -727,36 +691,6 @@ export const ItemareaDetail = useCrudSchemas(reactive([ field: 'remark', sort: 'custom', }, - { - label: '创建时间', - field: 'createTime', - sort: 'custom', - formatter: dateFormatter, - isForm: false, - isTableForm: false, - }, - { - label: '创建者Id', - field: 'creator', - sort: 'custom', - isForm: false, - isTableForm: false, - }, - { - label: '最后更新时间', - field: 'updateTime', - sort: 'custom', - formatter: dateFormatter, - isForm: false, - isTableForm: false, - }, - { - label: '最后更新者Id', - field: 'updater', - sort: 'custom', - isForm: false, - isTableForm: false, - }, { label: '操作', field: 'action',