This commit is contained in:
zhangdingyu
2019-02-14 14:04:32 +08:00
parent b4802e23a1
commit 1cc68e5d45

View File

@@ -57,8 +57,6 @@
@current-change="handleCurrentChange"/> @current-change="handleCurrentChange"/>
</div> </div>
</el-card> </el-card>
<el-card>
<el-tabs type="border-card"> <el-tabs type="border-card">
<el-tab-pane label="付款明细"> <el-tab-pane label="付款明细">
<el-table v-loading="loading3" :data="tableData3" height="370" style="width: 100%;" border element-loading-text="拼命加载中"> <el-table v-loading="loading3" :data="tableData3" height="370" style="width: 100%;" border element-loading-text="拼命加载中">
@@ -79,16 +77,8 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="200px" fixed="right"> <el-table-column label="操作" align="center" width="200px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button size="mini" type="primary" class="el-icon-edit" @click="handleChange3(scope.row, 'form2')">编辑</el-button>
size="mini" <el-button size="mini" type="danger" class="el-icon-delete" @click="handleDelete3(scope.$index, scope.row)">删除</el-button>
type="primary"
class="el-icon-edit"
@click="handleChange3(scope.row, 'form2');param = 1">编辑</el-button>
<el-button
size="mini"
type="danger"
class="el-icon-delete"
@click="handleDelete3(scope.$index, scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -143,16 +133,8 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="200px" fixed="right"> <el-table-column label="操作" align="center" width="200px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button size="mini" type="primary" class="el-icon-edit" @click="handleChange1(scope.$index, scope.row, 'form');param = 1">编辑</el-button>
size="mini" <el-button size="mini" type="danger" class="el-icon-delete" @click="handleDelete(scope.$index, scope.row)">删除</el-button>
type="primary"
class="el-icon-edit"
@click="handleChange1(scope.$index, scope.row, 'form');param = 1">编辑</el-button>
<el-button
size="mini"
type="danger"
class="el-icon-delete"
@click="handleDelete(scope.$index, scope.row)">删除</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -169,7 +151,6 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
</el-card>
<el-dialog :title="title1" :visible.sync="dialogFormVisible" center style="min-height: 300px" width="700px"> <el-dialog :title="title1" :visible.sync="dialogFormVisible" center style="min-height: 300px" width="700px">
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="90px" class="demo-ruleForm"> <el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="90px" class="demo-ruleForm">
@@ -424,6 +405,7 @@ export default {
}, },
// 新增付款打开 // 新增付款打开
payment(row, formName) { payment(row, formName) {
this.param2 = 0
this.count3 = this.count3 + 1 this.count3 = this.count3 + 1
if (this.count3 !== 1) { if (this.count3 !== 1) {
this.$refs[formName].resetFields() this.$refs[formName].resetFields()
@@ -457,6 +439,7 @@ export default {
}, },
// 编辑付款打开 // 编辑付款打开
handleChange3(row, formName) { handleChange3(row, formName) {
this.param2 = 1
this.count4 = this.count4 + 1 this.count4 = this.count4 + 1
if (this.count4 !== 1) { if (this.count4 !== 1) {
this.$refs[formName].resetFields() this.$refs[formName].resetFields()