| 
					
				 | 
			
			
				@@ -104,7 +104,7 @@ import { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import billsDetails from "@/views/iosBasicData/SeafreightExportF/bills/billsDetails.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import feesTemplateItems from "@/views/iosBasicData/losbfeestemplate/feesTemplateItems.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   import SplitList from "@/views/iosBasicData/SeafreightExportF/bills/assembly/SplitList.vue"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import fa from "element-ui/src/locale/lang/fa"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import {getWorkDicts} from "@/api/system/dictbiz"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     components:{feesTemplateItems, billsDetails,SplitList}, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -431,17 +431,27 @@ import fa from "element-ui/src/locale/lang/fa"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 width:"160" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              label: "状态(业务参数配置)", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              label: "业务状态", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               prop: "billStatus", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 search: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 type:"select", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 dicData: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                props: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    label: "dictValue", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    value: "dictKey" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 width: "160" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              label: "财务状态(业务参数配置)", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              label: "财务状态", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               prop: "accountStatus", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                width: "180" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                type:"select", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                dicData: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                props: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    label: "dictValue", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    value: "dictKey" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                width: "180", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               label: "状态", 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -583,8 +593,22 @@ import fa from "element-ui/src/locale/lang/fa"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       async created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.option = await this.getColumnData(this.getColumnName(309), this.optionBack); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.billStatusWorkDictsfun() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.accountStatusWorkDictsfun() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 获取业务状态字典数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        billStatusWorkDictsfun(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           getWorkDicts('bill_status').then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+               this.findObject(this.option.column, "billStatus").dicData = res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 获取财务状态字典数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        accountStatusWorkDictsfun(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           getWorkDicts('account_status').then(res=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.findObject(this.option.column, "accountStatus").dicData = res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 添加到主单 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         increaseMawb(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (this.selectionList.length === 0) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -792,10 +816,17 @@ import fa from "element-ui/src/locale/lang/fa"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         billsList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           const data = res.data.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.page.total = data.total; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.data = data.records; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          for (let item of this.data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.data = data.records.map(item=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               item.billsListAllData = [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              item.billStatus = item.billStatus + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              item.accountStatus = item.accountStatus + '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              return item 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            console.log(this.data,811) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // for (let item of this.data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          // this.data = data.records; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.loading = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.selectionClear(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 |