sangwenwei 1 rok temu
rodzic
commit
e48364c7c3

+ 8 - 0
src/api/cw/projectRecords/ProjectRecordsService.js

@@ -16,6 +16,14 @@ export default {
 			params: params,
 		});
 	},
+	chooseList: function (params) {
+		return request({
+			url: prefix + "/cwProjectReport/chooseList",
+			method: "get",
+			params: params,
+		});
+	},
+
 	preInvoiceList: function (params) {
 		return request({
 			url: prefix + "/cwProjectRecords/preInvoiceList",

+ 2 - 0
src/views/cw/invoice/InvoiceFormTask.vue

@@ -1092,10 +1092,12 @@
 					  console.log('billingPeopleReal', this.inputForm.billingPeopleReal)
 					  if (this.commonJS.isEmpty(this.inputForm.billingPeopleReal)) {
 						  this.inputForm.billingPeopleReal = this.$store.state.user.id
+						  this.inputForm.billingPeopleRealName = this.$store.state.user.name
 					  }
 					  console.log('reconciliationPeople', this.inputForm.reconciliationPeople)
 					  if (this.commonJS.isEmpty(this.inputForm.reconciliationPeople)) {
 						  this.inputForm.reconciliationPeople = this.$store.state.user.id
+						  this.inputForm.reconciliationPeopleName = this.$store.state.user.name
 					  }
 					  if (this.commonJS.isEmpty(this.inputForm.financeInvoiceBaseDTOList)) {
 						  this.inputForm.financeInvoiceBaseDTOList = []

+ 1 - 1
src/views/cw/invoice/ProgramPageForm.vue

@@ -409,7 +409,7 @@
 	  list1 () {
 		  this.loading = true
 		  this.searchForm.status = '5'
-		  projectRecordsService.list1({
+		  projectRecordsService.chooseList({
 			'current': this.tablePage1.currentPage,
 			'size': this.tablePage1.pageSize,
 			'orders': this.tablePage1.orders,