fix:车间库存领料时mioitem可删除
This commit is contained in:
parent
c99e2c8d1b
commit
29c5eeb514
|
@ -168,6 +168,16 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="数量" prop="count">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="操作"
|
||||
fixed="right"
|
||||
align="center"
|
||||
width="60"
|
||||
>
|
||||
<template #default="scope">
|
||||
<el-link :underline="false" @click="itemdelete(scope.row)" type="warning">删除</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</scTable>
|
||||
</el-main>
|
||||
</el-container>
|
||||
|
@ -482,6 +492,13 @@ export default {
|
|||
that.visible = false;
|
||||
});
|
||||
},
|
||||
itemdelete(row){
|
||||
let that = this;
|
||||
that.$API.inm.mioitem.delete.req(row.id).then((res) => {
|
||||
that.$message.success("删除成功");
|
||||
that.$refs.tables.refresh();
|
||||
});
|
||||
},
|
||||
submitOut() {},
|
||||
//打印
|
||||
handlePrint(){
|
||||
|
|
Loading…
Reference in New Issue