Advertisement
Guest User

Untitled

a guest
Aug 21st, 2019
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. <div class="form-group col-sm-4">
  2. <label class="form-control-label">Data de Expedição *</label>
  3. <div class="input-group input-group-alternative">
  4. <div class="input-group-prepend">
  5. <span class="input-group-text"><i class="fas fa-calendar-alt"></i></span>
  6. </div>
  7. <my-date-picker v-validate="'required'" v-model="dataExpedicao"
  8. @input="$emit('update:dataExpedicao', dataExpedicao)" name="data de expedição">
  9. </my-date-picker>
  10. </div>
  11. <small class="text-danger"
  12. v-show="errors.has('data de expedição')">{{ errors.first('data de expedição') }}</small>
  13. </div>
  14.  
  15. props: ['dataExpedicao', .....],
  16.  
  17. <FormFilho :dataExpedicao.sync="licenca.dataExpedicao" .....>
  18. </FormFilho>
  19.  
  20.  
  21.  
  22. <script>
  23. import FormFilho from './FormFilho';
  24.  
  25. export default {
  26.  
  27. data() {
  28. return {
  29. licenca: {
  30. dataExpedicao: '',
  31. .......
  32. .......
  33. }
  34. }
  35. },
  36. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement