iview渲染的table页面更改input输入框的值,获取输入的值

{
          title:'备注',
          key:'',
          align:'center',
          width:130,
          render:(h,params)=>{
            return h('Input',{
              props:{
                 value:this.formInline.financeAccountBillDetailVOList[params.index].invoiceCode,
                disabled:this.isDisabled,
                maxlength:255
              },
              on:{  
                  'on-blur': (event) => {
                     params.row.invoiceCode = event.target.value
                     this.formInline.financeAccountBillDetailVOList[params.index] = params.row
                  }
                }
            })
          }
        }

转载于:https://www.cnblogs.com/wssdx/p/11497366.html

你可能感兴趣的:(javascript)