Commit 6bfec481 authored by youjie's avatar youjie

no message

parent c3f56d0f
...@@ -475,6 +475,7 @@ export default { ...@@ -475,6 +475,7 @@ export default {
this.$refs.multipleTable.toggleRowSelection(row); this.$refs.multipleTable.toggleRowSelection(row);
}); });
} }
this.getMoney()
// this.multipleSelection.splice(index,1) // this.multipleSelection.splice(index,1)
}, },
// 单据详情 // 单据详情
...@@ -535,6 +536,7 @@ export default { ...@@ -535,6 +536,7 @@ export default {
}, },
handleSelectionChange(val) { handleSelectionChange(val) {
this.multipleSelection = val; this.multipleSelection = val;
this.getMoney()
}, },
GetHandFee() { GetHandFee() {
this.apipost( this.apipost(
......
...@@ -4,47 +4,47 @@ ...@@ -4,47 +4,47 @@
<el-dialog :title="`已选数据${dataList.length}条`" <el-dialog :title="`已选数据${dataList.length}条`"
:visible.sync="showDialog" center @close="close" :visible.sync="showDialog" center @close="close"
width="600px"> width="600px">
<div style="max-height: 400px;overflow: auto;">
<el-table <el-table
:data="dataList" :data="dataList"
tooltip-effect="dark" tooltip-effect="dark"
style="width: 100%" style="width: 100%"
> >
<el-table-column <el-table-column
label="单号" label="单号"
width="120"> width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.FinanceId }}</span> <span>{{ scope.row.FinanceId }}</span>
</template> </template>
</el-table-column>
<el-table-column
prop=""
label="原币金额"
show-overflow-tooltip>
<template slot-scope="scope">
{{scope.row.OriginalMoney?scope.row.OriginalMoney+'/'+scope.row.CurrencyName:''}}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="" prop=""
label="原币金额" label="本位币金额"
show-overflow-tooltip> show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.OriginalMoney?scope.row.OriginalMoney+'/'+scope.row.CurrencyName:''}} {{scope.row.Money}}
</template>
</el-table-column>
<el-table-column
prop=""
label="本位币金额"
show-overflow-tooltip>
<template slot-scope="scope">
{{scope.row.Money}}
</template>
</el-table-column>
<template slot="append">
<div class="totalMoney-box">
<div>
<span>原币合计:</span>
<span style="color: red;">{{totalZD}}</span>
</div>
<div>
<span>本位币合计:</span>
<span style="color: red;">{{totalBWZD}}</span>
</div>
</div>
</template> </template>
</el-table> </el-table-column>
</el-table>
</div>
<div class="totalMoney-box">
<div>
<span>原币合计:</span>
<span style="color: red;">{{totalZD}}</span>
</div>
<div>
<span>本位币合计:</span>
<span style="color: red;">{{totalBWZD}}</span>
</div>
</div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button class="hollowFixedBtn" @click="close">{{$t('pub.cancelBtn')}}</el-button> <el-button class="hollowFixedBtn" @click="close">{{$t('pub.cancelBtn')}}</el-button>
<el-button class="normalBtn" type="primary" @click="clicksubmit">{{$t('pub.sureBtn')}}生成</el-button> <el-button class="normalBtn" type="primary" @click="clicksubmit">{{$t('pub.sureBtn')}}生成</el-button>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<el-dialog :title="`已选数据${dataList.length}条`" <el-dialog :title="`已选数据${dataList.length}条`"
:visible.sync="showDialog" center @close="close" :visible.sync="showDialog" center @close="close"
width="1000px"> width="1000px">
<div style="height: 400px;overflow: auto;"> <div style="max-height: 400px;overflow: auto;">
<el-table <el-table
:data="dataList" :data="dataList"
tooltip-effect="dark" tooltip-effect="dark"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment