Commit c2a57a4f authored by chenwei's avatar chenwei

Fixed gift redemption verification rules

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