feat: 单据中增加时间和操作人

This commit is contained in:
砂糖
2025-08-19 17:21:55 +08:00
parent 808d1ca513
commit 7c14c37055
3 changed files with 6 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ export default {
},
buttonLoading: false,
itemId: undefined,
activeStep: 1,
activeStep: 0,
bomId: undefined,
};
},

View File

@@ -229,7 +229,7 @@ export default {
SemiSelect,
MaterialSelect
},
dicts: ['stock_item_type', 'stock_biz_type'],
dicts: ['stock_item_type', 'stock_biz_type', 'stock_io_type'],
props: {
stockIo: {
type: Object,

View File

@@ -44,7 +44,7 @@
<el-table v-loading="loading" :data="stockIoList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="出入库单ID" align="center" prop="stockIoId" v-if="true" />
<el-table-column label="出入库单ID" align="center" prop="stockIoId" v-if="false" />
<el-table-column label="出入库单号" align="center" prop="stockIoCode" />
<el-table-column label="类型" align="center" prop="ioType">
<template slot-scope="scope">
@@ -67,6 +67,8 @@
</template>
</el-table-column>
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="创建时间" align="center" prop="createTime" />
<el-table-column label="创建人" align="center" prop="createBy" />
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)">修改</el-button>
@@ -124,7 +126,7 @@ import ReturnCreatePanel from './returnCreate.vue';
export default {
name: "StockIo",
dicts: ['stock_biz_type', 'stock_status'],
dicts: ['stock_biz_type', 'stock_status', 'stock_io_type'],
components: { StockIoDetailPanel, ReturnCreatePanel },
props: {
ioType: {