|
@@ -652,6 +652,11 @@ export default {
|
|
if (this.contractList[i].contractNo == e) {
|
|
if (this.contractList[i].contractNo == e) {
|
|
this.deptBudgetList.contractId = this.contractList[i].id
|
|
this.deptBudgetList.contractId = this.contractList[i].id
|
|
this.signingDate = this.contractList[i].signingDate
|
|
this.signingDate = this.contractList[i].signingDate
|
|
|
|
+ if(this.contractList[i].agreementType=='采购合同'){
|
|
|
|
+ this.deptBudgetList.payerHeader=this.contractList[i].buyer
|
|
|
|
+ }else if(this.contractList[i].agreementType=='销售合同'){
|
|
|
|
+ this.deptBudgetList.payerHeader=this.contractList[i].seller
|
|
|
|
+ }
|
|
getpayeeinfo({ compId: localStorage.getItem('ws-pf_compId'), contractNo: e }).toPromise()
|
|
getpayeeinfo({ compId: localStorage.getItem('ws-pf_compId'), contractNo: e }).toPromise()
|
|
.then((response1) => {
|
|
.then((response1) => {
|
|
this.deptBudgetList.payee = response1.customerType == '企业客户' ? response1.compName : response1.customerName
|
|
this.deptBudgetList.payee = response1.customerType == '企业客户' ? response1.compName : response1.customerName
|