|
@@ -84,14 +84,14 @@
|
|
|
</hc-table>
|
|
|
</div>
|
|
|
<div class="hc-task-body-tip hc-flex h-30px">
|
|
|
- <span class="mr-14px">上报总金额:xxxx元</span>
|
|
|
- <span>本期审核进度款:xxxx元</span>
|
|
|
+ <span class="mr-14px">上报总金额:{{ reportAllMoney }}元</span>
|
|
|
+ <span>本期审核进度款:{{ progressMoney }}元</span>
|
|
|
</div>
|
|
|
</hc-body>
|
|
|
</div>
|
|
|
<div :id="`hc_task_form_${uuid}`" class="hc-task-form" :class="`is-tab-${taskTabsKey}`">
|
|
|
<hc-body class="hc-task-body-card" padding="10px" scrollbar>
|
|
|
- <HcTaskForm :table="tableInfo" :info="rowInfo" :is-edit="tabsKey === 1" @finish="taskFormFinish" @tab-tap="taskTabsClick" />
|
|
|
+ <HcTaskForm :table="tableInfo" :info="rowInfo" :detail="detailInfo" :is-edit="tabsKey === 1" @finish="taskFormFinish" @tab-tap="taskTabsClick" />
|
|
|
</hc-body>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -114,6 +114,7 @@
|
|
|
<script setup>
|
|
|
import { nextTick, ref, watch } from 'vue'
|
|
|
import { useAppStore } from '~src/store'
|
|
|
+import HcHtmlForm from '~src/views/tasks/components/hc-data/html-form.vue'
|
|
|
import HcTaskForm from './task-form.vue'
|
|
|
import HcTaskNotes from './task-notes.vue'
|
|
|
import HcRepealForm from './repeal-form.vue'
|
|
@@ -199,15 +200,22 @@ const setTaskInfo = () => {
|
|
|
}
|
|
|
|
|
|
//获取数据详情
|
|
|
+const detailInfo = ref({})
|
|
|
+const reportAllMoney = ref('0')
|
|
|
+const progressMoney = ref('0')
|
|
|
const isLoading = ref(false)
|
|
|
const getTableDetail = async () => {
|
|
|
isLoading.value = true
|
|
|
confirmLoading.value = true
|
|
|
//获取数据
|
|
|
const { data } = await mainApi.getDetail(rowInfo.value.id)
|
|
|
- const { taskProcessInfo, taskCenterDataInfo } = getObjValue(data)
|
|
|
+ const infoData = getObjValue(data)
|
|
|
+ const { taskProcessInfo, taskCenterDataInfo } = infoData
|
|
|
tableData.value = getArrValue(taskCenterDataInfo)
|
|
|
flowList.value = getArrValue(taskProcessInfo)
|
|
|
+ reportAllMoney.value = infoData.reportAllMoney
|
|
|
+ progressMoney.value = infoData.progressMoney
|
|
|
+ detailInfo.value = infoData
|
|
|
if (rowInfo.value?.fixedFlowId) {
|
|
|
const list = [...flowList.value]
|
|
|
let firstarr = list.slice(0, 1)
|