Jelajahi Sumber

营销-商机中联系人模块修改所属客户参照指向为营销客户管理模块的数据;增加Drp客户管理参照的接口。

DongZ 1 tahun lalu
induk
melakukan
78c17adf51

+ 18 - 0
src/components/popover-select/components/CUSTOMER_PARAM_DRP.js

@@ -0,0 +1,18 @@
+// Drp平台客户管理
+export default [{
+    item: {
+      key: "code",
+      title: "编码",
+      width: "auto"
+    },
+    attr: {},
+  },
+  {
+    item: {
+      key: "name",
+      title: "名称",
+      width: "auto"
+    },
+    attr: {},
+  },
+];

+ 1 - 1
src/views/business/spd/bo/contact/index.vue

@@ -132,7 +132,7 @@
         <el-row>
           <el-col :span="8">
             <el-form-item label="所属客户" prop="customerName">
-              <dr-popover-select v-model="form.customerName" title="客户" type="CUSTOMER_PARAM_ZT" :dataMapping="{
+              <dr-popover-select v-model="form.customerName" title="客户" type="CUSTOMER_PARAM_DRP" :dataMapping="{
                   customer: 'id',
                   customerName: 'name',
                 }" :source.sync="form">