Merge branch 'gh' of https://e.coding.net/g-cphe0354/yinshoukeguanliduan/management into test
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取挂账列表
|
* 获取挂账人列表
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export function getCreditBuyerList(params) {
|
export function getCreditBuyerList(params) {
|
||||||
@@ -15,7 +15,7 @@ export function getCreditBuyerList(params) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取挂账详情
|
* 获取挂账人详情
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export function getCreditBuyerInfo(id) {
|
export function getCreditBuyerInfo(id) {
|
||||||
|
|||||||
@@ -90,11 +90,11 @@ export default {
|
|||||||
this.resetForm = { ...this.form }
|
this.resetForm = { ...this.form }
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 确定
|
* 确定
|
||||||
*/
|
*/
|
||||||
async onSubmitHandle() {
|
// eslint-disable-next-line no-undef
|
||||||
|
onSubmitHandle: _.debounce(function async() {
|
||||||
this.$refs.form.validate(async valid => {
|
this.$refs.form.validate(async valid => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
try {
|
try {
|
||||||
@@ -120,7 +120,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
}, 1000),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 打开
|
* 打开
|
||||||
@@ -135,6 +135,9 @@ export default {
|
|||||||
this.form.id = row.id
|
this.form.id = row.id
|
||||||
}
|
}
|
||||||
this.form.repaymentMethod = row.repaymentMethod
|
this.form.repaymentMethod = row.repaymentMethod
|
||||||
|
this.form.debtor = row.debtor
|
||||||
|
this.form.owedAmount = row.owedAmount
|
||||||
|
this.form.accountBalance = row.accountBalance
|
||||||
this.dialogVisible = true
|
this.dialogVisible = true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ export default {
|
|||||||
if (type === 'payment' && this.repaymentMethod === 'order') {
|
if (type === 'payment' && this.repaymentMethod === 'order') {
|
||||||
this.$refs.creditRepayment.show({ creditBuyerId: this.query.creditBuyerId, repaymentMethod: this.repaymentMethod }, row)
|
this.$refs.creditRepayment.show({ creditBuyerId: this.query.creditBuyerId, repaymentMethod: this.repaymentMethod }, row)
|
||||||
} else if (type === 'paymentRecord') {
|
} else if (type === 'paymentRecord') {
|
||||||
this.$refs.creditRepaymentRecord.show({ creditBuyerId: this.query.creditBuyerId, repaymentMethod: this.repaymentMethod }, row.id)
|
this.$refs.creditRepaymentRecord.show({ id: this.query.creditBuyerId, repaymentMethod: this.repaymentMethod }, row.orderId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user