|
@@ -552,9 +552,11 @@
|
|
|
this.dialogData.compName = '黑龙江中天昊元贸易有限公司'
|
|
|
}
|
|
|
if (this.checked) {
|
|
|
+ console.log(111111)
|
|
|
if(this.dialogData&&!this.dialogData.customer&&this.dialogData.contractManagement){
|
|
|
this.dialogData.customer = this.dialogData.contractManagement.seller
|
|
|
}
|
|
|
+ this.dialogData.compName=this.companyName
|
|
|
this.dialogDataList.push(this.dialogData)
|
|
|
var _datas = JSON.stringify(this.dialogData)
|
|
|
_datas = JSON.parse(_datas)
|
|
@@ -563,12 +565,14 @@
|
|
|
this.dialogDataList.push(_datas)
|
|
|
this.printBig('', this.radio)
|
|
|
} else if (this.ddchecked) {
|
|
|
+ console.log(22222)
|
|
|
_datas = this.dialogData
|
|
|
_datas.compName = this.companyNameEW;
|
|
|
_datas.customer = this.ewCustomer
|
|
|
this.dialogDataList.push(_datas)
|
|
|
this.printBig(1, this.radio)
|
|
|
} else {
|
|
|
+ console.log(3333)
|
|
|
this.dialogData.compName = this.companyName
|
|
|
// console.log( this.dialogData)
|
|
|
//代储合同出库收货方是卖方
|