Browse Source

供应商策略

master
zhangli 1 year ago
parent
commit
ad6320e6b9
  1. 4
      src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue

4
src/views/wms/strategy/supplieDeliveryStrategy/AddForm.vue

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

Loading…
Cancel
Save