diff --git a/src/main/java/io/v/nutz/zhgh/healthCheckup/service/impl/HealthCheckupSingleServiceImpl.java b/src/main/java/io/v/nutz/zhgh/healthCheckup/service/impl/HealthCheckupSingleServiceImpl.java index 2d8cece..0c4b4c1 100644 --- a/src/main/java/io/v/nutz/zhgh/healthCheckup/service/impl/HealthCheckupSingleServiceImpl.java +++ b/src/main/java/io/v/nutz/zhgh/healthCheckup/service/impl/HealthCheckupSingleServiceImpl.java @@ -212,6 +212,8 @@ public class HealthCheckupSingleServiceImpl extends ViServiceImpl 1 && !project.getIsIntegralMode()) { + if (StrUtil.isBlank(welfareUserSelection.getReceiveAddress())) { + welfareUserSelection.setReceiveAddress(""); + } + if (welfareUserSelection.getSelectNum() > 1 && !Boolean.TRUE.equals(project.getIsIntegralMode())) { return Result.error("福利选择限制超过最大限制"); } } diff --git a/src/main/resources/static/components/plugins/QuestionNaire.vue b/src/main/resources/static/components/plugins/QuestionNaire.vue index ba66561..fdd30bc 100644 --- a/src/main/resources/static/components/plugins/QuestionNaire.vue +++ b/src/main/resources/static/components/plugins/QuestionNaire.vue @@ -109,7 +109,7 @@ header-align="center" v-if="is_integral_mode" label="所需积分" width="150"> @@ -188,7 +188,7 @@ optionName:'福利'+(s.options.length+1), optionSort:s.options.length+1, imgUrl:null, - integral:0, + integral:1, isDefaultOption:false, isSystemDefault:false})"> 添加福利 @@ -281,8 +281,8 @@ module.exports = { subjectName: '题目' + (this.subject.length + 1), subjectType: type, options: [ - {optionName: '选项一', imgUrl: null}, - {optionName: '选项一', imgUrl: null} + {optionName: '选项一', imgUrl: null, integral: 1}, + {optionName: '选项一', imgUrl: null, integral: 1} ] } this.subject.push(subject) diff --git a/src/main/resources/views/mobile/welfare/list/receive.html b/src/main/resources/views/mobile/welfare/list/receive.html index 184e138..ee55899 100644 --- a/src/main/resources/views/mobile/welfare/list/receive.html +++ b/src/main/resources/views/mobile/welfare/list/receive.html @@ -288,8 +288,11 @@ layout("/mobile/platform.html"){ v-model="selectAddressPopup">
配送至
+
+ 收货地址限哈尔滨市:{{receiveAddressAreaText}} +