wengyuwen 4 rokov pred
rodič
commit
d98ac38590

+ 0 - 41
src/views/finance/charge/index.vue

@@ -698,9 +698,7 @@ export default {
         actId:this.contrastId,
         billId:this.queryParams.fId
       }
-      console.log(this.queryParams)
       revocation(data).then(data =>{
-        console.log(data)
         if (data.code === 200){
           this.$message.success('撤销成功');
           this.open = false
@@ -755,7 +753,6 @@ export default {
           fCorpid: ''     //结算单位ID
         }
         getCharge(this.approval.billId).then(response => {
-          console.log(response)
           this.Operator = response.data.tFee.createBy
           this.increase_s = response.data.feeDoList
           this.fWbuOptions = response.data.feesList
@@ -795,7 +792,6 @@ export default {
     },
     immediateApproval(){
       this.addOrUpdateVisib = true
-      console.log(this.approval)
       this.$nextTick(() => {
         this.$refs.ApprovalComments.init(this.approval.billId,this.approval.actId)
       })
@@ -806,7 +802,6 @@ export default {
       this.addOrUpdateVisib = false
       let id = '448'
       let actId = '110'
-      console.log(this.queryParams.fId)
       this.$nextTick(() => {
         this.$refs.addOrUpdate.init(this.queryParams.fId,this.contrastId)
       })
@@ -827,10 +822,8 @@ export default {
 
     // 查看按钮
     check(row,res){
-      console.log(row.fId)
       this.notChange = true
       getCharge(row.fId).then(response => {
-        console.log(response)
         this.Operator = response.data.tFee.createBy
         this.increase_s = response.data.feeDoList
         this.fWbuOptions = response.data.feesList
@@ -839,8 +832,6 @@ export default {
         this.fMblnoOptions = response.data.corps
         this.open = true
         this.title = '收费列表'
-        console.log(this.Lander)
-        console.log(this.Operator)
         this.tablefilter = true
         if (res == 1){
           this.notChange = true
@@ -856,9 +847,7 @@ export default {
               fCorpid: ''     //结算单位ID
             }
             const fId = row.fId || this.ids
-            console.log(fId)
             getCharge(fId).then(response => {
-              console.log(response)
               this.increase_s = response.data.feeDoList
               this.fWbuOptions = response.data.feesList
               this.queryParams = response.data.tFee
@@ -882,9 +871,7 @@ export default {
             fCorpid: ''     //结算单位ID
           }
           const fId = row.fId || this.ids
-          console.log(fId)
           getCharge(fId).then(response => {
-            console.log(response)
             this.increase_s = response.data.feeDoList
             this.fWbuOptions = response.data.feesList
             this.queryParams = response.data.tFee
@@ -906,7 +893,6 @@ export default {
     },
     //确认打印
     printSomething() {
-      console.log('22222')
       // 此处的style即为打印时的样式
       const style ='table tr td,th { border-collapse: collapse;padding:0px;border:.5px #000 solid;text-align:center;}'
       print({
@@ -929,7 +915,6 @@ export default {
     },
     // 确认收费
     confirmCharge() {
-      console.log(this.increase_s)
       this.$refs['ruless'].validate(valid => {
         if (valid) {
           if(this.increase_s.length){
@@ -938,7 +923,6 @@ export default {
             formDate.append('tFee', JSON.stringify(this.queryParams))
             formDate.append('tFeeDo', JSON.stringify(this.increase_s))
             collectFee(formDate).then(response => {
-              console.log(response)
               this.open = false
               this.msgSuccess('操作成功')
               this.getList()
@@ -972,7 +956,6 @@ export default {
       this.totAL = 0
       this.Ttime = 0
       this.selection = selection
-      console.log(selection)
       if(this.selection.length == 0){
         for (let item in this.chargeList_s){
           this.totAL += Number(this.chargeList_s[item].fAmt)
@@ -988,7 +971,6 @@ export default {
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
-      console.log(selection)
       this.totAL = 0
       this.ids = selection.map(item => item.fId)
       this.single = selection.length !== 1
@@ -999,7 +981,6 @@ export default {
         this.$set(row, 'fAmt', row.fAmtdr)
         this.state_s = true
       }
-      console.log('数据:' + JSON.stringify(this.selection))
       if (this.selection.length !== 0){
         this.totAL = 0
         this.Ttime = 0
@@ -1019,7 +1000,6 @@ export default {
     //确认导入
     confirmImport() {
       this.hide = true
-      console.log(this.selection)
       for (let item in this.selection) {
         this.pass.fAmtcr += Number(this.selection[item].fAmt)
         this.pass.fAmtdr += Number(this.selection[item].fAmtdr.toFixed(2))
@@ -1029,7 +1009,6 @@ export default {
         if (this.selection.length == '0') {
           this.$message.error('未选择导入行')
         } else {
-          console.log(this.selection[0].fMblno)
           for (let item in this.selection) {
             this.empty.push(this.selection[item].fMblno)
             this.nothing.push(this.selection[item].fName)
@@ -1043,10 +1022,8 @@ export default {
 
           if (this.empty.length <= 1) {
             this.pass.fMblno = this.empty[0]
-            console.log(this.pass.fMblno)
           } else {
             this.pass.fMblno = this.empty[0] + '...'
-            console.log(this.pass.fMblno)
           }
           if (this.nothing.length <= 1) {
             this.pass.fName = this.nothing[0]
@@ -1059,7 +1036,6 @@ export default {
           this.queryParams.fCorpid = this.queryParameter.fToCorpid
           this.queryParams.fAmtcr = this.pass.fAmtcr
           this.queryParams.fAmtdr = this.pass.fAmtdr
-          console.log(this.queryParams)
           this.innerVisible = false
           this.chargeList_s = []
           this.queryParameter = {
@@ -1083,7 +1059,6 @@ export default {
         this.options = response.data
       })
       listCharge(this.tableFilter).then(response => {
-        console.log(response)
         this.chargeList = response.rows
         this.total = response.total
         this.loading = false
@@ -1125,8 +1100,6 @@ export default {
     },
     /** 导入搜索 */
     importSearch() {
-      console.log(this.queryParameter)
-      // console.log(this.queryParameter[0].fFeeid.join(','))
       // .join(',')
       this.chargeList_s = []
       if(this.queryParameter.fStatementNo){
@@ -1218,7 +1191,6 @@ export default {
       }
       let queryParams = { pageNum: 1, pageSize: 10, fName: name }
       listFees(queryParams).then((response) => {
-        console.log(this.fWbuOptions)
         this.fWbuOptions = response.rows
       })
     },
@@ -1258,7 +1230,6 @@ export default {
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
-      console.log(row)
       this.approve = false
       this.hide = false
       this.notChange = false
@@ -1272,9 +1243,7 @@ export default {
         fCorpid: ''     //结算单位ID
       }
       const fId = row.fId || this.ids
-      console.log(fId)
       getCharge(fId).then(response => {
-        console.log(response)
         this.Operator = response.data.tFee.createBy
         this.increase_s = response.data.feeDoList
         this.fWbuOptions = response.data.feesList
@@ -1287,12 +1256,9 @@ export default {
     },
     /** 提交按钮 */
     submitForm() {
-      console.log(this.queryParameter)
       this.$refs['ruless'].validate(valid => {
-        console.log(valid)
         if (valid) {
           if (this.queryParams.fId == null) {
-            console.log(this.queryParams)
             // this.chargeList.fBillstatus = '1'
             this.queryParams.fBillstatus = '1'
             let formData = new window.FormData()
@@ -1305,7 +1271,6 @@ export default {
               this.getList()
             })
           } else {
-            console.log(this.queryParams)
             this.queryParams.fBillstatus = '1'
             let formData = new window.FormData()
             formData.append('tFee', JSON.stringify(this.queryParams))
@@ -1323,10 +1288,8 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const fIds = row.fId || this.ids
-      console.log(fIds)
       let tips = ''
       delCharge_s(fIds).then(data => {
-        console.log(data)
         switch (data.msg) {
           case '0': {
             this.$message.error('当前数据已被其他操作员操作请刷新页面')
@@ -1379,13 +1342,9 @@ export default {
       this.queryParams.fAmtdr = 0
       rows.splice(index, 1)
       for (let item in this.increase_s) {
-        console.log(this.increase_s[item])
         this.queryParams.fAmtcr += this.increase_s[item].fAmt
         this.queryParams.fAmtdr += this.increase_s[item].fAmtdr
       }
-      console.log(this.queryParams.fAmtdr)
-      console.log(this.queryParams.fAmtcr)
-
     }
   }
 }

+ 0 - 15
src/views/finance/contrast/index.vue

@@ -1018,12 +1018,9 @@ export default {
     register() {
       queryUserVal().then((response)=>{
         this.Lander = response.user.userName
-      //   console.log(response)
       //   this.Lander = response.user.userName
       //   this.queryParams_s.createBy = response.user.userName
       // this.queryParams.createBy = response.user.userName
-      // console.log(this.DzfeeList.createBy)
-      // console.log(response.user.userName)
       })
     },
     // 合计
@@ -1045,7 +1042,6 @@ export default {
       if(this.selection.length == 0){
         for (let item in this.feeList){
           this.totAL += Number(this.feeList[item].fAmt)
-          console.log(this.feeList[item].fAmt)
           this.Ttime += Number(this.feeList[item].fAmtdr)
         }
       }else{
@@ -1100,8 +1096,6 @@ export default {
 
       }
       this.pass.fAmtcr.toFixed(2)
-      console.log(this.pass.fAmtdr)
-      console.log(this.pass.fAmtcr)
       if(this.state_s == true) {
         if (this.selection.length == '0') {
           this.$message.error('未选择导入行');
@@ -1156,10 +1150,8 @@ export default {
     },
     // imgChangeI(fAmtdr,fAmt){
     //   if (fAmt <= fAmtdr){
-    //     console.log("小了!")
     //     this.state_s = true
     //   }else if(fAmt > fAmtdr){
-    //     console.log("大了!")
     //     this.$message.error('本次金额不能大于原定金额');
     //     this.state_s = false
     //   }
@@ -1470,23 +1462,16 @@ export default {
             }
             this.queryParams.fAmtcr = Number(this.pass.fAmtcr.toFixed(2))
             this.queryParams.fAmtdr = Number(this.pass.fAmtdr.toFixed(2))
-            console.log(this.pass.fAmtcr)
-            console.log(this.pass.fAmtdr)
             this.pass.fAmtcr.toFixed(2)
             this.queryParams.fBillstatus = '1'
             let formData = new window.FormData()
             formData.append('tFee',JSON.stringify(this.queryParams))
             formData.append("tFeeDo", JSON.stringify(this.DzfeeList))
-            console.log(this.queryParams)
-            console.log(this.DzfeeList)
-            console.log(formData)
             addFee(formData).then(response => {
-              console.log(formData)
               this.msgSuccess("修改成功");
               // this.DzfeeList = []
               // this.open = false;
               this.getList();
-
             });
           }
         }

+ 0 - 44
src/views/finance/payment/index.vue

@@ -698,9 +698,7 @@ export default {
         actId:this.contrastId,
         billId:this.queryParams.fId
       }
-      console.log(this.queryParams)
       revocation(data).then(data =>{
-        console.log(data)
         if (data.code === 200){
           this.$message.success('撤销成功');
           this.open = false
@@ -755,7 +753,6 @@ export default {
           fCorpid: ''     //结算单位ID
         }
         getCharge(this.approval.billId).then(response => {
-          console.log(response)
           this.Operator = response.data.tFee.createBy
           this.increase_s = response.data.feeDoList
           this.fWbuOptions = response.data.feesList
@@ -795,7 +792,6 @@ export default {
     },
     immediateApproval(){
       this.addOrUpdateVisib = true
-      console.log(this.approval)
       this.$nextTick(() => {
         this.$refs.ApprovalComments.init(this.approval.billId,this.approval.actId)
       })
@@ -806,7 +802,6 @@ export default {
       this.addOrUpdateVisib = false
       let id = '448'
       let actId = '110'
-      console.log(this.queryParams.fId)
       this.$nextTick(() => {
         this.$refs.addOrUpdate.init(this.queryParams.fId,this.contrastId)
       })
@@ -827,10 +822,8 @@ export default {
 
     // 查看按钮
     check(row,res){
-      console.log(row.fId)
       this.notChange = true
       getCharge(row.fId).then(response => {
-        console.log(response)
         this.Operator = response.data.tFee.createBy
         this.increase_s = response.data.feeDoList
         this.fWbuOptions = response.data.feesList
@@ -839,8 +832,6 @@ export default {
         this.fMblnoOptions = response.data.corps
         this.open = true
         this.title = '付费列表'
-        console.log(this.Lander)
-        console.log(this.Operator)
         this.tablefilter = true
         if (res == 1){
           this.notChange = true
@@ -856,9 +847,7 @@ export default {
               fCorpid: ''     //结算单位ID
             }
             const fId = row.fId || this.ids
-            console.log(fId)
             getCharge(fId).then(response => {
-              console.log(response)
               this.increase_s = response.data.feeDoList
               this.fWbuOptions = response.data.feesList
               this.queryParams = response.data.tFee
@@ -882,9 +871,7 @@ export default {
             fCorpid: ''     //结算单位ID
           }
           const fId = row.fId || this.ids
-          console.log(fId)
           getCharge(fId).then(response => {
-            console.log(response)
             this.increase_s = response.data.feeDoList
             this.fWbuOptions = response.data.feesList
             this.queryParams = response.data.tFee
@@ -906,7 +893,6 @@ export default {
     },
     //确认打印
     printSomething() {
-      console.log('22222')
       // 此处的style即为打印时的样式
       const style ='table tr td,th { border-collapse: collapse;padding:0px;border:.5px #000 solid;text-align:center;}'
       print({
@@ -929,7 +915,6 @@ export default {
     },
     // 确认付费
     confirmCharge() {
-      console.log(this.increase_s)
       this.$refs['ruless'].validate(valid => {
         if (valid) {
           if(this.increase_s.length){
@@ -938,7 +923,6 @@ export default {
             formDate.append('tFee', JSON.stringify(this.queryParams))
             formDate.append('tFeeDo', JSON.stringify(this.increase_s))
             collectFee(formDate).then(response => {
-              console.log(response)
               this.open = false
               this.msgSuccess('操作成功')
               this.getList()
@@ -972,7 +956,6 @@ export default {
       this.totAL = 0
       this.Ttime = 0
       this.selection = selection
-      console.log(selection)
       if(this.selection.length == 0){
         for (let item in this.chargeList_s){
           this.totAL += Number(this.chargeList_s[item].fAmt)
@@ -988,7 +971,6 @@ export default {
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
-      console.log(selection)
       this.totAL = 0
       this.ids = selection.map(item => item.fId)
       this.single = selection.length !== 1
@@ -999,7 +981,6 @@ export default {
         this.$set(row, 'fAmt', row.fAmtdr)
         this.state_s = true
       }
-      console.log('数据:' + JSON.stringify(this.selection))
       if (this.selection.length !== 0){
         this.totAL = 0
         this.Ttime = 0
@@ -1023,13 +1004,10 @@ export default {
         this.pass.fAmtcr += Number(this.selection[item].fAmt.toFixed(2))
         this.pass.fAmtdr += Number(this.selection[item].fAmtdr.toFixed(2))
       }
-      console.log(this.pass)
       if (this.state_s == true) {
         if (this.selection.length == '0') {
-          console.log('未选择')//写入提示
           this.$message.error('未选择导入行')
         } else {
-          console.log(this.selection[0].fMblno)
           for (let item in this.selection) {
             this.empty.push(this.selection[item].fMblno)
             this.nothing.push(this.selection[item].fName)
@@ -1043,10 +1021,8 @@ export default {
 
           if (this.empty.length <= 1) {
             this.pass.fMblno = this.empty[0]
-            console.log(this.pass.fMblno)
           } else {
             this.pass.fMblno = this.empty[0] + '...'
-            console.log(this.pass.fMblno)
           }
           if (this.nothing.length <= 1) {
             this.pass.fName = this.nothing[0]
@@ -1059,7 +1035,6 @@ export default {
           this.queryParams.fCorpid = this.queryParameter.fToCorpid
           this.queryParams.fAmtcr = this.pass.fAmtcr
           this.queryParams.fAmtdr = this.pass.fAmtdr
-          console.log(this.queryParams)
           this.innerVisible = false
           this.chargeList_s = []
           this.queryParameter = {
@@ -1083,7 +1058,6 @@ export default {
         this.options = response.data
       })
       listCharge(this.tableFilter).then(response => {
-        console.log(response)
         this.chargeList = response.rows
         this.total = response.total
         this.loading = false
@@ -1125,8 +1099,6 @@ export default {
     },
     /** 导入搜索 */
     importSearch() {
-      console.log(this.queryParameter)
-      // console.log(this.queryParameter[0].fFeeid.join(','))
       // .join(',')
       this.chargeList_s = []
       if(this.queryParameter.fStatementNo){
@@ -1218,7 +1190,6 @@ export default {
       }
       let queryParams = { pageNum: 1, pageSize: 10, fName: name }
       listFees(queryParams).then((response) => {
-        console.log(this.fWbuOptions)
         this.fWbuOptions = response.rows
       })
     },
@@ -1258,7 +1229,6 @@ export default {
     },
     /** 修改按钮操作 */
     handleUpdate(row) {
-      console.log(row)
       this.approve = false
       this.hide = false
       this.notChange = false
@@ -1272,9 +1242,7 @@ export default {
         fCorpid: ''     //结算单位ID
       }
       const fId = row.fId || this.ids
-      console.log(fId)
       getCharge(fId).then(response => {
-        console.log(response)
         this.Operator = response.data.tFee.createBy
         this.increase_s = response.data.feeDoList
         this.fWbuOptions = response.data.feesList
@@ -1287,12 +1255,9 @@ export default {
     },
     /** 提交按钮 */
     submitForm() {
-      console.log(this.queryParameter)
       this.$refs['ruless'].validate(valid => {
-        console.log(valid)
         if (valid) {
           if (this.queryParams.fId == null) {
-            console.log(this.queryParams)
             // this.chargeList.fBillstatus = '1'
             this.queryParams.fBillstatus = '1'
             let formData = new window.FormData()
@@ -1313,11 +1278,8 @@ export default {
             }
             this.queryParams.fAmtcr = Number(this.pass.fAmtcr.toFixed(2))
             this.queryParams.fAmtdr = Number(this.pass.fAmtdr.toFixed(2))
-            console.log(this.pass.fAmtcr)
-            console.log(this.pass.fAmtdr)
             this.pass.fAmtcr.toFixed(2)
 
-            console.log(this.queryParams)
             this.queryParams.fBillstatus = '1'
             let formData = new window.FormData()
             formData.append('tFee', JSON.stringify(this.queryParams))
@@ -1335,10 +1297,8 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const fIds = row.fId || this.ids
-      console.log(fIds)
       let tips = ''
       delCharge_s(fIds).then(data => {
-        console.log(data)
         switch (data.msg) {
           case '0': {
             this.$message.error('当前数据已被其他操作员操作请刷新页面')
@@ -1391,13 +1351,9 @@ export default {
       this.queryParams.fAmtdr = 0
       rows.splice(index, 1)
       for (let item in this.increase_s) {
-        console.log(this.increase_s[item])
         this.queryParams.fAmtcr += this.increase_s[item].fAmt
         this.queryParams.fAmtdr += this.increase_s[item].fAmtdr
       }
-      console.log(this.queryParams.fAmtdr)
-      console.log(this.queryParams.fAmtcr)
-
     }
   }
 }