|
@@ -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)
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
}
|