diff --git a/src/views/materialsStation/straight/straightTransferReview/components/StraightforwardBills.vue b/src/views/materialsStation/straight/straightTransferReview/components/StraightforwardBills.vue index 1e11abe4..9c5a72fc 100644 --- a/src/views/materialsStation/straight/straightTransferReview/components/StraightforwardBills.vue +++ b/src/views/materialsStation/straight/straightTransferReview/components/StraightforwardBills.vue @@ -220,11 +220,12 @@ export default { try { const res = await getApproveListApi({ id: this.rowId }) console.log('🚀 ~ getSignList ~ res:', res) - if (res.data.approveSignList && res.data.approveSignList.length > 1) { + if (res.data.approveSignList && res.data.approveSignList.length > 0) { this.leaseApplyData = res.data.approveSignList[0] + console.log('🚀 ~ getSignList ~ this.leaseApplyData:', this.leaseApplyData) this.approveSignList = res.data.approveSignList.slice(1).filter(item => item != null && item !== '') + console.log('🚀 ~ getSignList ~ this.approveSignList:', this.approveSignList) } - console.log('🚀 ~ getSignList ~ this.approveSignList:', this.approveSignList) } catch (error) { console.log('🚀 ~ getSignList ~ error:', error) }