戴艳蓉 преди 3 години
родител
ревизия
8e01e826dd

+ 14 - 18
src/views/goodStore/goodsOnline/ShowDataTableColumns.js

@@ -12,20 +12,20 @@ const public_listCol = [
   //   label: "规格",
   //   _slot_: "speclist",
   // },
-  {
-    prop: "skuCode",
-    label: "上线商品编号",
-    span: 7,
-  },
-  {
-    prop: "companyNo",
-    label: "业务企业编号",
-    span: 7,
-  },
+  // {
+  //   prop: "skuCode",
+  //   label: "上线商品编号",
+  //   span: 7,
+  // },
+  // {
+  //   prop: "companyNo",
+  //   label: "业务企业编号",
+  //   span: 7,
+  // },
   {
     prop: "company",
     label: "业务企业名称",
-    span: 10,
+    _slot_: "company",
   },
   {
     prop: "good_info_img",
@@ -35,7 +35,7 @@ const public_listCol = [
   {
     prop: "cat",
     label: "分类",
-    span: 12,
+    span: 8,
   },
 
 
@@ -43,18 +43,13 @@ const public_listCol = [
   {
     prop: "creater",
     label: "申请人",
-    span: 6,
+    span: 4,
   },
   {
     prop: "platform_name",
     label: "上线平台",
     span: 6,
   },
-  {
-    prop: "plat_code",
-    label: "平台商品编码",
-    span: 6,
-  },
   {
     prop: "online_time",
     label: "上线时间",
@@ -239,6 +234,7 @@ const purchase_listCol = [
   {
     prop: "supplierName",
     label: "供应商名称",
+    _slot_: "supplierName",
     span: 12,
   },
   {

+ 48 - 0
src/views/goodStore/goodsOnline/detail.vue

@@ -31,6 +31,42 @@
                     <span v-else>_</span>
                     <span>{{ si.spec_name }}[{{ si.spec_value }}]</span>
                   </span>
+                  <el-popover placement="top" width="300" trigger="hover">
+                    <ul>
+                      <li>
+                        <span>上线商品编号:</span
+                        ><span>{{ sitem.skuCode }}</span>
+                      </li>
+                      <li
+                        v-if="
+                          newTime !== '' &&
+                          private_field &&
+                          private_field.length > 0 &&
+                          private_field.some((item) => item == '1')
+                        "
+                      >
+                        <span>成本商品编号:</span
+                        ><span>{{ sitem.spuCode }}</span>
+                      </li>
+                      <li>
+                        <span>平台商品编码:</span
+                        ><span>{{ sitem.plat_code }}</span>
+                      </li>
+                    </ul>
+                    <i class="el-icon-warning-outline fr" slot="reference"></i>
+                  </el-popover>
+                </template>
+                <template slot="company">
+                  <span>{{ sitem.company }}</span>
+                  <el-popover placement="top" width="300" trigger="hover">
+                    <ul>
+                      <li>
+                        <span>业务企业编号:</span
+                        ><span>{{ sitem.companyNo }}</span>
+                      </li>
+                    </ul>
+                    <i class="el-icon-warning-outline fr" slot="reference"></i>
+                  </el-popover>
                 </template>
                 <template slot="good_info_img">
                   <img
@@ -117,6 +153,18 @@
                 :sitem="sitem"
                 :columns="purchase_listCol"
               >
+                <template slot="supplierName">
+                  <span>{{ sitem.supplierName }}</span>
+                  <el-popover placement="top" width="300" trigger="hover">
+                    <ul>
+                      <li>
+                        <span>供应商编号:</span
+                        ><span>{{ sitem.supplierNo }}</span>
+                      </li>
+                    </ul>
+                    <i class="el-icon-warning-outline fr" slot="reference"></i>
+                  </el-popover>
+                </template>
                 <template slot="is_auth">
                   <el-tag
                     :size="'mini'"

+ 1 - 0
src/views/purchaseIn/purchaseOrder/detail.vue

@@ -41,6 +41,7 @@
                   <el-popover placement="top" width="300" trigger="hover">
                     <ul>
                       <li>
+                        
                         <span>销售方编号:</span
                         ><span>{{ sitem.supplierNo }}</span>
                       </li>