123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- <form class="layui-form" lay-filter="charge-form-update" style="padding: 20px 30px 0 0;">
- <!--<div class="layui-form-item">-->
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">车牌号</label>
- <div class="layui-input-inline">
- <input type="text" name="license" required lay-verify="required" autocomplete="off" class="layui-input" id="license">
- </div>
- </div>
- <!--</div>-->
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">车架号</label>
- <div class="layui-input-inline">
- <input type="text" name="VIN" autocomplete="off" class="layui-input" id="LAY_VIN">
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">所有人</label>
- <div class="layui-input-inline">
- <input type="text" name="owner" autocomplete="off" class="layui-input" id="LAY_owner">
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">环保检测</label>
- <div class="layui-input-inline layui-form" lay-filter="detectionSelect">
- <select name="EP_type" lay-verify="required" lay-search="" lay-filter="detectionChangeType" id="detectionSelect">
- </select>
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">环检应收</label>
- <div class="layui-input-inline">
- <input type="text" class="layui-input" name="EP_receivable" id="HJYS">
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">挂账客户</label>
- <div class="layui-input-inline layui-form" lay-filter="customerSelect">
- <select name="customer" lay-search="" id="customerSelect"></select>
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">车型判断</label>
- <div class="layui-input-inline layui-form" lay-filter="carTypeSelect">
- <select name="car_type" lay-verify="required" lay-search="" lay-filter="carChangeType" id="carTypeSelect"></select>
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">安检应收</label>
- <div class="layui-input-inline">
- <input type="text" name="Safe_receivable" class="layui-input" id="AJYS">
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">应收总和</label>
- <div class="layui-input-inline" >
- <input type="text" name="receivable" class="layui-input" id="YSZH">
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">支付宝金额</label>
- <div class="layui-input-inline" >
- <input type="text" name="ali_pay" lay-verify="ali_pay" class="layui-input" id="ali_pay" autocomplete="off" placeholder="0" >
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">挂账金额</label>
- <div class="layui-input-inline" >
- <input type="text" name="on_account" lay-verify="on_account" class="layui-input" id="on_account" autocomplete="off" placeholder="0" >
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">实收总和</label>
- <div class="layui-input-inline" >
- <input type="text" name="cost" class="layui-input" id="SSZH">
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">手机</label>
- <div class="layui-input-inline">
- <input type="tel" name="telephone" autocomplete="off" class="layui-input" id="telephone"><!--lay-verify="phone"-->
- </div>
- </div>
- <div class="layui-inline layui-form-item">
- <label class="layui-form-label">签约客户</label>
- <div class="layui-input-inline layui-form" lay-filter="contractedSelect">
- <select name="contracted_customer" lay-search="" id="contractedSelect" lay-filter="contractedType"></select>
- </div>
- </div>
- <!--</div>-->
- <div class="layui-form-item layui-form-text">
- <label class="layui-form-label">备注</label>
- <div class="layui-input-block">
- <textarea name="remarks" placeholder="请输入内容" class="layui-textarea" style="width: 80%" id="remarks"></textarea>
- </div>
- </div>
- <!--</div>-->
- <div class="layui-form-item">
- <div class="layui-input-block">
- <button class="layui-btn" lay-submit="" lay-filter="LAY-charge-update-submit">确认</button>
- <!--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
- </div>
- </div>
- </form>
- <script>
- layui.use(['admin', 'form'], function() {
- var $ = layui.$
- , form = layui.form;
- form.render(null, 'charge-form-update');
- // $(function () {
- // $.ajax({
- // url:"/customer/getCustomer",
- // success:function (res) {
- // var data = res;
- // $.each(data,function (index,item) {
- // if (index===0){
- // $('#customerSelect').append('<option value="">'+item.name+'</option>');
- // }else {
- // $('#customerSelect').append('<option value="'+item.name+'">'+item.name+'</option>');
- // }
- // });
- // form.render('select', 'customerSelect');
- // }
- // });
- // })
- })
- </script>
|