|
|
@ -357,16 +357,23 @@ const submitEdit = async function () { |
|
|
ElMessage.error('无此权限') |
|
|
ElMessage.error('无此权限') |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
console.log(editRow.value) |
|
|
console.log(editRow.value) |
|
|
const params = { |
|
|
|
|
|
|
|
|
let params = { |
|
|
id: editRow.value.id, |
|
|
id: editRow.value.id, |
|
|
status: editRow.value.status, |
|
|
status: editRow.value.status, |
|
|
refundModel: editForm.value.refundModel, |
|
|
refundModel: editForm.value.refundModel, |
|
|
refundReason: editForm.value.refundReason, |
|
|
refundReason: editForm.value.refundReason, |
|
|
jwcode: editRow.value.jwcode, |
|
|
jwcode: editRow.value.jwcode, |
|
|
paymentAmount: editRow.value.paymentAmount, |
|
|
paymentAmount: editRow.value.paymentAmount, |
|
|
paymentCurrency: editRow.value.paymentCurrency |
|
|
|
|
|
|
|
|
paymentCurrency: editRow.value.paymentCurrency, |
|
|
|
|
|
newRefundGold: editForm.value.partRefundGold, |
|
|
|
|
|
newRefundFree: editForm.value.partRefundFree |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
if (editForm.value.goodsName == '金币充值') { |
|
|
|
|
|
params.partRefundGold = editForm.value.partRefundGold |
|
|
} |
|
|
} |
|
|
const result = await API({ |
|
|
const result = await API({ |
|
|
url: '/Money/update', |
|
|
url: '/Money/update', |
|
|
|