上传
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<template>
|
||||
<Dialog :title="dialogTitle" v-model="dialogVisible" width="800px">
|
||||
<Descriptions :data="orderInfo" :schema="schema" :columns="2" labelWidth="130px" />
|
||||
<el-table :data="followList" size="small" border class="mt-10px">
|
||||
<el-table-column prop="userName" label="跟进人" />
|
||||
<el-table-column prop="followTime" label="最新跟进时间" :formatter="dateFormatter" />
|
||||
<el-table-column prop="signSate" label="成交状态" />
|
||||
</el-table>
|
||||
<el-form ref="formRef" v-loading="formLoading" :model="formData" label-width="80px">
|
||||
<el-form-item label="状态" prop="state">
|
||||
<el-radio-group v-model="formData.state">
|
||||
@@ -19,7 +24,9 @@
|
||||
</Dialog>
|
||||
</template>
|
||||
<script name="DialogFeebackAudit" setup>
|
||||
import { getFollowUserList } from '@/api/clue'
|
||||
import { auditPayment } from '@/api/clue/payment'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
|
||||
const message = useMessage() // 消息弹窗
|
||||
|
||||
@@ -90,8 +97,10 @@ const open = async (row) => {
|
||||
dialogVisible.value = true
|
||||
dialogTitle.value = '回款审核'
|
||||
resetForm(row.id)
|
||||
// 修改时,设置数据
|
||||
// 设置数据
|
||||
orderInfo.value = { ...row }
|
||||
// 获取跟进信息
|
||||
getFollowInfo(row.clueId)
|
||||
}
|
||||
defineExpose({ open }) // 提供 open 方法,用于打开弹窗
|
||||
|
||||
@@ -124,4 +133,12 @@ const resetForm = (signId) => {
|
||||
}
|
||||
formRef.value?.resetFields()
|
||||
}
|
||||
|
||||
const followList = ref([])
|
||||
|
||||
function getFollowInfo(id) {
|
||||
getFollowUserList({ id }).then((data) => {
|
||||
followList.value = data
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user