diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index d2136a0be..53727949b 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -85,7 +85,7 @@ label: '汇总', prop: 'CollectionTable' }]" v-model="tabSheet" @change="tabChange"/> -
+
-
+
{ if(type=='create'){ InventorymoveRequestMain.allSchemas.formSchema.forEach(item =>{ + if(item.field == 'fromWarehouseCode'){ + item.componentProps.isSearchList = true + item.componentProps.disabled = false + } if(item.field == 'dueTime') { - item.value = dayjs().add(1, 'hour') + item.value = dayjs().add(1, 'hour').valueOf() + } + }) + }else{ + InventorymoveRequestMain.allSchemas.formSchema.forEach(item =>{ + if(item.field == 'fromWarehouseCode'){ + item.componentProps.isSearchList = false + item.componentProps.disabled = true } }) }