fix:出入库记录添加退还入库

This commit is contained in:
shijing 2025-07-30 15:50:24 +08:00
parent 8ea961626d
commit 8216495736
1 changed files with 11 additions and 12 deletions

View File

@ -4,23 +4,18 @@
<div class="left-panel">
<el-button type="primary" @click="tomio('do_out')" v-auth="'mio.do'"
v-if="mgroupName!=='size'&&mgroupName!=='facade'"
>领料</el-button
>
<el-button type="primary" @click="tomio('do_in')" v-auth="'mio.do'"
>入库</el-button
>
>领料</el-button>
<el-button type="primary" @click="tomio('do_in')" v-auth="'mio.do'">入库</el-button>
<!-- <el-button
type="primary"
@click="add('do_out')"
@click="tomio('borrow_out')"
v-auth="'mio.do'"
>生产领料</el-button
>
>领用出库</el-button> -->
<el-button
type="primary"
@click="add('do_in')"
@click="tomio('return_in')"
v-auth="'mio.do'"
>生产入库</el-button
> -->
>退还入库</el-button>
<el-select
v-model="query.type"
clearable
@ -208,10 +203,14 @@ export default {
typeDict: {
do_out: "生产领料",
do_in: "生产入库",
borrow_out: "领用出库",
return_in: "退还入库",
},
cateOptions: [
{ id: "do_out", name: "生产领料" },
{ id: "do_in", name: "生产入库" },
{ id: "borrow_out", name: "领用出库" },
{ id: "return_in", name: "退还入库" },
],
dialog: {
save: false,
@ -219,7 +218,7 @@ export default {
},
query: {},
params: {
type__in: "do_out,do_in",
type__in: "do_out,do_in,borrow_out,return_in",
mgroup:""
},
form: {},