1.如果isReadOnly等于true时,input只读,否则可以编辑
<input v-bind:readonly="isReadOnly">
2.如果TravelType等于1时,input只读,否则可以编辑
<input v-bind:readonly="TravelType==1" />