|
@@ -171,13 +171,19 @@ userstoreListView: function(data) {
|
|
|
this.setData({
|
|
|
index: e.detail.value
|
|
|
})
|
|
|
- },
|
|
|
- //选择门店号
|
|
|
- bindStoreNoChange: function (e) {
|
|
|
- console.log(e)
|
|
|
- this.setData({
|
|
|
- index: e.detail.value
|
|
|
- })
|
|
|
+ let storeList = this.data.storeList
|
|
|
+ if(storeList != null && storeList.length > 0){
|
|
|
+ for(var i=0; i<storeList.length;i++){
|
|
|
+ if(e.detail.value == i){
|
|
|
+ // console.log(e.detail.value+'?'+i+'====='+storeList[i].storeNo)
|
|
|
+ this.setData({
|
|
|
+ storeNo: storeList[i].storeNo
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.getHexiaoList();
|
|
|
},
|
|
|
//选择日期
|
|
|
bindDateChange: function (e) {
|