我有一个在某些情况下可见的div。在那个div下面我有一个下一个按钮。当div不可见时,下一个按钮似乎在最后。我该如何解决这种情况?我希望下一个按钮来到隐藏div的位置。
<div ng-show="(currentQuoteQto.requestType===constants.ssoQuote || currentQuoteQto.bu === constants.frNsQuote) && currentQuoteQto.status === constants.ssoPendingApproval
&& (!currentCustomers[quoteRequest.contractingPartyIc01].onlineApproval ||
(currentQuoteQto.additionalDocuments && currentQuoteQto.additionalDocuments.length>0))" style="text-align: left; margin-left: 70px; margin-top: 25px" >
<span translate>qrDetail.uploadDocuments</span><br>
<span ng-repeat="additionalDocument in currentQuoteQto.additionalDocuments">
{{$index + 1}}.{{additionalDocument.documentName}}<br>
</span>
<span ng-show="!currentCustomers[quoteRequest.contractingPartyIc01].onlineApproval">{{currentQuoteQto.additionalDocuments.length+1}}.<span translate>qrDetail.signedOrderForm</span></span>
<div style="float: right" attachments show-Button=true attachments-data="quoteRequest" is-quote=true></div>
</div>
</div>
<div style="text-align: right;margin-bottom: 40px;float: right">
<table>
<tr>
<td> <button class="bouton_action"
ng-click="showBundleAdditionalInformation()"
ng-disabled="!visibilityOfNextButtonForBundle()"
translate>button.next
</button> </td>
<td> <button class="bouton_action"
ng-show="visibilityOfSubmitButtonForBundle() "
ng-click="setBundleOption();manageOrderRejection(false);manageQuoteRejection();"
ng-class="{bouton_action_l_pushed:inProgress.submit}"
translate>button.submitQuote
</button> </td>
</tr>
</table>
</div>
答案 0 :(得分:0)
您在以下元素
之前有一个冗余的结束SELECT p.payment_profile_id,p.created_at as Renewal_Date, a.max_new_order_date as Order_Date FROM p left join
(select id,payment_profile_id, transaction_type, max(created_at) as max_new_order_date from p where transaction_type='New Order' group by payment_profile_id) a on p.payment_profile_id=a.payment_profile_id where p.transaction_type="Renewal Order";
标记
</div>
删除冗余标记,看看它是如何进行的。