fix:bug 修正

This commit is contained in:
shijing 2025-11-20 09:41:30 +08:00
parent 15a4ac27d6
commit e673838e36
1 changed files with 5 additions and 3 deletions

View File

@ -3,17 +3,17 @@
<el-header> <el-header>
<div class="left-panel"> <div class="left-panel">
<el-button type="primary" @click="tomio('do_out')" v-auth="'mio.do'" <el-button type="primary" @click="tomio('do_out')" v-auth="'mio.do'"
v-if="mgroupName!=='size'&&mgroupName!=='facade'&&project_code=='gxerp'" v-if="mgroupName!=='size'&&mgroupName!=='facade'&&project_code=='gx'"
>领料</el-button> >领料</el-button>
<el-button type="primary" @click="tomio('do_in')" v-auth="'mio.do'">入库</el-button> <el-button type="primary" @click="tomio('do_in')" v-auth="'mio.do'">入库</el-button>
<el-button <el-button
type="primary" type="primary"
@click="tomio('return_in')" @click="tomio('return_in')"
v-auth="'mio.do'" v-auth="'mio.do'"
v-if="project_code=='gxerp'" v-if="project_code=='gx'"
>退还入库</el-button> >退还入库</el-button>
<el-select <el-select
v-if="project_code=='gxerp'" v-if="project_code=='gx'"
v-model="query.type" v-model="query.type"
clearable clearable
style="width: 120px; margin-left: 2px" style="width: 120px; margin-left: 2px"
@ -225,6 +225,7 @@ export default {
process: "", process: "",
cate: "good", cate: "good",
mioId: "", mioId: "",
project_code: "",
visibleDrawer: false, visibleDrawer: false,
inmRecordDialog:false, inmRecordDialog:false,
}; };
@ -234,6 +235,7 @@ export default {
that.params.mgroup = that.mgroupId; that.params.mgroup = that.mgroupId;
that.apiObj = that.$API.inm.mio.list; that.apiObj = that.$API.inm.mio.list;
that.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code; that.project_code = this.$TOOL.data.get("BASE_INFO").base.base_code;
console.log("project_code",that.project_code);
}, },
methods: { methods: {
tomio(type) { tomio(type) {