fix : 대금지급중 버튼 , 이벤트 제거

This commit is contained in:
Yesol Choi
2025-06-04 22:32:06 +09:00
parent 1df2b66e68
commit 3d797e701f

View File

@@ -95,51 +95,6 @@ const cancel = () => {
} }
const loading = ref(false) const loading = ref(false)
const createChit = async () => {
let res = null
try{
loading.value = true
const createParams = {
contNo : params.contNo,
bldat : '20250602',//params.regSdt.replace("-",""),
budat : '20250602',//params.regSdt2.replace("-",""),
waers : currencyCode.value,
bktxt : params.title,
lifnr : params.regNm,
wrbtr : formattedNumber.value, //수정필요
mwskz : taxCode.value,
gsber : affiliationCode.value, //무슨 값인지 모름 gsber bukrs bupla
bupla : affiliationCode.value,
zterm : '', //어떤 값인지 모름
banks : '' , //어떤 값인지 모름
bankl : params.bankl,
bankn : params.bankn,
hkont : '',//G/L 계정
wrbtrS : formattedNumber.value,
kostl : selectCostCode.value,
projk : selectCostCode.value,
trtGubun : '',//어떤 값인지 모름
txBillSeq : '',//어떤 값인지 모름
slipAtts: [], // 파일 업로드
zwf0011t : {
belnr: '',
wkfid: '',
wkftx: '',
apprs: params.apprList,
}
}
notyf.dismissAll()
res = await saveTempSlip(createParams)
if(res.request.status == '200'){
notyf.primary('등록 되었습니다.')
router.push({path: '/app/priceManagement'})
}
}catch(e){
notyf.error(e.message)
}finally {
loading.value = false
}
}
const selectedTab = ref<VTabsItem[]>() const selectedTab = ref<VTabsItem[]>()
@@ -421,7 +376,6 @@ const addTabFromRow = (row,index) => {
</tbody> </tbody>
</table> </table>
<div class="bottom-button"> <div class="bottom-button">
<VButton @click="createChit">대금지급중</VButton>
<VButton @click="cancel"> </VButton> <VButton @click="cancel"> </VButton>
</div> </div>
<VCustomTabs <VCustomTabs