Explorar o código

代客怎么区分渠道和代理人的工号,如果渠道/代理人都叫一样的名字

祁鹏飞 hai 6 días
pai
achega
f30aa63636

+ 9 - 1
src/views/additionalOrder/additional/modules/salesmanSelect.vue

@@ -14,8 +14,9 @@
             <span class="">{{ item.name }}</span>
             <span>{{ item.mobile }}</span>
           </div>
-          <div class="depart">
+          <div class="depart flex items-center">
             {{ item.deptName }}
+            <el-tag type="primary" size="small" class="ml-10px">{{ typeAttrList[item.typeAttr] }}</el-tag>
           </div>
         </div>
         <el-icon v-show="item.checked"><Check /></el-icon>
@@ -53,6 +54,13 @@ const handleSelect = (item, index) => {
   checkedItem.value = item
 }
 
+const typeAttrList=ref({
+  '5':'团队',
+  '6':'个代',
+  '7':'渠道',
+  '8':'电销',
+})
+
 // 取消
 const handleCancel = () => {
   emits('close', checkedItem.value)