new Promise((resolve, reject) => {
getBySourceId(this.purchaseId).then((res)=>{
if(res.success){
resolve(res.data)
}else{
reject()
}
})
}).then((val)=>{
return new Promise((resolve, reject) => {
getOfflineMeetDetail(val).then((res)=>{
if(res.success){
this.updataForm.contractPurchaseType=res.data.procurementMethod
resolve(res.data.procurementMethod)
}else{
return reject()
}
})
})
})
异步处理两个请求