add.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <form id="add-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" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Out_trade_no')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-out_trade_no" data-rule="required" class="form-control" name="row[out_trade_no]" type="text" value="">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Order_amount')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-order_amount" data-rule="required" class="form-control" step="0.01" name="row[order_amount]" type="number" value="0.00">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Notifytime')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-notifytime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[notifytime]" type="text" value="{:date('Y-m-d H:i:s')}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_type')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-pay_type" data-rule="required" class="form-control" name="row[pay_type]" type="text" value="">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Platform')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-platform" data-rule="required" class="form-control" name="row[platform]" type="text" value="">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Order_status')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <div class="radio">
  42. {foreach name="orderStatusList" item="vo"}
  43. <label for="row[order_status]-{$key}"><input id="row[order_status]-{$key}" name="row[order_status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
  44. {/foreach}
  45. </div>
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label class="control-label col-xs-12 col-sm-2">{:__('Table_name')}:</label>
  50. <div class="col-xs-12 col-sm-8">
  51. <input id="c-table_name" data-rule="required" class="form-control" name="row[table_name]" type="text" value="">
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label class="control-label col-xs-12 col-sm-2">{:__('Table_id')}:</label>
  56. <div class="col-xs-12 col-sm-8">
  57. <input id="c-table_id" data-rule="required" data-source="table/index" class="form-control selectpage" name="row[table_id]" type="text" value="">
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Args')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <input id="c-args" data-rule="required" class="form-control" name="row[args]" type="text" value="">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Bundle_id')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <input id="c-bundle_id" data-rule="required" data-source="bundle/index" class="form-control selectpage" name="row[bundle_id]" type="text" value="">
  70. </div>
  71. </div>
  72. <div class="form-group">
  73. <label class="control-label col-xs-12 col-sm-2">{:__('Is_lianxu')}:</label>
  74. <div class="col-xs-12 col-sm-8">
  75. <select id="c-is_lianxu" data-rule="required" class="form-control selectpicker" name="row[is_lianxu]">
  76. {foreach name="isLianxuList" item="vo"}
  77. <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
  78. {/foreach}
  79. </select>
  80. </div>
  81. </div>
  82. <div class="form-group">
  83. <label class="control-label col-xs-12 col-sm-2">{:__('Original_transaction_id')}:</label>
  84. <div class="col-xs-12 col-sm-8">
  85. <input id="c-original_transaction_id" data-rule="required" data-source="original/transaction/index" class="form-control selectpage" name="row[original_transaction_id]" type="text" value="">
  86. </div>
  87. </div>
  88. <div class="form-group">
  89. <label class="control-label col-xs-12 col-sm-2">{:__('In_app_one')}:</label>
  90. <div class="col-xs-12 col-sm-8">
  91. <textarea id="c-in_app_one" class="form-control " rows="5" name="row[in_app_one]" cols="50"></textarea>
  92. </div>
  93. </div>
  94. <div class="form-group">
  95. <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_info')}:</label>
  96. <div class="col-xs-12 col-sm-8">
  97. <textarea id="c-transaction_info" class="form-control " rows="5" name="row[transaction_info]" cols="50"></textarea>
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="control-label col-xs-12 col-sm-2">{:__('Plantask_status')}:</label>
  102. <div class="col-xs-12 col-sm-8">
  103. <div class="radio">
  104. {foreach name="plantaskStatusList" item="vo"}
  105. <label for="row[plantask_status]-{$key}"><input id="row[plantask_status]-{$key}" name="row[plantask_status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
  106. {/foreach}
  107. </div>
  108. </div>
  109. </div>
  110. <div class="form-group layer-footer">
  111. <label class="control-label col-xs-12 col-sm-2"></label>
  112. <div class="col-xs-12 col-sm-8">
  113. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  114. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  115. </div>
  116. </div>
  117. </form>