deliver.html 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='layui-form layui-card' autocomplete="off">
  2. <div class="layui-card-body" style="height: 400px">
  3. <div class="layui-row margin-bottom-15">
  4. <label class="layui-col-xs2 think-form-label">订单号</label>
  5. <label class="layui-col-xs10">
  6. <input name="order_no" style="background-color: #e6e6e6" readonly value='{$vo.order_no|default=""}' placeholder="" class="layui-input">
  7. </label>
  8. </div>
  9. <div class="layui-row margin-bottom-15">
  10. <label class="layui-col-xs2 think-form-label">快递公司</label>
  11. <div class="layui-input-inline">
  12. <select name="express_company_id" >
  13. {foreach $express_company as $ck=>$cv}
  14. {if $cv.id == $vo.express_company_id}
  15. <option selected value="{$cv.id}">{$cv.express_title}</option>
  16. {else}
  17. <option value="{$cv.id}">{$cv.express_title}</option>
  18. {/if}
  19. {/foreach}
  20. </select>
  21. </div>
  22. </div>
  23. <div class="layui-row margin-bottom-15">
  24. <label class="layui-col-xs2 think-form-label">物流单号</label>
  25. <label class="layui-col-xs10">
  26. <input name="express_send_no" value='{$vo.express_send_no}' placeholder="请输入物流单号" class="layui-input">
  27. </label>
  28. </div>
  29. <div class="layui-row margin-bottom-15">
  30. <label class="layui-col-xs2 think-form-label">发货时间</label>
  31. <label class="layui-col-xs10">
  32. <input readonly name="express_send_at" value='{$vo.express_send_at|default=""}' placeholder="" class="layui-input">
  33. </label>
  34. </div>
  35. </div>
  36. <div class="hr-line-dashed"></div>
  37. <div class="layui-form-item text-center">
  38. {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}
  39. <input type='hidden' value='{$vo.uid}' name='uid'>
  40. <button class="layui-btn" type='submit'>发货</button>
  41. </div>
  42. </form>
  43. <script>
  44. window.form.render();
  45. $("#layui-layer-content").height(600)
  46. </script>