This commit is contained in:
parent
3894f8e800
commit
f742459dd6
|
@ -53,6 +53,7 @@
|
|||
</el-form-item>
|
||||
</el-form>
|
||||
<div style="width: 100%; display: flex; justify-content: flex-end;">
|
||||
<el-button @click="handleClose">取消</el-button>
|
||||
<el-button @click="onAudit" type="primary">确认</el-button>
|
||||
</div>
|
||||
</popup>
|
||||
|
|
|
@ -237,6 +237,7 @@ const formData = reactive({
|
|||
financial_type: '',
|
||||
sys_labels_arr: []
|
||||
})
|
||||
const dataJSON = ref({})
|
||||
|
||||
const customEvent = (e) => {
|
||||
e.forEach(item => {
|
||||
|
@ -310,6 +311,8 @@ const setFormData = async (data: Record<any, any>) => {
|
|||
formData[key] = data[key]
|
||||
}
|
||||
}
|
||||
dataJSON.value = JSON.parse(data.data_json||'{}');
|
||||
if(!formData.mer_address) formData.mer_address = dataJSON.value.company_address;
|
||||
await getAreaList(formData.city_id, true)
|
||||
await getTownList(formData.area_id, true)
|
||||
getVilllageList(formData.street_id)
|
||||
|
|
Loading…
Reference in New Issue