|
@@ -579,7 +579,9 @@
|
|
|
this.weightbills.goodsName = this.inOutNoList[e[0]].goodsName
|
|
|
if (this.detailData.inOutType == '销售出库') {
|
|
|
this.weightbills.buyer = this.inOutNoList[e[0]].buyer
|
|
|
- this.weightbills.seller = uni.getStorageSync('compName1')
|
|
|
+ if(uni.getStorageSync('compName1')){
|
|
|
+ this.weightbills.seller = uni.getStorageSync('compName1').company
|
|
|
+ }
|
|
|
if (this.detailData.tips = '买方' + this.contractNoList[e[0]].buyer) {
|
|
|
this.detailData.tips = '买方' + this.contractNoList[e[0]].buyer +
|
|
|
'( ' +
|
|
@@ -590,7 +592,9 @@
|
|
|
}
|
|
|
} else if (this.detailData.inOutType == '移库出库') {
|
|
|
this.weightbills.buyer = this.inOutNoList[e[0]].receiveWarehouse
|
|
|
- this.weightbills.seller = uni.getStorageSync('compName1')
|
|
|
+ if(uni.getStorageSync('compName1')){
|
|
|
+ this.weightbills.seller = uni.getStorageSync('compName1').company
|
|
|
+ }
|
|
|
this.detailData.tips = '入货库' + this.inOutNoList[e[0]].receiveWarehouse
|
|
|
}
|
|
|
},
|