|
@@ -178,7 +178,7 @@ export default {
|
|
|
this.getLogisticsInfo(this.scanOrderNo);
|
|
this.getLogisticsInfo(this.scanOrderNo);
|
|
|
if(this.logistics === 'YUNDA'){
|
|
if(this.logistics === 'YUNDA'){
|
|
|
//打印韵达面单
|
|
//打印韵达面单
|
|
|
- this.printWallbill(this.printOrder.orderLogistics)
|
|
|
|
|
|
|
+ this.printWallbill(data)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
this.lastInputStr = substr;
|
|
this.lastInputStr = substr;
|
|
@@ -196,6 +196,7 @@ export default {
|
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
|
if(data){
|
|
if(data){
|
|
|
this.printOrder = data;
|
|
this.printOrder = data;
|
|
|
|
|
+ this.printOrder.orderLogistics = data.orderLogistics;
|
|
|
}
|
|
}
|
|
|
this.infoVisible = true;
|
|
this.infoVisible = true;
|
|
|
}).catch((error) => {
|
|
}).catch((error) => {
|
|
@@ -216,6 +217,10 @@ export default {
|
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
|
if(data){
|
|
if(data){
|
|
|
this.getLogisticsInfo(this.scanOrderNo);
|
|
this.getLogisticsInfo(this.scanOrderNo);
|
|
|
|
|
+ if(this.logistics === 'YUNDA'){
|
|
|
|
|
+ //打印韵达面单
|
|
|
|
|
+ this.printWallbill(this.printOrder.orderLogistics)
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}).catch((error) => {
|
|
}).catch((error) => {
|
|
|
this.$message.error("打印失败")
|
|
this.$message.error("打印失败")
|