fix:
This commit is contained in:
parent
04fd2c4899
commit
eac434c0ea
|
|
@ -400,7 +400,7 @@ export default {
|
||||||
if(this.form.type2==10){//抽检
|
if(this.form.type2==10){//抽检
|
||||||
this.form.count_sampling_ok = this.form.count_sampling - this.form.count_notok;
|
this.form.count_sampling_ok = this.form.count_sampling - this.form.count_notok;
|
||||||
this.count_ok_rate = ((this.form.count_sampling_ok/this.form.count_sampling)*100).toFixed(2);
|
this.count_ok_rate = ((this.form.count_sampling_ok/this.form.count_sampling)*100).toFixed(2);
|
||||||
}else{//全检
|
}else if(this.form.type2==20){//全检
|
||||||
this.form.count_ok = this.form.count - this.form.count_notok;
|
this.form.count_ok = this.form.count - this.form.count_notok;
|
||||||
this.count_ok_rate = ((this.form.count_ok/this.form.count)*100).toFixed(2);
|
this.count_ok_rate = ((this.form.count_ok/this.form.count)*100).toFixed(2);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,12 @@
|
||||||
<el-card style="width: 100%" header="基本信息" shadow="never">
|
<el-card style="width: 100%" header="基本信息" shadow="never">
|
||||||
<el-descriptions>
|
<el-descriptions>
|
||||||
<el-descriptions-item label="工艺路线">{{
|
<el-descriptions-item label="工艺路线">{{
|
||||||
|
mlogItem.routepack_name
|
||||||
|
}}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="输入物料">{{
|
||||||
|
mlogItem.material_in_name
|
||||||
|
}}</el-descriptions-item>
|
||||||
|
<el-descriptions-item label="输出物料">{{
|
||||||
mlogItem.material_out_name
|
mlogItem.material_out_name
|
||||||
}}</el-descriptions-item>
|
}}</el-descriptions-item>
|
||||||
<el-descriptions-item label="工段名称">{{
|
<el-descriptions-item label="工段名称">{{
|
||||||
|
|
|
||||||
|
|
@ -312,6 +312,7 @@ export default {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getEquipment() {
|
getEquipment() {
|
||||||
|
let that = this;
|
||||||
this.$API.em.equipment.list.req({ page: 0, type: 10,mgroup:that.mgroup}).then((res) => {
|
this.$API.em.equipment.list.req({ page: 0, type: 10,mgroup:that.mgroup}).then((res) => {
|
||||||
this.options = res;
|
this.options = res;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue