|
@ -1097,7 +1097,7 @@ const open = async (type: string, strategyCode: string, id?: number) => { |
|
|
} |
|
|
} |
|
|
if (data.configuration) { |
|
|
if (data.configuration) { |
|
|
formData.value.configuration = JSON.parse(data.configuration) |
|
|
formData.value.configuration = JSON.parse(data.configuration) |
|
|
if(!Array.isArray(formData.value.configuration.overflowLocationCode)&&formData.value.configuration.overflowLocationCode.length>0){ |
|
|
if(formData.value.configuration.overflowLocationCode&&!Array.isArray(formData.value.configuration.overflowLocationCode)&&formData.value.configuration.overflowLocationCode.length>0){ |
|
|
formData.value.configuration.overflowLocationCode = formData.value.configuration.overflowLocationCode.split(',') |
|
|
formData.value.configuration.overflowLocationCode = formData.value.configuration.overflowLocationCode.split(',') |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -1202,7 +1202,7 @@ const submitForm = async () => { |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
let configuration = {...formData.value.configuration} |
|
|
let configuration = {...formData.value.configuration} |
|
|
if(Array.isArray(configuration.overflowLocationCode)){ |
|
|
if(configuration.overflowLocationCode&&Array.isArray(configuration.overflowLocationCode)){ |
|
|
configuration.overflowLocationCode = configuration.overflowLocationCode.join(',') |
|
|
configuration.overflowLocationCode = configuration.overflowLocationCode.join(',') |
|
|
} |
|
|
} |
|
|
let data = { |
|
|
let data = { |
|
|