apply-leave.wxml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <form bindsubmit="formSubmit">
  2. <view>
  3. <zan-cell-group>
  4. <zan-cell title="请假日期" is-link>
  5. <picker slot="footer" mode="date" value="{{date}}" bindchange="bindDateChange" name='date'>
  6. {{date}}
  7. </picker>
  8. </zan-cell>
  9. <zan-cell title="请假类型" is-link>
  10. <picker slot="footer" mode="selector" range="{{typeEnum}}" value="{{selectedType}}" name='type'>
  11. {{typeEnum[selectedType]}}
  12. </picker>
  13. </zan-cell>
  14. <zan-cell title="天数">
  15. <view class="section">
  16. <input placeholder="请输入请假天数" name='days'/>
  17. </view>
  18. </zan-cell>
  19. <zan-cell title="说明">
  20. <view class="section">
  21. <textarea placeholder="请输入请假说明" auto-height name='remark'/>
  22. </view>
  23. </zan-cell>
  24. </zan-cell-group>
  25. <zan-cell></zan-cell>
  26. <zan-cell></zan-cell>
  27. <!-- <zan-button-group>
  28. <zan-button type="primary" btnclick="onSubmit">提交</zan-button>
  29. </zan-button-group> -->
  30. <button formType="submit" type='primary' class='submit-btn'>提交</button>
  31. </view>
  32. </form>