|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
|
<view class="register-main">
|
|
|
<view class="register-user-info">
|
|
|
- <FontTitle title="请完成注册信息填报" />
|
|
|
+ <FontTitle title="基本信息" />
|
|
|
<CustForm :column="com_column" ref="cust_form_ref" :isCode="isAdd" />
|
|
|
</view>
|
|
|
- <!-- <view class="register-card">
|
|
|
+ <view class="register-card">
|
|
|
|
|
|
<view class="info-list">
|
|
|
<view class="font-title">服务类别( {{ serviceOptions.length }} )</view>
|
|
@@ -65,7 +65,7 @@
|
|
|
|
|
|
|
|
|
</view>
|
|
|
- </view> -->
|
|
|
+ </view>
|
|
|
|
|
|
<view class="register-card" v-if="details.appStatus === '3'">
|
|
|
<view class="font-title">驳回原因</view>
|
|
@@ -235,34 +235,34 @@ function onSubmit() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // if (!(serviceKeys.threeKeyname || serviceKeys.itemKeyname || serviceKeys.classKeyname)) {
|
|
|
- // uni.showToast({
|
|
|
- // title: '请选择服务',
|
|
|
- // icon: 'none'
|
|
|
- // })
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (!serviceKeys.time) {
|
|
|
- // uni.showToast({
|
|
|
- // title: '请选择服务时长',
|
|
|
- // icon: 'none'
|
|
|
- // })
|
|
|
- // return
|
|
|
- // }
|
|
|
- // if (!serviceKeys.price) {
|
|
|
- // uni.showToast({
|
|
|
- // title: '请输入服务价格',
|
|
|
- // icon: 'none'
|
|
|
- // })
|
|
|
- // return
|
|
|
- // }
|
|
|
+ if (!(serviceKeys.threeKeyname || serviceKeys.itemKeyname || serviceKeys.classKeyname)) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '请选择服务',
|
|
|
+ icon: 'none'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!serviceKeys.time) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '请选择服务时长',
|
|
|
+ icon: 'none'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if (!serviceKeys.price) {
|
|
|
+ uni.showToast({
|
|
|
+ title: '请输入服务价格',
|
|
|
+ icon: 'none'
|
|
|
+ })
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
const parmas = {
|
|
|
serviceCategory: data.value.key,
|
|
|
...file_url,
|
|
|
- // businessManagementId: serviceKeys.threeKey || serviceKeys.itemKey || serviceKeys.classKey,
|
|
|
- // businessPrice: serviceKeys.price,
|
|
|
- // businessDuration: serviceKeys.time
|
|
|
+ businessManagementId: serviceKeys.threeKey || serviceKeys.itemKey || serviceKeys.classKey,
|
|
|
+ businessPrice: serviceKeys.price,
|
|
|
+ businessDuration: serviceKeys.time
|
|
|
};
|
|
|
for (const key in res) {
|
|
|
parmas[key] = key == 'sex' ? sex_status[res[key]] : res[key];
|