| 
														
															@@ -60,6 +60,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script> 
														 | 
														
														 | 
														
															 <script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { commonMixin } from '@/utils/mixin' 
														 | 
														
														 | 
														
															 import { commonMixin } from '@/utils/mixin' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { STable, VSelect } from '@/components' 
														 | 
														
														 | 
														
															 import { STable, VSelect } from '@/components' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { shelfControlList } from '@/api/shelf' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { shelfRecallSave } from '@/api/shelfRecall' 
														 | 
														
														 | 
														
															 import { shelfRecallSave } from '@/api/shelfRecall' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default { 
														 | 
														
														 | 
														
															 export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   name: 'ShelfMonitoringAddModal', 
														 | 
														
														 | 
														
															   name: 'ShelfMonitoringAddModal', 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -139,6 +140,21 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.listData.map((item, index) => { 
														 | 
														
														 | 
														
															       this.listData.map((item, index) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         item.no = index + 1 
														 | 
														
														 | 
														
															         item.no = index + 1 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }) 
														 | 
														
														 | 
														
															       }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    getList () { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const params = [] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      this.nowData.list.map((item, index) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        params.push(item.shelfProductSn) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      shelfControlList({ shelfProductSnList: params }).then(res => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (res.status == 200 && res.data) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          res.data.map((item, index) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            item.no = index + 1 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            item.confirmQty = item.qty 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.listData = res.data 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   watch: { 
														 | 
														
														 | 
														
															   watch: { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -153,12 +169,10 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.listData = [] 
														 | 
														
														 | 
														
															         this.listData = [] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } else { 
														 | 
														
														 | 
														
															       } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (this.nowData && this.nowData.list) { 
														 | 
														
														 | 
														
															         if (this.nowData && this.nowData.list) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.nowData.list.map((item, index) => { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            item.no = index + 1 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-            item.confirmQty = item.qty 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.getList() 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.listData = [] 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        this.listData = JSON.parse(JSON.stringify(this.nowData && this.nowData.list || [])) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 |