| | |
| | | </select> |
| | | </div> |
| | | |
| | | <label class="layui-form-label" style="width: 70px;"><p id="CustomerNamep">客户名称</p></label> |
| | | <label class="layui-form-label" style="width: 70px;"><p id="CustomerNamep">客户</p></label> |
| | | <div class="layui-input-inline"> |
| | | <select name="CustomerName" id="CustomerName" lay-verify="" lay-search> |
| | | <option value=""></option> |
| | |
| | | { |
| | | if (res.data[i].Type == 0) |
| | | { |
| | | $("#CustomerNamep").html("客户选择"); |
| | | $("#CustomerNamep").html("客户"); |
| | | $("#CustomerName").append('<option value =' + res.data[i].CustomerNo + '>' + |
| | | res.data[i].CustomerName + '</option>'); |
| | | } |
| | |
| | | { |
| | | if (res.data[i].Type == 1) |
| | | { |
| | | $("#CustomerNamep").html("供应商选择"); |
| | | $("#CustomerNamep").html("供应商"); |
| | | $("#CustomerName").append('<option value =' + res.data[i].CustomerNo + '>' + |
| | | res.data[i].CustomerName + '</option>'); |
| | | } |
| | |
| | | { |
| | | if (res.data[i].Type == 2) |
| | | { |
| | | $("#CustomerNamep").html("货主选择"); |
| | | $("#CustomerNamep").html("货主"); |
| | | $("#CustomerName").append('<option value =' + res.data[i].CustomerNo + '>' + |
| | | res.data[i].CustomerName + '</option>'); |
| | | } |