|
|
@ -169,7 +169,7 @@
|
|
|
|
width="180"
|
|
|
|
width="180"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d}") }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.createTime, "{y}-{m}-{d} {h}:{i}:{s}") }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<el-table-column
|
|
|
|
<el-table-column
|
|
|
@ -191,7 +191,7 @@
|
|
|
|
width="180"
|
|
|
|
width="180"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span>{{ parseTime(scope.row.updateTime, "{y}-{m}-{d}") }}</span>
|
|
|
|
<span>{{ parseTime(scope.row.updateTime, "{y}-{m}-{d} {h}:{i}:{s}") }}</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
<!-- <el-table-column
|
|
|
|
<!-- <el-table-column
|
|
|
@ -494,7 +494,10 @@ export default {
|
|
|
|
.then(function () {
|
|
|
|
.then(function () {
|
|
|
|
return delSparepartsInOutStorage(ids);
|
|
|
|
return delSparepartsInOutStorage(ids);
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.then(() => {
|
|
|
|
.then((response) => {
|
|
|
|
|
|
|
|
if(response.code == 500){
|
|
|
|
|
|
|
|
this.$modal.msgSuccess(response.msg);
|
|
|
|
|
|
|
|
}
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
})
|
|
|
|
})
|
|
|
|