出入库
This commit is contained in:
parent
c61a000f4b
commit
4f14b07bef
|
|
@ -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" }, // 出入库操作
|
||||
{ field: 'stock', sortable: true, title: '库存数量', width: 100 }, // 库存数量
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ export default {
|
|||
closeRoute: "/MesStock/MesStockIn"
|
||||
});
|
||||
// 打开列表页面
|
||||
this.$openPage('/MesStock/MesStockList')
|
||||
this.$openPage('/MesStock/MesStockPositionList')
|
||||
},
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ export default {
|
|||
closeRoute: "/MesStock/MesStockOut"
|
||||
});
|
||||
// 打开列表页面
|
||||
this.$openPage('/MesStock/MesStockList')
|
||||
this.$openPage('/MesStock/MesStockPositionList')
|
||||
},
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue