|
|
@@ -113,27 +113,21 @@
|
|
|
:data="tableData"
|
|
|
@cell-click="handleCellClick"
|
|
|
:header-cell-style="{ background: '#EEEEEE', border: 'none' }"
|
|
|
- ><el-table-column width="80px" label="序号">
|
|
|
- <template slot-scope="{ $index }">
|
|
|
- {{ $tableIndex($index, page, size) }}
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="入库单号" prop="bizNum"></el-table-column>
|
|
|
+ >
|
|
|
+ <el-table-column width="80px" label="序号" type="index" />
|
|
|
+ <el-table-column label="入库单号" prop="bizNo"></el-table-column>
|
|
|
<el-table-column label="入库场景" prop="bizScene">
|
|
|
<template slot-scope="{ row }">{{
|
|
|
getSceneState(+row.bizScene)
|
|
|
}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
- label="入库数量"
|
|
|
- prop="measurementUnit"
|
|
|
- ></el-table-column>
|
|
|
+ <el-table-column label="入库数量" prop="countNo"></el-table-column>
|
|
|
<el-table-column label="计量单位" prop="unit"></el-table-column>
|
|
|
- <el-table-column label="包装数量" prop="outInNum"></el-table-column>
|
|
|
- <el-table-column label="包装单位" prop="minPackUnit"></el-table-column>
|
|
|
- <el-table-column label="操作人" prop="createUsername"></el-table-column>
|
|
|
- <el-table-column label="审核人" prop="verifyName"></el-table-column>
|
|
|
- <el-table-column label="入库时间" prop="verifyTime"></el-table-column>
|
|
|
+ <el-table-column label="包装数量" prop="packageNo"></el-table-column>
|
|
|
+ <el-table-column label="包装单位" prop="packingUnit"></el-table-column>
|
|
|
+ <el-table-column label="操作人" prop=""></el-table-column>
|
|
|
+ <el-table-column label="审核人" prop=""></el-table-column>
|
|
|
+ <el-table-column label="入库时间" prop="createTime"></el-table-column>
|
|
|
</el-table>
|
|
|
<Pagination
|
|
|
:total="total"
|
|
|
@@ -152,10 +146,10 @@
|
|
|
<script>
|
|
|
import Pagination from '@/components/Pagination';
|
|
|
// import { getInWarehouseDetail } from '@/api/stockManagement/stockLedger'
|
|
|
- // import { sceneState } from '@/utils/dict/index'
|
|
|
+ import { sceneState } from '@/utils/dict/index';
|
|
|
import InWarehouseDialog from './InWarehouseDialog';
|
|
|
import { inventorybookPage } from '@/api/classifyManage/itemInformation';
|
|
|
- // import { useDictLabel } from '@/utils/dict/index'
|
|
|
+ import { useDictLabel } from '@/utils/dict/index';
|
|
|
|
|
|
import ouint from '@/api/warehouseManagement/outin';
|
|
|
export default {
|
|
|
@@ -172,7 +166,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- // sceneState,
|
|
|
+ sceneState,
|
|
|
sceneState: [],
|
|
|
searchForm: {
|
|
|
bizNum: '',
|
|
|
@@ -191,7 +185,7 @@
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
|
- // getSceneState: useDictLabel(sceneState),
|
|
|
+ getSceneState: useDictLabel(sceneState),
|
|
|
search() {
|
|
|
this.page = 1;
|
|
|
this.getList();
|
|
|
@@ -211,13 +205,13 @@
|
|
|
size: this.size,
|
|
|
page: this.page,
|
|
|
type: 1,
|
|
|
- ...this.baseParams,
|
|
|
+ ...this.baseParams
|
|
|
// ...this.searchForm,
|
|
|
// batchNum: this.baseParams.batchNum || this.searchForm.batchNum
|
|
|
});
|
|
|
- if (res?.success) {
|
|
|
- this.tableData = res.data.records;
|
|
|
- this.total = res.data.total;
|
|
|
+ if (res) {
|
|
|
+ this.tableData = res.list;
|
|
|
+ this.total = res.count;
|
|
|
}
|
|
|
}
|
|
|
}
|