| | |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">授信额度</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="客户名称" name="Shouxinedu" id="Shouxinedu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@(Model.Shouxinedu.HasValue?Model.Shouxinedu.Value.ToString("f2"):"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | <input class="form-control" label="客户名称" name="Shouxinedu" id="Shouxinedu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@(Model.Shouxinedu.HasValue?Model.Shouxinedu.Value.ToString("f2"):"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)"> |
| | | |
| | | </div> |
| | | |
| | | <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">剩余套餐件数</label> |
| | | <div class="col-sm-2 col-md-2" grouptype="Vdata"> |
| | | <input class="form-control" label="客户名称" name="Taocanjianshu" id="Taocanjianshu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@(Model.Taocanjianshu.HasValue?Model.Taocanjianshu.Value.ToString():"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^[1-9]{1}[0-9]*$/)"> |
| | | <input class="form-control" label="客户名称" name="Taocanjianshu" id="Taocanjianshu" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="text" value="@(Model.Taocanjianshu.HasValue?Model.Taocanjianshu.Value.ToString():"")" oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^[1-9]{1}[0-9]*$/)"> |
| | | |
| | | </div> |
| | | |
| | |
| | | |
| | | } |
| | | }); |
| | | |
| | | $("#Name").change(function () { |
| | | |
| | | var Name = $("#Name").val(); |
| | | $.ajax({ |
| | | type: "GET", |
| | | url: "/IntentionCustomer/getTitle?Name=" + Name + "&Id=" + $("#Id").val(), |
| | | dataType: "json", |
| | | global: false, |
| | | data: "", |
| | | success: function (data) { |
| | | |
| | | if (!data.Result) { |
| | | toastr.warning(data.Message); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | }, |
| | | error: function () { |
| | | |
| | | |
| | | parent.layer.msg('失败', { icon: 5 }); |
| | | } |
| | | }); |
| | | }); |
| | | </script> |
| | | </body> |
| | | </html> |