张雄 3 years ago
parent 2bab3eeae6
commit 132306afd7

@ -159,7 +159,7 @@ export default {
},
//
handlerSubmit() {
if (this.chooseBrand && this.chooseModel) {
if (this.chooseBrand) {
this.$emit("change", [this.chooseBrand, this.chooseModel]);
this.handlerClose();
} else {

@ -96,7 +96,7 @@ export default {
getData(n) {
return new Promise((resolve, reject) => {
let obj = Object.assign({}, this.getCommTime, { iStatus: n });
if(this.getHeaderType == 1) {getHomeCount0528(obj).then((res) => {
getHomeCount0528(obj).then((res) => {
let data = res.data;
this.form.total = data.count;
let sourcetypeCount = data.sourcetypeCount;
@ -120,7 +120,7 @@ export default {
resolve(res)
}).catch(() => {
reject(false)
});}
});
});
},
// //

Loading…
Cancel
Save