|
|
|
@ -63,7 +63,7 @@
|
|
|
|
<!-- <el-table-column label="盘点日期" align="center" prop="updateTime" sortable='custom'/>-->
|
|
|
|
<!-- <el-table-column label="盘点日期" align="center" prop="updateTime" sortable='custom'/>-->
|
|
|
|
<el-table-column label="入库日期" align="center" prop="stockDate" sortable='custom'>
|
|
|
|
<el-table-column label="入库日期" align="center" prop="stockDate" sortable='custom'>
|
|
|
|
<template slot-scope="{ row }">
|
|
|
|
<template slot-scope="{ row }">
|
|
|
|
{{ formatDate(row.stockDate) }}
|
|
|
|
{{ parseTime(row.stockDate, '{y}-{m}-{d}') }}
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="120px">
|
|
|
|
<el-table-column label="操作" fixed="right" align="center" class-name="small-padding fixed-width" width="120px">
|
|
|
|
@ -341,10 +341,6 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
formatDate(timestamp) {
|
|
|
|
|
|
|
|
const date = new Date(timestamp);
|
|
|
|
|
|
|
|
return date.toISOString().split('T')[0];
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
getNewListCkstock() {
|
|
|
|
getNewListCkstock() {
|
|
|
|
let param = {};
|
|
|
|
let param = {};
|
|
|
|
newListCkstock(param).then(response => {
|
|
|
|
newListCkstock(param).then(response => {
|
|
|
|
|