|
@@ -298,6 +298,7 @@
|
|
|
<el-input
|
|
|
v-model="scope.row.inspectionParam"
|
|
|
:disabled="disabled || selectOperator"
|
|
|
+ @blur="inspectionParamBlur($event, scope.$index)"
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</template>
|
|
@@ -415,7 +416,7 @@ export default {
|
|
|
nodeName: '',
|
|
|
workTypeId: '',
|
|
|
operatorId: [],
|
|
|
- prodProductionRequireList: [{}]
|
|
|
+ prodProductionRequireList: [{allowValues: ''}]
|
|
|
},
|
|
|
fileList: [],
|
|
|
inspectionMethodOptions: [
|
|
@@ -598,6 +599,18 @@ export default {
|
|
|
},
|
|
|
removeRow (index) {
|
|
|
this.form.prodProductionRequireList.splice(index, 1)
|
|
|
+ },
|
|
|
+ inspectionParamBlur (event, index) {
|
|
|
+ console.log(event)
|
|
|
+ console.log(event.target.value)
|
|
|
+ this.$http({
|
|
|
+ url: this.$http.adornUrl(`/biz-service/technology/infoArgument/${event.target.value}`),
|
|
|
+ method: 'get'
|
|
|
+ }).then(({ data }) => {
|
|
|
+ console.log(data)
|
|
|
+ this.form.prodProductionRequireList[index].allowValues = data
|
|
|
+ console.log(this.form.prodProductionRequireList)
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|