edit.html 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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">{:__('User_id')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-user_id" disabled data-rule="required" class="form-control selectpage" data-source="user/user/selectpagenew" data-field="nickname" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-email" class="form-control" name="row[email]" type="text" value="{$row.email|htmlentities}">
  24. </div>
  25. </div>
  26. <!--<div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Order_table')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <select id="c-order_table" disabled data-rule="required" class="form-control selectpicker" name="row[order_table]">
  30. {foreach name="orderTableList" item="vo"}
  31. <option value="{$key}" {in name="key" value="$row.order_table"}selected{/in}>{$vo}</option>
  32. {/foreach}
  33. </select>
  34. </div>
  35. </div>-->
  36. <!--<div class="form-group">
  37. <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
  38. <div class="col-xs-12 col-sm-8">
  39. <input id="c-order_id" disabled data-rule="required" class="form-control" name="row[order_id]" type="text" value="{$row.order_id|htmlentities}">
  40. </div>
  41. </div>-->
  42. <div class="form-group">
  43. <label class="control-label col-xs-12 col-sm-2">{:__('Order_no')}:</label>
  44. <div class="col-xs-12 col-sm-8">
  45. <input id="c-order_no" disabled class="form-control" name="row[order_no]" type="text" value="{$row.order_no|htmlentities}">
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label class="control-label col-xs-12 col-sm-2">{:__('Reason_files')}:</label>
  50. <div class="col-xs-12 col-sm-8">
  51. <div class="input-group">
  52. <input id="c-reason_files" class="form-control" size="50" name="row[reason_files]" type="text" value="{$row.reason_files|htmlentities}">
  53. <div class="input-group-addon no-border no-padding">
  54. <span><button type="button" id="faupload-reason_files" class="btn btn-danger faupload" data-input-id="c-reason_files" data-multiple="true" data-preview-id="p-reason_files"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  55. <span><button type="button" id="fachoose-reason_files" class="btn btn-primary fachoose" data-input-id="c-reason_files" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  56. </div>
  57. <span class="msg-box n-right" for="c-reason_files"></span>
  58. </div>
  59. <ul class="row list-inline faupload-preview" id="p-reason_files"></ul>
  60. </div>
  61. </div>
  62. <div class="form-group">
  63. <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
  64. <div class="col-xs-12 col-sm-8">
  65. <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlentities}">
  66. </div>
  67. </div>
  68. <div class="form-group">
  69. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  70. <div class="col-xs-12 col-sm-8">
  71. <div class="radio">
  72. {foreach name="statusList" item="vo"}
  73. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  74. {/foreach}
  75. </div>
  76. </div>
  77. </div>
  78. <div class="form-group">
  79. <label class="control-label col-xs-12 col-sm-2">{:__('Audittime')}:</label>
  80. <div class="col-xs-12 col-sm-8">
  81. <input id="c-audittime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[audittime]" type="text" value="{:$row.audittime?datetime($row.audittime):''}">
  82. </div>
  83. </div>
  84. <div class="form-group">
  85. <label class="control-label col-xs-12 col-sm-2">{:__('Auditremark')}:</label>
  86. <div class="col-xs-12 col-sm-8">
  87. <input id="c-auditremark" class="form-control" name="row[auditremark]" type="text" value="{$row.auditremark|htmlentities}">
  88. </div>
  89. </div>
  90. <div class="form-group">
  91. <label class="control-label col-xs-12 col-sm-2">提示:</label>
  92. <div class="col-xs-12 col-sm-8">
  93. <font color="red">审核仅作为标记,具体订单操作需另外处理</font>
  94. </div>
  95. </div>
  96. <div class="form-group layer-footer">
  97. <label class="control-label col-xs-12 col-sm-2"></label>
  98. <div class="col-xs-12 col-sm-8">
  99. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  100. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  101. </div>
  102. </div>
  103. </form>