diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 7421c79e0..017820e1b 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -527,6 +527,11 @@ const opensearchTable = ( ) return } + if(searchCondition[i].isRemoveParams){ + //有校验,但是不传参 + _searchCondition[searchCondition[i].key] = '' + } + } } else if (searchCondition[i].isTableRowValue) { if (searchCondition[i].required) { diff --git a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts index 5616fc28a..a0c375024 100644 --- a/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts +++ b/src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts @@ -852,18 +852,21 @@ export const IssueRequestDetail = useCrudSchemas( value: 'TRUE', isMainValue: false }, - // { - // key:'workshopCode', - // value:'workshopCode', - // message: '请填写车间代码!', - // isMainValue: true - // }, - // { - // key:'productionLineCode', - // value:'productionLineCode', - // message: '请填写生产线代码!', - // isMainValue: true - // }, + { + key:'workshopCode', + value:'workshopCode', + message: '请填写车间代码!', + isMainValue: true, + isRemoveParams: true // 不传参 + }, + { + key:'productionLineCode', + value:'productionLineCode', + message: '请填写生产线代码!', + isMainValue: true, + isRemoveParams: true // 不传参 + + }, { key: 'businessTypeCode', value: 'Issue',