|
@@ -130,19 +130,22 @@
|
|
|
' <div style="display: flex; flex-direction: row; text-align: center; font-size: x-small; line-height: 5vh;">\n' +
|
|
|
' <div style="width: 33%; overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size: 12px">' + v.tgTitle + '</div>\n' +
|
|
|
' <div style="width: 33%; overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size: 12px">' + timestampToTime(v.timeCreate) + '</div>\n' +
|
|
|
- ' <div style="width: 33%; overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size: 12px">' + getStatus(v.tgStatus) + '</div>\n' +
|
|
|
- ' </div>\n' +
|
|
|
+ ' <div style="width: 33%; overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size: 12px">' + getStatus(v.buyStatus) + '</div>\n' +
|
|
|
+ ' </div>\n' + '<div style="display: none;width: 33%; overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size: 12px">' + getStatus(v.tgStatus) + '</div>\n' +
|
|
|
' </a>')
|
|
|
}
|
|
|
|
|
|
function myBuyClick2(v) {
|
|
|
- window.location.href = "/home/buytc.html?userId=" + $('#userId').val() + "&jmId=" + v.jmId + "&type=" + 2+"&tgStatus="+v.tgStatus;
|
|
|
+ if (v.buyStatus != 1) {
|
|
|
+ return $.alert("该订单已经取消");
|
|
|
+ }
|
|
|
+ window.location.href = "/home/buytc.html?userId=" + $('#userId').val() + "&jmId=" + v.jmId + "&type=" + 2 + "&tgStatus=" + v.tgStatus;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*居民求助信息*/
|
|
|
function myBuyClick(v) {
|
|
|
- window.location.href = "/home/buytc.html?userId=" + $('#userId').val() + "&jmId=" + v.jmId + "&type=" + 1+"&tgStatus="+v.tgStatus;
|
|
|
+ window.location.href = "/home/buytc.html?userId=" + $('#userId').val() + "&jmId=" + v.jmId + "&type=" + 1 + "&tgStatus=" + v.tgStatus;
|
|
|
}
|
|
|
|
|
|
|