| 
														
															@@ -11,9 +11,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                :page.sync="page" 
														 | 
														
														 | 
														
															                :page.sync="page" 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                @on-load="onLoad"> 
														 | 
														
														 | 
														
															                @on-load="onLoad"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </avue-crud> 
														 | 
														
														 | 
														
															     </avue-crud> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    <div style="margin-left: 90%"> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-       <span slot="footer" class="dialog-footer" > 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-           <el-button @click="closeFun()">取 消</el-button> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    <div class="botoom"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+       <span slot="footer" class="dialog-footer"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+           <el-button @click="closeDialog">取 消</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															            <el-button type="primary" @click="importMarket" :disabled="selectMarketList.length == 0">导入</el-button> 
														 | 
														
														 | 
														
															            <el-button type="primary" @click="importMarket" :disabled="selectMarketList.length == 0">导入</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															        </span> 
														 | 
														
														 | 
														
															        </span> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     </div> 
														 | 
														
														 | 
														
															     </div> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -23,6 +23,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script> 
														 | 
														
														 | 
														
															 <script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import option from './config/market.json' 
														 | 
														
														 | 
														
															   import option from './config/market.json' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   import {getMarketDetailsList} from "@/api/importTrade/purchase"; 
														 | 
														
														 | 
														
															   import {getMarketDetailsList} from "@/api/importTrade/purchase"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  import {getGNMarketDetailsList} from "@/api/basicData/purchaseOrder"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  import {getCKMarketDetailsList} from "@/api/exportTrade/purchaseContract"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															   export default { 
														 | 
														
														 | 
														
															   export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     name: "index", 
														 | 
														
														 | 
														
															     name: "index", 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -32,7 +34,11 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       closeFun: { 
														 | 
														
														 | 
														
															       closeFun: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         type: Function 
														 | 
														
														 | 
														
															         type: Function 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      } 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // 系统来源 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      systemType: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        type: String 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }, 
														 | 
														
														 | 
														
															     }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     data(){ 
														 | 
														
														 | 
														
															     data(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       return { 
														 | 
														
														 | 
														
															       return { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -68,17 +74,36 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           params.orderEndDate = params.marketDate[1] + " " + "23:59:59"; 
														 | 
														
														 | 
														
															           params.orderEndDate = params.marketDate[1] + " " + "23:59:59"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           this.$delete(params,'marketDate') 
														 | 
														
														 | 
														
															           this.$delete(params,'marketDate') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        getMarketDetailsList(page.currentPage, page.pageSize,params).then(res=>{ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.data = res.data.data.records 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.page.total = res.data.data.total 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          .finally(()=>{ 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          this.loading = false; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        }) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (this.systemType == 'JK') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          getMarketDetailsList(page.currentPage, page.pageSize,params).then(res=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.data = res.data.data.records 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.page.total = res.data.data.total 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            .finally(()=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+              this.loading = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } else if (this.systemType == 'CK') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          getCKMarketDetailsList(page.currentPage, page.pageSize,params).then(res=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.data = res.data.data.records 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.page.total = res.data.data.total 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          }).finally(()=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.loading = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } else if (this.systemType == 'GN') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          getGNMarketDetailsList(page.currentPage, page.pageSize,params).then(res=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.data = res.data.data.records 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.page.total = res.data.data.total 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          }).finally(()=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+            this.loading = false; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       importMarket(){ 
														 | 
														
														 | 
														
															       importMarket(){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.$emit('importMarket',this.selectMarketList); 
														 | 
														
														 | 
														
															         this.$emit('importMarket',this.selectMarketList); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }, 
														 | 
														
														 | 
														
															       }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      closeDialog() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        this.$emit('close') 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       //列保存触发 
														 | 
														
														 | 
														
															       //列保存触发 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       async saveColumn() { 
														 | 
														
														 | 
														
															       async saveColumn() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         const inSave = await this.saveColumnData( 
														 | 
														
														 | 
														
															         const inSave = await this.saveColumnData( 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -95,5 +120,14 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </script> 
														 | 
														
														 | 
														
															 </script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <style scoped> 
														 | 
														
														 | 
														
															 <style scoped> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															- 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+.botoom:after { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  content: ''; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  display: block; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  height: 0; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  clear: both; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+.dialog-footer { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  display: flex; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  float: right; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+} 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </style> 
														 | 
														
														 | 
														
															 </style> 
														 |