Browse Source

工艺配置扫码规则调整

langfang-develop
liwei 3 years ago
parent
commit
214e2369f3
1 changed files with 21 additions and 1 deletions
  1. +21
    -1
      src/views/plant/processData/technology/scanRule.vue

+ 21
- 1
src/views/plant/processData/technology/scanRule.vue View File

@ -37,7 +37,17 @@
:label="getColumnName('ScanRuleInfo-SRCtrlPara1')"
prop="ScanRuleInfo-SRCtrlPara1"
>
<el-input v-model="formData['ScanRuleInfo-SRCtrlPara1']" />
<el-select
v-model="formData['ScanRuleInfo-SRCtrlPara1']"
placeholder="请选择"
>
<el-option
v-for="item in SRCtrlPara1List"
:key="item['stdeftab-stdeftyp']"
:label="item['stdeftab-bez']"
:value="item['stdeftab-stdeftyp']"
/>
</el-select>
</el-form-item
></el-col>
<el-col :span="6">
@ -116,9 +126,13 @@ export default {
'ScanRuleInfo-RuleType': [
{ required: true, message: '请选择', trigger: 'blur' }
],
'ScanRuleInfo-SRCtrlPara1': [
{ required: true, message: '请选择', trigger: 'blur' }
],
},
loading:false,
ruleTypeList:[], // RuleType
SRCtrlPara1List:[],
}
},
methods:{
@ -166,9 +180,15 @@ export default {
}).catch(()=>{
})
},
getSRCtrlPara1List(){
this.getStanderOne({ statid: 'ScanRuleInfo-SRCtrlPara1' }).then(({data=[]})=>{
this.SRCtrlPara1List=data;
})
}
},
created(){
this.getSRCtrlPara1List();
this.getRuleType();
},
mounted(){


Loading…
Cancel
Save