shish %!s(int64=4) %!d(string=hai) anos
pai
achega
0f137b658d

+ 2 - 6
ghsApp/src/pagesPurchase/components/pageSuccess.vue

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

+ 2 - 2
ghsApp/src/pagesPurchase/supplier.vue

@@ -12,7 +12,7 @@
             class="list_item"
             class="list_item"
             v-for="(item, index) in supplierList"
             v-for="(item, index) in supplierList"
             :key="index"
             :key="index"
-            @click="gotoDetails"
+            @click="gotoDetails(item)"
           >
           >
             <image :src="item.avatar"></image>
             <image :src="item.avatar"></image>
             <view class="store_name">
             <view class="store_name">
@@ -20,7 +20,7 @@
               <view class="accumulative"></view>
               <view class="accumulative"></view>
             </view>
             </view>
             <view class="store_btn">
             <view class="store_btn">
-              <view class="btn_entrance" @click.stop="gotoDetails(item)" >
+              <view class="btn_entrance">
                 采购
                 采购
               </view>
               </view>
               <view class="btn_entrance" v-if="Number(item.debtAmount) > 0" @click.stop="gotoDetailsEvent(item)" >
               <view class="btn_entrance" v-if="Number(item.debtAmount) > 0" @click.stop="gotoDetailsEvent(item)" >