lucky 2 年之前
父节点
当前提交
c80be074ca

+ 32 - 0
src/views/reportQuery/purchaseReport/components/columns.js

@@ -369,6 +369,16 @@ const table7 = [
     label: "客户名称",
     minWidth: "155px",
   },
+  {
+    prop: "is_stock",
+    label: "商品库存性质",
+    minWidth: "110px",
+  },
+  {
+    prop: "name",
+    label: "采购员所属部门",
+    minWidth: "150px",
+  },
   {
     prop: "cgder",
     label: "采购员",
@@ -411,6 +421,17 @@ const table8 = [
     label: "采购单编号",
     minWidth: "155px",
   },
+
+  {
+    prop: "name",
+    label: "采购员所属部门",
+    minWidth: "150px",
+  },
+  {
+    prop: "cgder",
+    label: "采购员",
+    minWidth: "110px",
+  },
   {
     prop: "supplier_name",
     label: "供应商名称",
@@ -558,6 +579,17 @@ const table10 = [
     label: "购买数量",
     minWidth: "105px",
   },
+  {
+    prop: "is_stock",
+    label: "商品库存性质",
+    minWidth: "110px",
+    _slot_:"isStock",
+  },
+  {
+    prop: "name",
+    label: "采购员所属部门",
+    minWidth: "150px",
+  },
   {
     prop: "cgder",
     label: "采购员",

+ 4 - 0
src/views/reportQuery/purchaseReport/components/table10.vue

@@ -105,6 +105,10 @@
         <template #is_th="{ scope }">
           <span>{{ scope.row.is_th == 1 ? '可以' : '不可以' }}</span>
         </template>
+<template #isStock="{ scope }">
+          <span>{{ scope.row.is_stock == 1 ? '库存品' : '非库存品' }}</span>
+        </template>
+        
       </ex-table>
     </div>