合并master

master
lemon橪 2021-06-07 11:50:44 +08:00
commit 8b3d19625f
3 changed files with 7 additions and 5 deletions

View File

@ -303,7 +303,7 @@ export default {
content: "更新后店铺以及用户地区绑定数据将全部错乱", content: "更新后店铺以及用户地区绑定数据将全部错乱",
onOk: () => { onOk: () => {
let timer; let timer;
let numer; let number;
this.asyncLoading = true this.asyncLoading = true
@ -319,7 +319,8 @@ export default {
click: () => { click: () => {
this.$Message.destroy(); this.$Message.destroy();
this.asyncLoading = false this.asyncLoading = false
clearInterval(timer, numer); clearInterval(number);
clearTimeout(timer)
}, },
}, },
}, },
@ -329,11 +330,12 @@ export default {
}, },
}); });
numer = setInterval(() => { number = setInterval(() => {
this.num--; this.num--;
}, 1000); }, 1000);
timer = setTimeout(() => { timer = setTimeout(() => {
clearInterval(number)
asyncRegion().then((res) => { asyncRegion().then((res) => {
this.asyncLoading = false this.asyncLoading = false
this.$Message.loading("地区数据正在更新中!"); this.$Message.loading("地区数据正在更新中!");

View File

@ -189,7 +189,7 @@ export default {
(this.searchForm.endTime = this.$options.filters.unixToDate( (this.searchForm.endTime = this.$options.filters.unixToDate(
this.searchForm.endTime / 1000 this.searchForm.endTime / 1000
)); ));
this.searchForm.billStatus = "OUT"; this.searchForm.billStatus = "CHECK";
API_Shop.getBuyBillPage(this.searchForm).then((res) => { API_Shop.getBuyBillPage(this.searchForm).then((res) => {
this.loading = false; this.loading = false;
if (res.success) { if (res.success) {

View File

@ -225,7 +225,7 @@
}, },
getDataList() { getDataList() {
this.loading = true; this.loading = true;
this.searchForm.billStatus = "CHECK" this.searchForm.billStatus = "OUT"
API_Shop.getBillPage(this.searchForm).then((res) => { API_Shop.getBillPage(this.searchForm).then((res) => {
this.loading = false; this.loading = false;
if (res.success) { if (res.success) {