Browse Source

fix:取消订单号置空

zhangyong/feature-20250815160302-金币优化
lihui 2 months ago
parent
commit
ac762b314f
  1. 11
      src/views/refund/gold/addCoinRefund.vue

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

@ -299,7 +299,7 @@ const getGoods = async function (jwcode) {
try {
const result = await API({
url: '/refund/selectGoods',
data: { jwcode: addRefund.value.jwcode }
data: {jwcode: addRefund.value.jwcode}
})
if (Array.isArray(result.data)) {
@ -346,7 +346,7 @@ const handleOrderChange = (orderCode) => {
taskGold: selected.taskGold
}
} else {
addRefund.value.goodsName = ''
restGoods()
}
}
@ -368,6 +368,7 @@ const restGoods = () => {
}
// 退退退退
const handleRefundModelChange = () => {
if (addRe.value.typeR === '0') {
@ -467,8 +468,6 @@ watch(calculatedRechargeGoods, (newVal) => {
})
//
onMounted(async function () {
await getAdminData()
@ -499,7 +498,9 @@ onMounted(async function () {
style="width: 220px;"
clearable
filterable
:filter-method="handleFilter"
@change="handleOrderChange"
>
<el-option
v-for="(item, index) in orderCodes"
@ -511,7 +512,7 @@ onMounted(async function () {
</el-form-item>
<el-form-item prop="goodsName" label="商品名">
<el-input v-model="addRefund.goodsName" style="width: 220px" disabled />
<el-input v-model="addRefund.goodsName" style="width: 220px" disabled/>
</el-form-item>

Loading…
Cancel
Save