popupChargeUpdate.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <form class="layui-form" lay-filter="charge-form-update" style="padding: 20px 30px 0 0;">
  2. <!--<div class="layui-form-item">-->
  3. <div class="layui-inline layui-form-item">
  4. <label class="layui-form-label">车牌号</label>
  5. <div class="layui-input-inline">
  6. <input type="text" name="license" required lay-verify="required" autocomplete="off" class="layui-input" id="license">
  7. </div>
  8. </div>
  9. <!--</div>-->
  10. <div class="layui-inline layui-form-item">
  11. <label class="layui-form-label">车架号</label>
  12. <div class="layui-input-inline">
  13. <input type="text" name="VIN" autocomplete="off" class="layui-input" id="LAY_VIN">
  14. </div>
  15. </div>
  16. <div class="layui-inline layui-form-item">
  17. <label class="layui-form-label">所有人</label>
  18. <div class="layui-input-inline">
  19. <input type="text" name="owner" autocomplete="off" class="layui-input" id="LAY_owner">
  20. </div>
  21. </div>
  22. <div class="layui-inline layui-form-item">
  23. <label class="layui-form-label">环保检测</label>
  24. <div class="layui-input-inline layui-form" lay-filter="detectionSelect">
  25. <select name="EP_type" lay-verify="required" lay-search="" lay-filter="detectionChangeType" id="detectionSelect">
  26. </select>
  27. </div>
  28. </div>
  29. <div class="layui-inline layui-form-item">
  30. <label class="layui-form-label">环检应收</label>
  31. <div class="layui-input-inline">
  32. <input type="text" class="layui-input" name="EP_receivable" id="HJYS">
  33. </div>
  34. </div>
  35. <div class="layui-inline layui-form-item">
  36. <label class="layui-form-label">挂账客户</label>
  37. <div class="layui-input-inline layui-form" lay-filter="customerSelect">
  38. <select name="customer" lay-search="" id="customerSelect"></select>
  39. </div>
  40. </div>
  41. <div class="layui-inline layui-form-item">
  42. <label class="layui-form-label">车型判断</label>
  43. <div class="layui-input-inline layui-form" lay-filter="carTypeSelect">
  44. <select name="car_type" lay-verify="required" lay-search="" lay-filter="carChangeType" id="carTypeSelect"></select>
  45. </div>
  46. </div>
  47. <div class="layui-inline layui-form-item">
  48. <label class="layui-form-label">安检应收</label>
  49. <div class="layui-input-inline">
  50. <input type="text" name="Safe_receivable" class="layui-input" id="AJYS">
  51. </div>
  52. </div>
  53. <div class="layui-inline layui-form-item">
  54. <label class="layui-form-label">应收总和</label>
  55. <div class="layui-input-inline" >
  56. <input type="text" name="receivable" class="layui-input" id="YSZH">
  57. </div>
  58. </div>
  59. <div class="layui-inline layui-form-item">
  60. <label class="layui-form-label">支付宝金额</label>
  61. <div class="layui-input-inline" >
  62. <input type="text" name="ali_pay" lay-verify="ali_pay" class="layui-input" id="ali_pay" autocomplete="off" placeholder="0" >
  63. </div>
  64. </div>
  65. <div class="layui-inline layui-form-item">
  66. <label class="layui-form-label">挂账金额</label>
  67. <div class="layui-input-inline" >
  68. <input type="text" name="on_account" lay-verify="on_account" class="layui-input" id="on_account" autocomplete="off" placeholder="0" >
  69. </div>
  70. </div>
  71. <div class="layui-inline layui-form-item">
  72. <label class="layui-form-label">实收总和</label>
  73. <div class="layui-input-inline" >
  74. <input type="text" name="cost" class="layui-input" id="SSZH">
  75. </div>
  76. </div>
  77. <div class="layui-inline layui-form-item">
  78. <label class="layui-form-label">手机</label>
  79. <div class="layui-input-inline">
  80. <input type="tel" name="telephone" autocomplete="off" class="layui-input" id="telephone"><!--lay-verify="phone"-->
  81. </div>
  82. </div>
  83. <div class="layui-inline layui-form-item">
  84. <label class="layui-form-label">签约客户</label>
  85. <div class="layui-input-inline layui-form" lay-filter="contractedSelect">
  86. <select name="contracted_customer" lay-search="" id="contractedSelect" lay-filter="contractedType"></select>
  87. </div>
  88. </div>
  89. <!--</div>-->
  90. <div class="layui-form-item layui-form-text">
  91. <label class="layui-form-label">备注</label>
  92. <div class="layui-input-block">
  93. <textarea name="remarks" placeholder="请输入内容" class="layui-textarea" style="width: 80%" id="remarks"></textarea>
  94. </div>
  95. </div>
  96. <!--</div>-->
  97. <div class="layui-form-item">
  98. <div class="layui-input-block">
  99. <button class="layui-btn" lay-submit="" lay-filter="LAY-charge-update-submit">确认</button>
  100. <!--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
  101. </div>
  102. </div>
  103. </form>
  104. <script>
  105. layui.use(['admin', 'form'], function() {
  106. var $ = layui.$
  107. , form = layui.form;
  108. form.render(null, 'charge-form-update');
  109. // $(function () {
  110. // $.ajax({
  111. // url:"/customer/getCustomer",
  112. // success:function (res) {
  113. // var data = res;
  114. // $.each(data,function (index,item) {
  115. // if (index===0){
  116. // $('#customerSelect').append('<option value="">'+item.name+'</option>');
  117. // }else {
  118. // $('#customerSelect').append('<option value="'+item.name+'">'+item.name+'</option>');
  119. // }
  120. // });
  121. // form.render('select', 'customerSelect');
  122. // }
  123. // });
  124. // })
  125. })
  126. </script>