yuanyiming 1 anno fa
parent
commit
0d606d9d38

+ 1 - 1
src/components/tool/getWord.js

@@ -504,7 +504,7 @@ function getWord(val){
             expectResultsTeacher:val.introduce.expectResultsTeacher,
             expectConversion:val.introduce.expectConversion,
             plan:val.introduce.plan,
-            total:val.total,
+            total:val.fund.facility*1 + val.fund.materials*1+val.fund.process*1+ val.fund.assist*1+val.fund.authenticate*1+ val.fund.match*1+val.fund.activity*1+val.fund.affair*1,
             facility:val.fund.facility,
             materials:val.fund.materials,
             process:val.fund.process,

+ 2 - 1
src/views/projectApply/components/studentProjectWordDetail.vue

@@ -392,7 +392,8 @@
                 })
           },
           downloadWord(){
-            this.wordData['total']=this.wordData.fund.facility*1 + this.wordData.fund.materials*1+this.wordData.fund.process*1+ this.wordData.fund.assist*1+this.wordData.fund.authenticate*1+ this.wordData.fund.match*1+this.wordData.fund.activity*1+this.wordData.fund.affair*1
+            // this.wordData['total']=this.wordData.fund.facility*1 + this.wordData.fund.materials*1+this.wordData.fund.process*1+ this.wordData.fund.assist*1+this.wordData.fund.authenticate*1+ this.wordData.fund.match*1+this.wordData.fund.activity*1+this.wordData.fund.affair*1
+            // return console.log(this.wordData);
             getWord(this.downWordData)
             this.downloadDig=false;
           }

+ 1 - 1
src/views/projectApply/components/studentProjectWordShow.vue

@@ -165,7 +165,7 @@
             </td>
           </tr>
           <tr id="fund">
-            <td rowspan="12" ref="fund">预算经费</td><td>总经费</td><td colspan="5" v-text="reversedMessage==0?'':reversedMessage"></td>
+            <td rowspan="12" ref="fund">预算经费</td><td>总经费</td><td colspan="5" v-text="reversedMessage==0?'':reversedMessage+'元'"></td>
           </tr>
           <tr>
             <td>支出类别</td><td colspan="2">支出项目</td><td>金额(元)</td><td colspan="4">备 注</td>