002201 1 жил өмнө
parent
commit
4946211d20

+ 1 - 1
src/views/purchase/task/first-direct/index.vue

@@ -158,7 +158,7 @@ export default {
         >
         >
           <template slot-scope="scope">
           <template slot-scope="scope">
             <el-input-number
             <el-input-number
-              v-if="cItem.item.key === 'el-input-number'"
+              v-if="cItem.attr.component === 'el-input-number'"
               v-model="scope.row[cItem.item.key]"
               v-model="scope.row[cItem.item.key]"
               :size="size"
               :size="size"
               :min="cItem.attr.min(item)"
               :min="cItem.attr.min(item)"