lilei 2 tahun lalu
induk
melakukan
7567033c2b
2 mengubah file dengan 6 tambahan dan 7 penghapusan
  1. 5 5
      pages/shuntBackManage/shuntBackList.vue
  2. 1 2
      pages/soldOut/creatOrder.vue

+ 5 - 5
pages/shuntBackManage/shuntBackList.vue

@@ -76,6 +76,11 @@
 		},
 		onLoad(options) {
 			const _this = this
+			uni.setNavigationBarColor({
+				frontColor: '#ffffff',
+				backgroundColor: this.$config('primaryColor')
+			})
+			
 			if(options&&options.billState){  // 指定单据状态
 				this.tabList.map((item,index) => {
 					if(item.status == options.billState){
@@ -89,11 +94,6 @@
 			}
 			// 监听整改完成后刷新事件
 			uni.$on('refreshBL', this.pageInit)
-			
-			uni.setNavigationBarColor({
-				frontColor: '#ffffff',
-				backgroundColor: this.$config('primaryColor')
-			})
 		},
 		onShow() {
 			this.pageInit()

+ 1 - 2
pages/soldOut/creatOrder.vue

@@ -237,8 +237,7 @@
 			      shelfPlaceCode: item.shelfPlaceCode,
 			      productSn: item.productSn,
 			      productCode: item.productCode,
-			      qty: item.replenishQty,
-				  id: item.id
+			      qty: item.replenishQty
 			    })
 			  })
 			  this.showLoading("正在提交...")