zhangyuewww před 10 měsíci
rodič
revize
bc28286d4c

+ 3 - 1
src/views/profitable/expensemanagementdetails.vue

@@ -150,7 +150,7 @@
               <div v-else-if="scope.row.expensesPurpose == 3">
                 <span>{{ scope.row.warehouseName }}</span>
               </div>
-              <div v-else-if="scope.row.expensesPurpose == 5 || scope.row.expensesPurpose == 7 ">中天昊元</div>
+              <div v-else-if="scope.row.expensesPurpose == 5 || scope.row.expensesPurpose == 7 ">{{compName}}</div>
               <div v-else-if="scope.row.expensesPurpose == 2">
                 {{ scope.row.contractNo }}
               </div>
@@ -374,6 +374,7 @@ export default {
       dialogVisible: false,
       toExamineType: '',
       compId: localStorage.getItem('ws-pf_compId'),
+      compName: localStorage.getItem('ws-pf_compName'),
       dialogVisible1: false,
       deptCircularPage: {},
       searchType: '',
@@ -981,6 +982,7 @@ export default {
             }
           }
           this.tableData = response.records
+          this.tableData.compName=localStorage.getItem('ws-pf_compName')
           if (this.tableData.length > 0) {
             this.intotal =
               Number(this.tableData[0].inContractMoney) +