|
@@ -1,7 +1,6 @@
|
|
|
<template>
|
|
|
<a-modal
|
|
|
centered
|
|
|
- class="chooseImport-modal"
|
|
|
:footer="null"
|
|
|
:maskClosable="false"
|
|
|
title="结算明细"
|
|
@@ -9,32 +8,30 @@
|
|
|
@cancle="isShow=false"
|
|
|
width="70%">
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
- <div class="chooseImport-con">
|
|
|
- <a-descriptions :column="3">
|
|
|
- <a-descriptions-item label="结算时间">
|
|
|
- {{ this.settleData &&this.settleData.payDate?this.settleData.payDate:'--' }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="结算金额">
|
|
|
- {{ this.settleData &&this.settleData.settleAmount?toThousands(this.settleData.settleAmount,2):'--' }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="支付方式">
|
|
|
- {{ this.settleData&&this.settleData.payWayDictValue?this.settleData.payWayDictValue:'--' }}
|
|
|
- </a-descriptions-item>
|
|
|
- </a-descriptions>
|
|
|
- <!-- 可导入数据 -->
|
|
|
- <s-table
|
|
|
- class="sTable fixPagination"
|
|
|
- ref="table"
|
|
|
- size="small"
|
|
|
- :rowKey="(record) => record.allocateSn"
|
|
|
- :columns="nowColumns"
|
|
|
- :data="loadData"
|
|
|
- :loading="loading"
|
|
|
- :defaultLoadData="true"
|
|
|
- :scroll="{ y: 600 }"
|
|
|
- bordered>
|
|
|
- </s-table>
|
|
|
- </div>
|
|
|
+ <a-descriptions :column="3">
|
|
|
+ <a-descriptions-item label="结算时间">
|
|
|
+ {{ this.settleData &&this.settleData.payDate?this.settleData.payDate:'--' }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="结算金额">
|
|
|
+ {{ this.settleData &&this.settleData.settleAmount?toThousands(this.settleData.settleAmount,2):'--' }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="支付方式">
|
|
|
+ {{ this.settleData&&this.settleData.payWayDictValue?this.settleData.payWayDictValue:'--' }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ <!-- 可导入数据 -->
|
|
|
+ <s-table
|
|
|
+ class="sTable"
|
|
|
+ ref="table"
|
|
|
+ size="small"
|
|
|
+ :rowKey="(record) => record.allocateSn"
|
|
|
+ :columns="nowColumns"
|
|
|
+ :data="loadData"
|
|
|
+ :loading="loading"
|
|
|
+ :defaultLoadData="true"
|
|
|
+ :scroll="{ y: 600 }"
|
|
|
+ bordered>
|
|
|
+ </s-table>
|
|
|
</a-spin >
|
|
|
</a-modal>
|
|
|
</template>
|
|
@@ -106,7 +103,9 @@ export default {
|
|
|
if (!newValue) {
|
|
|
this.$emit('close')
|
|
|
} else {
|
|
|
- this.$refs.table.refresh(true)
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$refs.table.refresh(true)
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
settleData (newValue, oldValue) {
|
|
@@ -117,19 +116,5 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
-<style lang="less" scoped>
|
|
|
- .chooseImport-modal{
|
|
|
- .chooseImport-con{
|
|
|
- .red{
|
|
|
- color: #f30;
|
|
|
- }
|
|
|
- .btn-con{
|
|
|
- text-align: center;
|
|
|
- margin: 30px 0 20px;
|
|
|
- .button-cancel,.button-error{
|
|
|
- font-size: 12px;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+<style lang="less">
|
|
|
</style>
|