username@email.com
2021-12-28 c84c8d2fd150a79401a778a73083ba39004940c4
订单单价不能修改
3个文件已修改
19 ■■■■ 已修改文件
zhengcaioa/Services/SysCodeService.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zhengcaioa/zhengcaioa/Views/SysCode/Indexlaw.cshtml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zhengcaioa/Services/SysCodeService.cs
@@ -439,6 +439,7 @@
                        Contents = l.Contents,
                        Sort = l.Sort,
                        Classify1 = l.Classify1,
                        Classify2 = l.Classify2,
                        Creater = l.Creater,
                        Createtime = l.Createtime,
                        RecStatus = l.RecStatus,
zhengcaioa/zhengcaioa/Views/CooperOrder/Edit.cshtml
@@ -259,7 +259,7 @@
                                    <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">单价<i class="red">*</i></label>
                                    <div class="col-sm-2 col-md-2" grouptype="Vdata">
                                        <input class="form-control" label="客户名称" name="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Price" 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="Price" id="Price" labtype="txt" addvisible="true" editvisible="true" reg="" ismust="true" type="number" value="@Model.Price"  oninput="if(value.length>8)value=value.slice(0,18)" onkeyup="value=value.toString().match(/^\d+(?:\.\d{0,2})?/)">
                                    </div>
@@ -1194,6 +1194,11 @@
        $("#OrderType").change(function () {
            var sheng = $("#OrderType").val();
            if (sheng == '08' || sheng == '11' || sheng == '10') {
                $('#Price').removeAttr("readonly");//去除input元素的readonly属性
            } else {
                $('#Price').attr("readonly", "readonly")//将input元素设置为readonly
            }
            $.ajax({
                type: "GET",
                url: "/CooperOrder/getOrderType?OrderType=" + sheng,
@@ -1466,7 +1471,12 @@
                $("#tousu").hide();
            }
           
            var sheng = $("#OrderType").val();
            if (sheng == '08' || sheng == '11' || sheng == '10') {
                $('#Price').removeAttr("readonly");//去除input元素的readonly属性
            } else {
                $('#Price').attr("readonly", "readonly")//将input元素设置为readonly
            }
            
zhengcaioa/zhengcaioa/Views/SysCode/Indexlaw.cshtml
@@ -23,6 +23,10 @@
            },
            {
                label: '法条', name: 'Classify2', labtype: 'txt', hidden: false, width: 100,
            },
            {
                label: '排序', name: 'Sort', labtype: 'txt', hidden: true, width: 50,
            },