master
飘泊客 1 year ago
parent 08c30cac9c
commit 1d429dc104

@ -383,8 +383,9 @@
<p>联系方式{{ formModel.customNid }}</p> <p>联系方式{{ formModel.customNid }}</p>
<div style="overflow-y: auto; max-height: 200px"> <div style="overflow-y: auto; max-height: 200px">
<p v-for="(item, index) in formModel.customStoreEntities" :key="index"> <p v-for="(item, index) in formModel.customStoreEntities" :key="index">
{{ `报名的门店${index + 1}` }} {{ item.storeName }} -- <span>{{ `报名的门店${index + 1}` }}{{ item.storeName }}</span>
{{ `${item.reservationDate?.toString().split(' ')[0]} ${item.reservationTime}` }} <span>&nbsp;{{ item.reservationDate?.toString().split(' ')[0] }}</span>
<span>&nbsp;{{ item.reservationTime }}</span>
</p> </p>
</div> </div>
</a-modal> </a-modal>

@ -59,7 +59,7 @@
</a-col> </a-col>
<a-col xs="24" :sm="24" :md="12"> <a-col xs="24" :sm="24" :md="12">
<a-form-item label="预约时间"> <a-form-item label="预约时间">
<a-input v-model:value="item.reservationTime" placeholder="请输入" readonly /> <a-input v-model:value="item.reservationTime" placeholder="未选择" readonly />
</a-form-item> </a-form-item>
</a-col> </a-col>
</a-row> </a-row>
@ -186,7 +186,7 @@ defineExpose({
const targetObj = formModel.customStoreVOList.find( const targetObj = formModel.customStoreVOList.find(
(i: any) => i.storeId === item.storeId (i: any) => i.storeId === item.storeId
) )
if (targetObj) { if (targetObj && item.reservationDate) {
targetObj.reservationTime = targetObj.reservationTime =
item.reservationDate.split(' ')[0] + ' ' + item.reservationTime item.reservationDate.split(' ')[0] + ' ' + item.reservationTime
} }

Loading…
Cancel
Save