张延森 2 年之前
父節點
當前提交
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
       {
34
       {
35
         job && <MyCell header='作业时间'><View>{value?.startDate}</View><View>{value?.endDate}</View></MyCell>
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
         job && value?.status != 3 && <MyButton value={value?.status == 0 ? '开始作业' : '完成作业'} onClick={onClick} />
39
         job && value?.status != 3 && <MyButton value={value?.status == 0 ? '开始作业' : '完成作业'} onClick={onClick} />
40
       }
40
       }

+ 2
- 1
src/pages/index/components/OverPop/index.jsx 查看文件

15
     >
15
     >
16
       <View className='bankInput'>
16
       <View className='bankInput'>
17
         <View className='header'>作业面积:</View>
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
       </View>
20
       </View>
20
       <Button className='btn' onClick={handleOverOk}>确认</Button>
21
       <Button className='btn' onClick={handleOverOk}>确认</Button>
21
     </Popup>
22
     </Popup>