Explorar el Código

销售线索,客户

qymljy hace 3 años
padre
commit
b96730288d

+ 27 - 15
src/Form/publicCustomer/add.vue

@@ -23,7 +23,17 @@
                   placement="right"
                   width="900"
                   v-model="businessShow"
-                  trigger="click">
+                  trigger="manual">
+                <el-input
+                    style="width:300px;margin-bottom: 10px"
+                    placeholder="请输入内容"
+                    v-model="form.enterprisename"
+                    clearable
+                    @clear="businessSearch"
+                    size="mini"
+                    @keyup.enter.native="businessSearch">
+                  <i slot="prefix" class="el-icon-search" @click="businessSearch"></i>
+                </el-input>
                 <el-table :data="businessData" @row-click="businessSelect" :header-cell-style="{background:'#EEEEEE',color:'#333'}" size="mini">
                   <el-table-column width="260" label="客户名称">
                     <template slot-scope="scope">
@@ -86,6 +96,18 @@
                 </el-select>
               </el-form-item>
             </el-col>
+            <el-col :span="24">
+              <el-form-item label="所属行业:" >
+                <el-select v-model="form.industry" placeholder="请选择所属行业" style="width: 100%">
+                  <el-option
+                      v-for="item in options.industryData"
+                      :key="item.value"
+                      :label="item.value"
+                      :value="item.value">
+                  </el-option>
+                </el-select>
+              </el-form-item>
+            </el-col>
             <el-col :span="24">
               <el-form-item label="上级客户:" >
                 <el-popover
@@ -154,7 +176,7 @@
               </el-form-item>
             </el-col>
             <el-col :span="24">
-              <el-form-item label="详细地址:" prop="address">
+              <el-form-item label="企业地址:" prop="address">
                 <el-input v-model="form.address" placeholder="详细地址"></el-input>
               </el-form-item>
             </el-col>
@@ -164,22 +186,10 @@
               </el-form-item>
             </el-col>
             <el-col :span="24">
-              <el-form-item label="税号:" prop="taxno">
+              <el-form-item label="企业税号:" prop="taxno">
                 <el-input v-model="form.taxno" placeholder="税号"></el-input>
               </el-form-item>
             </el-col>
-            <el-col :span="24">
-              <el-form-item label="所属行业:" >
-                <el-select v-model="form.industry" placeholder="请选择所属行业" style="width: 100%">
-                  <el-option
-                      v-for="item in options.industryData"
-                      :key="item.value"
-                      :label="item.value"
-                      :value="item.value">
-                  </el-option>
-                </el-select>
-              </el-form-item>
-            </el-col>
 <!--            <el-col :span="24">
               <el-form-item label="联系人:" prop="contact">
                 <el-input v-model="form.contact" placeholder="联系人"></el-input>
