tp6框架的销售统计系统

save.html 6.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {layout name="layout" /}
  2. <link rel="stylesheet" href="/static/css/bootstrap-select.min.css">
  3. <script src="/static/js/bootstrap-select.min.js"></script>
  4. <nav class="breadcrumb">
  5. <span><a href="/" class="maincolor">首页</a></span>
  6. <span>&gt;</span>
  7. <span><a href="/order/lists/{$year}">销售订单</a></span>
  8. <span>&gt;</span>
  9. <span><a href="javascript:void(0);">{empty name="data.id"}新增{else/}修改{/empty}</a></span>
  10. </nav>
  11. <div class="content">
  12. <div class="row">
  13. <div class="blank">
  14. </div>
  15. </div>
  16. <div class="col-md-10 col-md-offset-1">
  17. <form role="form" id="form-order" action="" method="POST">
  18. <input type="hidden" name="id" id="id" value="{$data.id}">
  19. <div class="row">
  20. <div class="col-md-3">
  21. <div class="form-group">
  22. <label for="name">序号</label>
  23. <input type="text" class="form-control" name="no" id="no" value="{$data.no}"
  24. placeholder="序号, 格式 MHTxx">
  25. </div>
  26. </div>
  27. <div class="col-md-3">
  28. <div class="form-group">
  29. <label for="name">合同号</label>
  30. <input type="text" class="form-control" name="contract_no" id="contract_no"
  31. value="{$data.contract_no}" placeholder="合同号">
  32. </div>
  33. </div>
  34. <div class="col-md-3">
  35. <div class="form-group">
  36. <label for="name">销售时间</label>
  37. <input type="date" class="form-control" name="contract_time" id="contract_time"
  38. value="{$data.contract_time}" placeholder="销售时间">
  39. </div>
  40. </div>
  41. </div>
  42. <div class="row">
  43. <div class="col-md-3">
  44. <div class="form-group">
  45. <label for="name">购货单位</label>
  46. <!-- <input type="text" class="form-control" name="company_name" id="company_name"
  47. value="{//$data.company_name}" placeholder="购货单位"> -->
  48. <select class="selectpicker form-control" data-live-search="true" name="company_id"
  49. id="company_id">
  50. <option value="0">请选择公司</option>
  51. {foreach $companies as $key=>$value}
  52. <option value="{$key}" {eq name="key" value="$data.company_id"}selected{/eq}>{$value}</option>
  53. {/foreach}
  54. </select>
  55. </div>
  56. </div>
  57. <div class="col-md-3">
  58. <div class="form-group">
  59. <label for="name">销售员</label>
  60. <!-- <input type="text" class="form-control" name="seller_id" id="seller_id" value="{$data.seller_id}" placeholder="销售员"> -->
  61. <select class="form-control" data-live-search="true" name="seller_id" id="seller_id">
  62. <option value="0">请选择销售员</option>
  63. {foreach $sellers as $key=>$value}
  64. <option value="{$key}" {eq name="key" value="$data.seller_id"}selected{/eq}>{$value}</option>
  65. {/foreach}
  66. </select>
  67. </div>
  68. </div>
  69. <!-- <div class="col-md-3">
  70. <div class="form-group">
  71. <label for="name">合同金额</label>
  72. <input type="text" class="form-control" name="contract_money" id="contract_money"
  73. value="{$data.consignor}" placeholder="发货人">
  74. </div>
  75. </div> -->
  76. </div>
  77. <div class="row">
  78. <div class="col-md-3">
  79. <div class="form-group">
  80. <label for="name">发货人</label>
  81. <input type="text" class="form-control" name="consignor" id="consignor"
  82. value="{$data.consignor}" placeholder="发货人">
  83. </div>
  84. </div>
  85. <div class="col-md-3">
  86. <div class="form-group">
  87. <label for="name">运费</label>
  88. <input type="number" class="form-control" name="fare" id="fare" value="{$data.fare|number_money}"
  89. placeholder="运费">
  90. </div>
  91. </div>
  92. <div class="col-md-3">
  93. <div class="form-group">
  94. <label for="name">代理费</label>
  95. <input type="number" class="form-control" name="agency" id="agency" value="{$data.agency|number_money}"
  96. placeholder="代理费">
  97. </div>
  98. </div>
  99. </div>
  100. <div class="row">
  101. <div class="col-md-9">
  102. <div class="form-group">
  103. <label for="name">备注</label>
  104. <textarea class="form-control" name="remark" id="remark" rows="3">{$data.remark}</textarea>
  105. </div>
  106. </div>
  107. </div>
  108. <div class="row">
  109. <div class="col-md-3">
  110. <div class="form-group">
  111. <label for="name">付款方式</label>
  112. <input type="text" class="form-control" name="pay_type" id="pay_type"
  113. value="{$data.pay_type}" placeholder="款到发货/月结/...">
  114. </div>
  115. </div>
  116. <div class="col-md-3">
  117. <div class="form-group">
  118. <label for="name">到款金额</label>
  119. <input type="number" class="form-control" name="payment" id="payment" value="{$data.payment|number_money}"
  120. placeholder="运费">
  121. </div>
  122. </div>
  123. <div class="col-md-3">
  124. <div class="form-group">
  125. <label for="name">到款时间</label>
  126. <input type="date" class="form-control" name="pay_time" id="pay_time" value="{$data.pay_time}" placeholder="到款时间">
  127. </div>
  128. </div>
  129. </div>
  130. <div class="row mt-20">
  131. <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
  132. <input class="btn btn-default radius" type="button" value="&nbsp;&nbsp;取消&nbsp;&nbsp;"
  133. onClick="window.history.back();">
  134. <input class="btn btn-success radius ml-10" type="submit" value="&nbsp;&nbsp;保存&nbsp;&nbsp;">
  135. </div>
  136. </div>
  137. </form>
  138. </div>
  139. </div>
  140. <script>
  141. </script>