diff --git a/src/pages/service_shop/shop_car_apply.vue b/src/pages/service_shop/shop_car_apply.vue index 71c94a32f9f9f3aa2c5ccf47c2931ae0d5737907..d814f3fe73910b4e67f4dc601af562aac6896da2 100644 --- a/src/pages/service_shop/shop_car_apply.vue +++ b/src/pages/service_shop/shop_car_apply.vue @@ -245,6 +245,14 @@ export default { this.$message.error('请完善服务申请') return } + + for (let index = 0; index < temp.carts.length; index++) { + const e = temp.carts[index]; + if(e.apply_fields[0].selected == 0){ + this.$message.error('请选择所需参数') + return + } + } this.$http .post(`/apaas/serviceapp/v3/shopcart/apply`,temp) .then(response => {