|
@@ -91,7 +91,7 @@
|
|
|
width="180"
|
|
|
fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-input size="mini" @input="onInput(scope.row,scope.$index)" v-model="scope.row.newvalue" type="number"></el-input>
|
|
|
+ <el-input size="mini" @input="onInput(scope.row,scope.$index)" v-model="scope.row.newvalue" ></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -158,6 +158,7 @@ export default {
|
|
|
this.dialogVisible = false
|
|
|
},
|
|
|
onInput(row,index) {
|
|
|
+ row.newvalue = row.newvalue.replace(/[^\d]/g, '');
|
|
|
this.$set(this.listData,index,row)
|
|
|
},
|
|
|
checkRowData () {
|