|
@@ -81,19 +81,18 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</s-table>
|
|
|
+ <div class="footer-btn">
|
|
|
+ <a-button
|
|
|
+ size="large"
|
|
|
+ style="padding: 0 60px;"
|
|
|
+ :disabled="spinning"
|
|
|
+ type="primary"
|
|
|
+ class="button-primary"
|
|
|
+ @click="handleSubmit()"
|
|
|
+ id="salesReturn-handleSubmit">提交</a-button>
|
|
|
+ </div>
|
|
|
</a-card>
|
|
|
</a-spin>
|
|
|
- <div class="affix-cont">
|
|
|
- <a-button
|
|
|
- size="large"
|
|
|
- style="padding: 0 60px;"
|
|
|
- :disabled="spinning"
|
|
|
- type="primary"
|
|
|
- class="button-primary"
|
|
|
- @click="handleSubmit()"
|
|
|
- id="salesReturn-handleSubmit">提交</a-button>
|
|
|
- </div>
|
|
|
-
|
|
|
<!-- 添加产品 -->
|
|
|
<chooseProductsModal ref="chooseProduct" :openModal="openModal" :buyerSn="$route.params.buyerSn" @close="openModal=false" @addProduct="addProduct"></chooseProductsModal>
|
|
|
</div>
|
|
@@ -334,13 +333,11 @@ export default {
|
|
|
_this.setTableH()
|
|
|
})
|
|
|
this.orderSn = this.$route.params.sn
|
|
|
- this.rowSelectionInfo = null
|
|
|
- this.$refs.table.clearTable()
|
|
|
this.returnReasonList = this.$store.state.app.returnReason
|
|
|
this.getOrderDetail()
|
|
|
},
|
|
|
setTableH () {
|
|
|
- this.tableHeight = window.innerHeight - 340
|
|
|
+ this.tableHeight = window.innerHeight - 390
|
|
|
}
|
|
|
},
|
|
|
mounted () {
|
|
@@ -350,7 +347,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
activated () {
|
|
|
- this.$refs.table.refresh(true)
|
|
|
+ this.$refs.table.refresh()
|
|
|
this.pageInit()
|
|
|
},
|
|
|
beforeRouteEnter (to, from, next) {
|
|
@@ -366,9 +363,11 @@ export default {
|
|
|
padding-bottom: 51px;
|
|
|
box-sizing: border-box;
|
|
|
>.ant-spin-nested-loading{
|
|
|
- overflow-y: scroll;
|
|
|
height: 100%;
|
|
|
}
|
|
|
+ .footer-btn{
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
.salesReturnReceive-cont{
|
|
|
margin-top: 10px;
|
|
|
.sTable{
|