fix:退火已完成物料也加检验
This commit is contained in:
parent
3e124050c4
commit
bf0a9fd5a2
|
@ -140,7 +140,7 @@ export default {
|
||||||
that.mgroupMtype = res[0].mtype;
|
that.mgroupMtype = res[0].mtype;
|
||||||
that.processtype = res[0].process_type;
|
that.processtype = res[0].process_type;
|
||||||
that.mgroupDept = res[0].belong_dept;
|
that.mgroupDept = res[0].belong_dept;
|
||||||
if(that.mgroupName=='黑化'){
|
if(that.mgroupName=='黑化'||that.mgroupName=='退火'){
|
||||||
that.options.push("检验记录")
|
that.options.push("检验记录")
|
||||||
}
|
}
|
||||||
that.componentsShow = true;
|
that.componentsShow = true;
|
||||||
|
|
|
@ -114,14 +114,14 @@
|
||||||
@click="table_Check(scope.row)"
|
@click="table_Check(scope.row)"
|
||||||
v-auth="'ftestwork.create'"
|
v-auth="'ftestwork.create'"
|
||||||
type="primary"
|
type="primary"
|
||||||
v-if="scope.row.mgroup_name == '黑化'&&scope.row.state == 10"
|
v-if="(scope.row.mgroup_name == '黑化'||scope.row.mgroup_name == '退火')&&(scope.row.state == 10||scope.row.state == 20||scope.row.state == 34)"
|
||||||
>检验
|
>检验
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
link size="small"
|
link size="small"
|
||||||
type="warning"
|
type="warning"
|
||||||
@click="tableCheckList(scope.row)"
|
@click="tableCheckList(scope.row)"
|
||||||
v-if="scope.row.mgroup_name == '黑化'&&scope.row.state == 10"
|
v-if="(scope.row.mgroup_name == '黑化'||scope.row.mgroup_name == '退火')&&(scope.row.state == 10||scope.row.state == 20||scope.row.state == 34)"
|
||||||
>检验记录
|
>检验记录
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button @click="printMaterial(scope.row)" type="text">物料标签</el-button>
|
<el-button @click="printMaterial(scope.row)" type="text">物料标签</el-button>
|
||||||
|
|
Loading…
Reference in New Issue