From 2f74eb23c0d2d4a246bc612c5c34bdfa8dea5603 Mon Sep 17 00:00:00 2001 From: wzp <2040239371@qq.com> Date: 星期五, 11 十一月 2022 09:25:02 +0800 Subject: [PATCH] 修改账号产品关联的bug 修改产品不显示的bug --- web/web/GwSp.aspx | 60 +++++++++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 45 insertions(+), 15 deletions(-) diff --git a/web/web/GwSp.aspx b/web/web/GwSp.aspx index ecace87..3b69964 100644 --- a/web/web/GwSp.aspx +++ b/web/web/GwSp.aspx @@ -124,7 +124,7 @@ //鍏呭�� $(document).on("click", ".action-modal-charge", function () { - var spID = $(this).data("id"); //璐﹀彿ID + var spID = $(this).data("id"); //鐭俊璐﹀彿 //window.open("gwOrderCreate.aspx?spId=" + spID, 'gwOrderCreate'); window.location.href = "gwOrderCreate.aspx?spId=" + spID; }); @@ -142,8 +142,15 @@ //鏂板姞 $(document).on("click", ".action-updateStatus", function () { var spid = $(this).attr("data-spid"); - var status=$(this).attr("data-status"); - mytek.confirm("鏄惁闇�瑕佷慨鏀硅璐︽埛鐘舵�侊紵", "鏄惁鎿嶄綔锛�", function (b) { + var status = $(this).attr("data-status"); + var statusMsg = ""; + if (status == 0) { + statusMsg = "銆愬仠鐢ㄣ��"; + } + else { + statusMsg = "銆愬惎鐢ㄣ��"; + } + mytek.confirm("鏄惁闇�瑕�" + statusMsg + "璇ヨ处鎴风姸鎬侊紵", "鏄惁鎿嶄綔锛�", function (b) { if (b) { $.post("gwsp.ashx", { action: "updateSpStatus", spid: spid,status:status }, function (r) { mytek.alert(r.Message, r.OK, function () { @@ -382,7 +389,7 @@ <div class="ibox"> <div class="form-group"> <div class="input-group m-b"> - <span class="input-group-addon">SP璐﹀彿</span> + <span class="input-group-addon">鐭俊璐﹀彿</span> <input type="text" name="spID" id="spID" class="form-control col-md-2" /> </div> </div> @@ -409,14 +416,14 @@ <div class="form-group"> <div class="input-group m-b"> - <span class="input-group-addon">閫氶亾ID</span> + <span class="input-group-addon">閫氶亾鍚�</span> <input type="text" name="opID" id="opID" class="form-control col-md-2" /> </div> </div> <div class="form-group"> <div class="input-group m-b"> - <span class="input-group-addon">鍏宠仈浜у搧ID</span> + <span class="input-group-addon">鍏宠仈浜у搧鍚嶇О</span> <select name="productId" id="productId" class="form-control"> <%=GetProductOptions("")%> </select> @@ -463,9 +470,9 @@ <div class="form-group"> <div class="input-group m-b"> <input type="button" value="鏌ヨ" class="btn btn-primary action-query" /> + <input class="btn btn-warning action-create" value="鍒涘缓鏂拌处鍙�" type="button" /> <input type="button" value="鎵归噺淇敼閫氶亾" class="btn btn-danger action-modal-op" /> <input type="button" class="btn btn-info action-export" value="瀵煎嚭鏁版嵁" /> - <input class="btn btn-warning action-create" value="鍒涘缓鏂拌处鍙�" type="button" /> </div> </div> </div> @@ -479,21 +486,40 @@ <input type='checkbox' name='checkAll' id='checkAll' /> </th> <th> - SP璐﹀彿/鎺ュ叆鍗忚/褰掑睘瀹㈡埛 + 鐭俊璐﹀彿 </th> <th> 鍏宠仈浜у搧 </th> <th> + 瀹㈡埛璐﹀彿 + </th> + <th> + 鍏徃鍚嶇О + </th> + <th> + 鎺ュ叆鍗忚 + </th> + <th> 閫氶亾 </th> + <!-- <th> 澶辫触琛ュ彂 </th> + --> <th> + 浠樿垂鏂瑰紡 + </th> + <th> + 鍗曚环(鍏�/鏉�) + </th> + <th> + 浣欓锛堟�绘潯鏁�/鍩烘湰鏉℃暟/璧犻�佹潯鏁帮級 + </th> <!-- add: yangzh by 2022-03-14 start - 鏉℃暟/浣欓/浠樿垂鏂瑰紡/鍗曚环/鍛婅 - --> + <th> + //鏉℃暟/浣欓/浠樿垂鏂瑰紡/鍗曚环/鍛婅 鍓╀綑鎬绘潯鏁�/鍩烘湰鏉℃暟/璧犻�佹潯鏁�/浠樿垂鏂瑰紡/鍗曚环/鍛婅 </th> <th> @@ -502,13 +528,17 @@ <th> 鎵╁睍鍙� </th> - <th> + --> + <%--<th> 瀹㈡埛IP - </th> + </th>--%> <th> 鐘舵�� </th> - <th colspan="4"> + <th> + 婵�娲绘椂闂� + </th> + <th class="text-center" width="150px"> 鎿嶄綔 </th> </tr> @@ -526,7 +556,7 @@ <div class="modal-header"> <h3> 鎵归噺淇敼閫氶亾</h3> - </span><a class="close" data-dismiss="modal" aria-hidden="true">脳</a> <span class="text-muted"> + <a class="close" data-dismiss="modal" aria-hidden="true">脳</a> <span class="text-muted"> 鎵归噺鏇存敼閫氶亾[缁刔灏嗕細鏇存柊鎵�鏈夐�変腑鐨勮处鍙风殑閫氶亾[缁刔锛�<br /> 濡傛灉绉诲姩銆佽仈閫氭垨鐢典俊 娌℃湁璁剧疆閫氶亾[缁刔锛屾墍閫夎处鍙烽�氶亾[缁刔閮藉皢琚竻绌猴紝璇疯皑鎱庢搷浣滐紒 </span> </div> @@ -698,5 +728,5 @@ <div id="mask" class="mask"> <span></span> <img src="img/spinning-circles.svg" alt="杞藉叆涓�..." /></div> - </div> + </asp:Content> \ No newline at end of file -- Gitblit v1.9.1