|  | @@ -106,6 +106,7 @@ import search from "../../../page/index/search";
 | 
	
		
			
				|  |  |  import { defaultDate } from "@/util/date";
 | 
	
		
			
				|  |  |  import { getToken } from "@/util/auth";
 | 
	
		
			
				|  |  |  import os from "os";
 | 
	
		
			
				|  |  | +import { gainUser } from "@/api/basicData/customerInquiry";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  |    name: "customerInformation",
 | 
	
	
		
			
				|  | @@ -147,6 +148,17 @@ export default {
 | 
	
		
			
				|  |  |      this.search.businesDate = defaultDate(1)
 | 
	
		
			
				|  |  |      // this.option = option
 | 
	
		
			
				|  |  |      this.option = await this.getColumnData(this.getColumnName(14), option);
 | 
	
		
			
				|  |  | +    this.getWorkDicts("payment_term").then(res => {
 | 
	
		
			
				|  |  | +      this.findObject(this.option.column, "paymentType").dicData =
 | 
	
		
			
				|  |  | +        res.data.data;
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +    this.getWorkDicts("order_status").then(res => {
 | 
	
		
			
				|  |  | +      this.findObject(this.option.column, "orderStatus").dicData =
 | 
	
		
			
				|  |  | +        res.data.data;
 | 
	
		
			
				|  |  | +    });
 | 
	
		
			
				|  |  | +    gainUser().then(res => {
 | 
	
		
			
				|  |  | +      this.findObject(this.option.column, "createUser").dicData = res.data.data;
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  |      let i = 0;
 | 
	
		
			
				|  |  |      this.option.column.forEach(item => {
 | 
	
		
			
				|  |  |        if (item.search) i++
 | 
	
	
		
			
				|  | @@ -502,6 +514,10 @@ export default {
 | 
	
		
			
				|  |  |          this.$message.success("保存成功");
 | 
	
		
			
				|  |  |          //关闭窗口
 | 
	
		
			
				|  |  |          this.$refs.crud.$refs.dialogColumn.columnBox = false;
 | 
	
		
			
				|  |  | +        this.$nextTick(() => {
 | 
	
		
			
				|  |  | +          this.$refs.crud.doLayout()
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      async resetColumn() {
 | 
	
	
		
			
				|  | @@ -511,6 +527,9 @@ export default {
 | 
	
		
			
				|  |  |          option
 | 
	
		
			
				|  |  |        );
 | 
	
		
			
				|  |  |        if (inSave) {
 | 
	
		
			
				|  |  | +        this.$nextTick(() => {
 | 
	
		
			
				|  |  | +          this.$refs.crud.doLayout()
 | 
	
		
			
				|  |  | +        })
 | 
	
		
			
				|  |  |          this.$message.success("重置成功");
 | 
	
		
			
				|  |  |          //关闭窗口
 | 
	
		
			
				|  |  |          this.$refs.crud.$refs.dialogColumn.columnBox = false;
 |