Browse Source

发料、生产管理弹层条件添加

master
李胜楠 1 year ago
parent
commit
54a059dced
  1. 31
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts
  2. 35
      src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts
  3. 28
      src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts
  4. 63
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts
  5. 48
      src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts
  6. 77
      src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts
  7. 63
      src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts

31
src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

@ -49,7 +49,12 @@ export const IssueRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '车间信息', // 查询弹窗标题 searchTitle: '车间信息', // 查询弹窗标题
searchAllSchemas: Workshop.allSchemas, // 查询弹窗所需类 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<CrudSchema[]>([
key:'workshopCode', key:'workshopCode',
value:'workshopCode', value:'workshopCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
}, },
form: { form: {
@ -468,6 +477,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'workshopCode', key:'workshopCode',
value:'workshopCode', value:'workshopCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
} }
} }
@ -490,6 +503,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'productionLineCode', key:'productionLineCode',
value:'productionLineCode', value:'productionLineCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
}, },
form: { form: {
@ -505,6 +522,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'productionLineCode', key:'productionLineCode',
value:'productionLineCode', value:'productionLineCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
} }
} }
@ -581,6 +602,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'productionLineCode', key:'productionLineCode',
value:'productionLineCode', value:'productionLineCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
}, },
form: { form: {
@ -596,6 +621,10 @@ export const IssueRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'productionLineCode', key:'productionLineCode',
value:'productionLineCode', value:'productionLineCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
} }
} }

35
src/views/wms/issueManage/productionreturn/productionreturnRequestMain/productionreturnRequestMain.data.ts

