shish il y a 2 ans
Parent
commit
0746b2c654
1 fichiers modifiés avec 1 ajouts et 5 suppressions
  1. 1 5
      ghsApp/src/admin/expend/list.vue

+ 1 - 5
ghsApp/src/admin/expend/list.vue

@@ -14,7 +14,7 @@
 		<view v-for="(item, index) in list.data" :key="index">
 		<view v-for="(item, index) in list.data" :key="index">
 			<view style="background-color: white;margin-bottom:15upx;padding:18upx 0 18upx 30upx;font-size:28upx;">
 			<view style="background-color: white;margin-bottom:15upx;padding:18upx 0 18upx 30upx;font-size:28upx;">
 				<view style="font-weight:bold;font-size:32upx;">
 				<view style="font-weight:bold;font-size:32upx;">
-					<text>{{item.type == 0 ? '店租':item.type==1?'水电':item.type==2?'物业':item.type==3?'伙食':item.type==4?'房租':item.type==6?'物品':item.type==7?'办公用品':'其它'}}</text>
+					<text>{{item.typeName}}</text>
 					<text style="margin-left:20upx;">¥{{item.amount?parseFloat(item.amount):0}}</text>
 					<text style="margin-left:20upx;">¥{{item.amount?parseFloat(item.amount):0}}</text>
 				</view>
 				</view>
 				<view v-if="item.remark!=''" style="color:red;margin-top:8upx;">备注:{{ item.remark }}</view>
 				<view v-if="item.remark!=''" style="color:red;margin-top:8upx;">备注:{{ item.remark }}</view>
@@ -97,10 +97,6 @@ export default {
 			}
 			}
 		})
 		})
 	},
 	},
-	onShow(){
-		this.resetList()
-		this.init()
-	},
 	methods: {
 	methods: {
 		selectDateFn(val) {
 		selectDateFn(val) {
 			this.searchTime = val.searchTime
 			this.searchTime = val.searchTime