Commit ea4dac4d by Wuyuqiu

engp公共模板tenor可写

parent 15242490
...@@ -27,6 +27,14 @@ ...@@ -27,6 +27,14 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="tenday" label="Tenor" width="70px"> <el-table-column prop="tenday" label="Tenor" width="70px">
<template slot-scope="scope">
<c-input
v-model="scope.row.tenday"
style="width: 100%"
placeholder="请输入"
>
</c-input>
</template>
</el-table-column> </el-table-column>
<el-table-column prop="rol" label="Dbt." width="70px"> <el-table-column prop="rol" label="Dbt." width="70px">
</el-table-column> </el-table-column>
...@@ -56,34 +64,34 @@ ...@@ -56,34 +64,34 @@
</template> --> </template> -->
</el-table-column> </el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right"> <el-table-column label="" prop="det" width="80px" fixed="right">
<template slot-scope="scope" slot="header"> <template slot-scope="scope" slot="header">
<el-button <el-button
circle circle
style="padding:4px" style="padding: 4px"
class="el-icon-plus" class="el-icon-plus"
size="mini" size="mini"
@click="addRow(scope)" @click="addRow(scope)"
> >
</el-button> </el-button>
<el-button <el-button
style="padding:4px" style="padding: 4px"
circle circle
class="el-icon-minus" class="el-icon-minus"
size="mini" size="mini"
@click="removeRow(scope)" @click="removeRow(scope)"
> >
</el-button> </el-button>
</template> </template>
<template slot-scope="scoped"> <template slot-scope="scoped">
<c-button <c-button
style="margin-left:0" style="margin-left: 0"
size="small" size="small"
type="primary" type="primary"
@click="detail1(scoped.$index, scoped.row)" @click="detail1(scoped.$index, scoped.row)"
>详情</c-button >详情</c-button
> >
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> </c-col>
......
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