2024-07-09 设备-备品备件出入库-备品备件时间展示问题+删除后提示

yangwl
A0010407 5 months ago
parent 4eac06b6de
commit dfa4cd03d9

@ -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("删除成功");
}) })

Loading…
Cancel
Save