From 4a853b696a5a0023d71d421b33622c4685f8dd45 Mon Sep 17 00:00:00 2001 From: Yesol Choi Date: Wed, 4 Jun 2025 21:49:40 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C?= =?UTF-8?q?=20=EC=BD=94=EB=93=9C=20=EC=A0=9C=EA=B1=B0=20=EB=B0=8F=20?= =?UTF-8?q?=EC=83=81=ED=83=9C=EC=BD=94=EB=93=9C=20=EB=94=B0=EB=A5=B8=20?= =?UTF-8?q?=EB=B2=84=ED=8A=BC=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/app/contractManagement.vue | 6 +----- src/pages/app/documentManagementInsertUpdate.vue | 5 ++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/pages/app/contractManagement.vue b/src/pages/app/contractManagement.vue index baec9ea..1e9e512 100644 --- a/src/pages/app/contractManagement.vue +++ b/src/pages/app/contractManagement.vue @@ -3,8 +3,6 @@ import {getContractList} from "/src/service/contractApi"; import {formatCurrency} from "/@src/utils/common/regex.ts"; import { formatDatefromString } from '/@src/utils/common/comfunc' -const emits = defineEmits(['on-search', 'on-tr-click']) -const selUser = ref() const masks = ref({ modelValue: 'YYYY-MM-DD', }) @@ -121,7 +119,6 @@ function getContractDetail(){ function getBilling(row){ if(params.sessionUser.sabun == row.regSabun && (row.contStatCd == '0200' || row.contStatCd == '0300')){ //대금지급 전 - const statusFlag = row.contStatCd router.push({ path: '/app/documentManagementInsertUpdate', state: { key: row.contNo, status: statusFlag}}) }else if(params.sessionUser.sabun == row.regSabun && (row.contStatCd == '0400' || row.contStatCd == '0500')){ @@ -141,7 +138,6 @@ watch(currentPage, (newParams) => {
- 분야 @@ -152,7 +148,7 @@ watch(currentPage, (newParams) => {
- + 계약번호 diff --git a/src/pages/app/documentManagementInsertUpdate.vue b/src/pages/app/documentManagementInsertUpdate.vue index c4b4681..cd6dae4 100644 --- a/src/pages/app/documentManagementInsertUpdate.vue +++ b/src/pages/app/documentManagementInsertUpdate.vue @@ -14,6 +14,7 @@ onBeforeMount(async ()=>{ result = await getContractDetail(history.state.key) getDetailBeforeList(result) }else if(history.state.status == '0300'){ + params.contStatCd = history.state.status // 대금지급 전 slip api 에서 결재선까지 받아옴 result = await getBeforeSlipDetail(history.state.key) getDetailList(result) @@ -111,6 +112,7 @@ const getDetailList = (item) => { const getDetailBeforeList = (item) => { console.log("item before",item) + params.contStatCd = item.contStatCd params.contNo = item.contNo params.place = item.compNm// !!!!!!업체명 bupla params.bktxt = item.title //!!!!!!계약명 @@ -663,7 +665,8 @@ const moveDown = (index: number) => {
- 전 표 생 성 + 전 표 생 성 + 전 표 수 정 취 소