Tang 4 роки тому
батько
коміт
b69f0c325b
1 змінених файлів з 10 додано та 2 видалено
  1. 10 2
      pages2/appointment/index.vue

+ 10 - 2
pages2/appointment/index.vue

@@ -88,7 +88,8 @@ export default {
 			listData: {
 				applyStatus: []
 			}, //页面数据
-			radioInfo: ''
+			radioInfo: '',
+			goodsIdBK:null,//补考商品ID
 		};
 	},
 	onLoad(option) {
@@ -139,12 +140,19 @@ export default {
 						});
 					}
 					if (res.data.data === 3) {
+						this.$api.goodsList({makeGoodsId:this.goodsId}).then(res => {
+							if(res.data.code === 200 && res.data.rows.length){
+								this.goodsIdBK = res.data.rows[0].goodsId
+							}
+						})
 						this.showTip = true;
 					}
 				}
 			});
 		},
-		submit() {}
+		submit() {
+			console.log(this.goodsId,this.goodsIdBK)
+		}
 	}
 };
 </script>