Browse Source

显示不下

hella_online_20240829
wangyufei 4 months ago
parent
commit
b9e0218d24
  1. 13
      src/components/Search/src/Search.vue
  2. 2
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue
  3. 1
      src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

13
src/components/Search/src/Search.vue

@ -57,7 +57,12 @@ const props = defineProps({
type: Array,
required: false,
default: []
}
},
formClassNames:{
type: Array,
required: false,
default: []
},
})
const emit = defineEmits(['search', 'reset','onInput','onChange','searchTableSuccess'])
@ -280,6 +285,7 @@ defineExpose({setFormValues}) // 提供 open 方法,用于打开弹窗
:label-width="labelWidth"
:schema="newSchema"
class="-mb-15px search"
:class="formClassNames"
hide-required-asterisk
@register="register"
@onInput="onInput"
@ -338,6 +344,11 @@ defineExpose({setFormValues}) // 提供 open 方法,用于打开弹窗
margin-right: 1%;
width: 20%;
}
.dateSearch ::v-deep(.el-form-item) {
margin-right: 1%;
min-width: 20%;
width: auto;
}
.search ::v-deep(.el-form-item:nth-last-child(1)) {
margin-right: 0px;
width: auto;

2
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/index.vue

@ -1,7 +1,7 @@
<template>
<ContentWrap v-if="visibleSearch">
<!-- 搜索工作栏 -->
<Search ref="seachRef" :schema="[...PurchasePlanMain.allSchemas.searchSchema,...PurchasePlanDetail.allSchemas.searchSchema]" @search="searchList" @reset="searchList" @searchTableSuccess="searchQueryTableSuccess" @onChange="onSearchChange" @foldUpClick="foldUpClick"/>
<Search ref="seachRef" :schema="[...PurchasePlanMain.allSchemas.searchSchema,...PurchasePlanDetail.allSchemas.searchSchema]" :formClassNames="['dateSearch']" @search="searchList" @reset="searchList" @searchTableSuccess="searchQueryTableSuccess" @onChange="onSearchChange" @foldUpClick="foldUpClick"/>
</ContentWrap>
<!-- 列表头部 -->

1
src/views/wms/purchasereceiptManage/supplierdeliver/purchasePlanMain/purchasePlanMain.data.ts

@ -162,7 +162,6 @@ export const PurchasePlanMain = useCrudSchemas(reactive<CrudSchema[]>([
form: {
component: 'DatePicker',
componentProps: {
style: {width: '100%'},
type: 'date',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',

Loading…
Cancel
Save