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