1.批量上传EXCEL的以xlsx结尾
2.第一列为标题列 姓名 手机号 证件号
3.文件是从微信聊天记录中选取或者微信文件传输助手
" + content: "1.批量上传EXCEL的以xlsx结尾
2.第一列为标题列 姓名 手机号 证件号
3.文件是从微信聊天记录中选取或者微信文件传输助手
"
}]
}
},
@@ -386,22 +386,25 @@
},
submitOrder() {
- if (this.util.isNull(this.form.leader)) {
- if (this.type == "user") {
- uni.showToast({
- icon: "none",
- title: "请填写联系人"
- })
- } else {
+ if (this.form.details_list.length != this.form.total) {
+ uni.showToast({
+ icon: "none",
+ title: "请正确添加观众数量"
+ })
+ return false;
+ }
+
+ if (this.type != "user") {
+
+
+ if (this.util.isNull(this.form.leader)) {
uni.showToast({
icon: "none",
title: "请填写领队姓名"
})
+ return false;
}
- return false;
- }
- if (this.type != "user") {
if (this.util.isNull(this.form.unit)) {
uni.showToast({
icon: "none",
@@ -427,28 +430,23 @@
return false;
}
}
- }
- if (this.util.isNull(this.form.mobile)) {
- uni.showToast({
- icon: "none",
- title: "请填写手机号"
- })
- return false;
- } else if (!uni.$u.test.mobile(this.form.mobile)) {
- uni.showToast({
- icon: "none",
- title: "请正确填写手机号"
- })
- return false;
- }
- if (this.form.details_list.length != this.form.total) {
- uni.showToast({
- icon: "none",
- title: "请正确添加观众数量"
- })
- return false;
+
+ if (this.util.isNull(this.form.mobile)) {
+ uni.showToast({
+ icon: "none",
+ title: "请填写手机号"
+ })
+ return false;
+ } else if (!uni.$u.test.mobile(this.form.mobile)) {
+ uni.showToast({
+ icon: "none",
+ title: "请正确填写手机号"
+ })
+ return false;
+ }
}
+
var that = this;
this.util.request({
api: '/api/mobile/activity/order',
@@ -494,7 +492,7 @@
}
.box-visitor-info {
- font-size: 24rpx;
+ font-size: 32rpx;
color: #4E4E4E;
margin-left: 22rpx;
}
diff --git a/pages/activity/index.vue b/pages/activity/index.vue
index 27c396b..b629ed9 100644
--- a/pages/activity/index.vue
+++ b/pages/activity/index.vue
@@ -21,7 +21,7 @@