fix:光子车间中检提交后列表刷新
This commit is contained in:
parent
cb884b054b
commit
1e4842b47e
|
|
@ -320,7 +320,7 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" fixed="right" align="right" width="55">
|
<el-table-column label="操作" fixed="right" align="right" width="55">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-link link type="primary" @click.stop="inm_test(scope.row)">检验</el-link>
|
<el-link link type="primary" @click.stop="inm_test(scope.row)" v-auth="'ftestwork.create'">检验</el-link>
|
||||||
<el-link link type="success" @click.stop="inm_record(scope.row)">记录</el-link>
|
<el-link link type="success" @click.stop="inm_record(scope.row)">记录</el-link>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
@ -334,6 +334,7 @@
|
||||||
<middle-dialog
|
<middle-dialog
|
||||||
ref="inmTestDialog"
|
ref="inmTestDialog"
|
||||||
v-if="dialogInmTest"
|
v-if="dialogInmTest"
|
||||||
|
@success = "inmTestSuccess"
|
||||||
@closed="dialogInmTest = false">
|
@closed="dialogInmTest = false">
|
||||||
</middle-dialog>
|
</middle-dialog>
|
||||||
<showDrawer
|
<showDrawer
|
||||||
|
|
@ -555,6 +556,9 @@ export default {
|
||||||
this.$refs.inmTestDialog.open('6车间').setData(row);
|
this.$refs.inmTestDialog.open('6车间').setData(row);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
inmTestSuccess(){
|
||||||
|
this.$refs.table_wm.refresh();
|
||||||
|
},
|
||||||
//获取当前车间物料的检验记录
|
//获取当前车间物料的检验记录
|
||||||
inm_record(row){
|
inm_record(row){
|
||||||
this.wm = row.id;
|
this.wm = row.id;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue