From ee7a140cf101c0e863d699dbe2da10767914f95b Mon Sep 17 00:00:00 2001
From: zhangyanpeng <bob.zhang@highdatas.com>
Date: 星期二, 11 二月 2020 15:28:01 +0800
Subject: [PATCH] 判断时间大小

---
 src/components/popup/portion/substepReadOnly.vue |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/components/popup/portion/substepReadOnly.vue b/src/components/popup/portion/substepReadOnly.vue
index 34ffde1..d9bb894 100644
--- a/src/components/popup/portion/substepReadOnly.vue
+++ b/src/components/popup/portion/substepReadOnly.vue
@@ -1,6 +1,9 @@
 <template>
-  <div class="class_substep">
-		<div style="width: 79%; height: 100%; overflow: auto; padding-top: 0px; box-sizing: border-box;">
+  <div class="class_substep" >
+		<div style="width: 79%;text-align: center; margin: 0 10px;">
+			<h2 style="margin: 10px;">椤圭洰鎬婚噾棰�:<span style="font-weight: bold;">{{money}}</span></h2>
+		</div>
+		<div style="width: 79%; height: 88%; overflow: auto; padding-top: 0px; box-sizing: border-box;">
 			<transition name="el-zoom-in-top">
 				<div v-show="showData['title']" class="transition-box" style="text-align: center; margin: 0 10px;">
 					<h3 style="margin: 10px;">绔嬮鏈嶅姟</h3>
@@ -1190,7 +1193,9 @@
     data() {
       return {
 				showData: {},
+				money:0,
 				hideData: {
+					
 					'title': false,
 					'scheme': false,
 					'search': false,
@@ -1441,7 +1446,6 @@
 			  let url = "/api/sysRoleMapping/detail";
 			  this.$axios.get(url)
 			  .then(data_ => {
-			    console.log(data_);
 			    let list = data_.data.data;
 			    let parId = "";
 			    let obj = {};
@@ -1472,13 +1476,19 @@
 			    me.options_users = result;
 			
 			  }).catch(error =>{
-			      console.log(error);
 			  })
 			},
 			
 			getDetailed() {
 				this.showData = this.showData_;
 				this.form_= this.form_objs;
+				this.money = 0;
+				for (let itm_k in this.showData_) {
+					
+					let form_obj = {};
+					form_obj = this.form_objs[itm_k];
+					this.money += form_obj.budget; 
+				}
 			},
 			
 			//鍗曚竴浜嬩欢
@@ -1500,6 +1510,7 @@
 <style>
 	.class_substep {
 		height: 100%;
+		overflow: hidden;
 	}
 	
 	.class_substep .el-divider--horizontal {

--
Gitblit v1.8.0