You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

123 lines
6.2 KiB

  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="updatetime" value="{$row.updatetime}" />
  3. <div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="username" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
  7. </div>
  8. </div>
  9. <div class="form-group">
  10. <label class="control-label col-xs-12 col-sm-2">{:__('Out_trade_no')}:</label>
  11. <div class="col-xs-12 col-sm-8">
  12. <input id="c-out_trade_no" class="form-control" name="row[out_trade_no]" type="text" value="{$row.out_trade_no}">
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label class="control-label col-xs-12 col-sm-2">{:__('Order_price')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <input id="c-order_price" class="form-control" step="0.01" name="row[order_price]" type="number" value="{$row.order_price}">
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="control-label col-xs-12 col-sm-2">{:__('Discount_price')}:</label>
  23. <div class="col-xs-12 col-sm-8">
  24. <input id="c-discount_price" class="form-control" step="0.01" name="row[discount_price]" type="number" value="{$row.discount_price}">
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_price')}:</label>
  29. <div class="col-xs-12 col-sm-8">
  30. <input id="c-delivery_price" class="form-control" step="0.01" name="row[delivery_price]" type="number" value="{$row.delivery_price}">
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <label class="control-label col-xs-12 col-sm-2">{:__('Total_price')}:</label>
  35. <div class="col-xs-12 col-sm-8">
  36. <input id="c-total_price" class="form-control" step="0.01" name="row[total_price]" type="number" value="{$row.total_price}">
  37. </div>
  38. </div>
  39. <div class="form-group">
  40. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_type')}:</label>
  41. <div class="col-xs-12 col-sm-8">
  42. <select id="c-pay_type" data-rule="required" class="form-control selectpicker" name="row[pay_type]">
  43. {foreach name="payTypeList" item="vo"}
  44. <option value="{$key}" {in name="key" value="$row.pay_type"}selected{/in}>{$vo}</option>
  45. {/foreach}
  46. </select>
  47. </div>
  48. </div>
  49. <div class="form-group">
  50. <label class="control-label col-xs-12 col-sm-2">{:__('Ip')}:</label>
  51. <div class="col-xs-12 col-sm-8">
  52. <input id="c-ip" class="form-control" name="row[ip]" type="text" value="{$row.ip}">
  53. </div>
  54. </div>
  55. <div class="form-group">
  56. <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
  57. <div class="col-xs-12 col-sm-8">
  58. <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark}">
  59. </div>
  60. </div>
  61. <div class="form-group">
  62. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  63. <div class="col-xs-12 col-sm-8">
  64. <div class="radio">
  65. {foreach name="statusList" item="vo"}
  66. <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>
  67. {/foreach}
  68. </div>
  69. </div>
  70. </div>
  71. <div class="form-group">
  72. <label class="control-label col-xs-12 col-sm-2">{:__('Refund status')}:</label>
  73. <div class="col-xs-12 col-sm-8">
  74. <div class="radio">
  75. {foreach name="refundStatusList" item="vo"}
  76. <label for="row[refund_status]-{$key}"><input id="row[refund_status]-{$key}" name="row[refund_status]" type="radio" value="{$key}" {in name="key" value="$row.refund_status"}checked{/in} /> {$vo}</label>
  77. {/foreach}
  78. </div>
  79. </div>
  80. </div>
  81. <div class="form-group">
  82. <label class="control-label col-xs-12 col-sm-2">{:__('Pay time')}:</label>
  83. <div class="col-xs-12 col-sm-8">
  84. <input id="c-have_paid" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_paid]" type="text" value="{:$row.have_paid?datetime($row.have_paid):''}">
  85. </div>
  86. </div>
  87. <div class="form-group">
  88. <label class="control-label col-xs-12 col-sm-2">{:__('Delivered time')}:</label>
  89. <div class="col-xs-12 col-sm-8">
  90. <input id="c-have_delivered" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_delivered]" type="text" value="{:$row.have_delivered?datetime($row.have_delivered):''}">
  91. </div>
  92. </div>
  93. <div class="form-group">
  94. <label class="control-label col-xs-12 col-sm-2">{:__('Commented time')}:</label>
  95. <div class="col-xs-12 col-sm-8">
  96. <input id="c-have_commented" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_commented]" type="text" value="{:$row.have_commented?datetime($row.have_commented):''}">
  97. </div>
  98. </div>
  99. <div class="form-group">
  100. <label class="control-label col-xs-12 col-sm-2">{:__('Received time')}:</label>
  101. <div class="col-xs-12 col-sm-8">
  102. <input id="c-have_received" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_received]" type="text" value="{:$row.have_received?datetime($row.have_received):''}">
  103. </div>
  104. </div>
  105. <div class="form-group layer-footer">
  106. <label class="control-label col-xs-12 col-sm-2"></label>
  107. <div class="col-xs-12 col-sm-8">
  108. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  109. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  110. </div>
  111. </div>
  112. </form>