|
@@ -187,7 +187,7 @@
|
|
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
|
|
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',isShowClear:false});"/>
|
|
|
|
|
|
<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
|
|
<input id="btnSubmit" class="btn btn-primary" type="submit" value="查询"/>
|
|
- <input class="btn btn-primary" onclick="offocea(${CmDiscernReceipt.shopID},'${CmDiscernReceipt.linkMan}')" type="button" value="免除上架费"/>
|
|
|
|
|
|
+ <input class="btn btn-primary" onclick="offocea(${CmDiscernReceipt.shopID},'${CmDiscernReceipt.shopName}','${CmDiscernReceipt.linkMan}')" type="button" value="免除上架费"/>
|
|
</div>
|
|
</div>
|
|
<%-- shopId, receStatct, receiptDate--%>
|
|
<%-- shopId, receStatct, receiptDate--%>
|
|
<strong>供应商:${CmDiscernReceipt.shopName}</strong>
|
|
<strong>供应商:${CmDiscernReceipt.shopName}</strong>
|
|
@@ -210,16 +210,16 @@
|
|
<tbody>
|
|
<tbody>
|
|
<c:forEach items="${discernReceipt.list}" var="discernReceipt">
|
|
<c:forEach items="${discernReceipt.list}" var="discernReceipt">
|
|
<td>${(page.pageNo-1)*page.pageSize+index.index+1}</td>
|
|
<td>${(page.pageNo-1)*page.pageSize+index.index+1}</td>
|
|
- <c:if test="${discernReceipt.receStatct eq 1}">
|
|
|
|
|
|
+ <c:if test="${discernReceipt.receStatct eq 2}">
|
|
<td>免除上架费</td>
|
|
<td>免除上架费</td>
|
|
<td>${discernReceipt.receiptDate}</td>
|
|
<td>${discernReceipt.receiptDate}</td>
|
|
<td>${discernReceipt.validityDate}</td>
|
|
<td>${discernReceipt.validityDate}</td>
|
|
<td>--</td>
|
|
<td>--</td>
|
|
<td>
|
|
<td>
|
|
- <a href="javascript:void(0);" onclick="offoceb(${CmDiscernReceipt.receiptID},${CmDiscernReceipt.linkMan})">取消</a>
|
|
|
|
|
|
+ <a href="javascript:void(0);" onclick="offoceb(${discernReceipt.receiptID},'${CmDiscernReceipt.shopName}','${CmDiscernReceipt.linkMan}')">取消</a>
|
|
</td>
|
|
</td>
|
|
</c:if>
|
|
</c:if>
|
|
- <c:if test="${discernReceipt.receStatct eq 0}">
|
|
|
|
|
|
+ <c:if test="${discernReceipt.receStatct eq 1}">
|
|
<td>免除上架费<span style="color: red">(已取消)</span></td>
|
|
<td>免除上架费<span style="color: red">(已取消)</span></td>
|
|
<td>${discernReceipt.receiptDate}</td>
|
|
<td>${discernReceipt.receiptDate}</td>
|
|
<td>${discernReceipt.validityDate}</td>
|
|
<td>${discernReceipt.validityDate}</td>
|
|
@@ -228,7 +228,7 @@
|
|
--
|
|
--
|
|
</td>
|
|
</td>
|
|
</c:if>
|
|
</c:if>
|
|
- <c:if test="${empty discernReceipt.receStatct}">
|
|
|
|
|
|
+ <c:if test="${empty discernReceipt.receStatct || discernReceipt.receStatct eq 0}">
|
|
<td>${discernReceipt.receiptAmount}</td>
|
|
<td>${discernReceipt.receiptAmount}</td>
|
|
<td>${discernReceipt.receiptDate}</td>
|
|
<td>${discernReceipt.receiptDate}</td>
|
|
<td>${discernReceipt.validityDate}</td>
|
|
<td>${discernReceipt.validityDate}</td>
|
|
@@ -244,19 +244,19 @@
|
|
</table>
|
|
</table>
|
|
<div class="pagination">${discernReceipt}</div>
|
|
<div class="pagination">${discernReceipt}</div>
|
|
<script>
|
|
<script>
|
|
- function offocea(shopId,linkMan) {
|
|
|
|
|
|
+ function offocea(shopID,shopName,linkMan) {
|
|
$.jBox.confirm("确定为该供应商免除上架费吗?","提示",function(v,h,f){
|
|
$.jBox.confirm("确定为该供应商免除上架费吗?","提示",function(v,h,f){
|
|
|
|
|
|
if(v === 1){
|
|
if(v === 1){
|
|
- window.location.href="${ctx}/user/newCmShop/Removethelastfee?shopID="+shopId+"&linkMan="+linkMan;
|
|
|
|
|
|
+ window.location.href="${ctx}/user/newCmShop/Removethelastfee?shopID="+shopID+"&shopName="+shopName+"&linkMan="+linkMan;
|
|
}
|
|
}
|
|
} ,{ buttons: { '确定': 1,'取消':2}});
|
|
} ,{ buttons: { '确定': 1,'取消':2}});
|
|
}
|
|
}
|
|
- function offoceb(id,linkMan) {
|
|
|
|
|
|
+ function offoceb(id,linkMan,shopName) {
|
|
$.jBox.confirm("确定取消免除该供应商上架费吗??","提示",function(v,h,f){
|
|
$.jBox.confirm("确定取消免除该供应商上架费吗??","提示",function(v,h,f){
|
|
|
|
|
|
if(v === 1){
|
|
if(v === 1){
|
|
- window.location.href="${ctx}/user/newCmShop/Removethelast?receiptID="+id+"&linkMan="+linkMan;
|
|
|
|
|
|
+ window.location.href="${ctx}/user/newCmShop/Removethelast?receiptID="+id+"&linkMan="+linkMan+"&shopName="+shopName;
|
|
}
|
|
}
|
|
} ,{ buttons: { '确定': 1,'取消':2}});
|
|
} ,{ buttons: { '确定': 1,'取消':2}});
|
|
}
|
|
}
|