张延森 2 лет назад
Родитель
Сommit
05946e3e01
2 измененных файлов: 3 добавлений и 2 удалений
  1. 1
    1
      src/components/MyCard/index.jsx
  2. 2
    1
      src/pages/index/components/OverPop/index.jsx

+ 1
- 1
src/components/MyCard/index.jsx Просмотреть файл

@@ -34,7 +34,7 @@ export default (props) => {
34 34
       {
35 35
         job && <MyCell header='作业时间'><View>{value?.startDate}</View><View>{value?.endDate}</View></MyCell>
36 36
       }
37
-      <MyCell header='订单费用'>{(value?.charges && value.charges / 100) || 600}元</MyCell>
37
+      <MyCell header='订单费用'>{value?.charges ? value.charges / 100 : 0}元</MyCell>
38 38
       {
39 39
         job && value?.status != 3 && <MyButton value={value?.status == 0 ? '开始作业' : '完成作业'} onClick={onClick} />
40 40
       }

+ 2
- 1
src/pages/index/components/OverPop/index.jsx Просмотреть файл

@@ -15,7 +15,8 @@ export default (props) => {
15 15
     >
16 16
       <View className='bankInput'>
17 17
         <View className='header'>作业面积:</View>
18
-        <Input className='body' type='digit' placeholder='请输入本次作业的面积' value={area} onInput={handleArea} />
18
+        <Input className='body' type='digit' placeholder='请输入作业的面积' value={area} onInput={handleArea} />
19
+        <View className='header'>/亩</View>
19 20
       </View>
20 21
       <Button className='btn' onClick={handleOverOk}>确认</Button>
21 22
     </Popup>