|
|
@ -276,6 +276,7 @@ const getFormSupplierList = async () => { |
|
|
|
// 选择供应商类型 |
|
|
|
const changeSupplierType = (e) => { |
|
|
|
querySupplierParams.value.type = e |
|
|
|
formData.value.condition[1].Value = [] |
|
|
|
getFormSupplierList() |
|
|
|
} |
|
|
|
|
|
|
@ -324,6 +325,9 @@ const open = async (type: string, strategyCode: string, id?: number) => { |
|
|
|
formData.value.configuration = JSON.parse(data.configuration) |
|
|
|
} |
|
|
|
|
|
|
|
querySupplierParams.value.type = formData.value?.condition[0]?.Value || '' |
|
|
|
getFormSupplierList() |
|
|
|
|
|
|
|
} finally { |
|
|
|
formLoading.value = false |
|
|
|
} |
|
|
|