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),