sangwenwei пре 1 година
родитељ
комит
c916a1648b
1 измењених фајлова са 6 додато и 4 уклоњено
  1. 6 4
      src/views/cw/invoice/InvoiceList.vue

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

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