|
|
@@ -93,8 +93,7 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="allowValues" label="允许值">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-form-item :prop="'prodProductionRequireList.' + scope.$index + '.allowValues'
|
|
|
- " :rules="rules.allowValues" label-width="0px">
|
|
|
+ <el-form-item :prop="'prodProductionRequireList.' + scope.$index + '.allowValues'" :rules="rules.allowValues" label-width="0px">
|
|
|
<el-input v-model="scope.row.allowValues" :disabled="disabled || selectOperator || isEdit"></el-input>
|
|
|
</el-form-item>
|
|
|
</template>
|
|
|
@@ -166,7 +165,9 @@ export default {
|
|
|
nodeName: '',
|
|
|
workTypeId: '',
|
|
|
operatorId: [],
|
|
|
- prodProductionRequireList: [{}],
|
|
|
+ prodProductionRequireList: [{
|
|
|
+ allowValues:''
|
|
|
+ }],
|
|
|
planCompletionTime: ''
|
|
|
},
|
|
|
fileList: [],
|
|
|
@@ -350,7 +351,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
addRow() {
|
|
|
- this.form.prodProductionRequireList.push({})
|
|
|
+ this.form.prodProductionRequireList.push({allowValues:''})
|
|
|
},
|
|
|
removeRow(index) {
|
|
|
this.form.prodProductionRequireList.splice(index, 1)
|