@@ -85,7 +85,8 @@
cateId: item.cateId,
categoryName: item.categoryName,
specifications: item.specifications,
- unitName: item.unitName
+ unitName: item.unitName,
+ lockCnt: item.lockCnt
})
} else {
@@ -54,7 +54,7 @@
<el-row class="my-row">
<el-col :span="8">
<el-form-item label="数量" prop="cnt">
- <el-input-number v-model="item.cnt" :min="0"></el-input-number>
+ <el-input-number v-model="item.cnt" :min="0" :max="Number(item.lockCnt)"></el-input-number>
</el-form-item>
</el-col>
<el-col :span="16" style="padding-left: 20px">