Commit 84946c72 by liushikai

布局优化

parent f5b82f2c
......@@ -106,8 +106,8 @@ export default {
columnArr.push({
prop: tableColumn,
label: tableColumn,
// width: o[0].width,
width: "auto",
width: o[0].width,
// width: "auto",
index: k,
children: o,
});
......
......@@ -217,35 +217,35 @@
<!-- <c-col :span="24"><div style="height: 10px"></div></c-col> -->
<c-col :span="23" style="margin:0 25px">
<c-col :span="23" style="margin:0 20px">
<c-table
:border="true"
:list="model.liaall.liaccv.liaccvg"
style="width:80%,text-align:center"
>
<el-table-column prop="ccdflg" label="CF000048" width="auto">
<el-table-column prop="ccdflg" label="CF000048" width="78px">
</el-table-column>
<el-table-column prop="ownref" label="保证金编号" width="auto">
<el-table-column prop="ownref" label="保证金编号" width="130px">
</el-table-column>
<el-table-column prop="cur" label="币种" width="auto">
<el-table-column prop="cur" label="币种" width="55px">
</el-table-column>
<el-table-column prop="oldamt" label="余额" width="auto">
<el-table-column prop="oldamt" label="余额" width="150px">
</el-table-column>
<el-table-column prop="amt" label="变动金额" width="auto">
<el-table-column prop="amt" label="变动金额" width="150px">
</el-table-column>
<el-table-column prop="acc" label="保证金账号" width="auto">
<el-table-column prop="acc" label="保证金账号" width="180px">
</el-table-column>
<el-table-column prop="rat" label="汇率" width="auto">
<el-table-column prop="rat" label="汇率" width="120px">
</el-table-column>
<el-table-column prop="concur" label="币种" width="auto">
<el-table-column prop="concur" label="币种" width="55px">
</el-table-column>
<el-table-column prop="covamt" label="折算后金额" width="auto">
<el-table-column prop="covamt" label="折算后金额" width="150px">
</el-table-column>
<el-table-column prop="acccovamt" label="Acc Amount" width="auto">
<el-table-column prop="acccovamt" label="Acc Amount" width="150px">
</el-table-column>
<el-table-column label="OP" width="auto">
<el-table-column label="OP" width="75px">
<template slot-scope="scope">
<c-button size="small" icon="el-icon-delete" @click="onLiaccvDel(scope.$index,scope.row)">
<c-button style="margin-left:0" type="primary" size="small" @click="onLiaccvDel(scope.$index,scope.row)">
Del</c-button>
</template>
</el-table-column>
......
......@@ -5,30 +5,61 @@
</c-col> -->
<c-col :span="23" style="margin-left:9px">
<c-table :list="model.liaall.liaallg" style="width:80%,text-align:center,margin-bottom:18px" :border="true">
<el-table-column prop="cbtpfx" label="Type" width="auto"> </el-table-column>
<el-table-column prop="matdat" label="Maturity" width="auto"> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="auto"> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="auto"> </el-table-column>
<el-table-column prop="nam" label="Name" width="auto"> </el-table-column>
<el-table-column prop="cdtrol" label="Cdt." width="auto"> </el-table-column>
<el-table-column prop="cur" label="Cur" width="auto"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="auto">
<template slot-scope="scope">
<el-table-column prop="bussec" label="BS" width="40px"> </el-table-column>
<el-table-column prop="cbtpfx" label="Type" width="60px"> </el-table-column>
<el-table-column prop="matdat" label="Maturity" width="100px"> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px"> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px"> </el-table-column>
<el-table-column prop="nam" label="Name" width="170px"> </el-table-column>
<el-table-column prop="cdtrol" label="Cdt." width="70px"> </el-table-column>
<el-table-column prop="cur" label="Cur" width="55px"> </el-table-column>
<el-table-column prop="oldamt" label="Old Amount" width="150px">
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.oldamt)}}
</template>
</template> -->
</el-table-column>
<el-table-column prop="amt" label="Booking Amo" width="auto">
<template slot-scope="scope">
<el-table-column prop="amt" label="Booking Amo" width="100px">
<!-- <template slot-scope="scope">
{{moneyFormat(scope.row.amt)}}
</template>
</template> -->
</el-table-column>
<el-table-column prop="tenpct" label="%" width="auto"> </el-table-column>
<el-table-column prop="acc" label="Account" width="auto"> </el-table-column>
<el-table-column prop="valdat" label="Value Date" width="auto">
<template slot-scope="scope">
<el-table-column prop="tenpct" label="%" width="80px">
</el-table-column>
<el-table-column prop="acc" label="Account" width="150px"> </el-table-column>
<el-table-column prop="valdat" label="Value Date" width="120px">
<!-- <template slot-scope="scope">
{{dateFormat(scope.row.valdat)}}
</template>
</template> -->
</el-table-column>
<el-table-column label="" prop="det" width="80px">
<template slot-scope="scope" slot="header">
<el-button
circle
style="padding:4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
</el-button>
<el-button
style="padding:4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
>
</el-button>
</template>
<template slot-scope="scoped">
<el-button
style="margin-left:0"
size="small"
type="primary"
@click="detail1(scoped.$index, scoped.row)"
>详情</el-button
>
</template>
</el-table-column>
</c-table>
</c-col>
......
......@@ -18,15 +18,15 @@ export default {
data(){
return {
columns: [
"2 1 \"D/C\" 38 1 0",
"2 1 \"D/C\" 60 1 0",
"6 2 \"Account Number\" 140",
"3 3 \"Cur\" 60",
"4 4 \"Amount\" 135 2 8:1 2 5",
"5 5 \"Value Date\" 80",
"7 6 \"Rate Type\" 90",
"8 7 \"Rate\" 85 2 0 1 0",
"9 8 \"Term\" 60",
"0 9 \"PN\" 62 1 0"
"3 3 \"Cur\" 80",
"4 4 \"Amount\" 180 2 8:1 2 5",
"5 5 \"Value Date\" 140",
"7 6 \"Rate Type\" 160",
"8 7 \"Rate\" 120 2 0 1 0",
"9 8 \"Term\" 80",
"0 9 \"PN\" 80 1 0"
],
data: [
]
......
<template>
<div class="eContainer-taskList">
<c-tabs :value="tabVal" type="card" @tab-click="tabClick">
<el-tab-pane label="待办列表" name="sptsel">
<el-tab-pane label="待办列表" name="sptsel">
<!-- <c-table :columnsConfig="tableColumns" :list="tableData"></c-table> -->
<t-sptsel />
</el-tab-pane>
<el-tab-pane label="未完成列表" name="trnrel">
<el-tab-pane label="待复核列表" name="trnrel">
<t-trnrel />
</el-tab-pane>
<el-tab-pane label="已完成列表" name="finishedList">
......
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