Commit 1e823e11 authored by your yuchenglong's avatar your yuchenglong

update:部分退款按钮问题显示修改

parent 47f04119
...@@ -156,13 +156,14 @@ ...@@ -156,13 +156,14 @@
size="small" size="small"
@click="refund(scope.row)" @click="refund(scope.row)"
v-show=" v-show="
scope.row.order_status_text == '已支付' || scope.row.order_status == '2' ||
scope.row.order_status_text == '已拒绝' scope.row.order_status == '6' ||
scope.row.order_status == '8'
" "
>退款</el-button >退款</el-button
> >
<el-button-group <el-button-group
v-show="scope.row.order_status_text == '待退款'" v-show="scope.row.order_status == '3'"
> >
<el-button type="text" size="small" @click="agree(scope.row)" <el-button type="text" size="small" @click="agree(scope.row)"
>同意</el-button >同意</el-button
...@@ -692,7 +693,6 @@ export default { ...@@ -692,7 +693,6 @@ export default {
}; };
const res = await orderItemList(params); const res = await orderItemList(params);
this.refundGoods = res.result; this.refundGoods = res.result;
console.log(res.result);
for (var i in res.result) { for (var i in res.result) {
this.refundGoods[i].refundableQuantity = Number( this.refundGoods[i].refundableQuantity = Number(
res.result[i].goods_num - res.result[i].refund_count res.result[i].goods_num - res.result[i].refund_count
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment