uu
This commit is contained in:
parent
70d4609cbc
commit
732b1f9c64
@ -15,7 +15,8 @@
|
||||
</view>
|
||||
</u-row>
|
||||
<view class="mt-20 clr-sub">
|
||||
当前件: 重量 <text class="clr-prm pr-40">1.2KG</text> 体积: <text class="clr-prm">0.1m³</text>
|
||||
当前件: 重量 <text class="clr-prm pr-40">{{curScanItem.billWeight || 0}}KG</text>
|
||||
数量: <text class="clr-prm">{{curScanItem.parcelQty || 0}}件</text>
|
||||
</view>
|
||||
|
||||
<view class="mt-30">
|
||||
@ -98,7 +99,8 @@
|
||||
},
|
||||
resData: {
|
||||
list: []
|
||||
}
|
||||
},
|
||||
curScanItem: {},
|
||||
}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
@ -129,7 +131,8 @@
|
||||
let paiRes = await apiService.scanRecord({...paiParam, _loading: true})
|
||||
let { bl, resItem } = ansScanResponse({ res: paiRes, title: "到派件" })
|
||||
if(bl) {
|
||||
this.resData.list.push({ ...resItem })
|
||||
this.curScanItem = resItem
|
||||
this.resData.list.unshift({ ...resItem })
|
||||
this.resetForm()
|
||||
}
|
||||
}
|
||||
|
||||
@ -85,7 +85,8 @@
|
||||
},
|
||||
resData: {
|
||||
list: []
|
||||
}
|
||||
},
|
||||
curScanItem: {},
|
||||
}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
@ -112,7 +113,8 @@
|
||||
let res = await apiService.scanRecord({...scnParam, _loading: true})
|
||||
let { bl, resItem } = ansScanResponse({ res, title: "到件" })
|
||||
if(bl) {
|
||||
this.resData.list.push({ ...resItem })
|
||||
this.curScanItem = resItem
|
||||
this.resData.list.unshift({ ...resItem })
|
||||
this.resetForm()
|
||||
}
|
||||
},
|
||||
|
||||
@ -15,7 +15,8 @@
|
||||
</view>
|
||||
</u-row>
|
||||
<view class="mt-20 clr-sub">
|
||||
当前件: 重量 <text class="clr-prm pr-40">1.2KG</text> 体积: <text class="clr-prm">0.1m³</text>
|
||||
当前件: 重量 <text class="clr-prm pr-40">{{curScanItem.billWeight || 0}}KG</text>
|
||||
数量: <text class="clr-prm">{{curScanItem.parcelQty || 0}}件</text>
|
||||
</view>
|
||||
|
||||
<view class="mt-30">
|
||||
@ -98,7 +99,8 @@
|
||||
},
|
||||
resData: {
|
||||
list: []
|
||||
}
|
||||
},
|
||||
curScanItem: {},
|
||||
}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
@ -125,7 +127,8 @@
|
||||
let res = await apiService.scanRecord({...scnParam, _loading: true})
|
||||
let { bl, resItem } = ansScanResponse({ res, title: "派件" })
|
||||
if(bl) {
|
||||
this.resData.list.push({ ...resItem })
|
||||
this.curScanItem = resItem
|
||||
this.resData.list.unshift({ ...resItem })
|
||||
this.resetForm()
|
||||
}
|
||||
},
|
||||
|
||||
@ -97,7 +97,8 @@
|
||||
},
|
||||
siteRes: {
|
||||
list: []
|
||||
}
|
||||
},
|
||||
curScanItem: {},
|
||||
}
|
||||
},
|
||||
onShareAppMessage() {
|
||||
@ -123,7 +124,8 @@
|
||||
let res = await apiService.scanRecord({...scnParam, _loading: true})
|
||||
let { bl, resItem } = ansScanResponse({ res, title: "发件" })
|
||||
if(bl) {
|
||||
this.resData.list.push({ ...resItem })
|
||||
this.curScanItem = resItem
|
||||
this.resData.list.unshift({ ...resItem })
|
||||
this.resetForm()
|
||||
}
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user