From 2cdf668fb4239e5b6122d03eb87e6d6c28f6e90b Mon Sep 17 00:00:00 2001 From: mhsnet Date: Tue, 2 Jul 2024 15:14:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E8=BF=90=E6=A1=B6=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E4=B8=8B=E6=8B=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/recyclecleanorder/form.vue | 73 ++++++++++++++++++- 1 file changed, 70 insertions(+), 3 deletions(-) diff --git a/jnpf-java-boot/jnpf-web/src/views/recyclecleanorder/form.vue b/jnpf-java-boot/jnpf-web/src/views/recyclecleanorder/form.vue index 01eb4e5..11bad88 100644 --- a/jnpf-java-boot/jnpf-web/src/views/recyclecleanorder/form.vue +++ b/jnpf-java-boot/jnpf-web/src/views/recyclecleanorder/form.vue @@ -83,6 +83,22 @@ + + + + + + 1 && index > -1) { + val = + this.dataForm[relationFieldAll[0] + "List"] && + this.dataForm[relationFieldAll[0] + "List"].length + ? this.dataForm[relationFieldAll[0] + "List"][index][ + relationFieldAll[1] + ] + : ""; + } else { + val = this.dataForm[relationFieldAll]; + } + json.defaultValue = val; + } + } + let template = { + paramList: templateJsonList + }; + getDataInterfaceRes("565524506681020549", template).then(res => { + let data = res.data; + this.bucketCodeOptions = data; + this.changeDataFormData(1, "bucketCode", "bucketCode", index, []); + }); }, getproductCodeOptions() { const index = this.childIndex;