李志伟 3 年前
父节点
当前提交
ff76c20f57
共有 3 个文件被更改,包括 18 次插入3 次删除
  1. 17
    1
      src/components/Jianbian/index.jsx
  2. 0
    1
      src/pages/machineryDetail/index.jsx
  3. 1
    1
      src/pages/withdrawal/index.jsx

+ 17
- 1
src/components/Jianbian/index.jsx 查看文件

13
     ]}
13
     ]}
14
     >
14
     >
15
       <View className='text'>
15
       <View className='text'>
16
-        {type == 'machinery' ? (status == 0 ? '维修中' : (!value || value == 3) ? '空闲中' : '使用中') : status == 0 ? '待作业' : status == 1 || status == 2 ? '进行中' : status == 3 ? '已完成' : ''}
16
+        {
17
+          type == 'machinery' ?
18
+            (
19
+              status == 0 ?
20
+                '维修中' :
21
+                (!value || value == 3) ?
22
+                  '空闲中' :
23
+                  '使用中'
24
+            ) :
25
+            status == 0 ?
26
+              '待作业' :
27
+              status == 1 || status == 2 ?
28
+                '进行中' :
29
+                status == 3 ?
30
+                  '已完成' :
31
+                  ''
32
+        }
17
       </View>
33
       </View>
18
     </View>
34
     </View>
19
   )
35
   )

+ 0
- 1
src/pages/machineryDetail/index.jsx 查看文件

5
 import withLayout from '@/layouts'
5
 import withLayout from '@/layouts'
6
 import { useModel } from "@/store"
6
 import { useModel } from "@/store"
7
 import { getMachineryDetail } from '@/services/machinery'
7
 import { getMachineryDetail } from '@/services/machinery'
8
-import clockImg from '@/assets/machinery/date.png'
9
 import micon from '@/assets/machinery/micon2.png'
8
 import micon from '@/assets/machinery/micon2.png'
10
 import './style.less'
9
 import './style.less'
11
 
10
 

+ 1
- 1
src/pages/withdrawal/index.jsx 查看文件

101
               </View>
101
               </View>
102
             </Picker>
102
             </Picker>
103
         }
103
         }
104
-        <ListTitle value='选择银行卡' />
104
+        <ListTitle value='提取金额' />
105
         <View className='bankInput'>
105
         <View className='bankInput'>
106
           <View className='header'>¥</View>
106
           <View className='header'>¥</View>
107
           <Input className='body' type='digit' placeholder='请输入提取金额' value={money} onInput={handleChanage} />
107
           <Input className='body' type='digit' placeholder='请输入提取金额' value={money} onInput={handleChanage} />