|
|
|
@ -562,8 +562,8 @@ |
|
|
|
|
</div> |
|
|
|
|
<div v-for="(item, index) in organizationArrs" :key="index" class="organization-row"> |
|
|
|
|
<div class="left">{{index+1}}</div> |
|
|
|
|
<input v-focus class="center" style="border:0" @blur="item.groupName=$event.target.value" v-if="!item.edit" :value="item.groupName"></el-input> |
|
|
|
|
<input class="center" disabled style="border:0" v-if="item.edit" :value="item.groupName"></el-input> |
|
|
|
|
<el-input v-focus class="center" style="border:0" @blur="item.groupName=$event.target.value" v-if="!item.edit" :value="item.groupName"></el-input> |
|
|
|
|
<el-input class="center" disabled style="border:0" v-if="item.edit" :value="item.groupName"></el-input> |
|
|
|
|
<div class="handle df"> |
|
|
|
|
<el-button @click="blurOrganization(item,index)" v-if="!item.edit" type="text">保存</el-button> |
|
|
|
|
<el-button @click="editOrangization(item,index)" v-if="item.edit" type="text">编辑</el-button> |
|
|
|
@ -1489,7 +1489,7 @@ export default { |
|
|
|
|
this.$store.commit('setNewOrOld','oldLoans')// 区分进入还款或者新建 |
|
|
|
|
|
|
|
|
|
// 不可编辑 |
|
|
|
|
type==='编辑'?this.$store.commit('discernEdit',false):this.$store.commit('discernEdit',false) |
|
|
|
|
type==='编辑'?this.$store.commit('discernEdit',true):this.$store.commit('discernEdit',false) |
|
|
|
|
if (type==='查看') { |
|
|
|
|
this.$store.commit('disabledAll',true) |
|
|
|
|
}else{ |
|
|
|
|