mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 01:22:33 +09:00
fix : 대금청구 버튼 조건 변경
This commit is contained in:
@@ -83,11 +83,15 @@ function getContractDetail(){
|
|||||||
router.push({ path: '/app/contractDetail', state: { key: arguments[0].contNo }})
|
router.push({ path: '/app/contractDetail', state: { key: arguments[0].contNo }})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//[0300 대금지급전 / 0400 대금지급중/ 0500 대금지급완료]
|
//[0200 계약종료 /0300 대금지급전 / 0400 대금지급중/ 0500 대금지급완료]
|
||||||
function getBilling(row){
|
function getBilling(row){
|
||||||
if(params.sessionUser.sabun == row.regSabun && row.contStatCd == '0400'){
|
if(params.sessionUser.sabun == row.regSabun && (row.contStatCd == '0200' || row.contStatCd == '0300')){
|
||||||
|
//대금지급 전
|
||||||
|
router.push({ path: '/app/documentManagementInsertUpdate', state: { key: row.contNo}})
|
||||||
|
}else if(params.sessionUser.sabun == row.regSabun && (row.contStatCd == '0400' || row.contStatCd == '0500')){
|
||||||
|
//대금지급중, 대금지급완료
|
||||||
router.push({ path: '/app/documentManagementDetail', state: { key: row.contNo}})
|
router.push({ path: '/app/documentManagementDetail', state: { key: row.contNo}})
|
||||||
}
|
} //detail로 수정하기 현재 : 대금지급전
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@@ -236,7 +240,7 @@ function getBilling(row){
|
|||||||
<template #body-cell-charge="{ row }">
|
<template #body-cell-charge="{ row }">
|
||||||
<div>
|
<div>
|
||||||
<VButton
|
<VButton
|
||||||
v-if="row.contStatCd==='0400'"
|
v-if="row.contStatCd!='0000' && row.contStatCd!='0100'"
|
||||||
color="info"
|
color="info"
|
||||||
size="big"
|
size="big"
|
||||||
@click.stop="getBilling(row)"
|
@click.stop="getBilling(row)"
|
||||||
|
|||||||
Reference in New Issue
Block a user