优化报表中会员、供应商和客户的加载逻辑
This commit is contained in:
@@ -740,7 +740,7 @@ export const BillListMixin = {
|
|||||||
this.setTimeFlag = setTimeout(()=>{
|
this.setTimeFlag = setTimeout(()=>{
|
||||||
findBySelectCus({key: value}).then((res) => {
|
findBySelectCus({key: value}).then((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
that.supList = res;
|
that.cusList = res;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
@@ -753,7 +753,7 @@ export const BillListMixin = {
|
|||||||
this.setTimeFlag = setTimeout(()=>{
|
this.setTimeFlag = setTimeout(()=>{
|
||||||
findBySelectRetail({key: value}).then((res) => {
|
findBySelectRetail({key: value}).then((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
that.supList = res;
|
that.retailList = res;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
|
|||||||
@@ -305,7 +305,7 @@ export const BillModalMixin = {
|
|||||||
this.setTimeFlag = setTimeout(()=>{
|
this.setTimeFlag = setTimeout(()=>{
|
||||||
findBySelectCus({key: value}).then((res) => {
|
findBySelectCus({key: value}).then((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
that.supList = res;
|
that.cusList = res;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
@@ -318,7 +318,7 @@ export const BillModalMixin = {
|
|||||||
this.setTimeFlag = setTimeout(()=>{
|
this.setTimeFlag = setTimeout(()=>{
|
||||||
findBySelectRetail({key: value}).then((res) => {
|
findBySelectRetail({key: value}).then((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
that.supList = res;
|
that.retailList = res;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
|
|||||||
@@ -213,7 +213,7 @@ export const FinancialListMixin = {
|
|||||||
this.setTimeFlag = setTimeout(()=>{
|
this.setTimeFlag = setTimeout(()=>{
|
||||||
findBySelectCus({key: value}).then((res) => {
|
findBySelectCus({key: value}).then((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
that.supList = res;
|
that.cusList = res;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
@@ -239,7 +239,7 @@ export const FinancialListMixin = {
|
|||||||
this.setTimeFlag = setTimeout(()=>{
|
this.setTimeFlag = setTimeout(()=>{
|
||||||
findBySelectRetail({key: value}).then((res) => {
|
findBySelectRetail({key: value}).then((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
that.supList = res;
|
that.retailList = res;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ export const FinancialModalMixin = {
|
|||||||
this.setTimeFlag = setTimeout(()=>{
|
this.setTimeFlag = setTimeout(()=>{
|
||||||
findBySelectCus({key: value}).then((res) => {
|
findBySelectCus({key: value}).then((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
that.supList = res;
|
that.cusList = res;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
@@ -235,7 +235,7 @@ export const FinancialModalMixin = {
|
|||||||
this.setTimeFlag = setTimeout(()=>{
|
this.setTimeFlag = setTimeout(()=>{
|
||||||
findBySelectRetail({key: value}).then((res) => {
|
findBySelectRetail({key: value}).then((res) => {
|
||||||
if(res) {
|
if(res) {
|
||||||
that.supList = res;
|
that.retailList = res;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},500)
|
},500)
|
||||||
|
|||||||
Reference in New Issue
Block a user