소스 검색

预开票

sangwenwei 1 년 전
부모
커밋
e48364c7c3
3개의 변경된 파일11개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 0
      src/api/cw/projectRecords/ProjectRecordsService.js
  2. 2 0
      src/views/cw/invoice/InvoiceFormTask.vue
  3. 1 1
      src/views/cw/invoice/ProgramPageForm.vue

+ 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,