|  | @@ -97,17 +97,16 @@
 | 
	
		
			
				|  |  |                                  :class="{ isShow: item.display }" >
 | 
	
		
			
				|  |  |                              <el-form-item :label="item.label" :prop="item.prop" :rules="item.rules">
 | 
	
		
			
				|  |  |                                  <div v-if="item.prop == 'corpId'">
 | 
	
		
			
				|  |  | -                                    <template slot="corpForm">
 | 
	
		
			
				|  |  | -                                        <search-query ref="SearchQuery"
 | 
	
		
			
				|  |  | -                                                      :datalist="corpData"
 | 
	
		
			
				|  |  | -                                                      title="计量单位"
 | 
	
		
			
				|  |  | -                                                      :filterable="true"
 | 
	
		
			
				|  |  | -                                                      :clearable="true"
 | 
	
		
			
				|  |  | -                                                      :remote="true"
 | 
	
		
			
				|  |  | -                                                      :forParameter="{key:'id',label:'cnName',value:'id'}"
 | 
	
		
			
				|  |  | -                                                      @remoteMethod="getBunitsListfun" @corpChange="corpChange" >
 | 
	
		
			
				|  |  | -                                        </search-query>
 | 
	
		
			
				|  |  | -                                    </template>
 | 
	
		
			
				|  |  | +                                    <search-query ref="SearchQuery"
 | 
	
		
			
				|  |  | +                                                  :datalist="corpData"
 | 
	
		
			
				|  |  | +                                                  title="客户"
 | 
	
		
			
				|  |  | +                                                  :filterable="true"
 | 
	
		
			
				|  |  | +                                                  :clearable="true"
 | 
	
		
			
				|  |  | +                                                  :remote="true"
 | 
	
		
			
				|  |  | +                                                  :forParameter="{key:'id',label:'cnName',value:'id'}"
 | 
	
		
			
				|  |  | +                                                  @remoteMethod="getBcorpsListfun" @corpChange="corpCorpChange($event,item.prop)" >
 | 
	
		
			
				|  |  | +                                        <bcorps></bcorps>
 | 
	
		
			
				|  |  | +                                    </search-query>
 | 
	
		
			
				|  |  |                                  </div>
 | 
	
		
			
				|  |  |                                  <el-input type="textarea" v-else-if="item.type === 'textarea'" v-model.trim="feestemplateForm[item.prop]" size="small"
 | 
	
		
			
				|  |  |                                            autocomplete="off" :disabled="item.disabled" :placeholder="'请输入' + item.label"></el-input>
 | 
	
	
		
			
				|  | @@ -128,10 +127,12 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  <script>
 | 
	
		
			
				|  |  |  import {losbfeestemplateDetail, losbfeestemplateSubmit} from "@/api/iosBasicData/losbfeestemplate";
 | 
	
		
			
				|  |  | +import {getBcorpsList} from "@/api/iosBasicData/bcorps";
 | 
	
		
			
				|  |  |  import SearchQuery from '@/components/iosbasic-data/searchquery.vue'
 | 
	
		
			
				|  |  | +import bcorps from "@/views/iosBasicData/bcorps/index.vue";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  export default {
 | 
	
		
			
				|  |  | -    components: {SearchQuery},
 | 
	
		
			
				|  |  | +    components: {SearchQuery,bcorps},
 | 
	
		
			
				|  |  |      props:{
 | 
	
		
			
				|  |  |          detailData: {
 | 
	
		
			
				|  |  |              type: Object
 | 
	
	
		
			
				|  | @@ -147,6 +148,8 @@ export default {
 | 
	
		
			
				|  |  |              // 费用详细弹窗绑定的数据
 | 
	
		
			
				|  |  |              feestemplateForm:{},
 | 
	
		
			
				|  |  |              feestemplateIndex:null,
 | 
	
		
			
				|  |  | +            // 客户请求数据
 | 
	
		
			
				|  |  | +            corpData:[],
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              // 获取到的数据
 | 
	
		
			
				|  |  |              form:{
 | 
	
	
		
			
				|  | @@ -364,7 +367,21 @@ export default {
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | +    created() {
 | 
	
		
			
				|  |  | +        this.getBcorpsListfun()
 | 
	
		
			
				|  |  | +    },
 | 
	
		
			
				|  |  |      methods:{
 | 
	
		
			
				|  |  | +        // 获取客户数据
 | 
	
		
			
				|  |  | +        getBcorpsListfun(cnName){
 | 
	
		
			
				|  |  | +            getBcorpsList(1,10,{cnName}).then(res=>{
 | 
	
		
			
				|  |  | +                this.corpData = res.data.data.records
 | 
	
		
			
				|  |  | +            })
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        // 客户选择之后的回调
 | 
	
		
			
				|  |  | +        corpCorpChange(value,row){
 | 
	
		
			
				|  |  | +            console.log(row,382)
 | 
	
		
			
				|  |  | +            console.log(value)
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  |          // 获取详情数据
 | 
	
		
			
				|  |  |          losbfeestemplateDetailfun(id){
 | 
	
		
			
				|  |  |              this.pageLoading = true
 |