@@ -306,6 +316,7 @@ export default {
       this.businessData = res.data
       this.total = res.total
       this.currentPage = res.pageNumber
+      this.businessShow = true
     },
     /*选择工商信息*/
     businessSelect(val){
@@ -491,6 +502,7 @@ export default {
       this.dialogFormVisible = false
       this.checkResults = ''
       this.value = ''
+      this.businessShow = false
     },
     cascaderChange (val) {
       if (val.length === 1)

+ 40 - 19
src/Form/publicCustomer/edit.vue

@@ -7,7 +7,9 @@
         title="编辑公海客户"
         :show-close="false"
         :visible.sync="dialogFormVisible"
-        size="600px">
+        size="600px"
+        @close="onClose"
+      >
       <div class="drawer__panel">
         <el-row :gutter="20">
           <el-form :model="form" :rules="rules" ref="form" label-width="90px" label-position="right" size="mini">
@@ -21,7 +23,17 @@
                   placement="right"
                   width="900"
                   v-model="businessShow"
-                  trigger="click">
+                  trigger="manual">
+                <el-input
+                    style="width:300px;margin-bottom: 10px"
+                    placeholder="请输入内容"
+                    v-model="form.enterprisename"
+                    clearable
+                    @clear="businessSearch"
+                    size="mini"
+                    @keyup.enter.native="businessSearch">
+                  <i slot="prefix" class="el-icon-search" @click="businessSearch"></i>
+                </el-input>
                 <el-table :data="businessData" @row-click="businessSelect" :header-cell-style="{background:'#EEEEEE',color:'#333'}" size="mini">
                   <el-table-column width="260" label="客户名称">
                     <template slot-scope="scope">
@@ -75,9 +87,21 @@
                 <el-select v-model="form.customergrade" placeholder="请选择客户等级" size="small">
                   <el-option
                     v-for="item in customerLead()"
-                    :key="item.rowindex"
+                    :key="item.value"
                     :label="item.value"
-                    :value="item.rowindex">
+                    :value="item.value">
+                  </el-option>
+                </el-select>
+              </el-form-item>
+            </el-col>
+            <el-col :span="24">
+              <el-form-item label="所属行业:" >
+                <el-select v-model="form.industry" placeholder="请选择所属行业" style="width: 100%">
+                  <el-option
+                      v-for="item in options.industryData"
+                      :key="item.value"
+                      :label="item.value"
+                      :value="item.value">
                   </el-option>
                 </el-select>
               </el-form-item>
@@ -150,7 +174,7 @@
               </el-form-item>
             </el-col>
             <el-col :span="24">
-              <el-form-item label="详细地址:" prop="address">
+              <el-form-item label="企业地址:" prop="address">
                 <el-input v-model="form.address" placeholder="详细地址"></el-input>
               </el-form-item>
             </el-col>
@@ -160,22 +184,10 @@
               </el-form-item>
             </el-col>
             <el-col :span="24">
-              <el-form-item label="税号:" prop="taxno">
+              <el-form-item label="企业税号:" prop="taxno">
                 <el-input v-model="form.taxno" placeholder="税号"></el-input>
               </el-form-item>
             </el-col>
-            <el-col :span="24">
-              <el-form-item label="所属行业:" >
-                <el-select v-model="form.industry" placeholder="请选择所属行业" style="width: 100%">
-                  <el-option
-                      v-for="item in options.industryData"
-                      :key="item.value"
-                      :label="item.value"
-                      :value="item.value">
-                  </el-option>
-                </el-select>
-              </el-form-item>
-            </el-col>
             <el-col :span="24">
               <el-form-item label="公海池:" prop="sa_customerpoolid">
                 <el-select v-model="form.sa_customerpoolid" placeholder="请选择公海池" size="small">
@@ -192,7 +204,7 @@
         </el-row>
       </div>
       <div class="fixed__btn__panel">
-        <el-button size="small" @click="dialogFormVisible = false" class="normal-btn-width inline-16">取 消</el-button>
+        <el-button size="small" @click="onClose" class="normal-btn-width inline-16">取 消</el-button>
         <duplicateCheck :data="form"></duplicateCheck>
         <el-button size="small" type="warning" @click="onSave" class="normal-btn-width">保 存</el-button>
       </div>
@@ -282,6 +294,10 @@ export default {
   },
   props:['data','btnType'],
   methods:{
+    onClose(){
+      this.businessShow = false
+      this.dialogFormVisible = false
+    },
     editBtn () {
       this.dialogFormVisible = true
      /* let arr = ['province','city','county']
@@ -303,6 +319,7 @@ export default {
       this.businessData = res.data
       this.total = res.total
       this.currentPage = res.pageNumber
+      this.businessShow = true
     },
     /*选择工商信息*/
     businessSelect(val){
@@ -483,4 +500,8 @@ export default {
   /deep/.el-select,.el-cascader  {
     width: 100%;
   }
+  /deep/.el-input__prefix {
+    display: flex;
+    align-items: center;
+  }
 </style>

+ 7 - 2
src/Form/salerPrivatecustomer/add.vue

@@ -22,7 +22,7 @@
                   placement="right"
                   width="900"
                   v-model="businessShow"
-                  trigger="click">
+                  trigger="manual">
                 <el-input
                     style="width:300px;margin-bottom: 10px"
                     placeholder="请输入内容"
@@ -315,6 +315,7 @@ export default {
       this.businessData = res.data
       this.total = res.total
       this.currentPage = res.pageNumber
+      this.businessShow = true
     },
     /*选择工商信息*/
     businessSelect(val){
@@ -328,6 +329,10 @@ export default {
         this.form.enterprisename = val.companyName
         this.form.address = val.address
         this.form.taxno = val.taxNum
+        this.value = [val.regProvince,val.regCity,val.regArea]
+        this.form.province = val.regProvince
+        this.form.city = val.regCity
+        this.form.county = val.regArea
       }).catch(() => {
         this.$message({
           type: 'info',
@@ -471,7 +476,7 @@ export default {
       this.dialogFormVisible = false
       this.checkResults = ''
       this.value = ''
-
+      this.businessShow = false
     },
     /*客户类型列表*/
     async typeList(){

+ 12 - 7
src/Form/salerPrivatecustomer/edit.vue

@@ -8,7 +8,7 @@
         direction="rtl"
         :show-close="false"
         append-to-body
-        @close="dialogFormVisible = false">
+        @close="onClose">
       <div class="drawer__panel">
         <el-row :gutter="20">
           <el-form :model="form" :rules="rules" ref="form" label-width="85px" label-position="right" size="mini">
@@ -22,7 +22,7 @@
                   placement="right"
                   width="900"
                   v-model="businessShow"
-                  trigger="click">
+                  trigger="manual">
                 <el-input
                     style="width:300px;margin-bottom: 10px"
                     placeholder="请输入内容"
@@ -147,7 +147,7 @@
         </el-row>
       </div>
       <div class="fixed__btn__panel">
-        <el-button size="small" @click="dialogFormVisible = false" class="normal-btn-width">取 消</el-button>
+        <el-button size="small" @click="onClose" class="normal-btn-width">取 消</el-button>
         <duplicateCheck :data="form"></duplicateCheck>
         <el-button size="small" type="warning" @click="onSave" class="normal-btn-width">保 存</el-button>
       </div>
@@ -209,7 +209,6 @@ export default {
         datastatus:'',
         ispublic:0
       },
-      value:'',
       options:{
         type:[],
         parentCustomers:[],
@@ -239,18 +238,23 @@ export default {
     }
   },
   methods:{
+    onClose(){
+      this.dialogFormVisible = false
+      this.businessShow = false
+    },
     show(){
       this.dialogFormVisible = true
       this.typeList()
       /*this.parentCustomer()*/
       this.gradeList()
       this.industryList()
-      let arr = ['province','city','county']
+      /*let arr = ['province','city','county']
       arr.forEach(e=>{
         this.data[e] !== '' ?this.form.value.push(this.data[e]):''
-      })
+      })*/
       this.form = Object.assign({},this.form,this.data)
-      console.log(this.form)
+      console.log(this.form,"编辑")
+      this.form.value = [this.form.province,this.form.city,this.form.county]
       /*if (this.form.parentid === 0){
         this.form.parentid = '未选择'
       }*/
@@ -263,6 +267,7 @@ export default {
       this.businessData = res.data
       this.total = res.total
       this.currentPage = res.pageNumber
+      this.businessShow = true
     },
     /*选择工商信息*/
     businessSelect(val){

+ 8 - 4
src/HDrpManagement/projectChange/modules/modules/quotation/modules/add.vue

@@ -244,7 +244,7 @@
         <el-divider></el-divider>
       </div>
       <div style="margin:30px 20px 20px 20px">
-        <quotedPriceProduct :sa_projectid="form.sa_projectid" :type="form.type" ref="quoterPrice" @checkFormImport="onCheckFormImport" @checkForm="onSubmit" @productData="productDataChange"></quotedPriceProduct>
+        <quotedPriceProduct :sa_projectid="form.sa_projectid" :type="form.type" ref="quoterPrice" @checkFormImport="onCheckFormImport" @checkForm="onSubmit" @checkFormProject="onSubmit" @productData="productDataChange"></quotedPriceProduct>
       </div>
       <div class="fixed__btn__panel">
         <el-button size="small" @click="onClose" class="normal-btn-width">取 消</el-button>
@@ -369,7 +369,7 @@ export default {
       /*this.$emit('addSuccess')*/
     },
     /*创建报价单,获取商品信息*/
-    onSubmit(){
+    onSubmit(type){
       if (this.date.length === 0){
         this.form.begdate = ''
         this.form.enddate = ''
@@ -384,8 +384,12 @@ export default {
           "version":1,
           "content": this.form
         })
-        this.$refs.quoterPrice.quoterPrice(res.data.sa_quotedpriceid,this.form.type)
-        this.form.sa_quotedpriceid = res.data.sa_quotedpriceid
+        /*this.$refs.quoterPrice.quoterPrice(res.data.sa_quotedpriceid,this.form.type)
+        this.form.sa_quotedpriceid = res.data.sa_quotedpriceid*/
+        setTimeout(()=>{
+          this.$refs.quoterPrice.quoterPrice(res.data.sa_quotedpriceid,this.form.type,type)
+          this.form.sa_quotedpriceid = res.data.sa_quotedpriceid
+        },500)
       })
     },
     /*导入创建报价单校验*/

+ 1 - 1
src/HDrpManagement/publicCustomer/modules/detail/addressManage/list.vue

@@ -14,7 +14,7 @@
         </el-input>
       </div>
     </div>
-    <tableLayout :layout="tablecols" :data="list" :opwidth="200" :custom="true"  :height="tableHieght" >
+    <tableLayout :layout="tablecols" :data="list" :opwidth="200" :custom="true"  :height="tableHieght" fixedName="operation">
       <template v-slot:customcol="scope">
         <div v-if="scope.column.columnname === 'province'">
           <p>{{ scope.column.data.province + scope.column.data.city + scope.column.data.county}}</p>

+ 2 - 1
src/HManagement/clueManage/clue_import/detailPage/modules/op_check.vue

@@ -14,7 +14,8 @@ export default {
        this.$confirm(`确认${this.status === '已审核'?'反审核':'审核'}吗?`, '提示', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
-        type: 'warning'
+        type: 'warning',
+        closeOnClickModal:false
       }).then(async () => {
         const res = await this.$api.requested({
          "classname":"webmanage.saletool.orderclue.orderclue",

+ 1 - 1
src/HManagement/clueManage/clue_private/modules/distobutionOne.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="inline-16">
     <el-button type="primary" size="mini" @click="getMatchAgentList">分 配</el-button>
-    <el-drawer title="匹配业务员" append-to-body :visible.sync="dialogTableVisible2" size="80%" top="30px">
+    <el-drawer title="匹配业务员" append-to-body :visible.sync="dialogTableVisible2" size="80%" top="30px" :show-close="false">
       <div class="container">
         <div class="flex-align-center flex-between">
           <p class="normal-margin">总共:&nbsp;{{total2}}条</p>

+ 16 - 6
src/HManagement/clueManage/clue_private/modules/recall.vue

@@ -1,11 +1,6 @@
 <template>
   <div class="inline-16">
-    <el-popconfirm
-      title="确定撤回当前线索吗?"
-      @confirm="revoke()">
-      <el-button slot="reference" type="primary" size="mini">撤 回</el-button>
-    </el-popconfirm>
-    
+    <el-button slot="reference" type="primary" size="mini" @click="onShow">撤 回</el-button>
   </div>
 </template>
 
@@ -13,6 +8,21 @@
 export default {
   props:['data'],
   methods:{
+    onShow() {
+      this.$confirm('确定撤回当前线索吗?', '提示', {
+        confirmButtonText: '确定',
+        cancelButtonText: '取消',
+        type: 'warning',
+        closeOnClickModal:false
+      }).then(() => {
+        this.revoke()
+      }).catch(() => {
+        this.$message({
+          type: 'info',
+          message: '已取消撤回操作'
+        });
+      });
+    },
     async revoke () {
       const res = await this.$api.requested({
         "classname": "webmanage.saletool.orderclue.privateclue.PrivateClue",

+ 1 - 1
src/HManagement/clueManage/clue_public/modules/distobutionOne.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="inline-16">
-    <el-button size="mini" @click="getMatchAgentList">分 配</el-button>
+    <el-button size="mini" @click="getMatchAgentList" type="primary">分 配</el-button>
     <el-drawer title="匹配业务员" append-to-body :visible.sync="dialogTableVisible2" size="80%" top="30px">
       <div class="container">
         <div class="flex-align-center flex-between">

+ 2 - 2
src/SDrpManagement/QuotedPrice/components/edit/quotedPriceProduct.vue

@@ -12,8 +12,8 @@
           clearable>
       </el-input>
 
-      <importExcel style="float: right" v-if="quotedpricetype === '普通报价'" :sa_quotedpriceid="sa_quotedpriceid" @onSuccess="onSuccess"></importExcel>
-      <productTableProject style="float: right;margin-right: 10px;margin-bottom: 10px" :id="sa_projectid" :sa_quotedpriceid="sa_quotedpriceid" :quotedpricetype="quotedpricetype" ref="quoterPriceProject" @productAdd="productData"></productTableProject>
+      <importExcel style="float: right" v-if="quotedpricetype === '客户报价'" :sa_quotedpriceid="sa_quotedpriceid" @onSuccess="onSuccess"></importExcel>
+      <productTableProject style="float: right;margin-right: 10px;margin-bottom: 10px" :id="sa_projectid" :sa_quotedpriceid="sa_quotedpriceid" :quotedpricetype="quotedpricetype" ref="quoterPriceProject" @productAdd="productData" v-if="quotedpricetype === '项目报价'"></productTableProject>
       <productTable style="float: right;margin-right: 10px;margin-bottom: 10px" :id="sa_projectid" :sa_quotedpriceid="sa_quotedpriceid" :quotedpricetype="quotedpricetype"  ref="quoterPrice" @productAdd="productData"></productTable>
       <delProduct style="float: right;margin-right: 10px" :data="selectDel" @delSuccess="delSuccess"></delProduct>
     </div>

+ 6 - 5
src/SDrpManagement/QuotedPrice/components/productTable.vue

@@ -167,9 +167,8 @@ export default {
       sa_quotedpriceid:'',
       params:{
         "id": 20221020164903,
-        "version":1,
         "content": {
-          "sa_projectid":'',
+          "sa_projectid":0,
           "sa_quotedpriceid":"",
           "pageNumber": 1,
           "pageSize": 20,
@@ -192,6 +191,8 @@ export default {
       this.dialogProductVisible = false
     },
     async onSubmit(){
+      console.log(this.id)
+      console.log(this.sa_quotedpriceid)
       const res = await this.$api.requested({
         "id": 20221021095403,
         "content": {
@@ -202,7 +203,7 @@ export default {
       this.tool.showMessage(res,()=>{
         /*this.dialogProductVisible = false*/
         this.$emit('productAdd')
-        this.queryProduct()
+        this.queryProduct(this.sa_quotedpriceid,this.type)
         this.selectListData()
       })
     },
@@ -240,13 +241,13 @@ export default {
       const res = await this.$api.requested(this.params)
       this.list = res.data
       this.total = res.total
-      this.$nextTick(()=>{
+      /*this.$nextTick(()=>{
         if (this.type === '项目报价'){
           for (let i=0;i<this.list.length;i++){
             this.$refs.multipleTable.toggleRowSelection(this.list[i],true)
           }
         }
-      })
+      })*/
 
     },
     handleSizeChange(val) {

+ 1 - 1
src/SDrpManagement/QuotedPrice/components/productTableProject.vue

@@ -202,7 +202,7 @@ export default {
       this.tool.showMessage(res,()=>{
         /*this.dialogProductVisible = false*/
         this.$emit('productAdd')
-        this.queryProduct()
+        this.queryProduct(this.sa_quotedpriceid,this.type)
         this.selectListData()
       })
     },

+ 2 - 2
src/SDrpManagement/QuotedPrice/components/quotedPriceProduct.vue

@@ -13,7 +13,7 @@
       </el-input>
 
       <importExcel style="float: right" @onSuccess="onSuccess" v-if="type === '客户报价'" ref="quoterImport" @checkForm="checkFormImport"></importExcel>
-      <productTableProject style="float: right;margin-right: 10px;margin-bottom: 10px" :id="sa_projectid" @checkFormProject="checkFormProject" ref="quoterPriceProject" @productAdd="productAddF"></productTableProject>
+      <productTableProject style="float: right;margin-right: 10px;margin-bottom: 10px" :id="sa_projectid" @checkFormProject="checkFormProject" ref="quoterPriceProject" @productAdd="productAddF" v-if="type === '项目报价'"></productTableProject>
       <productTable style="float: right;margin-right: 10px;margin-bottom: 10px" :id="sa_projectid" @checkForm="checkForm" ref="quoterPrice" @productAdd="productAddS"></productTable>
       <delProduct style="float: right;margin-right: 10px" :data="selectDel" @delSuccess="delSuccess"></delProduct>
     </div>
@@ -212,7 +212,6 @@ export default {
       sa_quotedpriceid:'',
       param:{
         "id": 20221021095503,
-        "version":1,
         "content": {
           "sa_quotedpriceid":'',
           "pageNumber": 1,
@@ -234,6 +233,7 @@ export default {
     },
     /*产品配置信息*/
     async productData(){
+      console.log(this.sa_quotedpriceid,"报价单id")
       this.param.content.sa_quotedpriceid = this.sa_quotedpriceid
       const res = await this.$api.requested(this.param)
       this.list = res.data

+ 0 - 3
src/SDrpManagement/QuotedPrice/modules/ProjectQuotationAdd.vue

@@ -386,7 +386,6 @@ export default {
         if (!valid) return false
         const res = await this.$api.requested({
           "id": 20221020164803,
-          "version":1,
           "content": this.form
         })
         setTimeout(()=>{
@@ -408,7 +407,6 @@ export default {
         if (!valid) return false
         const res = await this.$api.requested({
           "id": 20221020164803,
-          "version":1,
           "content": this.form
         })
         this.$refs.quoterPrice.quoterImport(res.data.sa_quotedpriceid,this.form.type)
@@ -429,7 +427,6 @@ export default {
         if (!valid) return false
         const res = await this.$api.requested({
           "id": 20221020164803,
-          "version":1,
           "content": this.form
         })
         this.tool.showMessage(res,() => {

+ 1 - 1
src/SDrpManagement/salerPrivatecustomer/detail/modules/addressManage/list.vue

@@ -14,7 +14,7 @@
         <i slot="prefix" class="el-icon-search" @click="queryClick()"></i>
       </el-input>
     </div>
-    <tableLayout :layout="tablecols" :data="list" :opwidth="200" :custom="true"  :height="tableHieght" >
+    <tableLayout :layout="tablecols" :data="list" :opwidth="200" :custom="true"  :height="tableHieght" fixedName="operation">
       <template v-slot:customcol="scope">
         <div v-if="scope.column.columnname === 'province'">
           <p>{{ scope.column.data.province + scope.column.data.city + scope.column.data.county}}</p>

+ 1 - 3
src/SDrpManagement/salerPrivatecustomer/detail/modules/detailedData.vue

@@ -26,12 +26,10 @@
       <el-descriptions title="系统信息" border :column="2" labelClassName="my-label" contentClassName="my-content">
         <el-descriptions-item label-class-name="my-label" label="创建人">{{ system.createby?system.createby:"--" }}</el-descriptions-item>
         <el-descriptions-item label-class-name="my-label" label="创建时间">{{ system.createdate?system.createdate:"--" }}</el-descriptions-item>
-        <el-descriptions-item label-class-name="my-label" label="最近跟进人">{{ system.followby?system.followby:"--" }}</el-descriptions-item>
-        <el-descriptions-item label-class-name="my-label" label="最近跟进时间">{{ system.followdate?system.followdate:"--" }}</el-descriptions-item>
         <el-descriptions-item label-class-name="my-label" label="成交状态">{{ system.tradingstatus?system.tradingstatus:"--" }}</el-descriptions-item>
         <el-descriptions-item label-class-name="my-label" label="锁定状态" v-if="system.datastatus === 0">未锁定</el-descriptions-item>
         <el-descriptions-item label-class-name="my-label" label="锁定状态" v-else-if="system.datastatus === 2">已锁定</el-descriptions-item>
-        <el-descriptions-item label-class-name="my-label" label="退回/回收原因">{{ system.returnreson?system.returnreson:"--" }}</el-descriptions-item>
+        <el-descriptions-item label-class-name="my-label" label="作废原因">{{ system.returnreson?system.returnreson:"--" }}</el-descriptions-item>
         <el-descriptions-item label-class-name="my-label" label="最近编辑人">{{ system.changeby?system.changeby:"--" }}</el-descriptions-item>
         <el-descriptions-item label-class-name="my-label" label="最近编辑时间">{{ system.changedate?system.changedate:"--" }}</el-descriptions-item>
         <el-descriptions-item label-class-name="my-label" label="转手次数">{{ system.changecount?system.changecount:"--" }}</el-descriptions-item>

+ 7 - 2
src/components/businessMessage/index.vue

@@ -3,6 +3,7 @@
     <el-popover
         placement="right"
         width="900"
+        trigger="manual"
         v-model="businessShow"
         >
       <el-input
@@ -73,7 +74,8 @@ export default {
       this.$confirm('是否以查询的工商信息更新客户信息?', '提示', {
         confirmButtonText: '确定',
         cancelButtonText: '取消',
-        type: 'warning'
+        type: 'warning',
+        closeOnClickModal:false
       }).then(() => {
 
         this.$emit("businessData",val)
@@ -95,5 +97,8 @@ export default {
 </script>
 
 <style scoped>
-
+/deep/.el-input__prefix {
+  display: flex;
+  align-items: center;
+}
 </style>