|
|
@@ -58,7 +58,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<button class="admin-button-com big blue" style="width:80%;margin-top:50rpx;" @click="commitChange">保存修改</button>
|
|
|
-
|
|
|
<navigator open-type="switchTab" class="flex-center goHome" @click="goBackHome" >返回首页</navigator>
|
|
|
</appResult>
|
|
|
</template>
|
|
|
@@ -103,13 +102,11 @@ export default {
|
|
|
this.flowersItemInfo.forEach((ele)=>{productIdArr += ele.productId+','})
|
|
|
getAllProductDataApi({ids : productIdArr.substring(0, productIdArr.lastIndexOf(',')),}).then((res)=>{
|
|
|
that.flowersList = res.data.list;
|
|
|
-
|
|
|
that.productList = [];
|
|
|
console.log('that.productList',that.productList)
|
|
|
that.flowersList.forEach(function(item,index,arr){
|
|
|
- that.productList.push({id:item.id,price:item.price})
|
|
|
+ that.productList.push({id:item.id,price:item.autoPrice})
|
|
|
})
|
|
|
- console.log('that.productList',that.productList)
|
|
|
});
|
|
|
},
|
|
|
updatePrice(id,price){
|
|
|
@@ -142,5 +139,4 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
};
|
|
|
-</script>
|
|
|
-
|
|
|
+</script>
|