离线合同:明细小计NaN;离线合同请款:取消请款禁用

This commit is contained in:
chenjianan
2018-11-19 14:29:03 +08:00
parent fa32b53a6f
commit 257da27106
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@
</el-table-column>
<el-table-column label="合计" align="center" min-width="100" prop="合计">
<template slot-scope="scope">
{{ parseFloat(scope.row.单价) * parseInt(scope.row.数量) }}
{{ parseFloat(scope.row.单价||0) * parseInt(scope.row.数量||0) }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" min-width="100">
@@ -620,7 +620,7 @@ export default {
disable2: true,
disable3: true,
disable4: true,
disable: false // 其他的禁用
disable: true // 其他的禁用
}
},
computed: {

View File

@@ -95,7 +95,7 @@
</el-table>
<el-button slot="reference" type="success" size="mini" icon="el-icon-search" style="margin-left: 10px" @click="searchTable02(scope.row)">查看详情</el-button>
</el-popover>
<el-button type="danger" size="mini" icon="el-icon-delete" style="margin-left: 10px" @click="cancelRequestFund(scope.row)">取消请款</el-button>
<el-button :disabled="parseInt(scope.row.审核情况流水号)!==3&&parseInt(scope.row.审批情况流水号)!==3&&parseInt(scope.row.付款情况流水号)!==3" type="danger" size="mini" icon="el-icon-delete" style="margin-left: 10px" @click="cancelRequestFund(scope.row)">取消请款</el-button>
</template>
</el-table-column>
</el-table>