AVG日志记录
This commit is contained in:
parent
b2343d5438
commit
8ba7a12c88
|
@ -54,7 +54,7 @@ export default {
|
|||
show: "查看",
|
||||
},
|
||||
form: {
|
||||
product: 'AVG',
|
||||
product: '18AVG',
|
||||
count_real: 0,
|
||||
count_ok: 0,
|
||||
count_delivered: 0
|
||||
|
|
|
@ -520,7 +520,7 @@
|
|||
@change="equipmenChange"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in equipmentOptions"
|
||||
v-for="item in equipmentOptions1"
|
||||
:key="item.id"
|
||||
:label="item.full_name"
|
||||
:value="item.id"
|
||||
|
@ -597,7 +597,7 @@
|
|||
style="width: 100%"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in equipmentOptions"
|
||||
v-for="item in equipmentOptions2"
|
||||
:key="item.id"
|
||||
:label="item.full_name"
|
||||
:value="item.id"
|
||||
|
@ -1112,7 +1112,8 @@ export default {
|
|||
cateOptions: [],
|
||||
mgroupOptions: [],
|
||||
materialOptions: [],
|
||||
equipmentOptions: [],
|
||||
equipmentOptions1: [],
|
||||
equipmentOptions2: [],
|
||||
wMaterialOptions: [],
|
||||
shiftOptions: [],
|
||||
routeOptions:[],
|
||||
|
@ -1122,6 +1123,7 @@ export default {
|
|||
handle_name: "",
|
||||
leader_name: "",
|
||||
count_n_all: null,
|
||||
equipment_number: "",
|
||||
rules:{
|
||||
|
||||
},
|
||||
|
@ -1211,16 +1213,16 @@ export default {
|
|||
});
|
||||
},
|
||||
equipmenChange(val){
|
||||
this.equipmentOptions.forEach(item=>{
|
||||
let that = this;
|
||||
that.equipmentOptions1.forEach(item=>{
|
||||
if(item.id == val){
|
||||
let number = item.number;
|
||||
let equipment_number = number.substring(number.length - 1);
|
||||
this.equipment_number = equipment_number;
|
||||
let index= this.form.index
|
||||
that.equipment_number = number.substring(number.length - 1);
|
||||
let index= that.form.index;
|
||||
if(index==undefined||index==''||index==null){
|
||||
index=''
|
||||
}
|
||||
this.form.batch=this.material_model+'-'+equipment_number+'-'+this.dateNow+'-'+index;
|
||||
that.form.batch=that.material_model+'-'+that.equipment_number+'-'+that.dateNow+'-'+index;
|
||||
}
|
||||
})
|
||||
},
|
||||
|
@ -1258,8 +1260,11 @@ export default {
|
|||
},
|
||||
//获取设备列表
|
||||
getEquipment() {
|
||||
this.$API.em.equipment.list.req({ page: 0, type: 10 }).then((res) => {
|
||||
this.equipmentOptions = res;
|
||||
this.$API.em.equipment.list.req({ page: 0, type: 10,name__contains:'单坩埚熔化炉' }).then((res1) => {
|
||||
this.equipmentOptions1 = res1;
|
||||
});
|
||||
this.$API.em.equipment.list.req({ page: 0, type: 10,name__contains:'网带式退火炉' }).then((res2) => {
|
||||
this.equipmentOptions2 = res2;
|
||||
});
|
||||
},
|
||||
getMaterial(mgroupId) {
|
||||
|
|
Loading…
Reference in New Issue