Bladeren bron

Merge branch 'develop_szhj07' of http://git.chelingzhu.com/jianguan-web/qpls-md-app into develop_szhj07

chenrui 2 jaren geleden
bovenliggende
commit
1b222e79d5
2 gewijzigde bestanden met toevoegingen van 4 en 2 verwijderingen
  1. 1 1
      pages/common/partList.vue
  2. 3 1
      pages/soldOut/creatOrder.vue

+ 1 - 1
pages/common/partList.vue

@@ -31,7 +31,7 @@
 									<text class="pnums" v-else>{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
 								</view>
 								<view v-if="pageType=='replenishmentOut'">
-								   补货数量<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
+								   补货数量<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}{{item.product&&item.product.unit?item.product.unit:'--'}}</text>
 								</view>
 								<view v-if="pageType=='replenishmentDetail'">
 									补货<text class="pnums">{{item.qty||item.qty==0?item.qty:'--'}}</text>/

+ 3 - 1
pages/soldOut/creatOrder.vue

@@ -342,7 +342,6 @@
 					title:"正在加载..."
 				})
 				queryProductListForReplenish(params).then(res => {
-					uni.hideLoading()
 					if(res.status == 200){
 						let list = res.data
 						if (list && list.length){
@@ -355,6 +354,9 @@
 					}
 					this.showTab = false
 					this.$refs.productList.setData(_this.partList)
+					setTimeout(()=>{
+						uni.hideLoading()
+					},this.partList.length*40)
 				})
 			},
 			// 提交