edit.html 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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">{:__('Order_no')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <span class="form-control" disabled="disabled">{$row.order_no|htmlentities}</span>
  6. </div>
  7. </div>
  8. <!-- <div class="form-group">-->
  9. <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>-->
  10. <!-- <div class="col-xs-12 col-sm-8">-->
  11. <!-- -->
  12. <!-- <div class="radio">-->
  13. <!-- {foreach name="statusList" item="vo"}-->
  14. <!-- <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> -->
  15. <!-- {/foreach}-->
  16. <!-- </div>-->
  17. <!-- </div>-->
  18. <!-- </div>-->
  19. <div class="form-group">
  20. <label class="control-label col-xs-12 col-sm-2">{:__('C_user_id')}:</label>
  21. <div class="col-xs-12 col-sm-8">
  22. <span class="form-control" disabled="disabled">{$row.user.username|htmlentities}</span>
  23. <!-- <input id="c-c_user_id" data-rule="required" data-source="c/user/index" class="form-control selectpage" name="row[c_user_id]" type="text" value="{$row.c_user_id|htmlentities}">-->
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('B_user_id')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <!-- <input id="c-b_user_id" data-rule="required" data-source="b/user/index" class="form-control selectpage" name="row[b_user_id]" type="text" value="{$row.b_user_id|htmlentities}">-->
  30. <span class="form-control" disabled="disabled">{$row.buser.username|htmlentities}</span>
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
  35. <div class="col-xs-12 col-sm-8">
  36. <div class="input-group">
  37. <input id="c-image" class="form-control" size="50" name="row[image]" type="text" value="{$row.image|htmlentities}">
  38. <div class="input-group-addon no-border no-padding">
  39. <span><button type="button" id="faupload-image" class="btn btn-danger faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  40. <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  41. </div>
  42. <span class="msg-box n-right" for="c-image"></span>
  43. </div>
  44. <ul class="row list-inline faupload-preview" id="p-image"></ul>
  45. </div>
  46. </div>
  47. <!-- <div class="form-group">-->
  48. <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Refund_money')}:</label>-->
  49. <!-- <div class="col-xs-12 col-sm-8">-->
  50. <!-- <input id="c-refund_money" data-rule="required" class="form-control" step="0.01" name="row[refund_money]" type="number" value="{$row.refund_money|htmlentities}">-->
  51. <!-- </div>-->
  52. <!-- </div>-->
  53. <!-- <div class="form-group">-->
  54. <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Offset_money')}:</label>-->
  55. <!-- <div class="col-xs-12 col-sm-8">-->
  56. <!-- <input id="c-offset_money" data-rule="required" class="form-control" step="0.01" name="row[offset_money]" type="number" value="{$row.offset_money|htmlentities}">-->
  57. <!-- </div>-->
  58. <!-- </div>-->
  59. <!-- <div class="form-group">-->
  60. <!-- <label class="control-label col-xs-12 col-sm-2">{:__('After_money')}:</label>-->
  61. <!-- <div class="col-xs-12 col-sm-8">-->
  62. <!-- <input id="c-after_money" data-rule="required" class="form-control" step="0.01" name="row[after_money]" type="number" value="{$row.after_money|htmlentities}">-->
  63. <!-- </div>-->
  64. <!-- </div>-->
  65. <!-- <div class="form-group">-->
  66. <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Is_offset')}:</label>-->
  67. <!-- <div class="col-xs-12 col-sm-8">-->
  68. <!-- <select id="c-is_offset" data-rule="required" class="form-control selectpicker" name="row[is_offset]">-->
  69. <!-- {foreach name="isOffsetList" item="vo"}-->
  70. <!-- <option value="{$key}" {in name="key" value="$row.is_offset"}selected{/in}>{$vo}</option>-->
  71. <!-- {/foreach}-->
  72. <!-- </select>-->
  73. <!-- </div>-->
  74. <!-- </div>-->
  75. <div class="form-group">
  76. <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
  77. <div class="col-xs-12 col-sm-8">
  78. <input id="c-remarks" class="form-control" name="row[remarks]" type="text" value="{$row.remarks|htmlentities}">
  79. </div>
  80. </div>
  81. <!-- <div class="form-group">-->
  82. <!-- <label class="control-label col-xs-12 col-sm-2">{:__('Timeout')}:</label>-->
  83. <!-- <div class="col-xs-12 col-sm-8">-->
  84. <!-- <select id="c-timeout" data-rule="required" class="form-control selectpicker" name="row[timeout]">-->
  85. <!-- {foreach name="timeoutList" item="vo"}-->
  86. <!-- <option value="{$key}" {in name="key" value="$row.timeout"}selected{/in}>{$vo}</option>-->
  87. <!-- {/foreach}-->
  88. <!-- </select>-->
  89. <!-- </div>-->
  90. <!-- </div>-->
  91. <div class="form-group layer-footer">
  92. <label class="control-label col-xs-12 col-sm-2"></label>
  93. <div class="col-xs-12 col-sm-8">
  94. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  95. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  96. </div>
  97. </div>
  98. </form>