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