|
@@ -24,7 +24,7 @@
|
|
|
<view class="cglineRight" >{{yueduData.eurPercent}}%</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="boxLine" v-for="(item,index) in categoryList[index1].sectionList[index2].itemList">
|
|
|
+ <view class="boxLine" v-for="(item,index) in itemList">
|
|
|
<view class="boxLineTop xzstoreBox">
|
|
|
<view class="itemName">{{item.itemName}}</view>
|
|
|
<view class="store xzstore" v-if="item.keyType==4" @click="pickerClick(item)">
|
|
@@ -83,6 +83,7 @@
|
|
|
yuedu:false,
|
|
|
shopId:'',
|
|
|
yueduData:'',
|
|
|
+ itemList:'',
|
|
|
}
|
|
|
},
|
|
|
onLoad(opt) {
|
|
@@ -167,6 +168,14 @@
|
|
|
}
|
|
|
}) */
|
|
|
console.log(this.categoryList);
|
|
|
+ this.itemList = JSON.parse(JSON.stringify(this.categoryList[this.index1].sectionList[this.index2].itemList))
|
|
|
+ },
|
|
|
+ onHide() {
|
|
|
+ //console.log("onHide")
|
|
|
+ },
|
|
|
+ onUnload(){
|
|
|
+ console.log("onUnload");
|
|
|
+
|
|
|
},
|
|
|
methods: {
|
|
|
numberxz(event){
|
|
@@ -280,12 +289,14 @@
|
|
|
});
|
|
|
},
|
|
|
sub(){
|
|
|
+ // this.categoryList[this.index1].sectionList[this.index2].itemList =this.itemList;
|
|
|
console.log(this.categoryList);
|
|
|
var go=true;
|
|
|
var gonum=true;
|
|
|
var gonumTxt=''
|
|
|
//return false;
|
|
|
- this.categoryList[this.index1].sectionList[this.index2].itemList.forEach(item=>{
|
|
|
+ this.itemList.forEach(item=>{
|
|
|
+ //this.categoryList[this.index1].sectionList[this.index2].itemList.forEach(item=>{
|
|
|
if(item.keyType==3){
|
|
|
//item.itemValue=item.imgArr.join(',')//+'+'+item.;
|
|
|
item.itemValue='',
|
|
@@ -347,6 +358,7 @@
|
|
|
});
|
|
|
return false;
|
|
|
}
|
|
|
+ this.categoryList[this.index1].sectionList[this.index2].itemList =this.itemList;
|
|
|
//return false;
|
|
|
this.categoryList[this.index1].sectionList[this.index2].check=true;
|
|
|
if(this.yuedu){
|