Browse Source

HL-6082由于线上问题,导致这个需要封装公用方法,重新做了校验。

hella_online_20240927
yufei_wang 2 months ago
parent
commit
2b25510e1a
  1. 5
      src/components/BasicForm/src/BasicForm.vue
  2. 27
      src/views/wms/issueManage/issue/issueRequestMain/issueRequestMain.data.ts

5
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) {

27
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',

Loading…
Cancel
Save