@@ -50,6 +50,9 @@
import {
getJimuPutawayJobDetail
} from '@/api/request2.js';
+ import {
+ dateFormat
+ } from '@/common/basic.js';
// 打印页面的模板
const htmlFileUrl = '/hybrid/html/pointPutawayJob.html';
import {
@@ -93,8 +96,11 @@
}, function(e) {
console.log("获取图片资源失败:" + e.message);
});
- }
+ },
// #endif
+ formatDate(val) {
+ return dateFormat(val)
+ }
},
watch: {
isLoadFinish: {
@@ -115,7 +121,9 @@
}
},
async onShow() {
- await getJimuPutawayJobDetail(this.data.ids).then(res=>{
+ await getJimuPutawayJobDetail({
+ masterIds:this.data.ids
+ }).then(res=>{
this.data.sublist = res.data
})
// 获取数据
@@ -187,7 +195,7 @@
创建人:${this.data.creator}
- 创建时间:${this.data.createTime}
+ 创建时间:${this.formatDate(this.data.createTime)}