截流自动化的商城平台
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

detail.html 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {layout name="layout2" /}
  2. <style>
  3. .div-flex {
  4. display: flex;
  5. align-items: center;
  6. justify-content: left;
  7. }
  8. .width-160 {
  9. width: 200px;
  10. }
  11. .layui-table th {
  12. text-align: center;
  13. }
  14. #layui-form-like{
  15. margin-bottom: 50px;
  16. }
  17. </style>
  18. <div class="layui-card-body">
  19. <!--基本信息-->
  20. <div class="layui-form" lay-filter="layui-form-like" id="layui-form-like">
  21. <input type="hidden" class="id" name="id" value="{$detail.id}">
  22. <div class="layui-form-item">
  23. <fieldset class="layui-elem-field layui-field-title">
  24. <legend>发票信息</legend>
  25. </fieldset>
  26. </div>
  27. <div class="layui-form-item div-flex">
  28. <label class="layui-form-label">发票类型:</label>
  29. <div class="width-160">{$detail.type_text}</div>
  30. <label class="layui-form-label">抬头类型:</label>
  31. <div class="width-160">{$detail.header_type_text}</div>
  32. <label class="layui-form-label">发票抬头:</label>
  33. <div class="width-160">{$detail.name}</div>
  34. </div>
  35. {eq name="$detail.header_type" value="1"}
  36. <div class="layui-form-item div-flex">
  37. <label class="layui-form-label">税号:</label>
  38. <div class="width-160">{$detail.duty_number}</div>
  39. {eq name="$detail.type" value="1"}
  40. <label class="layui-form-label">企业地址:</label>
  41. <div class="width-160">{$detail.address}</div>
  42. <label class="layui-form-label">企业电话:</label>
  43. <div class="width-160">{$detail.mobile}</div>
  44. {/eq}
  45. </div>
  46. {/eq}
  47. {eq name="$detail.type" value="1"}
  48. <div class="layui-form-item div-flex">
  49. <label class="layui-form-label">开户银行:</label>
  50. <div class="width-160">{$detail.bank}</div>
  51. <label class="layui-form-label">银行账号:</label>
  52. <div class="width-160">{$detail.bank_account}</div>
  53. </div>
  54. {/eq}
  55. <div class="layui-form-item">
  56. <fieldset class="layui-elem-field layui-field-title">
  57. <legend>联系信息</legend>
  58. </fieldset>
  59. </div>
  60. <div class="layui-form-item div-flex">
  61. <label class="layui-form-label ">真实姓名:</label>
  62. <div class="width-160">{$detail.order_data.consignee}</div>
  63. <label class="layui-form-label ">联系电话:</label>
  64. <div class="width-160">{$detail.order_data.mobile}</div>
  65. <label class="layui-form-label ">联系邮箱:</label>
  66. <div class="width-160">{$detail.email}</div>
  67. </div>
  68. <div class="layui-form-item">
  69. <fieldset class="layui-elem-field layui-field-title">
  70. <legend>开票状态</legend>
  71. </fieldset>
  72. </div>
  73. <div class="layui-form-item">
  74. <div class="layui-form-item">
  75. <label class="layui-form-label">开票状态:</label>
  76. <div class="layui-input-inline">
  77. <input type="radio" name="status" value="1" title="已开票" {if condition="$detail.status eq 1" } checked {/if}>
  78. <input type="radio" name="status" value="0" title="未开票" {if condition="$detail.status eq 0" } checked {/if}>
  79. </div>
  80. </div>
  81. <div class="layui-form-item">
  82. <label class="layui-form-label">发票编号:</label>
  83. <div class="layui-input-block" style="width: 60%">
  84. <input type="text" name="invoice_number" value="{$detail.invoice_number}" autocomplete="off" class="layui-input">
  85. </div>
  86. </div>
  87. </div>
  88. <div class="layui-form-item layui-hide">
  89. <input type="button" lay-submit lay-filter="addSubmit" id="addSubmit" value="确认">
  90. </div>
  91. </div>
  92. </div>
  93. <script type="text/javascript">
  94. layui.config({
  95. version: "{$front_version}",
  96. base: '/static/lib/'
  97. }).use(['form'], function () {
  98. var $ = layui.$;
  99. });
  100. </script>