From 1e8575160dcc6683a4cad5a1b32eb52871931396 Mon Sep 17 00:00:00 2001 From: jiyufei <67400194@qq.com> Date: Tue, 30 Jul 2024 11:25:21 +0800 Subject: [PATCH] =?UTF-8?q?feat(front):=E5=89=8D=E7=AB=AF=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E7=BB=84=E4=BB=B6;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jnpf-java-boot/jnpf-web/src/views/scm/billtable/form.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jnpf-java-boot/jnpf-web/src/views/scm/billtable/form.vue b/jnpf-java-boot/jnpf-web/src/views/scm/billtable/form.vue index b71be1e..9c34eca 100644 --- a/jnpf-java-boot/jnpf-web/src/views/scm/billtable/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/scm/billtable/form.vue @@ -749,12 +749,15 @@ export default { this.$emit('refreshDataList', true) }, changeData(model, index) { + console.log(this.dataForm.contractId,"this.dataForm.contractIdthis.dataForm.contractIdthis.dataForm.contractId"); if (model == 'contractId' && (this.dataForm.contractId != null || this.dataForm.contractId != undefined)) { + console.log(111111111); request({ url: '/api/example/Contract/getMerchantById/' + this.dataForm.contractId, method: 'get' }).then(res => { - this.$set(this.dataForm, 'merchantId', res.data.merchantName); + console.log( res.data.merchantName," res.data.merchantName res.data.merchantName res.data.merchantName"); + this.$set(this.dataForm, 'merchantName', res.data.merchantName); }); } this.isEdit = false