酒店预订平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
3.2 KiB

  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Item_type')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-item_type" data-rule="required" data-source="general/config/getList?key=site.item_category" class="form-control selectpage" name="row[item_type]" type="text" value="{$row.item_type|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Item_name')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-item_name" data-rule="required" class="form-control" name="row[item_name]" type="text" value="{$row.item_name|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Item_unit')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-item_unit" data-rule="required" data-source="general/config/getList?key=site.item_unit" class="form-control selectpage" name="row[item_unit]" type="text" value="{$row.item_type|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Item_memo')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-item_memo" data-rule="required" class="form-control" name="row[item_memo]" type="text" value="{$row.item_memo|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group" data-toggle="cxselect" data-selects="province,city,area">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('所在区域')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <select class="province" name="row[province]" data-value="{$row.province|htmlentities}" data-url="ajax/area"></select>
  30. <select class="city" name="row[city]" data-value="{$row.city|htmlentities}" data-url="ajax/area"></select>
  31. <select class="area" name="row[area]" data-value="{$row.area|htmlentities}" data-url="ajax/area"></select>
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="control-label col-xs-12 col-sm-2">{:__('Detail_address')}:</label>
  36. <div class="col-xs-12 col-sm-8">
  37. <input id="c-detail_address" data-rule="required" class="form-control" name="row[detail_address]" type="text" value="{$row.detail_address|htmlentities}">
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="control-label col-xs-12 col-sm-2">{:__('采购负责人')}:</label>
  42. <div class="col-xs-12 col-sm-8">
  43. <input id="c-purchase_user_id" data-rule="required" data-source="auth/admin/getList" class="form-control selectpage" name="row[purchase_user_id]" type="text" value="{$row.purchase_user_id|htmlentities}">
  44. </div>
  45. </div>
  46. <div class="form-group layer-footer">
  47. <label class="control-label col-xs-12 col-sm-2"></label>
  48. <div class="col-xs-12 col-sm-8">
  49. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  50. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  51. </div>
  52. </div>
  53. </form>