@ -50,7 +50,12 @@ export const ProductionreturnRequestMain = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '车间信息', // 查询弹窗标题 searchTitle: '车间信息', // 查询弹窗标题
searchAllSchemas: Workshop.allSchemas, // 查询弹窗所需类 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<CrudSchema[
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '生产线信息', // 查询弹窗标题 searchTitle: '生产线信息', // 查询弹窗标题
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法 searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
}, },
tableForm:{ tableForm:{
@ -435,7 +445,12 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '生产线信息', // 查询弹窗标题 searchTitle: '生产线信息', // 查询弹窗标题
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法 searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
}, },
{ {
@ -453,7 +468,12 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工位信息', // 查询弹窗标题 searchTitle: '工位信息', // 查询弹窗标题
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类 searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类
searchPage: WorkstationApi.getWorkstationPage // 查询弹窗所需分页方法 searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
}, },
tableForm:{ tableForm:{
@ -462,7 +482,12 @@ export const ProductionreturnRequestDetail = useCrudSchemas(reactive<CrudSchema[
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工位信息', // 查询弹窗标题 searchTitle: '工位信息', // 查询弹窗标题
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类 searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类
searchPage: WorkstationApi.getWorkstationPage // 查询弹窗所需分页方法 searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
}, },
{ {

28
src/views/wms/issueManage/repleinsh/repleinshRequestMain/repleinshRequestMain.data.ts

@ -405,7 +405,12 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '库位信息', // 查询弹窗标题 searchTitle: '库位信息', // 查询弹窗标题
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类 searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
searchPage: LocationApi.getLocationPage // 查询弹窗所需分页方法 searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
}, },
tableForm:{ tableForm:{
@ -414,7 +419,12 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '库位信息', // 查询弹窗标题 searchTitle: '库位信息', // 查询弹窗标题
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类 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<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物品基础信息', // 查询弹窗标题 searchTitle: '物品基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
}, },
tableForm:{ tableForm:{
@ -455,7 +470,12 @@ export const RepleinshRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物品基础信息', // 查询弹窗标题 searchTitle: '物品基础信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类 searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法 searchPage: ItembasicApi.getItembasicPage, // 查询弹窗所需分页方法
searchCondition:[{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
}, },
{ {

63
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts

@ -59,7 +59,12 @@ export const ProductdismantleRequestMain = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '车间信息', searchTitle: '车间信息',
searchAllSchemas: Workshop.allSchemas, 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<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '班组信息', searchTitle: '班组信息',
searchAllSchemas: Team.allSchemas, 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<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '班次信息', searchTitle: '班次信息',
searchAllSchemas: Shift.allSchemas, 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<CrudSchema
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '生产线信息', // 查询弹窗标题 searchTitle: '生产线信息', // 查询弹窗标题
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法 searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -453,7 +473,12 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '生产线信息', // 查询弹窗标题 searchTitle: '生产线信息', // 查询弹窗标题
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法 searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },
@ -470,7 +495,12 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工位信息', // 查询弹窗标题 searchTitle: '工位信息', // 查询弹窗标题
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类 searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类
searchPage: WorkstationApi.getWorkstationPage // 查询弹窗所需分页方法 searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -480,7 +510,12 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工位信息', // 查询弹窗标题 searchTitle: '工位信息', // 查询弹窗标题
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类 searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类
searchPage: WorkstationApi.getWorkstationPage // 查询弹窗所需分页方法 searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },
@ -497,7 +532,12 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
searchField: 'code', searchField: 'code',
searchTitle: '工序信息', searchTitle: '工序信息',
searchAllSchemas: Process.allSchemas, searchAllSchemas: Process.allSchemas,
searchPage: ProcessApi.getProcessPage searchPage: ProcessApi.getProcessPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -507,7 +547,12 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
searchField: 'code', searchField: 'code',
searchTitle: '工序信息', searchTitle: '工序信息',
searchAllSchemas: Process.allSchemas, searchAllSchemas: Process.allSchemas,
searchPage: ProcessApi.getProcessPage searchPage: ProcessApi.getProcessPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },

48
src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts

@ -55,7 +55,12 @@ export const ProductionMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '车间信息', searchTitle: '车间信息',
searchAllSchemas: Workshop.allSchemas, 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<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '生产线信息', searchTitle: '生产线信息',
searchAllSchemas: Productionline.allSchemas, 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<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '班次信息', searchTitle: '班次信息',
searchAllSchemas: Shift.allSchemas, 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<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '班组信息', searchTitle: '班组信息',
searchAllSchemas: Team.allSchemas, 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<CrudSchema[]>([
key:'productionLineCode', key:'productionLineCode',
value:'productionLine', value:'productionLine',
isMainValue: true isMainValue: true
}] },{
key: 'available',
value: 'TRUE',
isMainValue: false
}],
} }
}, },
tableForm:{ tableForm:{
@ -476,7 +500,11 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'productionLineCode', key:'productionLineCode',
value:'productionLine', value:'productionLine',
isMainValue: true isMainValue: true
}] },{
key: 'available',
value: 'TRUE',
isMainValue: false
}],
}, },
}, },
{ {
@ -499,6 +527,10 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'productItemCode', key:'productItemCode',
value:'itemCode', value:'itemCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
} }
}, },
@ -513,6 +545,10 @@ export const ProductionDetail = useCrudSchemas(reactive<CrudSchema[]>([
key:'productItemCode', key:'productItemCode',
value:'itemCode', value:'itemCode',
isMainValue: true isMainValue: true
},{
key: 'available',
value: 'TRUE',
isMainValue: false
}] }]
}, },
}, },

77
src/views/wms/productionManage/productreceipt/productreceiptRequestMain/productreceiptRequestMain.data.ts

