sangwenwei 1 jaar geleden
bovenliggende
commit
c916a1648b
1 gewijzigde bestanden met toevoegingen van 6 en 4 verwijderingen
  1. 6 4
      src/views/cw/invoice/InvoiceList.vue

+ 6 - 4
src/views/cw/invoice/InvoiceList.vue

@@ -368,6 +368,7 @@
           operatorOffice: '',
           operatorOffice: '',
 		  label:'',
 		  label:'',
 		  loginName:this.$store.state.user.name,
 		  loginName:this.$store.state.user.name,
+		  reportType:''
         },
         },
         dataList: [],
         dataList: [],
         tablePage: {
         tablePage: {
@@ -382,7 +383,8 @@
         processDefinitionInvalidId: '',
         processDefinitionInvalidId: '',
         procDefInvalidKey: '',
         procDefInvalidKey: '',
         isAdmin: false,
         isAdmin: false,
-	    financeInvoiceBaseDTOList:[]
+	    financeInvoiceBaseDTOList:[],
+		  recordType:''
       }
       }
     },
     },
     computed: {
     computed: {
@@ -452,7 +454,7 @@
       },
       },
       // 查看项目数据
       // 查看项目数据
       viewProject (row) {
       viewProject (row) {
-      	console.log(row.recordType)
+		console.log(row)
       	if (row.recordType=='1'){
       	if (row.recordType=='1'){
 			this.$refs.projectForm.init('view', row.programId)
 			this.$refs.projectForm.init('view', row.programId)
 		}else if (row.recordType=='2'){
 		}else if (row.recordType=='2'){
@@ -490,7 +492,7 @@
           'orders': this.tablePage.orders,
           'orders': this.tablePage.orders,
           ...this.searchForm
           ...this.searchForm
         }).then((data) => {
         }).then((data) => {
-          this.dataList = data.records
+        	this.dataList=data.records
           this.dataList.forEach(item => {
           this.dataList.forEach(item => {
             item.account = parseFloat(item.account).toFixed(2)
             item.account = parseFloat(item.account).toFixed(2)
             if (!this.commonJS.isEmpty(item.financeInvoiceBaseDTOList)) {
             if (!this.commonJS.isEmpty(item.financeInvoiceBaseDTOList)) {
@@ -579,7 +581,7 @@
           reconciliationPeopleName: '',
           reconciliationPeopleName: '',
           operator: '',
           operator: '',
           operatorOffice: '',
           operatorOffice: '',
-			recordreportType:'',
+		  reportType:'',
         }
         }
         this.$refs.searchForm.resetFields()
         this.$refs.searchForm.resetFields()
         this.refreshList()
         this.refreshList()