From 4a3d6030c32dde9015014d8b953bdfc1219d5423 Mon Sep 17 00:00:00 2001 From: long <18782126717@163.com> Date: Sun, 13 Nov 2022 16:19:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=87=BA=E5=BA=93=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E9=80=89=E4=B8=AD=E4=B8=8D=E5=85=B3=E8=81=94=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jeecg/modal/ProcessDelivery.vue | 2 +- .../ProcessMaterialsDeliveryListList.vue | 9 ++------- .../modules/ProcessMaterialsDeliveryListModal.vue | 8 +------- 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/src/components/jeecg/modal/ProcessDelivery.vue b/src/components/jeecg/modal/ProcessDelivery.vue index 0717b83..62075e3 100644 --- a/src/components/jeecg/modal/ProcessDelivery.vue +++ b/src/components/jeecg/modal/ProcessDelivery.vue @@ -124,7 +124,7 @@ - + diff --git a/src/views/processmaterials/ProcessMaterialsDeliveryListList.vue b/src/views/processmaterials/ProcessMaterialsDeliveryListList.vue index 2b6a604..abba74b 100644 --- a/src/views/processmaterials/ProcessMaterialsDeliveryListList.vue +++ b/src/views/processmaterials/ProcessMaterialsDeliveryListList.vue @@ -88,17 +88,12 @@ name: "ProcessMaterialsDeliveryListList", mixins:[JeecgListMixin], components: { ProcessMaterialsDeliveryListModal,JSuperQuery }, - props:{ - mainId:{ - type:String, - default:'', - required:false - } - }, + props:['mainId'], watch:{ mainId:{ immediate: true, handler(val) { + console.log("val>>>>>>>>>>>>>>>>>>>>>>>>>>>",val) if(!this.mainId){ this.clearList() }else{ diff --git a/src/views/processmaterials/modules/ProcessMaterialsDeliveryListModal.vue b/src/views/processmaterials/modules/ProcessMaterialsDeliveryListModal.vue index de9c56b..218ab42 100644 --- a/src/views/processmaterials/modules/ProcessMaterialsDeliveryListModal.vue +++ b/src/views/processmaterials/modules/ProcessMaterialsDeliveryListModal.vue @@ -93,13 +93,7 @@ JDictSelectTag, JSearchSelectTag, }, - props:{ - mainId:{ - type:String, - required:false, - default:'' - } - }, + props:['mainId'], data () { return { form: this.$form.createForm(this),