<view class="add-inpatient">
    <form class="form" onSubmit="onSubmit">
        <view class="form-row">
            <view class="form-row-label">住院号</view>
            <view class="form-row-content">
              <input value="{{inpatientNo}}" onInput="handleInput" class="input" placeholder="请输入住院号" />
            </view>
        </view>
        <button disabled="{{!inpatientNo}}" class="submit-btn {{!inpatientNo ? 'disable-button' : ''}}" type="primary" size="default" formType="submit">提交</button>
    </form>
</view>
