|
@@ -54,7 +54,9 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="出库数量" width="160">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{ scope.row.quantity }}</span>
|
|
|
+ <el-form-item label-width="0px" :prop="'details.' + scope.$index + '.quantity'" :rules="formRules.quantity">
|
|
|
+ <el-input-number style="width: 100%" size="mini" v-model="scope.row.quantity" :controls="false" :min="1" :max="10000000" :precision="0" />
|
|
|
+ </el-form-item>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="center" width="80" fixed="right">
|
|
@@ -184,5 +186,8 @@ export default {
|
|
|
margin: 0 auto;
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
+ .el-form-item__error {
|
|
|
+ top: 90%;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|