|
@@ -53,7 +53,7 @@
|
|
|
<div class="hui-detail-content">
|
|
|
<div class="hui-detail-item" v-if="part.contractId">
|
|
|
<div class="hui-detail-label">合同编号</div>
|
|
|
- <div class="hui-detail-value">HT20250416778822</div>
|
|
|
+ <div class="hui-detail-value">{{contractNode.contractNo}}</div>
|
|
|
</div>
|
|
|
<div class="hui-detail-item" v-if="part.contractId">
|
|
|
<div class="hui-detail-label">合同内容</div>
|
|
@@ -152,7 +152,8 @@
|
|
|
timeOut: null,
|
|
|
actionType: '',
|
|
|
visibleTitle: '',
|
|
|
- contractList: []
|
|
|
+ contractList: [],
|
|
|
+ contractNode: {}
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -223,7 +224,11 @@
|
|
|
});
|
|
|
},
|
|
|
initBindContract() {
|
|
|
- getBindContract(this.part.contractId).then(res => {});
|
|
|
+ getBindContract(this.part.contractId).then(res => {
|
|
|
+ if (res.state) {
|
|
|
+ this.contractNode = res.data;
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
timelineClass(type) {
|
|
|
let str = ''
|
|
@@ -271,8 +276,9 @@
|
|
|
break;
|
|
|
case 7:
|
|
|
this.contractList = [{
|
|
|
- url: `${window.location.origin}/${config.baseURL}/file/workarkContract/show/${this.part.contractId}`
|
|
|
+ url: `${window.location.origin}/${config.baseURL}/file/workarkContract/pdf/show/${this.part.contractId}`
|
|
|
}]
|
|
|
+ console.log(this.contractList);
|
|
|
this.visible = true;
|
|
|
break;
|
|
|
default:
|
|
@@ -315,7 +321,8 @@
|
|
|
if (!data) return;
|
|
|
bindContract({
|
|
|
orderNo: this.part.orderNo,
|
|
|
- contractId: data.id
|
|
|
+ contractId: data.id,
|
|
|
+ payOrganizationId: this.part.payOrganizationId
|
|
|
}).then(res => {
|
|
|
this.updateOrderSuccessFunc(res);
|
|
|
this.visible = false;
|