Commit c2a57a4f authored by chenwei's avatar chenwei

Fixed gift redemption verification rules

parent 0cc32818
......@@ -121,6 +121,7 @@
clearable
:type="DICT_TYPE.WAY_OF_RECEIVING"
v-model="item.redeemType"
@change="handleRedeemType(item)"
>
</dict-selector>
</el-form-item>
......@@ -311,6 +312,7 @@ import chooseMember from "./components/chooseMember.vue";
import { getExpressPage } from "@/api/ecw/express";
import { getCurrencyList } from "@/api/ecw/currency";
import { getNowDateTime } from "@/utils/ruoyi";
import { handleError } from "@vue/runtime-dom";
export default {
name: "giftManagementList",
......@@ -416,6 +418,12 @@ export default {
},
activated() {},
methods: {
handleRedeemType(item) {
this.$nextTick(() => {
// queryForm${item.memberId}
this.$refs[`queryForm${item.memberId}`][0].clearValidate();
});
},
handleRewardCount(item, index, value) {
this.queryParamsList[index].spendCredit =
this.queryParamsList[index].pointsRequire * value;
......
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