Commit 49a4def3 authored by Mac's avatar Mac

1

parent 472866c7
......@@ -305,7 +305,7 @@
<el-table-column prop="EmpName" label="名称" align="center"> </el-table-column>
<el-table-column prop="LimitNum" label="上限" align="center">
<template slot-scope="scope">
<el-input style="width: 150px;" type='number' v-model="scope.row.LimitNum" :min='0' @input="$forceUpdate()"
<el-input style="width: 150px;" type='number' v-model="scope.row.LimitNum" :min='0' @input="empAddLimittext(scope)"
size="mini" placeholder="" />
</template>
</el-table-column>
......@@ -1670,6 +1670,11 @@
}else{
return true;
}
},
empAddLimittext(row){
let index = row.$index;
let obj = row.row
this.$set(this.addMsg.LimitList,index,obj)
}
}
......
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