<div class="bigC" v-for="(item,index) in listRe" @click="showInput(index)">
<div class="cent">
<div class="text">
<span>库房编号:</span>
<span>{{item.al_zbgno}}</span>
</div>
<div class="text">
<span>储位编号:</span>
<span>{{item.al_stno}}</span>
</div>
<div class="text">
<span>报警名称:</span>
<span>{{item.al_name}}</span>
</div>
<div class="text">
<span>报警时间:</span>
<span>{{item.al_time1}}</span>
</div>
<div class="text">
<span>报警账号:</span>
<span>{{item.al_accno1}}</span>
</div>
<div class="text">
<span>报警姓名:</span>
<span>{{item.al_accna1}}</span>
</div>
</div>
<div v-if="item.showInputBox" class="showInputBox">
<!-- <input type="text" v-model="inputValue" @blur="saveInput" /> -->
<u-input v-model="user.al_note" :type="type" :border="border" placeholder='请输入处理方式' />
<u-button type="primary" @click='gomyreview5(item.al_no,index)'>确定</u-button>
</div>
</div>
showInput(index) {
this.selectedIndex = index;
this.$nextTick(() => {
// 点击元素时显示输入框
this.listRe[index].showInputBox = !this.listRe[index].showInputBox;
this.$forceUpdate() //强制更新组件。
});
},
gomyreview5(item,index){
this.user.al_no=item
console.log(this.user);
this.$nextTick(() => {
// 点击元素时显示输入框
this.listRe[index].showInputBox = false;
this.$forceUpdate() //强制更新组件。
this.user.al_note=''
});
}
uniapp我有多个输入框,现在一输入内容,全都输入相同的内容了,我该怎么办