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