|
@@ -449,8 +449,8 @@
|
|
}
|
|
}
|
|
this.width = width + "px";
|
|
this.width = width + "px";
|
|
},
|
|
},
|
|
- matchPromise(name) {
|
|
|
|
- let type = this.type;
|
|
|
|
|
|
+ matchPromise(item) {
|
|
|
|
+ let {type,name} = item;
|
|
let isMatch = false
|
|
let isMatch = false
|
|
for (let i in this.promiseList) {
|
|
for (let i in this.promiseList) {
|
|
let item = this.promiseList[i];
|
|
let item = this.promiseList[i];
|
|
@@ -589,8 +589,7 @@
|
|
this.buyForm.company = this.userInfo.company;
|
|
this.buyForm.company = this.userInfo.company;
|
|
this.buyForm.temp = item;
|
|
this.buyForm.temp = item;
|
|
this.buyForm.courseName = item.name;
|
|
this.buyForm.courseName = item.name;
|
|
- this.matchType(item.type);
|
|
|
|
- this.matchPromise(item.name);
|
|
|
|
|
|
+ this.matchPromise(item);
|
|
// this.testBuyOK(item)
|
|
// this.testBuyOK(item)
|
|
// return;
|
|
// return;
|
|
// 检查
|
|
// 检查
|