mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 03:12:27 +09:00
func : 결재함 - SAP 로우데이터 상세보기 추가
This commit is contained in:
@@ -3,17 +3,20 @@
|
||||
import {getSlipDetail, saveTempSlip} from "/@src/service/slipApi.ts";
|
||||
import {formatDatefromStringDate} from "/@src/utils/common/comfunc.ts";
|
||||
import {VTabsItem} from "/@src/components/app-vuero/VCustomTabs.vue";
|
||||
import {sapApprConveterNo} from "/@src/service/sapApprovalApi.ts";
|
||||
|
||||
|
||||
const props = defineProps<{apprNo : string}>();
|
||||
console.log(props.apprNo)
|
||||
console.log(props)
|
||||
|
||||
onBeforeMount(async ()=>{
|
||||
|
||||
let result;
|
||||
if(history.state.key){
|
||||
result = await getSlipDetail(history.state.key)
|
||||
}else if(props.apprNo){
|
||||
result = await getSlipDetail(props.apprNo)
|
||||
const sapApprNo = await sapApprConveterNo(props.apprNo)
|
||||
result = await getSlipDetail(sapApprNo.data.contNo)
|
||||
}
|
||||
getDetailList(result)
|
||||
apprLine.value = result.zwf0011t.apprs
|
||||
|
||||
Reference in New Issue
Block a user