delivery.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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">{:__('Consignee name')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-username" disabled class="form-control" type="text" value="{$row.address.name}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Consignee mobile')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-mobile" disabled class="form-control" type="text" value="{$row.address.mobile}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Consignee address')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-address" disabled class="form-control" type="text" value="{$row.addressText}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Delivery status')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-have_delivered" disabled class="form-control" type="text" value="{$row.have_delivered ? '已发货' : '未发货'}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Express number')}:</label>
  28. <div class="col-xs-12 col-sm-4">
  29. <input id="c-express_number" name="express_number" placeholder="输入快递单号并保存" class="form-control" type="text" value="{$row.extend.express_number}">
  30. </div>
  31. <div class="col-xs-12 col-sm-4">
  32. <select id="c-express_company" data-rule="" class="form-control selectpicker" name="express_company" style="width: 100%">
  33. {foreach name="expressCompany" item="vo"}
  34. <option value="{$key}" {in name="key" value="$row.extend.express_company"}selected{/in}>{$vo}</option>
  35. {/foreach}
  36. </select>
  37. </div>
  38. </div>
  39. <div class="form-group layer-footer">
  40. <label class="control-label col-xs-12 col-sm-2"></label>
  41. <div class="col-xs-12 col-sm-8">
  42. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('Confirm delivery')}</button>
  43. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  44. </div>
  45. </div>
  46. </form>