whj преди 1 година
родител
ревизия
21a3035863
променени са 2 файла, в които са добавени 14 реда и са изтрити 7 реда
  1. 6 6
      src/views/purchase/purchase-order-page/modules/BaseForm.vue
  2. 8 1
      src/views/purchase/purchase-order-page/modules/Detail.vue

+ 6 - 6
src/views/purchase/purchase-order-page/modules/BaseForm.vue

@@ -197,11 +197,11 @@ export default {
           width: 150,
           scopedSlots: { customRender: 'num' }
         },
-        {
-          title: '库存',
-          dataIndex: 'storeNum',
-          width: 150
-        },
+        // {
+        //   title: '库存',
+        //   dataIndex: 'storeNum',
+        //   width: 150
+        // },
 
         {
           title: '仓库',
@@ -335,7 +335,7 @@ export default {
       for (let i = 0; i < rows.length; i++) {
         let find = false
         for (let j = 0; j < data.length; j++) {
-          if (rows[i].autoId === data[j].autoId) {
+          if (rows[i].spareId === data[j].spareId) {
             find = true
             break
           }

+ 8 - 1
src/views/purchase/purchase-order-page/modules/Detail.vue

@@ -75,7 +75,14 @@ export default {
           title: '规格',
           dataIndex: 'ggxh'
         },
-
+        {
+          title: '仓库',
+          dataIndex: 'storeName'
+        },
+        {
+          title: '货架号',
+          dataIndex: 'storePosition'
+        },
         {
           title: '采购数量',
           dataIndex: 'num',