提交 795f8b79 authored 作者: lihuihui's avatar lihuihui

修改bug

上级 22a0687f
...@@ -120,7 +120,7 @@ export default { ...@@ -120,7 +120,7 @@ export default {
this.fileList.push({ name: file.name, url: file.raw.url }) this.fileList.push({ name: file.name, url: file.raw.url })
value = this.fileList value = this.fileList
} else { } else {
this.fileList = [file.raw.url] this.fileList.push(file.raw.url)
value = file.raw.url value = file.raw.url
} }
this.$emit('input', this.fileList) this.$emit('input', this.fileList)
......
...@@ -40,11 +40,9 @@ export default { ...@@ -40,11 +40,9 @@ export default {
} }
}, },
mounted() { mounted() {
console.log(this.data, this.stepList, 'da ta')
}, },
methods: { methods: {
input(imgs) { input(imgs) {
console.log(imgs, 'imgs')
this.form.voucher = imgs this.form.voucher = imgs
}, },
uploadPay() { uploadPay() {
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<div class="title">选择支付方式</div> <div class="title">选择支付方式</div>
</div> --> </div> -->
<div class="main_footer"> <div class="main_footer">
<van-checkbox v-model="isAll" @click="checkAll" class="checkAll">全选</van-checkbox> <van-checkbox v-model="isAll" :disabled="!data.payData.list.filter(item => ['0', '3'].includes(item.pay_record.pay_status)).length" @click="checkAll" class="checkAll">全选</van-checkbox>
<div class="main_footer_total"> <div class="main_footer_total">
<div class="main_footer_total_top"></div> <div class="main_footer_total_top"></div>
<div class="main_footer_total_top"> <div class="main_footer_total_top">
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
} }
}, },
mounted() { mounted() {
console.log(this.data.payData, '000') console.log(this.data, 'data')
this.payMode = this.data.pay_type[0] this.payMode = this.data.pay_type[0]
}, },
methods: { methods: {
...@@ -210,11 +210,6 @@ export default { ...@@ -210,11 +210,6 @@ export default {
} }
}) })
} }
// this.isAll = !this.isAll
// console.log(this.data.payData.list.find(n => ['1', '2'].includes(n.pay_record.pay_status)))
// const ids = []
// this.data.payData.list.find()
// this.$refs.checkboxGroup.toggleAll(this.isAll)
}, },
// 提交 去支付 // 提交 去支付
onSubmit() { onSubmit() {
......
...@@ -196,8 +196,8 @@ export default { ...@@ -196,8 +196,8 @@ export default {
id: b.activity_id, id: b.activity_id,
num: b.num, num: b.num,
offline_info: b.offline_info, offline_info: b.offline_info,
pay_type: b.pay_type.split(',') pay_type: b.pay_type.split(','),
// pay_price: b.pay_price can_company: b.can_company
} }
// 开启支付成功跳转的功能 // 开启支付成功跳转的功能
if (b.can_jump) { if (b.can_jump) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论