出入库

This commit is contained in:
xielue 2023-11-16 14:45:48 +08:00
parent c61a000f4b
commit 4f14b07bef
4 changed files with 7 additions and 10 deletions

View File

@ -115,16 +115,13 @@ export default {
{ field: 'product_detail.mes_materials_sort.name', sortable: true, title: '料品分类', width: 100 }, //
{ field: 'product_detail.name', sortable: true, title: '料品名称', width: 250 }, //
{ field: 'product_detail.name', sortable: true, title: '料品名称', width: 250 }, //
{ field: 'product_detail.code', sortable: true, title: '料品编码', width: 120 }, //
{ field: 'product_detail.spec', sortable: true, title: '规格型号', width: 150 }, //
{ field: 'product_detail.size', sortable: true, title: '尺寸', width: 100 }, //
{ field: 'product_detail.color', sortable: true, title: '颜色', width: 100 }, //
{ field: 'stock', sortable: true, title: '库存数量', width: 100 }, //
{ field: 'create_time', formatter: 'formatDate', width: 100, sortable: true, title: '创建时间', showHeaderOverflow: true }, //
{ field: 'update_time', formatter: 'formatDate', width: 100, sortable: true, title: '更新时间', showHeaderOverflow: true }, //
{ field: 'id' ,slots:{default:'column1'}, sortable: true, title: '出入库操作', width: 160,fixed:"right" }, //

View File

@ -204,7 +204,7 @@ export default {
closeRoute: "/MesStock/MesStockIn"
});
//
this.$openPage('/MesStock/MesStockList')
this.$openPage('/MesStock/MesStockPositionList')
},

View File

@ -204,7 +204,7 @@ export default {
closeRoute: "/MesStock/MesStockOut"
});
//
this.$openPage('/MesStock/MesStockList')
this.$openPage('/MesStock/MesStockPositionList')
},

View File

@ -2,8 +2,8 @@
<basic-page-list :desc="desc" :options="pageOptions">
<template v-slot:column1="{ row }">
<a-button class="in" type="primary" @click="stockIn(row.stock_id)">入库</a-button>
<a-button class="out" @click="stockOut(row.stock_id)">出库</a-button>
<a-button class="in" type="primary" @click="stockIn(row.id)">入库</a-button>
<a-button class="out" @click="stockOut(row.id)">出库</a-button>
</template>