自己遇到的问题)

当isReadyonly=='1’时给标签添加disabled属性

 <select class="form-control" name="in_out_type" v-model="tb" :disabled="isReadyonly=='1'"> 

当isReadyonly=='1’时添加class=“form-control”,当isReadyonly!='1’时class=“form-control timer”

<input type="text"  name="in_out_time"  v-model="tb_ship_report.in_out_time"   

v-bind:class="{'form-control':isReadyonly=='1','form-control timer':isReadyonly!='1'}" style="cursor: pointer;" readonly"
Logo

前往低代码交流专区

更多推荐