소스 검색

付费申请

Qukatie 4 달 전
부모
커밋
bf54956a1c
1개의 변경된 파일4개의 추가작업 그리고 5개의 파일을 삭제
  1. 4 5
      src/views/iosBasicData/PaymentApplication/finstlbillsDetails.vue

+ 4 - 5
src/views/iosBasicData/PaymentApplication/finstlbillsDetails.vue

@@ -729,7 +729,6 @@ export default {
                         return;
                     }
                 }
-                this.saveLoading = true // 打开按钮动画
                 if (this.form.estimatedTime) {
                     this.form.estimatedTime = this.form.estimatedTime + ' 00:00:00'
                 }
@@ -737,12 +736,12 @@ export default {
                 this.form.businessDateEnd = this.form.businessDateEnd ? this.form.businessDateEnd.slice(0, 10) + ' 00:00:00' : null // 财务开始日期
                 this.form.billDate = this.form.billDate ? this.form.billDate.slice(0, 10) + ' 00:00:00' : null
                 this.form.auditDateTo = this.form.auditDateTo ? this.form.auditDateTo.slice(0, 10) + ' 00:00:00' : null
-                this.saveLoading = true // 加载动画
                 this.form.billNoFormat = 'FFSQ'
                 this.form.businessTypeCode = 'FFSQ'
                 this.form.businessType = 'FFSQ' // 结算单
                 this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(',') : '' // 业务类型
                 this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(',') : ''
+                this.saveLoading = true // 打开按钮动画
                 if (this.form.id) {
                     if (type == '选定行') {
                         this.form.finStlBillsItemsList = this.handleSelectionData.map((item, index) => {
@@ -1053,9 +1052,7 @@ export default {
         },
         // 结算确认
         settlementApprovefun() {
-            this.pageLoading = true
             this.form.businessTypes = this.form.businessTypes ? this.form.businessTypes.join(',') : '' // 业务类型
-            this.form.feeCnName = this.form.feeCnName ? this.form.feeCnName.join(',') : ''
             this.form.businessDateStart = this.form.businessDateStart ? this.form.businessDateStart.slice(0, 10) + ' 00:00:00' : null // 财务开始日期
             this.form.businessDateEnd = this.form.businessDateEnd ? this.form.businessDateEnd.slice(0, 10) + ' 00:00:00' : null // 财务开始日期
             this.form.estimatedTime = this.form.estimatedTime ? this.form.estimatedTime.slice(0, 10) + ' 00:00:00' : null
@@ -1063,10 +1060,12 @@ export default {
             this.form.url = '/iosBasicData/PaymentApplication/index',
                 this.form.pageStatus = "this.$store.getters.paidapplication"
             this.form.pageLabel = "付费申请(F)"
+          
+            this.pageLoading = true
             settlementApprove(this.form).then(res => {
                 this.$message.success('操作成功');
                 this.editSave = true
-                this.finstlbillsDetailfun(res.data.data.id)
+                this.finstlbillsDetailfun(this.form.id)
             }).finally(() => {
                 this.pageLoading = false
                 this.saveLoading = false