|
@@ -6,9 +6,7 @@
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
<el-form-item label="计量期:">
|
|
<el-form-item label="计量期:">
|
|
- <el-select v-model="baseForm.contractPeriodId" placeholder="选择计量期" disabled block>
|
|
|
|
- <el-option v-for="item in periods" :key="item.id" :label="item.periodNumber" :value="item.id" />
|
|
|
|
- </el-select>
|
|
|
|
|
|
+ <el-input v-model="baseForm.contractPeriodIdName" disabled />
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="8">
|
|
<el-col :span="8">
|
|
@@ -124,7 +122,6 @@ import { arrToId, getArrValue, getObjVal, getObjValue, isNullES } from 'js-fast-
|
|
import { nextTick, onMounted, ref, watch } from 'vue'
|
|
import { nextTick, onMounted, ref, watch } from 'vue'
|
|
import { useAppStore } from '~src/store'
|
|
import { useAppStore } from '~src/store'
|
|
import HcBillBase from './addBillBase.vue'
|
|
import HcBillBase from './addBillBase.vue'
|
|
-import middlepayApi from '~api/debit-pay/admin/middlepay'
|
|
|
|
import mainApi from '~api/tasks/hc-data'
|
|
import mainApi from '~api/tasks/hc-data'
|
|
import BigNumber from 'bignumber.js'
|
|
import BigNumber from 'bignumber.js'
|
|
import { getHeader } from 'hc-vue3-ui'
|
|
import { getHeader } from 'hc-vue3-ui'
|
|
@@ -175,23 +172,10 @@ const setTaskInfo = (table, row) => {
|
|
tableInfo.value = table
|
|
tableInfo.value = table
|
|
taskInfo.value = row
|
|
taskInfo.value = row
|
|
if (getObjVal(table) && getObjVal(row)) {
|
|
if (getObjVal(table) && getObjVal(row)) {
|
|
- getAllPeriod()
|
|
|
|
getDataDetail()
|
|
getDataDetail()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-//获取合同计量期列表
|
|
|
|
-const periods = ref([])
|
|
|
|
-const getAllPeriod = async () => {
|
|
|
|
- const { data } = await middlepayApi.getAllPeriod({
|
|
|
|
- projectId: projectId.value,
|
|
|
|
- contractId: contractId.value,
|
|
|
|
- taskId: taskInfo.value.id,
|
|
|
|
- type: 1,
|
|
|
|
- })
|
|
|
|
- periods.value = getArrValue(data)
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
//获取任务数据信息详情
|
|
//获取任务数据信息详情
|
|
const isLoading = ref(false)
|
|
const isLoading = ref(false)
|
|
const getDataDetail = async () => {
|
|
const getDataDetail = async () => {
|