|
@@ -174,11 +174,13 @@ export default {
|
|
|
method: 'POST',
|
|
method: 'POST',
|
|
|
data: this.$http.adornData(dataBody),
|
|
data: this.$http.adornData(dataBody),
|
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
|
- if(data.result){
|
|
|
|
|
|
|
+ if(data){
|
|
|
this.getLogisticsInfo(this.scanOrderNo);
|
|
this.getLogisticsInfo(this.scanOrderNo);
|
|
|
if(this.logistics === 'YUNDA'){
|
|
if(this.logistics === 'YUNDA'){
|
|
|
- //打印韵达面单
|
|
|
|
|
- this.printWallbill(data)
|
|
|
|
|
|
|
+ if(!data.hadPrint){
|
|
|
|
|
+ //打印韵达面单
|
|
|
|
|
+ this.printWallbill(data.orderLogistics)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}else{
|
|
}else{
|
|
|
this.$message.error(data.errorMsg)
|
|
this.$message.error(data.errorMsg)
|