李志伟 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,7 +13,23 @@ export default (props) => {
13 13
     ]}
14 14
     >
15 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 33
       </View>
18 34
     </View>
19 35
   )

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

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

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

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