apply-leave.wxml 1.2 KB

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