zs
2025-05-07 086e8d457fb6480f126aedbd2677c7e97bdac193
HIAWms/web/src/widgets/WmsInOutStockRecord/Controllers/WmsInOutStockRecordQueryDrawer.tsx
@@ -16,7 +16,9 @@
import { cloneDeep } from 'lodash' 
 
export const useWmsInOutStockRecordQueryDrawer = (props: any, ctx?: any) => { 
  const wmsInOutStockRecordDrawer = injectModel<WmsInOutStockRecordDrawer>('WmsInOutStockRecordDrawer')
  const wmsInOutStockRecordDrawer = injectModel<WmsInOutStockRecordDrawer>(
    'WmsInOutStockRecordDrawer'
  )
  /** 
   * 用来对比的初始化数据 
   */ 
@@ -131,7 +133,6 @@
                     })  
                   },
                   width: '100%',
                   el: 'input',
                   //disabled: disabled, 
                   placeholder: '请输入操作时间', 
                }, 
@@ -176,10 +177,13 @@
                   el: 'select', 
                   //disabled: disabled, 
                   placeholder: '请输入是否禁用', 
                 options: [{label: '是',value: 'true'}, {label: '否',value: 'false'}]
      options: [
        { label: '是', value: 'true' },
        { label: '否', value: 'false' },
      ],
                }, 
                { 
                   label: '',
      label: '创建时间',
                   prop: 'creationTime', 
                   el: (props: any, { attrs }: SetupContext) => { 
                     return h(dateTimePickerRange, {  
@@ -189,7 +193,6 @@
                     })  
                   },
                   width: '100%',
                   el: 'input',
                   //disabled: disabled, 
                   placeholder: '请输入', 
                },  
@@ -221,12 +224,12 @@
isDisabled: formData.value.isDisabled || '', 
creationTime: formData.value.creationTime || '',  
    } 
    return data;
    return data
  } 
  const onClose = (done: () => void) => { 
    if (visible.value) { 
      visible.value = false 
      const data =commonGetFormData();
      const data = commonGetFormData()
      ctx.emit('close', data) 
    } 
  } 
@@ -234,7 +237,7 @@
   * 确认查询 
   */ 
  const onConfirmQuery = async () => { 
    const data =commonGetFormData();
    const data = commonGetFormData()
    ctx.emit('confirmQuery', data) 
  } 
  /** 
@@ -255,7 +258,7 @@
formData.value.SourcePlace = '' 
formData.value.ToPlace = ''  
    //向父组件发送自定义事件 
    ctx.emit('restQuery');
    ctx.emit('restQuery')
  } 
 
  const updateCheckData = () => { 
@@ -282,7 +285,6 @@
 EnumName: 'StockTypeEnum', 
}) 
updateFormItemOptions('stockType', stockTypeEnumEnum) 
  } 
  commonQueryEnumForFrom() 
  /**