【bug】 线上不能提交1年期会员缴费bug的修改
This commit is contained in:
@@ -1339,7 +1339,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.model.certificate = []
|
this.model.certificate = []
|
||||||
// 这个判断是防止没有勾选而提交证书的
|
// 这个判断是防止没有勾选而提交证书的
|
||||||
if (this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys.length > 0 && values.certificateArr) {
|
||||||
for (let i = 0; i < this.selectedRowKeys.length; i++) {
|
for (let i = 0; i < this.selectedRowKeys.length; i++) {
|
||||||
let opeIndex = Number(this.selectedRowKeys[i])
|
let opeIndex = Number(this.selectedRowKeys[i])
|
||||||
let ele = values.certificateArr[opeIndex]
|
let ele = values.certificateArr[opeIndex]
|
||||||
@@ -1403,7 +1403,7 @@ export default {
|
|||||||
this.model.companyName = this.companyName
|
this.model.companyName = this.companyName
|
||||||
this.model.certificate = []
|
this.model.certificate = []
|
||||||
// 这个判断是防止没有勾选而提交证书的
|
// 这个判断是防止没有勾选而提交证书的
|
||||||
if (this.selectedRowKeys.length > 0) {
|
if (this.selectedRowKeys.length > 0 && values.certificateArr) {
|
||||||
for (let i = 0; i < this.selectedRowKeys.length; i++) {
|
for (let i = 0; i < this.selectedRowKeys.length; i++) {
|
||||||
let opeIndex = Number(this.selectedRowKeys[i])
|
let opeIndex = Number(this.selectedRowKeys[i])
|
||||||
let ele = values.certificateArr[opeIndex]
|
let ele = values.certificateArr[opeIndex]
|
||||||
|
|||||||
Reference in New Issue
Block a user