Browse Source

fix: 收藏的需求/供应如果是删除的,提示不能联系

lizhaocai 1 month ago
parent
commit
4029064925

+ 7 - 0
pages/mine/coll.vue

@@ -506,6 +506,13 @@ import {
 					companyNo: that.curItem.companyNo,
 					userNo: uni.getStorageSync('userNo'),
 				});
+				if(that.curItem.systemStatus==1){
+					uni.showToast({
+						title: (that.current==0?'此需求':'此供应')+'已删除,不能联系',
+						icon: 'none'
+					})
+					return false;
+				}
 				request.post('/slbBisContact/add', params).then(res => {
 					if (res.success) {
 						that.showContact = true;

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/coll.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/mine/coll.js