From 3dded18dc77b3511ec6008bdc69d6eaa35f8fdc5 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Sat, 1 Jun 2024 16:54:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=8A=9F=E8=83=BD=EF=BC=8C=E6=8F=90=E5=8D=87?= =?UTF-8?q?=E4=BA=86=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E9=AB=98=E4=BA=86=E6=93=8D=E4=BD=9C=E6=95=88=E7=8E=87=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/contract_ledger/index.vue | 23 ++++++++++++++---- .../marketing_framework_agreement/index.vue | 24 ++++++++++++++++--- src/views/oa_arrival/edit.vue | 11 ++++++--- 3 files changed, 47 insertions(+), 11 deletions(-) diff --git a/src/views/contract_ledger/index.vue b/src/views/contract_ledger/index.vue index d04ebfe..7e755db 100644 --- a/src/views/contract_ledger/index.vue +++ b/src/views/contract_ledger/index.vue @@ -55,13 +55,16 @@ show-overflow-tooltip /> @@ -89,11 +92,15 @@ import { import { apiManageProjectDetail } from '@/api/manage_project' import { apiConsultProjectDetail } from '@/api/consult_project' import { apiCostProjectDetail } from '@/api/cost_project' +import { useRouter } from "vue-router" + + const targetDetail = ref({}) const detailRef = shallowRef>() // // 是否显示编辑框 const showDetail = ref(false) +const router = useRouter() // 查询条件 const queryParams = reactive({ @@ -166,8 +173,8 @@ const getSummaries = (param) => { Number(prev) + Number(curr), 0 ); - sums[index]= sums[index].toFixed(2) - + sums[index] = sums[index].toFixed(2) + } else { sums[index] = ''; @@ -183,5 +190,11 @@ const handleDown = async (id: number | any[]) => { a.href = res.url a.click() } +// 结算 +const handleSettlement = (row) => { + alert("没有接口") + router.push('/financial/invoice_and_receipt/financial_settlement') +} + getLists() diff --git a/src/views/marketing_framework_agreement/index.vue b/src/views/marketing_framework_agreement/index.vue index 4dec02f..9fe9b60 100644 --- a/src/views/marketing_framework_agreement/index.vue +++ b/src/views/marketing_framework_agreement/index.vue @@ -20,9 +20,6 @@ - 查询 重置 @@ -74,6 +71,12 @@ @click="handledetail(row)"> 详情 + + 生成合同 + + + 已生成合同 + @@ -98,11 +101,14 @@ import feedback from '@/utils/feedback' import EditPopup from './edit.vue' import { deptLists } from "@/api/org/department" import DetailPopup from './detail.vue' +import { useRouter } from "vue-router" + const detailRef = shallowRef>() const editRef = shallowRef>() const showEdit = ref(false) const showDetail = ref(false) +const router = useRouter() // 查询条件 const queryParams = reactive({ @@ -162,6 +168,18 @@ const handledetail = async (data: any) => { detailRef.value?.setFormData(res) } +// 生成合同 +const handleContract = (row: any) => { + alert("没有接口") + console.log(row) +} + +// 已生成合同 +const handleGoContract = (row) => { + return alert("没有接口") + router.push('/') +} + const deptList = ref([]) const getDeptList = async () => { let res = await deptLists() diff --git a/src/views/oa_arrival/edit.vue b/src/views/oa_arrival/edit.vue index f24a52a..38e2dc1 100644 --- a/src/views/oa_arrival/edit.vue +++ b/src/views/oa_arrival/edit.vue @@ -58,7 +58,6 @@ {{ (+formData.amount) - (+formData.enter_amount) }} - {{ formData.is_cash_text }} @@ -67,8 +66,9 @@ 暂无更多到账记录,点击 添加 -