diff --git a/src/views/PurchasingCenter/OfflineContract/index.vue b/src/views/PurchasingCenter/OfflineContract/index.vue index d4af1840..1eedaf7a 100644 --- a/src/views/PurchasingCenter/OfflineContract/index.vue +++ b/src/views/PurchasingCenter/OfflineContract/index.vue @@ -233,7 +233,7 @@ @@ -243,7 +243,7 @@ - 生成离线合同 + 生成离线合同 @@ -963,9 +963,11 @@ export default { } } this.paramRow = row - searchContractDemo(this.paramRow.合同模板流水号).then(response => { - this.textArea = response.data[0].合同模板内容.replace('stipulateArrivalTime', this.stipulateArrivalTime).replace('payMethodName', this.payMethodName) - }) + if (!this.disable) { + searchContractDemo(this.paramRow.合同模板流水号).then(response => { + this.textArea = response.data[0].合同模板内容.replace('stipulateArrivalTime', this.stipulateArrivalTime).replace('payMethodName', this.payMethodName) + }) + } }, payMethodChange() { // 付款方式改变 for (let i = 0; i < this.payMethod.length; i++) {