修改BUG

This commit is contained in:
caoxinyu
2018-12-15 20:15:23 +08:00
parent 1f29da1768
commit 8e87fc4a9c
3 changed files with 26 additions and 9 deletions

View File

@@ -90,7 +90,7 @@
size="mini"
type="primary"
icon="el-icon-circle-plus-outline"
@click.stop="openPerformanceBondDialog(); flag = 1">履约保证金</el-button>
@click.stop="openPerformanceBondDialog(scope.row); flag = 1">履约保证金</el-button>
<el-button
:disabled="scope.row.是否禁用增加履约保函"
size="mini"
@@ -198,7 +198,21 @@
</el-table>
</el-tab-pane>
<el-tab-pane label="履约保函" name="second">
履约保函
<div>
<!--<el-upload-->
<!--:on-preview="handlePictureCardPreview"-->
<!--:on-remove="handleRemove"-->
<!--:file-list="fileList"-->
<!--:before-upload="beforeUpload"-->
<!--:on-success="onSuccess"-->
<!--:action="'http://localhost:8411/submit/upload3.ashx?ProjectId='+ ProjectId"-->
<!--list-type="picture-card">-->
<!--<i class="el-icon-plus"/>-->
<!--</el-upload>-->
<!--<el-dialog :visible.sync="dialogVisible">-->
<!--<img :src="dialogImageUrl" width="100%" alt="">-->
<!--</el-dialog>-->
</div>
</el-tab-pane>
</el-tabs>
</template>
@@ -329,6 +343,7 @@ export default {
},
created() {
this.init()
this.fetchTableData1()
},
methods: {
// 初始化条件
@@ -444,10 +459,11 @@ export default {
}
})
},
openPerformanceBondDialog() {
openPerformanceBondDialog(row) {
this.addForm('form2')
this.title1 = '增加履约保证金'
this.dialogFormVisible1 = true
this.projectId = row.项目流水号
this.tableData2 = []
},
callOffPerformanceBondDialog() {