<template slot-scope="scope">
<el-date-picker id="fname1" class="date" v-model="scope.row.paymentMonth" :class="scope.row.redClassFlag1 && 'red-class'" type="month" :disabled="!scope.row.changeNums" format="yyyy年MM月" @change="changeValue1(scope.row, scope.$index)"> </el-date-picker>
<i class="el-icon-edit" @click="changeNum(scope.row, scope.$index)"></i>
</template>
<template slot-scope="scope">
<el-input type="text" v-model="scope.row.payedAmount" :class="scope.row.redClassFlag2 && 'red-class'" class="cell_input" :disabled="!scope.row.changeNums" style="width:90px; color: red" @change="changeValue2(scope.row, scope.$index)" />
vue值发生变化颜色就变化,值变化时获取值
最新推荐文章于 2023-11-27 10:37:53 发布