feat:禅道237

This commit is contained in:
shijing 2025-12-30 14:20:45 +08:00
parent 591ebf185c
commit 3297fa5a93
1 changed files with 27 additions and 4 deletions

View File

@ -29,6 +29,20 @@
>
<el-table-column label="物料" prop="full_name"></el-table-column>
</xtSelect>
<el-select
v-model="params.mio__type"
clearable
style="width: 120px; margin-left: 2px"
placeholder="出入库类型"
@change="handleQuery"
>
<el-option
v-for="item in cateOptions"
:key="item.id"
:label="item.name"
:value="item.id"
></el-option>
</el-select>
<el-input
v-model="params.search"
placeholder="名称"
@ -171,6 +185,7 @@ export default {
with_mio:'yes',
material__type:40,
mio__state:20,
mio__type:'',
mio__inout_date__gte:'',
mio__inout_date__lte:'',
material:'',
@ -197,13 +212,21 @@ export default {
20: "已提交",
},
typeDict: {
do_out: "生产领料",
sale_out: "销售发货",
pur_in: "采购入库",
do_in: "生产入库",
do_out: "生产领料",
borrow_out: "领用出库",
return_in: "退还入库",
pur_out: "采购退货",
other_in: "其他入库",
other_out: "其他出库",
},
cateOptions: [
{ id: "pur_in", name: "采购入库" },
{ id: "do_out", name: "生产领料" },
{ id: "borrow_out", name: "领用出库" },
{ id: "return_in", name: "退还入库" },
{ id: "pur_out", name: "采购退货"},
{ id: "other_in", name: "其他入库"},
],
selectObj: {},
apiObj:this.$API.inm.mioitem.list,
apiObjm:this.$API.mtm.material.list,