@ -69,7 +69,12 @@ export const ProductreceiptRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '车间信息', searchTitle: '车间信息',
searchAllSchemas: Workshop.allSchemas, 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<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '班组信息', searchTitle: '班组信息',
searchAllSchemas: Team.allSchemas, 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<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '班次信息', searchTitle: '班次信息',
searchAllSchemas: Shift.allSchemas, 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<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '生产线信息', searchTitle: '生产线信息',
searchAllSchemas: Productionline.allSchemas, searchAllSchemas: Productionline.allSchemas,
searchPage: ProductionlineApi.getProductionlinePage searchPage: ProductionlineApi.getProductionlinePage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -463,7 +483,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '生产线信息', searchTitle: '生产线信息',
searchAllSchemas: Productionline.allSchemas, 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<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '工位信息', searchTitle: '工位信息',
searchAllSchemas: Workstation.allSchemas, searchAllSchemas: Workstation.allSchemas,
searchPage: WorkstationApi.getWorkstationPage searchPage: WorkstationApi.getWorkstationPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -490,7 +520,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '工位信息', searchTitle: '工位信息',
searchAllSchemas: Workstation.allSchemas, 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<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '工序信息', searchTitle: '工序信息',
searchAllSchemas: Process.allSchemas, searchAllSchemas: Process.allSchemas,
searchPage: ProcessApi.getProcessPage searchPage: ProcessApi.getProcessPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -517,7 +557,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '工序信息', searchTitle: '工序信息',
searchAllSchemas: Process.allSchemas, 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<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '物品基础信息信息', searchTitle: '物品基础信息信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -705,7 +755,12 @@ export const ProductreceiptRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '物品基础信息信息', searchTitle: '物品基础信息信息',
searchAllSchemas: Itembasic.allSchemas, searchAllSchemas: Itembasic.allSchemas,
searchPage: ItembasicApi.getItembasicPage searchPage: ItembasicApi.getItembasicPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },

63
src/views/wms/productionManage/productrepair/productrepairRequestMain/productrepairRequestMain.data.ts

@ -59,7 +59,12 @@ export const ProductrepairRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '车间信息', searchTitle: '车间信息',
searchAllSchemas: Workshop.allSchemas, 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<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '班组信息', searchTitle: '班组信息',
searchAllSchemas: Team.allSchemas, 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<CrudSchema[]>([
searchField: 'code', searchField: 'code',
searchTitle: '班次信息', searchTitle: '班次信息',
searchAllSchemas: Shift.allSchemas, 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<CrudSchema[]>
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '生产线信息', // 查询弹窗标题 searchTitle: '生产线信息', // 查询弹窗标题
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类
searchPage: ProductionlineApi.getProductionlinePage // 查询弹窗所需分页方法 searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -463,7 +483,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '生产线信息', // 查询弹窗标题 searchTitle: '生产线信息', // 查询弹窗标题
searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 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<CrudSchema[]>
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工位信息', // 查询弹窗标题 searchTitle: '工位信息', // 查询弹窗标题
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类 searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类
searchPage: WorkstationApi.getWorkstationPage // 查询弹窗所需分页方法 searchPage: WorkstationApi.getWorkstationPage, // 查询弹窗所需分页方法
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -490,7 +520,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', // 查询弹窗赋值字段 searchField: 'code', // 查询弹窗赋值字段
searchTitle: '工位信息', // 查询弹窗标题 searchTitle: '工位信息', // 查询弹窗标题
searchAllSchemas: Workstation.allSchemas, // 查询弹窗所需类 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<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '工序信息', searchTitle: '工序信息',
searchAllSchemas: Process.allSchemas, searchAllSchemas: Process.allSchemas,
searchPage: ProcessApi.getProcessPage searchPage: ProcessApi.getProcessPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
}, },
form: { form: {
// labelMessage: '信息提示说明!!!', // labelMessage: '信息提示说明!!!',
@ -517,7 +557,12 @@ export const ProductrepairRequestDetaila = useCrudSchemas(reactive<CrudSchema[]>
searchField: 'code', searchField: 'code',
searchTitle: '工序信息', searchTitle: '工序信息',
searchAllSchemas: Process.allSchemas, searchAllSchemas: Process.allSchemas,
searchPage: ProcessApi.getProcessPage searchPage: ProcessApi.getProcessPage,
searchCondition: [{
key: 'available',
value: 'TRUE',
isMainValue: false
}]
} }
} }
}, },

Loading…
Cancel
Save