fix:车间库存领料时mioitem可删除
This commit is contained in:
parent
c99e2c8d1b
commit
29c5eeb514
|
|
@ -168,6 +168,16 @@
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="数量" prop="count">
|
<el-table-column label="数量" prop="count">
|
||||||
</el-table-column>
|
</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>
|
</scTable>
|
||||||
</el-main>
|
</el-main>
|
||||||
</el-container>
|
</el-container>
|
||||||
|
|
@ -482,6 +492,13 @@ export default {
|
||||||
that.visible = false;
|
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() {},
|
submitOut() {},
|
||||||
//打印
|
//打印
|
||||||
handlePrint(){
|
handlePrint(){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue