|
@ -94,12 +94,11 @@ export default { |
|
|
async getPurchaseDetail(purchaseId){ |
|
|
async getPurchaseDetail(purchaseId){ |
|
|
var res=await request("/api/purchase/purchaseSubList",{ |
|
|
var res=await request("/api/purchase/purchaseSubList",{ |
|
|
params:{ |
|
|
params:{ |
|
|
purchaseId, |
|
|
purchaseId |
|
|
pageSize:40, |
|
|
|
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
if(res.statu){ |
|
|
if(res.statu){ |
|
|
this.list=res.data.records |
|
|
this.list=res.data |
|
|
}else{ |
|
|
}else{ |
|
|
uni.showModal({ |
|
|
uni.showModal({ |
|
|
title:"提示", |
|
|
title:"提示", |
|
|