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'
|
||||
|
||||
/**
|
||||
* 获取挂账列表
|
||||
* 获取挂账人列表
|
||||
* @returns
|
||||
*/
|
||||
export function getCreditBuyerList(params) {
|
||||
@@ -15,7 +15,7 @@ export function getCreditBuyerList(params) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取挂账详情
|
||||
* 获取挂账人详情
|
||||
* @returns
|
||||
*/
|
||||
export function getCreditBuyerInfo(id) {
|
||||
|
||||
@@ -90,11 +90,11 @@ export default {
|
||||
this.resetForm = { ...this.form }
|
||||
},
|
||||
methods: {
|
||||
|
||||
/**
|
||||
* 确定
|
||||
*/
|
||||
async onSubmitHandle() {
|
||||
// eslint-disable-next-line no-undef
|
||||
onSubmitHandle: _.debounce(function async() {
|
||||
this.$refs.form.validate(async valid => {
|
||||
if (valid) {
|
||||
try {
|
||||
@@ -120,7 +120,7 @@ export default {
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
}, 1000),
|
||||
|
||||
/**
|
||||
* 打开
|
||||
@@ -135,6 +135,9 @@ export default {
|
||||
this.form.id = row.id
|
||||
}
|
||||
this.form.repaymentMethod = row.repaymentMethod
|
||||
this.form.debtor = row.debtor
|
||||
this.form.owedAmount = row.owedAmount
|
||||
this.form.accountBalance = row.accountBalance
|
||||
this.dialogVisible = true
|
||||
},
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ export default {
|
||||
if (type === 'payment' && this.repaymentMethod === 'order') {
|
||||
this.$refs.creditRepayment.show({ creditBuyerId: this.query.creditBuyerId, repaymentMethod: this.repaymentMethod }, row)
|
||||
} 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