mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 23:39:36 +08:00
描述:会议预约填写参会人数
This commit is contained in:
parent
10b208506f
commit
221d068a3d
@ -36,6 +36,7 @@ Page({
|
||||
userData: {},
|
||||
serviceList: [],
|
||||
title: '',
|
||||
personNum: '',
|
||||
reservationPersonList: [],
|
||||
},
|
||||
|
||||
@ -115,6 +116,12 @@ Page({
|
||||
app.vantNotifyErr(Notify, '请输入会议主题!')
|
||||
return;
|
||||
}
|
||||
// 参会人数
|
||||
if (!_this.data.personNum) {
|
||||
app.vantNotifyErr(Notify, '请输入参会人数!')
|
||||
return;
|
||||
}
|
||||
|
||||
// 参会人员
|
||||
let reservationPersonList = _this.data.reservationPersonList.map(item => {
|
||||
return {
|
||||
@ -129,6 +136,7 @@ Page({
|
||||
"userId": _this.data.userData.id,
|
||||
"customerId": _this.data.userData.icsCustomerId,
|
||||
"title": _this.data.title,
|
||||
"personNum": _this.data.personNum,
|
||||
reservationPersonList,
|
||||
"startTime": _this.data.startTime,
|
||||
"endDate": _this.data.endTime,
|
||||
|
@ -50,7 +50,7 @@
|
||||
<view class="itemView">
|
||||
<view class="label">参会人数</view>
|
||||
<view class="content">
|
||||
<van-field value="{{ personNum }}" placeholder="请输入参会人数" clearable input-align="right" border="{{ false }}" data-name="title" bind:change="inputChange" />
|
||||
<van-field value="{{ personNum }}" placeholder="请输入参会人数" clearable input-align="right" border="{{ false }}" data-name="personNum" bind:change="inputChange" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="itemView" bind:tap="jumpMeetingPerson">
|
||||
|
@ -28,7 +28,7 @@
|
||||
</view>
|
||||
<view class="cellView">
|
||||
<view class="label">参会人数</view>
|
||||
<view class="content">{{detail.reservationPersonList.length}}</view>
|
||||
<view class="content">{{detail.personNum}}</view>
|
||||
</view>
|
||||
<view class="cellView">
|
||||
<view class="label">会议预约人</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user