uu
This commit is contained in:
parent
4539e4b856
commit
d1ad2052f5
@ -204,7 +204,7 @@ const dealBtnMap = {
|
||||
daoPaiScan: { title: '到派扫描', subTitle: "", icon: getCdnUrl(`home/daohsm.png`), url: 'deliveryDeal/arriveDeliveryScanning' },
|
||||
woDeErWeiMa: { title: '我的二维码', subTitle: "", icon: getCdnUrl(`mine/zhshu.png`), url: 'user/exclusiveQrcode' },
|
||||
mianDanDayin: { title: '面单打印', subTitle: "", icon: getCdnUrl(`home/mdbuda.png`), url: 'print/courierNote' },
|
||||
kuaiJianGenZong: { title: '快件跟踪', subTitle: "", icon: getCdnUrl(`home/kdchxun.png`), url: '' },
|
||||
kuaiJianGenZong: { title: '快件跟踪', subTitle: "", icon: getCdnUrl(`home/kdchxun.png`), url: 'post/query' },
|
||||
heBaoScan: { title: '合包扫描', subTitle: "", icon: getCdnUrl(`home/hebaosm.png`), url: 'tms/coPackingScanning' },
|
||||
zhuangGuiScan: { title: '装柜扫描', subTitle: "", icon: getCdnUrl(`home/zhuangchesm.png`), url: 'deliveryDeal/shipping' },
|
||||
faJianQingDan: { title: '发件清单', subTitle: "", icon: getCdnUrl(`home/fjqingdan.png`), url: 'deliveryDeal/sendList' },
|
||||
|
||||
@ -23,14 +23,14 @@
|
||||
货物图片
|
||||
</view>
|
||||
<view style="width: 120rpx;">
|
||||
<u-button @click="handleCheckDanJu" :plain="true" shape="circle" custom-style="margin: 0 10rpx;height:50rpx;font-size: 28rpx;">
|
||||
<u-button @click="handleCheckDanJu(1)" :plain="true" shape="circle" custom-style="margin: 0 10rpx;height:50rpx;font-size: 28rpx;">
|
||||
查看
|
||||
</u-button>
|
||||
</view>
|
||||
</u-row>
|
||||
<view>
|
||||
<u-row>
|
||||
<u-image @click="handlePreviewDiDan()" :src="getCdnUrl(`mine/kjcha.png`)" width="100" height="50" mode="aspectFill"
|
||||
<u-image @click="handlePreviewDiDan(modelInfo.huoPreviewUrl)" :src="modelInfo.huoPreviewUrl" width="100" height="50" mode="aspectFill"
|
||||
custom-style="margin: 20rpx 20rpx 0 0;"
|
||||
></u-image>
|
||||
</u-row>
|
||||
@ -41,14 +41,14 @@
|
||||
签收底单
|
||||
</view>
|
||||
<view style="width: 120rpx;">
|
||||
<u-button @click="handleCheckDanJu" :plain="true" shape="circle" custom-style="margin: 0 10rpx;height:50rpx;font-size: 28rpx;">
|
||||
<u-button @click="handleCheckDanJu(2)" :plain="true" shape="circle" custom-style="margin: 0 10rpx;height:50rpx;font-size: 28rpx;">
|
||||
查看
|
||||
</u-button>
|
||||
</view>
|
||||
</u-row>
|
||||
<view>
|
||||
<u-row>
|
||||
<u-image @click="handlePreviewDiDan()" :src="getCdnUrl(`mine/kjcha.png`)" width="100" height="50" mode="aspectFill"
|
||||
<u-image @click="handlePreviewDiDan(modelInfo.signPreviewUrl)" :src="modelInfo.signPreviewUrl" width="100" height="50" mode="aspectFill"
|
||||
custom-style="margin: 20rpx 20rpx 0 0;"
|
||||
></u-image>
|
||||
</u-row>
|
||||
@ -148,14 +148,20 @@
|
||||
initData() {
|
||||
|
||||
},
|
||||
handleCheckDanJu() {
|
||||
this.danCheckModal.show = true
|
||||
handleCheckDanJu(type) {
|
||||
let url = ''
|
||||
if(type == 1) {
|
||||
url = this.modelInfo.huoPreviewUrl = ''
|
||||
}
|
||||
if(type == 2) {
|
||||
url = this.modelInfo.signPreviewUrl = ''
|
||||
}
|
||||
this.handlePreviewDiDan(url)
|
||||
// this.danCheckModal.show = true
|
||||
},
|
||||
handlePreviewDiDan() {
|
||||
handlePreviewDiDan(url = '') {
|
||||
uni.previewImage({
|
||||
urls: [
|
||||
this.getCdnUrl(`mine/kjcha.png`)
|
||||
]
|
||||
urls: url?.join?.(",")
|
||||
})
|
||||
},
|
||||
handleScanValChange: debounce(function(val){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user