username@email.com
2022-06-15 0e6d0e8975e92a6395d2d9f692edd5a7d0984c5a
zhengcaioa/zhengcaioa/Views/CooperOrder/EditZhiyihan.cshtml
@@ -331,7 +331,7 @@
                                                        }
                                                    </select>
                                                   <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" />
                                                </div>
@@ -350,25 +350,31 @@
                                                {
                                                    @if (challengeItemDTOs[i].sysCodeDtls.Count == 1)
                                                    {
                                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label>
                                                            <div class="col-sm-8 col-md-8">
                                                                《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents
                                                            </div>
                                                        </div>
                                                <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                    <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label>
                                                    <div class="col-sm-8 col-md-8">
                                                        《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents
                                                    </div>
                                                    <input type="hidden"  name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].Comments" />
                                                    <input type="hidden"  name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" />
                                                    <div class="col-sm-1 col-md-1" grouptype="Vdata">
                                                        <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                                                    </div>
                                                </div>
                                                    }
                                                    else
                                                    {
                                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label>
                                                            <div class="col-sm-8 col-md-8">
                                                                《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents
                                                            </div>
                                                        </div>
                                            <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label>
                                                <div class="col-sm-8 col-md-8">
                                                    《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents
                                                </div>
                                                <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].Comments" />
                                                <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" />
                                                <div class="col-sm-1 col-md-1" grouptype="Vdata">
                                                    <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                                                </div>
                                            </div>
                                                    }
@@ -402,7 +408,7 @@
                                                        }
                                                    </select>
                                                    <input type="hidden" name="challengeItemId" value="@challengeItemDTOs[i].Id" />
                                                </div>
                                                @if (i == 0)
                                                {
@@ -427,25 +433,33 @@
                                                {
                                                    @if (challengeItemDTOs[i].sysCodeDtls.Count == 1)
                                                    {
                                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label>
                                                            <div class="col-sm-8 col-md-8">
                                                                《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents
                                                            </div>
                                                <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                    <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据</label>
                                                    <div class="col-sm-8 col-md-8">
                                                        《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents
                                                    </div>
                                                    <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].Comments" />
                                                    <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" />
                                                    <div class="col-sm-1 col-md-1" grouptype="Vdata">
                                                        <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                                                    </div>
                                                        </div>
                                                </div>
                                                    }
                                                    else
                                                    {
                                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label>
                                                            <div class="col-sm-8 col-md-8">
                                                                《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents
                                                            </div>
                                            <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">法律依据@(j+1)</label>
                                                <div class="col-sm-8 col-md-8">
                                                    《@(challengeItemDTOs[i].sysCodeDtls[j].CodeSn)》@(challengeItemDTOs[i].sysCodeDtls[j].Classify2):@challengeItemDTOs[i].sysCodeDtls[j].Contents
                                                </div>
                                                <input type="hidden" name="Law" value="@challengeItemDTOs[i].sysCodeDtls[j].Comments" />
                                                <input type="hidden" name="challengeItemIdlaw" value="@challengeItemDTOs[i].Id" />
                                                <div class="col-sm-1 col-md-1" grouptype="Vdata">
                                                    <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                                                </div>
                                                        </div>
                                            </div>
                                                    }
                                                }
                                            </div>
@@ -531,12 +545,16 @@
                @*<a class="btn btn-success" href="javascript:void(0)" onclick="delPosition();" style="margin-left:4px; border-radius:4px;">
            <i class="glyphicon glyphicon-remove"></i>&nbsp;&nbsp;<span class="bold">删除</span>
        </a>*@
                <a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;">
                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">打印</span>
                @*<a class="btn btn-success" href="javascript:void(0)" onclick="printPosition();" style="margin-left:4px; border-radius:4px;">
            <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">打印</span>
        </a>*@
                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition(1);" style="margin-left:4px; border-radius:4px;">
                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">保存</span>
                </a>
                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition(2);" style="margin-left:4px; border-radius:4px;">
                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">提交</span>
                </a>
                <input type="hidden" id="Status" name="Status" value="0" />
            </div>
        </div>
@@ -601,7 +619,7 @@
        // 保存岗位信息
        var savePosition = function () {
        var savePosition = function (Status) {
            if ($.trim($("#GysName").val()) == '') {
                toastr.warning("质疑供应商不能为空");
@@ -644,7 +662,7 @@
                toastr.warning("副本数量不能为空");
                return;
            }
            $("#Status").val(Status);
            //var data = { id: $("#Id").val(), StartTime:$("#StartTime").val(), Sheng: $("#Sheng").val(), job_level: $("#Job_level").val().toString(), ExistsAttachment: fileId != "" }
            $.ajax({
@@ -716,9 +734,11 @@
        function Questionchangge(i) {
            var sss = document.getElementsByName("Question")[i].value;
            var challengeItemId = document.getElementsByName("challengeItemId")[i].value;
            $.ajax({
                type: "GET",
                url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i,
                url: "/CooperOrder/getQuestionLaw?id=" + sss + "&no=" + i + "&challengeItemId=" + challengeItemId,
                dataType: "json",
                global: false,
                data: "",
@@ -739,7 +759,11 @@
                                               《` + data.DataList[i].CodeSn + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + `
                                            </div>
<input type="hidden"  name="Law" value="` + data.DataList[i].Comments + `" />
  <input type="hidden"   name="challengeItemIdlaw" value="` + data.Remark + `" />
                                                <div class="col-sm-1 col-md-1" grouptype="Vdata">
                                                    <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                                                </div>
                                        </div>
                                           `;
@@ -752,7 +776,11 @@
                                                 《` + data.DataList[i].CodeSn + `》` + data.DataList[i].Classify2 + `:` + data.DataList[i].Contents + `
                                            </div>
<input type="hidden"  name="Law" value="` + data.DataList[i].Comments + `" />
  <input type="hidden"  name="challengeItemIdlaw" value="` + data.Remark + `" />
                                                <div class="col-sm-1 col-md-1" grouptype="Vdata">
                                                    <button type="button" class="delBtn" onclick="dellawBtn(this)" data-type="1" style="width:32px">-</button>
                                                </div>
                                        </div>
                                           `;
@@ -845,12 +873,12 @@
        function addzhiyishixiang(obj) {
            var sss = document.getElementsByName("Question").length;
            if (document.getElementsByName("Question").length == 1) {
                $('#Questionlabel').text("质疑事项1");
                $('#Evidentiallabel').text("事实依据1");
            }
            $('#zhiyishixiang').append(`   <div class="zhiyishixiangitem">
            $('#zhiyishixiang').append(`   <div class="zhiyishixiangitem">
  <div class="clearfix layer-area" style="padding-bottom:15px;">
                                            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">质疑事项`+ (sss+1) + `</label>
                                            <div class="col-sm-4 col-md-4" grouptype="Vdata">
@@ -867,7 +895,7 @@
                                                    }
                                                </select>
                               <input type="hidden"  name="challengeItemId" value="`+ (guid()) + `" />
                                            </div>
                                        </div>
@@ -936,8 +964,22 @@
                    $('#zhiyishixiang').find('.zhiyishixiangitem:last').remove();
                }
            }
            }
        }
        function dellawBtn(obj) {
            $(obj).parent().parent().remove();
        }
        function guid() {
            function S4() {
                return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
            }
            return (S4() + S4() + "-" + S4() + "-" + S4() + "-" + S4() + "-" + S4() + S4() + S4());
        }
    </script>
</body>