fix:coding#501
This commit is contained in:
parent
3fbd419ffd
commit
eb0076444f
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
});
|
||||
},
|
||||
//查看
|
||||
|
|
Loading…
Reference in New Issue