Commit 0605dc69 by 张立顺

fix bug

1 parent d1e7ec30
......@@ -606,6 +606,7 @@ export default {
},
async handleConfirmSubmit(data) {
try {
console.log(' data', data)
const transDate = Util.dateFormate(data.transDate, "YYYY-MM-DD")
const transTime = data.transTime
const params = {
......
......@@ -18,8 +18,9 @@ export function debounce(func, wait, immediate) {
}
}
return function(...args) {
return function(...params) {
context = this
args = params
timestamp = +new Date()
const callNow = immediate && !timeout
// 如果延时不存在,重新设定延时
......
......@@ -433,9 +433,9 @@ export default {
},
{
label: "支付金额",
prop: "totalPrice",
prop: "finalPrice",
formatter: cellValue => {
return "¥" + cellValue.totalPrice
return "¥" + cellValue.finalPrice
}
},
{
......
......@@ -675,9 +675,9 @@ export default {
},
{
label: "支付金额",
prop: "totalPrice",
prop: "finalPrice",
formatter: (cellValue) => {
return "¥" + cellValue.totalPrice
return "¥" + cellValue.finalPrice
}
},
{
......@@ -869,6 +869,7 @@ export default {
this.orderInfoList.push({
orderCode: this.detail.orderCode,
price: this.detail.totalPrice,
finalPrice: this.detail.finalPrice,
total: this.detail.total.toFixed(2),
refundSubOrderCode: this.detail.refundSubOrderCode,
refundApplyDetailList: this.detail.refundApplyDetailList
......@@ -892,7 +893,8 @@ export default {
}
this.orderInfoList.push({
orderCode: item.orderCode,
price: item.price
finalPrice: item.finalPrice,
price: item.price
})
this.infoForm.bizOrderCodeList.push(item.orderCode)
})
......@@ -942,7 +944,7 @@ export default {
9,
2,
"",
targerItem.totalPrice
targerItem.finalPrice
)
this.refundOldData[rowIdx][attr] =
this.detail.refundApplyDetailList[rowIdx][attr]
......@@ -1375,6 +1377,7 @@ export default {
this.okParams.refundApplyDetailList.push({
orderCode: item.orderCode,
subOrderCode: item.subOrderCode,
finalPrice: item.finalPrice,
totalPrice: item.totalPrice,
refundAmount: item.refundAmount
})
......
......@@ -92,7 +92,7 @@ export default {
},
{
label: "支付金额",
prop: "totalPrice",
prop: "finalPrice",
unit: "¥"
}
],
......@@ -147,9 +147,9 @@ export default {
let _total = 0
let _refundSubOrderCode = []
selection.forEach((item, idx) => {
_total += item.totalPrice
_total += item.finalPrice
_refundSubOrderCode.push(item.subOrderCode)
this.$set(selection[idx], 'refundAmount', item.totalPrice)
this.$set(selection[idx], 'refundAmount', item.finalPrice)
})
this.total = parseFloat(_total.toFixed(2))
this.refundSubOrderCode = _refundSubOrderCode.join("/")
......
......@@ -653,7 +653,7 @@ export default {
let info = res.refundApplyRecordInfo
let total = 0
info.refundApplyDetailList.forEach((item) => {
total += item.totalPrice
total += item.finalPrice
})
this.refundScene = row.refundApplyOrderRefList[0].sceneType + ''
this.refundDetail.totalPrice = info.refundableTotalPrice
......
This diff could not be displayed because it is too large.
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!