2.商品库存信息—库存详情,希望优化可以跳出二级页面。新建标签页
Showing
1 changed file
with
8 additions
and
2 deletions
@@ -316,7 +316,8 @@ | @@ -316,7 +316,8 @@ | ||
316 | var str = ''; | 316 | var str = ''; |
317 | 317 | ||
318 | if (typeof(rowData.bidStorePrice) != 'undefined' && typeof(rowData.bidStorePrice.bidTotal) != 'undefined' && rowData.bidStorePrice.bidTotal > 0) { | 318 | if (typeof(rowData.bidStorePrice) != 'undefined' && typeof(rowData.bidStorePrice.bidTotal) != 'undefined' && rowData.bidStorePrice.bidTotal > 0) { |
319 | - str += "<a role='cancel' href=" + contextPath + "/html/goods/storage/bidDetail.html?productId=" + rowData.id + "&midSortId=" + rowData.midSortId + "&time_version=" + new Date().getTime() + ">求购详情</a>"; | 319 | + //str += "<a role='cancel' href=" + contextPath + "/html/goods/storage/bidDetail.html?productId=" + rowData.id + "&midSortId=" + rowData.midSortId + "&time_version=" + new Date().getTime() + ">求购详情</a>"; |
320 | + str += "<a role='edit' dataId='" + rowData.id + "' sortId = '" + rowData.midSortId + "'>求购详情</a>"; | ||
320 | } | 321 | } |
321 | str += "<a role='edit' dataId='" + rowData.id + "' sortId = '" + rowData.midSortId + "'>库存详情</a>"; | 322 | str += "<a role='edit' dataId='" + rowData.id + "' sortId = '" + rowData.midSortId + "'>库存详情</a>"; |
322 | return str; | 323 | return str; |
@@ -343,7 +344,7 @@ | @@ -343,7 +344,7 @@ | ||
343 | onClick: function () { | 344 | onClick: function () { |
344 | var id = $(this).attr("dataId"); | 345 | var id = $(this).attr("dataId"); |
345 | var midSortId = $(this).attr("sortId"); | 346 | var midSortId = $(this).attr("sortId"); |
346 | - detailStorage(id, midSortId); | 347 | + detailBidStorage(id, midSortId); |
347 | } | 348 | } |
348 | }); | 349 | }); |
349 | } | 350 | } |
@@ -526,6 +527,11 @@ | @@ -526,6 +527,11 @@ | ||
526 | window.open(contextPath + "/html/goods/storage/storageDetail.html?productId=" + id + "&midSortId=" + midSortId + "&time_version=" + new Date().getTime()); | 527 | window.open(contextPath + "/html/goods/storage/storageDetail.html?productId=" + id + "&midSortId=" + midSortId + "&time_version=" + new Date().getTime()); |
527 | } | 528 | } |
528 | 529 | ||
530 | + function detailBidStorage(id, midSortId) { | ||
531 | + //this.location.href = contextPath + "/html/goods/storage/storageDetail.html?productId=" + id + "&midSortId=" + midSortId + "&time_version=" + new Date().getTime(); | ||
532 | + window.open(contextPath + "/html/goods/storage/bidDetail.html?productId=" + id + "&midSortId=" + midSortId + "&time_version=" + new Date().getTime()); | ||
533 | + } | ||
534 | + | ||
529 | 535 | ||
530 | // 上传EXCEL | 536 | // 上传EXCEL |
531 | function uploadExcel() { | 537 | function uploadExcel() { |
-
Please register or login to post a comment