From b8fa32d3ffce1db21b9c7729a26dceaae24f0950 Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Fri, 19 Jun 2020 18:29:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=94=B3=E8=AF=B7=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/service_shop/shop_car_apply.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/pages/service_shop/shop_car_apply.vue b/src/pages/service_shop/shop_car_apply.vue index 71c94a3..d814f3f 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 => { -- 2.26.0