sub_remark.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="" disable-refresh="1">
  2. <!-- <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('产品ID')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-produce_id" min="0" data-source="produce/index" class="form-control selectpage" name="row[produce_id]" type="text" value="{$row.produce_id|htmlentities}" data-field="local_code">
  6. </div>
  7. </div> -->
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('产品')}:</label>
  10. <div class="form-inline col-xs-12 col-sm-8" data-toggle="cxselect" data-selects="produce_type,produce_id">
  11. <select class="produce_type form-control" name="row[produce_type]" data-url="produce/produce_type"></select>
  12. <select class="produce_id form-control" name="row[produce_id]" data-url="produce/select_index" data-query-name="produce_type"></select>
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label class="control-label col-xs-12 col-sm-2">{:__('备注')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <textarea id="c-remark" class="form-control" name="row[remark]" type="text">{$row.remark|htmlentities}</textarea>
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="control-label col-xs-12 col-sm-2">{:__('旗子')}:</label>
  23. <div class="col-xs-12 col-sm-8">
  24. {foreach name="flags" item="vo"}
  25. <label for="row[flag]-{$key}"><input id="row[flag]-{$key}" name="row[flag]" type="radio" value="{$key}" {in name="key" value="$row.flag" }checked{/in} /> {$vo}</label>
  26. {/foreach}
  27. </div>
  28. </div>
  29. <div class="form-group layer-footer">
  30. <label class="control-label col-xs-12 col-sm-2"></label>
  31. <div class="col-xs-12 col-sm-8">
  32. <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
  33. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  34. </div>
  35. </div>
  36. </form>