| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -169,6 +169,8 @@ import {getBussinessType} from "../../api/basic/bussinessType";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import {filterUplLocInv} from "@/api/basic/invWarehouse";
 | 
					 | 
					 | 
					 | 
					import {filterUplLocInv} from "@/api/basic/invWarehouse";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import {filterCustomers} from "@/api/auth/customer";
 | 
					 | 
					 | 
					 | 
					import {filterCustomers} from "@/api/auth/customer";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import {filterSubByInv} from "@/api/basic/invSubWarehouse";
 | 
					 | 
					 | 
					 | 
					import {filterSubByInv} from "@/api/basic/invSubWarehouse";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import {userInfo} from "@/api/auth/login";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import {isBlank} from "@/utils/strUtil";
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					export default {
 | 
					 | 
					 | 
					 | 
					export default {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -205,7 +207,6 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            formLoading: false,
 | 
					 | 
					 | 
					 | 
					            formLoading: false,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            dialogVisible: false,
 | 
					 | 
					 | 
					 | 
					            dialogVisible: false,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            deleteLoading: false,
 | 
					 | 
					 | 
					 | 
					            deleteLoading: false,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            busTypes: [],
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            idQuery: null,
 | 
					 | 
					 | 
					 | 
					            idQuery: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            showSup: false,
 | 
					 | 
					 | 
					 | 
					            showSup: false,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            fromOptions: [],
 | 
					 | 
					 | 
					 | 
					            fromOptions: [],
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -368,26 +369,6 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.idQuery.customerId = null;
 | 
					 | 
					 | 
					 | 
					            this.idQuery.customerId = null;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.codeDetailVisible = true;
 | 
					 | 
					 | 
					 | 
					            this.codeDetailVisible = true;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					        },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        getBusType() {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            let query = {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                enabled: true,
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            };
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            getBussinessType(query)
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .then((response) => {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.busTypes = response.data.list || [];
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.filterQuery.billAction = this.busTypes[0].action;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    // this.getList();
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                })
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                });
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        getActionName(action) {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            for (let i = 0; i < this.busTypes.length; i++) {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                if (this.busTypes[i].action === action) {
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    return this.busTypes[i].name;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                }
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        },
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    filters: {
 | 
					 | 
					 | 
					 | 
					    filters: {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        statusFilterType(status) {
 | 
					 | 
					 | 
					 | 
					        statusFilterType(status) {
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -406,13 +387,23 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    created() {
 | 
					 | 
					 | 
					 | 
					    created() {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.getStorage();
 | 
					 | 
					 | 
					 | 
					        this.getStorage();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.getBusType();
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.findMethod();
 | 
					 | 
					 | 
					 | 
					        this.findMethod();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        let query = this.$route.query;
 | 
					 | 
					 | 
					 | 
					        let query = this.$route.query;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.filterQuery = Object.assign(this.filterQuery, query);
 | 
					 | 
					 | 
					 | 
					        this.filterQuery = Object.assign(this.filterQuery, query);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.filterQuery.limit = parseInt(this.filterQuery.limit);
 | 
					 | 
					 | 
					 | 
					        this.filterQuery.limit = parseInt(this.filterQuery.limit);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // 加载表格数据
 | 
					 | 
					 | 
					 | 
					        // 加载表格数据
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        //获取用户默认仓库信息
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        userInfo().then((res) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            if (res.code === 20000) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                if (!isBlank(res.data.locInvCode)) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    this.filterQuery.invStorageCode = res.data.locInvCode;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    this.invChange();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    this.filterQuery.invWarehouseCode = res.data.locSubInvCode;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.getList();
 | 
					 | 
					 | 
					 | 
					                this.getList();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        }).catch((error) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        });
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    },
 | 
					 | 
					 | 
					 | 
					    },
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					};
 | 
					 | 
					 | 
					 | 
					};
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					</script>
 | 
					 | 
					 | 
					 | 
					</script>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |