Commit 8796545c by crushh

'update:改bug'

parent 96bb99ac
......@@ -281,7 +281,7 @@ export default {
},
// 支付方式
gicPaymentList() {
gicPaymentList({ pageSize: 100, search: this.paymentFlag }).then(res => {
gicPaymentList({ pageSize: 100 }).then(res => {
const {
result: { result }
} = res;
......@@ -289,7 +289,7 @@ export default {
let gicArr = [];
let arr = [];
result.forEach(item => {
item.isGic ? gicArr.push(item) : arr.push(item);
item.isGic ? arr.push(item) : gicArr.push(item);
});
this.gicList = gicArr;
this.paymentList = arr;
......@@ -435,7 +435,6 @@ export default {
this.consumeChecked.payment = consumTrigger.gic_payment_flag ? true : false;
if (consumTrigger.gic_payment_flag) {
this.paymentFlag = consumTrigger.gic_payment_flag;
this.gicPaymentList();
this.checkList = (consumTrigger.gic_payment_list && JSON.parse(consumTrigger.gic_payment_list)) || [];
this.checkList = this.checkList.map(i => i.payCode);
}
......@@ -1118,9 +1117,7 @@ export default {
<i class="el-icon-info"></i>营销对象为所有会员,包括微信会员、POS会员以及微信粉丝。
</div>`
);
if (this.isAdd) {
this.gicPaymentList();
}
this.gicPaymentList();
},
created() {
getUseStoredFalg().then(res => {
......
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