chris hace 2 años
padre
commit
3747bc396e

+ 2 - 2
src/views/modules/common/material-component.vue

@@ -87,7 +87,7 @@
                   label: item.materialName + ' - ' + item.specifications,
                   value: item.materialId,
                   specification: item.specifications,
-                  cntLimit: item.cnt - item.lockCnt,
+                  cntLimit: Number(item.cnt) + Number(item.lockCnt),
                   cnt: 0,
                   sourceCategory: '2'
                 })
@@ -98,7 +98,7 @@
                   label: item.materialName + ' - ' + item.specifications,
                   value: item.materialId,
                   specification: item.specifications,
-                  cntLimit: item.cnt - item.lockCnt
+                  cntLimit: Number(item.cnt) + Number(item.lockCnt)
                 })
               })
             }

+ 0 - 1
src/views/modules/warehouse/template-delivery-detail.vue

@@ -39,7 +39,6 @@
         <el-table
           :data="materialList"
           border
-          :row-style="rowStyle"
           style="width: 100%;">
           <el-table-column
             label="序号"