diff --git a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts index 8ca41fb1b..bfd66621a 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts @@ -49,7 +49,12 @@ export const IssueRequestMain = useCrudSchemas(reactive([ searchField: 'code', // 查询弹窗赋值字段 searchTitle: '车间信息', // 查询弹窗标题 searchAllSchemas: Workshop.allSchemas, // 查询弹窗所需类 - searchPage: WorkshopApi.getWorkshopPage // 查询弹窗所需分页方法 + searchPage: WorkshopApi.getWorkshopPage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -453,6 +458,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ key:'workshopCode', value:'workshopCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] }, form: { @@ -468,6 +477,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ key:'workshopCode', value:'workshopCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] } } @@ -490,6 +503,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ key:'productionLineCode', value:'productionLineCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] }, form: { @@ -505,6 +522,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ key:'productionLineCode', value:'productionLineCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] } } @@ -581,6 +602,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ key:'productionLineCode', value:'productionLineCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] }, form: { @@ -596,6 +621,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive([ key:'productionLineCode', value:'productionLineCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] } } diff --git a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts index 7ffa95fe4..77d039a7a 100644 --- a/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts +++ b/src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts @@ -50,7 +50,12 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive searchField: 'code', // 查询弹窗赋值字段 searchTitle: '车间信息', // 查询弹窗标题 searchAllSchemas: Workshop.allSchemas, // 查询弹窗所需类 - searchPage: WorkshopApi.getWorkshopPage // 查询弹窗所需分页方法 + searchPage: WorkshopApi.getWorkshopPage, // 查询弹窗所需分页方法 + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } }, }, @@ -426,7 +431,12 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive([ searchField: 'code', // 查询弹窗赋值字段 searchTitle: '库位信息', // 查询弹窗标题 searchAllSchemas: Location.allSchemas, // 查询弹窗所需类 - searchPage: LocationApi.getLocationPage // 查询弹窗所需分页方法 + searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法 + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } }, tableForm:{ @@ -414,7 +419,12 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ searchField: 'code', // 查询弹窗赋值字段 searchTitle: '库位信息', // 查询弹窗标题 searchAllSchemas: Location.allSchemas, // 查询弹窗所需类 - searchPage: LocationApi.getLocationPage // 查询弹窗所需分页方法 + searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法 + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, }, { @@ -446,7 +456,12 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ searchField: 'code', // 查询弹窗赋值字段 searchTitle: '物品基础信息', // 查询弹窗标题 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 - searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法 + searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } }, tableForm:{ @@ -455,7 +470,12 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive([ searchField: 'code', // 查询弹窗赋值字段 searchTitle: '物品基础信息', // 查询弹窗标题 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 - searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法 + searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法 + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, }, { diff --git a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts index 60ea400a4..5fd8e2eb8 100644 --- a/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts +++ b/src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts @@ -59,7 +59,12 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive searchField: 'code', searchTitle: '车间信息', searchAllSchemas: Workshop.allSchemas, - searchPage: WorkshopApi.getWorkshopPage + searchPage: WorkshopApi.getWorkshopPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -78,7 +83,12 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive searchField: 'code', searchTitle: '班组信息', searchAllSchemas: Team.allSchemas, - searchPage: TeamApi.getTeamPage + searchPage: TeamApi.getTeamPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -97,7 +107,12 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive searchField: 'code', searchTitle: '班次信息', searchAllSchemas: Shift.allSchemas, - searchPage: ShiftApi.getShiftPage + searchPage: ShiftApi.getShiftPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -443,7 +458,12 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '车间信息', searchAllSchemas: Workshop.allSchemas, - searchPage: WorkshopApi.getWorkshopPage + searchPage: WorkshopApi.getWorkshopPage, + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -74,7 +79,12 @@ export const ProductionMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '生产线信息', searchAllSchemas: Productionline.allSchemas, - searchPage: ProductionlineApi.getProductionlinePage + searchPage: ProductionlineApi.getProductionlinePage, + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -93,7 +103,12 @@ export const ProductionMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '班次信息', searchAllSchemas: Shift.allSchemas, - searchPage: ShiftApi.getShiftPage + searchPage: ShiftApi.getShiftPage, + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -112,7 +127,12 @@ export const ProductionMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '班组信息', searchAllSchemas: Team.allSchemas, - searchPage: TeamApi.getTeamPage + searchPage: TeamApi.getTeamPage, + searchCondition:[{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -462,7 +482,11 @@ export const ProductionDetail = useCrudSchemas(reactive([ key:'productionLineCode', value:'productionLine', isMainValue: true - }] + },{ + key: 'available', + value: 'TRUE', + isMainValue: false + }], } }, tableForm:{ @@ -476,7 +500,11 @@ export const ProductionDetail = useCrudSchemas(reactive([ key:'productionLineCode', value:'productionLine', isMainValue: true - }] + },{ + key: 'available', + value: 'TRUE', + isMainValue: false + }], }, }, { @@ -499,6 +527,10 @@ export const ProductionDetail = useCrudSchemas(reactive([ key:'productItemCode', value:'itemCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] } }, @@ -513,6 +545,10 @@ export const ProductionDetail = useCrudSchemas(reactive([ key:'productItemCode', value:'itemCode', isMainValue: true + },{ + key: 'available', + value: 'TRUE', + isMainValue: false }] }, }, diff --git a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts index 842801905..d0509b717 100644 --- a/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts +++ b/src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts @@ -69,7 +69,12 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '车间信息', searchAllSchemas: Workshop.allSchemas, - searchPage: WorkshopApi.getWorkshopPage + searchPage: WorkshopApi.getWorkshopPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -88,7 +93,12 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '班组信息', searchAllSchemas: Team.allSchemas, - searchPage: TeamApi.getTeamPage + searchPage: TeamApi.getTeamPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -107,7 +117,12 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '班次信息', searchAllSchemas: Shift.allSchemas, - searchPage: ShiftApi.getShiftPage + searchPage: ShiftApi.getShiftPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -453,7 +468,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive searchField: 'code', searchTitle: '生产线信息', searchAllSchemas: Productionline.allSchemas, - searchPage: ProductionlineApi.getProductionlinePage + searchPage: ProductionlineApi.getProductionlinePage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, form: { // labelMessage: '信息提示说明!!!', @@ -463,7 +483,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive searchField: 'code', searchTitle: '生产线信息', searchAllSchemas: Productionline.allSchemas, - searchPage: ProductionlineApi.getProductionlinePage + searchPage: ProductionlineApi.getProductionlinePage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -480,7 +505,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive searchField: 'code', searchTitle: '工位信息', searchAllSchemas: Workstation.allSchemas, - searchPage: WorkstationApi.getWorkstationPage + searchPage: WorkstationApi.getWorkstationPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, form: { // labelMessage: '信息提示说明!!!', @@ -490,7 +520,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive searchField: 'code', searchTitle: '工位信息', searchAllSchemas: Workstation.allSchemas, - searchPage: WorkstationApi.getWorkstationPage + searchPage: WorkstationApi.getWorkstationPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -507,7 +542,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive searchField: 'code', searchTitle: '工序信息', searchAllSchemas: Process.allSchemas, - searchPage: ProcessApi.getProcessPage + searchPage: ProcessApi.getProcessPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, form: { // labelMessage: '信息提示说明!!!', @@ -517,7 +557,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive searchField: 'code', searchTitle: '工序信息', searchAllSchemas: Process.allSchemas, - searchPage: ProcessApi.getProcessPage + searchPage: ProcessApi.getProcessPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -695,7 +740,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive searchField: 'code', searchTitle: '物品基础信息信息', searchAllSchemas: Itembasic.allSchemas, - searchPage: ItembasicApi.getItembasicPage + searchPage: ItembasicApi.getItembasicPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, form: { // labelMessage: '信息提示说明!!!', @@ -705,7 +755,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive searchField: 'code', searchTitle: '物品基础信息信息', searchAllSchemas: Itembasic.allSchemas, - searchPage: ItembasicApi.getItembasicPage + searchPage: ItembasicApi.getItembasicPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, diff --git a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts index 7c4f6fad7..b17e744c9 100644 --- a/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts +++ b/src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts @@ -59,7 +59,12 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '车间信息', searchAllSchemas: Workshop.allSchemas, - searchPage: WorkshopApi.getWorkshopPage + searchPage: WorkshopApi.getWorkshopPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -78,7 +83,12 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '班组信息', searchAllSchemas: Team.allSchemas, - searchPage: TeamApi.getTeamPage + searchPage: TeamApi.getTeamPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -97,7 +107,12 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive([ searchField: 'code', searchTitle: '班次信息', searchAllSchemas: Shift.allSchemas, - searchPage: ShiftApi.getShiftPage + searchPage: ShiftApi.getShiftPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -453,7 +468,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive searchField: 'code', // 查询弹窗赋值字段 searchTitle: '生产线信息', // 查询弹窗标题 searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 - searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法 + searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, form: { // labelMessage: '信息提示说明!!!', @@ -463,7 +483,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive searchField: 'code', // 查询弹窗赋值字段 searchTitle: '生产线信息', // 查询弹窗标题 searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 - searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法 + searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -480,7 +505,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive searchField: 'code', // 查询弹窗赋值字段 searchTitle: '工位信息', // 查询弹窗标题 searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类 - searchPage: WorkstationApi.getWorkstationPage // 查询弹窗所需分页方法 + searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, form: { // labelMessage: '信息提示说明!!!', @@ -490,7 +520,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive searchField: 'code', // 查询弹窗赋值字段 searchTitle: '工位信息', // 查询弹窗标题 searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类 - searchPage: WorkstationApi.getWorkstationPage // 查询弹窗所需分页方法 + searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } }, @@ -507,7 +542,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive searchField: 'code', searchTitle: '工序信息', searchAllSchemas: Process.allSchemas, - searchPage: ProcessApi.getProcessPage + searchPage: ProcessApi.getProcessPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] }, form: { // labelMessage: '信息提示说明!!!', @@ -517,7 +557,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive searchField: 'code', searchTitle: '工序信息', searchAllSchemas: Process.allSchemas, - searchPage: ProcessApi.getProcessPage + searchPage: ProcessApi.getProcessPage, + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] } } },