Commit 5bbd119f by chenwq

退款bug修复

1 parent 82ff1f69
......@@ -592,6 +592,10 @@ export default {
scene: {
type: String,
default: ""
},
title: {
type: String,
default: ''
}
},
watch: {
......@@ -685,6 +689,7 @@ export default {
this.GlOssApi = new GlOssApi({
baseConfig
})
this.dialogConfig.title = this.title || this.dialogConfig.title
this.infoForm.orderType = this.orderType
if (this.orderType == 1) {
this.infoEditFormData[this.findAttrIdx("refundType")].isDisabled = true
......@@ -822,7 +827,7 @@ export default {
this.infoForm.payee = res.refundApplyRecordInfo.payee || ''
this.infoForm.openAccBankName = res.refundApplyRecordInfo.openAccBankName || ''
this.infoForm.bankAccountNo = res.refundApplyRecordInfo.bankAccountNo || ''
this.infoForm.payReason = res.refundApplyRecordInfo.payReason || ''
this.infoForm.remark = res.refundApplyRecordInfo.payReason || ''
this.infoForm.attachmentList = []
res.refundApplyRecordInfo.attachmentList.forEach(item => {
this.infoForm.attachmentList.push({
......
......@@ -101,6 +101,7 @@
<!-- 补充 - 退款 -->
<new-sign-refund-dialog :sign-refund-visible="signRefundVisible"
title="运营补充"
:detail="refundDetail"
:order-type="1"
:scene="refundScene"
......@@ -636,12 +637,12 @@ export default {
info.refundApplyDetailList.forEach((item) => {
total += item.totalPrice
})
let refundSubOrderCode = info.refundApplyDetailList.map(item => item.bizOrderCode).join("/")
this.refundScene = row.refundApplyOrderRefList[0].sceneType + ''
this.refundDetail.totalPrice = info.refundableTotalPrice
this.refundDetail.applyCode = row.applyCode
this.refundDetail.total = total
this.refundDetail.id = info.id
this.refundDetail.refundSubOrderCode = refundSubOrderCode
this.refundDetail.refundSubOrderCode = info.refundSubOrderCode
this.refundDetail.refundApplyDetailList = deepClone(info.refundApplyDetailList)
this.refundDetail.isAll = res?.refundApplyRecordInfo.refundType == 1
this.refundDetail.isOneSubFirst = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!