张雄 3 years ago
parent 2bab3eeae6
commit 132306afd7

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

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

Loading…
Cancel
Save