fix:coding#501

This commit is contained in:
shijing 2024-10-11 10:46:59 +08:00
parent 3fbd419ffd
commit eb0076444f
2 changed files with 22 additions and 37 deletions

View File

@ -1410,6 +1410,17 @@ const routes = [
// },
// component: "wpm_gx/print",
// },
// {
// name: "printTest",
// path: "/wpm_gx/print",
// meta: {
// title: "打印测试",
// icon: "el-icon-files",
// perms: ["wpm_gx"],
// },
// component: "setting/print/A4",
// },
{
name: "qiepian",
path: "/wpm_gx/qiepian",
@ -1869,7 +1880,16 @@ const routes = [
},
component: "inm/mioitem",
},
{
name: "workshop_mio",
path: "/inm/workshop_mio",
meta: {
title: "车间出入库记录",
perms: ["workshop_mio"],
// hidden: true,
},
component: "inm/workshop_mio",
},
],
},
//采购 pum

View File

@ -106,41 +106,6 @@
>
查看
</el-button>
<el-button
link
type="primary"
@click="table_edit(scope.row)"
v-if="scope.row.state == 10"
>
编辑
</el-button>
<el-button
link
type="primary"
@click="table_submit(scope.row)"
v-auth="'mio.submit'"
v-if="scope.row.state == 10"
>
提交
</el-button>
<el-button
link
type="danger"
@click="table_del(scope.row)"
v-auth="'mio.delete'"
v-if="scope.row.state == 10"
>
删除
</el-button>
<el-button
link
type="warning"
@click="revert(scope.row)"
v-auth="'mio.submit'"
v-if="scope.row.state == 20"
>
撤销
</el-button>
</template>
</el-table-column>
</scTable>
@ -219,7 +184,7 @@ export default {
table_edit(row) {
this.dialog.save = true;
this.$nextTick(() => {
this.$refs.saveDialog.open("edit", type).setData(row);
this.$refs.saveDialog.open("edit", row.type).setData(row);
});
},
//