Browse Source

等于等于等于?

milestone-20250815-金币优化
lihuilin 1 month ago
parent
commit
991ffda085
  1. 11
      src/views/refund/gold/addCoinRefund.vue

11
src/views/refund/gold/addCoinRefund.vue

@ -278,11 +278,18 @@ const getGoods = async function (jwcode) {
orderCodes.value = [] orderCodes.value = []
return; return;
} }
console.log('=======================',addRefund.value.refundType)
if (addRefund.value.refundType === '商品退款') {
addRefund.value.type = 1
} else {
addRefund.value.type = 0
}
try { try {
const result = await API({ const result = await API({
url: '/refund/selectGoods', url: '/refund/selectGoods',
data: { jwcode: addRefund.value.jwcode }
data: { jwcode: addRefund.value.jwcode,
type: addRefund.value.type
}
}) })
if (Array.isArray(result.data)) { if (Array.isArray(result.data)) {

Loading…
Cancel
Save