This commit is contained in:
weipengfei 2024-05-21 10:29:06 +08:00
parent 3894f8e800
commit f742459dd6
2 changed files with 4 additions and 0 deletions

View File

@ -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>

View File

@ -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)