snow 2 years ago
parent
commit
53a49aa43d

File diff suppressed because it is too large
+ 0 - 0
dist/static/js/0.js


+ 6 - 1
src/mixins/privateField.js

@@ -5,7 +5,12 @@ const privateField = {
     ...mapGetters(['private_field', 'isSupertube', 'sourceLevel'])
   },
   methods: {
-    // 1 成本价 2 销售价 3 毛利率
+    /**
+     *  > 1 成本价 2 销售价 3 毛利率
+     * 1. 超管可以查看所有
+     * 2. 供应商(originLevel === '3') 可以查看成本(type === '1)
+     * 3. 业务公司(originLevel === '2') 根据角色的private_field查看
+    */
     isDisplayPrivateField(type) {
       if (this.isSupertube) return true
       if (this.originLevel === '3' && type === '1') return true

+ 2 - 0
src/views/supplierPurchaseIn/supplierWorkbench/detail.vue

@@ -33,6 +33,8 @@
                 <li>{{ sitem.company }}</li>
                 <li>客户名称:</li>
                 <li>{{ sitem.khname }}</li>
+                <li>所属平台:</li>
+                <li>{{ sitem.platform_name }}</li>
               </ul>
             </div>
             <div class="left-card" v-if="sitem">

+ 5 - 0
src/views/supplierPurchaseIn/supplierWorkbench/index.vue

@@ -66,6 +66,11 @@
                   <span class="label" style="width:80px">业务公司名称:</span>
                   <span class="label-main" style="flex:1">{{ item.companyName }}</span>
                 </li>
+
+                <li class="fl item-li" style="wrap:nowrap;display: flex;">
+                  <span class="label" style="width:80px">所属平台:</span>
+                  <span class="label-main" style="flex:1">{{ item.platform_name }}</span>
+                </li>
               </ul>
             </div>
             <div class="no-data">暂无数据!</div>

Some files were not shown because too many files changed in this diff