add
This commit is contained in:
parent
e371731f3e
commit
d69b0f5c0e
@ -46,7 +46,6 @@
|
||||
<el-table-column :render-header="pager.calcWidth" label="合同未回款金额" prop="" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
{{ (+row.signed_amount) - (+row.total_refund_amount) }}
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :render-header="pager.calcWidth" label="回款日期" prop="refund_date"
|
||||
@ -68,8 +67,7 @@
|
||||
@click="handleDetail(row)">
|
||||
详情
|
||||
</el-button>
|
||||
<el-button v-perms="['contract.contract_negotiation/detail']" link
|
||||
@click="handleDown(row.id)">
|
||||
<el-button v-perms="['contract.contract_negotiation/detail']" link @click="handleDown(row.id)">
|
||||
下载
|
||||
</el-button>
|
||||
</template>
|
||||
@ -89,7 +87,6 @@ import { usePaging } from '@/hooks/usePaging'
|
||||
import { useDictData } from '@/hooks/useDictOptions'
|
||||
import { apiContractLedgerLists, apiMarketingContract, apiMarketingContractdownload } from '@/api/contract_ledger'
|
||||
import feedback from '@/utils/feedback'
|
||||
import detailConfig from './detail.js'
|
||||
import supervision_project from "@/views/supervision_project/detail.js"
|
||||
import manage_project from "@/views/manage_project/detail.js"
|
||||
import consult_project from "@/views/consult_project/detail.js"
|
||||
@ -102,12 +99,10 @@ import { apiConsultProjectDetail } from '@/api/consult_project'
|
||||
import { apiCostProjectDetail } from '@/api/cost_project'
|
||||
|
||||
const targetDetail = ref({})
|
||||
|
||||
const detailRef = shallowRef<InstanceType<typeof EditPopup>>()
|
||||
// // 是否显示编辑框
|
||||
const showDetail = ref(false)
|
||||
|
||||
|
||||
// 查询条件
|
||||
const queryParams = reactive({
|
||||
contract_name: "",
|
||||
@ -115,13 +110,6 @@ const queryParams = reactive({
|
||||
contract_type: '',
|
||||
})
|
||||
|
||||
// 选中数据
|
||||
const selectData = ref<any[]>([])
|
||||
|
||||
|
||||
|
||||
// 获取字典数据
|
||||
const { dictData } = useDictData('cost_consultation_business_nature,cost_contract_type')
|
||||
|
||||
// 分页相关
|
||||
const { pager, getLists, resetParams, resetPage } = usePaging({
|
||||
@ -165,9 +153,6 @@ const handleDetail = async (row: any) => {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// 下载
|
||||
const handleDown = async (id: number | any[]) => {
|
||||
let res = await apiMarketingContractdownload({ id })
|
||||
@ -175,6 +160,5 @@ const handleDown = async (id: number | any[]) => {
|
||||
a.href = res.url
|
||||
a.click()
|
||||
}
|
||||
// console.log(supervision_project, '1212')
|
||||
getLists()
|
||||
</script>
|
||||
|
@ -52,14 +52,12 @@
|
||||
<el-table-column label="合同类型" prop="contract_type_text" show-overflow-tooltip />
|
||||
<el-table-column label="甲方单位" :render-header="pager.calcWidth" prop="part_a_name"
|
||||
show-overflow-tooltip />
|
||||
<el-table-column label="乙方单位" :render-header="pager.calcWidth" prop="part_b"
|
||||
show-overflow-tooltip />
|
||||
<el-table-column label="乙方单位" :render-header="pager.calcWidth" prop="part_b" show-overflow-tooltip />
|
||||
<el-table-column label="签订金额" prop="signed_amount" show-overflow-tooltip />
|
||||
<el-table-column label="签订部门" prop="signed_dept_name" show-overflow-tooltip />
|
||||
<el-table-column label="签订负责人" prop="signed_head_name" show-overflow-tooltip />
|
||||
<el-table-column label="业务性质" prop="business_nature_text" show-overflow-tooltip />
|
||||
<el-table-column :render-header="pager.calcWidth" label="发出日期" prop="send_date"
|
||||
show-overflow-tooltip />
|
||||
<el-table-column :render-header="pager.calcWidth" label="发出日期" prop="send_date" show-overflow-tooltip />
|
||||
<el-table-column label="操作" width="120" fixed="right">
|
||||
<template #default="{ row }">
|
||||
<el-button v-perms="['marketing.marketing_contract/edit']" type="primary" link
|
||||
@ -157,6 +155,7 @@ const handleClose = async (type: any) => {
|
||||
await apiMarketingHandoverContractHandover({ id: row.value.id })
|
||||
getLists()
|
||||
}
|
||||
marketing_handover_contract.value = false
|
||||
}
|
||||
|
||||
getLists()
|
||||
|
Loading…
x
Reference in New Issue
Block a user