<input type="number" class="form-control" id="inoutnum" name="inoutnum" value='{$ITEM->inoutnum}' min="0" placeholder="请输入天数..."
onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/D/g,'')}"
onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'0')}else{this.value=this.value.replace(/D/g,'')}"
style="max- 260px">