|
|
@ -511,6 +511,11 @@ const getSearchTableData = async (number,formField,searchField)=>{ |
|
|
|
if(item.field == 'deliveryDate'){ |
|
|
|
item.componentProps.disabled = false |
|
|
|
} |
|
|
|
if (item.field == 'poNumber') { |
|
|
|
item.componentProps.isSearchList = true |
|
|
|
item.componentProps.disabled = false |
|
|
|
item.componentProps.enterSearch = true |
|
|
|
} |
|
|
|
}) |
|
|
|
}else if('update'==type){ |
|
|
|
PurchasePlanMain.allSchemas.formSchema.forEach((item) => { |
|
|
@ -518,6 +523,11 @@ const getSearchTableData = async (number,formField,searchField)=>{ |
|
|
|
if(item.field == 'supplierCode'){ |
|
|
|
item.componentProps.disabled = true |
|
|
|
item.componentProps.isSearchList = false |
|
|
|
} |
|
|
|
if (item.field == 'poNumber') { |
|
|
|
item.componentProps.isSearchList = false |
|
|
|
item.componentProps.disabled = true |
|
|
|
item.componentProps.enterSearch = false |
|
|
|
} |
|
|
|
// if(item.field == 'deliveryDate'){ |
|
|
|
// item.componentProps.disabled = true |
|
|
|