|
|
@ -389,7 +389,21 @@ const getSearchTableData = async (number,formField,searchField)=>{ |
|
|
|
nextTick(async () => { |
|
|
|
formRef.value.formRef.setValues({deliveryDate:dayjs().valueOf()}) |
|
|
|
}) |
|
|
|
PurchasePlanMain.allSchemas.formSchema.forEach((item) => { |
|
|
|
// 供应商代码 |
|
|
|
if(item.field == 'supplierCode'){ |
|
|
|
item.componentProps.disabled = false |
|
|
|
item.componentProps.isSearchList = true |
|
|
|
} |
|
|
|
}) |
|
|
|
}else{ |
|
|
|
PurchasePlanMain.allSchemas.formSchema.forEach((item) => { |
|
|
|
// 供应商代码 |
|
|
|
if(item.field == 'supplierCode'){ |
|
|
|
item.componentProps.disabled = true |
|
|
|
item.componentProps.isSearchList = false |
|
|
|
} |
|
|
|
}) |
|
|
|
isShowButtonSelection.value = true |
|
|
|
} |
|
|
|
} |
|
|
|