|
@@ -815,7 +815,8 @@ let getForginCityFreight = (p: any, num: number) =>
|
|
|
console.log(response, 'response')
|
|
|
if (response.code === 1) {
|
|
|
forginCityFreight.value[`${num}`] = response.result
|
|
|
- queryArea.value = response.result.area || ''
|
|
|
+ queryArea.value = response.result.location || ''
|
|
|
+ exportForm.value.pdf_city = response.result.location || ''
|
|
|
formData.value.cal_city.local_city = queryArea.value
|
|
|
resolve(response.result)
|
|
|
}
|
|
@@ -1218,7 +1219,7 @@ let generateStep3Form = (p = {}) => {
|
|
|
const indentUser = Cookies.get('indent-user')
|
|
|
let r = creatorOptions.filter((i) => i.label === indentUser)
|
|
|
exportForm.value = {
|
|
|
- pdf_city: withOldData ? oldData.pdf_city : queryArea.value || '',
|
|
|
+ pdf_city: queryArea.value || '',
|
|
|
exchange: oldData.exchange || '',
|
|
|
days: oldData.days || 30,
|
|
|
gst_name: oldData.gst_name || '+GST',
|