|
|
@@ -741,7 +741,6 @@ export default {
|
|
|
}
|
|
|
this.query = this.$route.query;
|
|
|
localStorage.removeItem('visitId');
|
|
|
- this.getStoreTypeList();
|
|
|
this.getStoreLabels();
|
|
|
var postType = localStorage.getItem('postType');
|
|
|
if (postType == 'GZ') {
|
|
|
@@ -998,7 +997,7 @@ export default {
|
|
|
this.onSearch();
|
|
|
},
|
|
|
getStoreTypeList() {
|
|
|
- getStoreTypeListlp({}).then((res) => {
|
|
|
+ getStoreTypeListlp({ entry: this.tabVal == '0' ? 1 : 2 }).then((res) => {
|
|
|
this.storeTypeLists = res.data;
|
|
|
this.storeTypeList = res.data;
|
|
|
});
|
|
|
@@ -1062,6 +1061,7 @@ export default {
|
|
|
searchFn() {
|
|
|
this.showPicker = true;
|
|
|
this.CustomerName = '';
|
|
|
+ this.getStoreTypeList();
|
|
|
},
|
|
|
moreSearch() {
|
|
|
this.onSearch();
|