|
@@ -1,14 +1,15 @@
|
1
|
1
|
import { View, Image, Form, Input, Picker } from "@tarojs/components"
|
2
|
2
|
import Taro, { useDidShow } from "@tarojs/taro"
|
3
|
3
|
import { useEffect, useState } from "react"
|
|
4
|
+import CustomNav from '@/components/CustomNav'
|
|
5
|
+import ButtontWX from '@/components/ButtontWX'
|
4
|
6
|
import withLayout from '@/layouts'
|
5
|
7
|
import { useModel } from "@/store"
|
6
|
8
|
import addresss from '@/assets/mineImgaes/addresss.png'//地址
|
7
|
9
|
import timeImage from '@/assets/icons/comm/timeImage.png'//日期图片
|
8
|
10
|
import formatTimes from "@/utils/codeSegment"
|
9
|
11
|
|
10
|
|
-import CustomNav from '@/components/CustomNav'
|
11
|
|
-import ButtontWX from '@/components/ButtontWX'
|
|
12
|
+
|
12
|
13
|
import { generateOrder } from "@/services/order"
|
13
|
14
|
// import BottomMoadl from '@/components/BottomMoadl/index'
|
14
|
15
|
import { getMachineryInfo } from "@/services/homes"
|
|
@@ -54,7 +55,7 @@ export default withLayout((props) => {
|
54
|
55
|
const appontmentDate = e?.detail?.value?.appontmentDate
|
55
|
56
|
const address = e?.detail?.value?.address
|
56
|
57
|
|
57
|
|
- debugger
|
|
58
|
+ // debugger
|
58
|
59
|
|
59
|
60
|
console.log('formSubmit', e?.detail);
|
60
|
61
|
if (e?.detail?.value?.amount && e?.detail?.value?.appontmentDate && e?.detail?.value?.address) {
|
|
@@ -161,7 +162,7 @@ export default withLayout((props) => {
|
161
|
162
|
</View>
|
162
|
163
|
</View>
|
163
|
164
|
<View className='BottomtBut-box'>
|
164
|
|
- <ButtontWX onClick={formSubmit} formType='submit' butText='确定' butWidth={315} butHeight={49} butFontSize={16} butBorderRadius={49} />
|
|
165
|
+ <ButtontWX formType='submit' butText='确定' butWidth={315} butHeight={49} butFontSize={16} butBorderRadius={49} />
|
165
|
166
|
<ButtontWX onClick={cancelPay} styleType butText='取消' butWidth={315} butHeight={49} butFontSize={16} butBorderRadius={49} />
|
166
|
167
|
</View>
|
167
|
168
|
</Form>
|