Commit b8fa32d3 authored by 张俊's avatar 张俊

服务申请选择参数

parent f9e85932
...@@ -245,6 +245,14 @@ export default { ...@@ -245,6 +245,14 @@ export default {
this.$message.error('请完善服务申请') this.$message.error('请完善服务申请')
return 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 this.$http
.post(`/apaas/serviceapp/v3/shopcart/apply`,temp) .post(`/apaas/serviceapp/v3/shopcart/apply`,temp)
.then(response => { .then(response => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment