fix:尺寸外观(成品)检验添加检验设备和备注
This commit is contained in:
parent
05649491ab
commit
431fcf4bd8
|
@ -127,6 +127,32 @@
|
|||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24">
|
||||
<el-form-item label="检验设备">
|
||||
<el-select
|
||||
v-model="form.equipment"
|
||||
placeholder="检验设备"
|
||||
clearable
|
||||
filterable
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in eqOptions"
|
||||
:key="item.id"
|
||||
:label="item.label"
|
||||
:value="item.id"
|
||||
>
|
||||
<span style="float:left">{{item.name}}</span>
|
||||
<span style="float:right">{{item.number}}</span>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :md="12" :sm="24">
|
||||
<el-form-item label="备注">
|
||||
<el-input v-model="form.note" placeholder="备注"></el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-divider style="margin-top:0"></el-divider>
|
||||
<el-row v-if="mode=='sizeAdd'||mode=='sizeEdit'||mode=='sizeShow'">
|
||||
|
@ -482,6 +508,7 @@ export default {
|
|||
visible: false,
|
||||
isSaveing: false,
|
||||
options: [],
|
||||
eqOptions: [],
|
||||
userList:[],
|
||||
shiftOtions:[],
|
||||
selectionFilters: [],
|
||||
|
@ -491,6 +518,7 @@ export default {
|
|||
mounted() {
|
||||
this.getUsers();
|
||||
this.getShift();
|
||||
this.geteEqOptions();
|
||||
},
|
||||
methods: {
|
||||
//显示
|
||||
|
@ -515,6 +543,11 @@ export default {
|
|||
that.userList = res;
|
||||
});
|
||||
},
|
||||
geteEqOptions(){
|
||||
that.$API.system.user.list.req({ page: 0, type:20 }).then((res) => {
|
||||
that.eqOptions = res;
|
||||
});
|
||||
},
|
||||
handleCheckChange(){
|
||||
this.form.count_ok = this.form.count-this.form.count_notok;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue