Browse Source

master_hella_20240701
zhousq 6 months ago
parent
commit
2e19e388f1
  1. 1
      src/views/mes/orderDay/components/BasicFormV2.vue
  2. 7
      src/views/mes/orderDay/orderDay.data.ts
  3. 15
      src/views/mes/processroute/index.vue

1
src/views/mes/orderDay/components/BasicFormV2.vue

@ -372,6 +372,7 @@ const submitForm = async () => {
/** 重置表单 */
const resetForm = () => {
unref(formRef)?.resetFields()
//formRef.value?.resetFields()
}
//

7
src/views/mes/orderDay/orderDay.data.ts

@ -178,11 +178,13 @@ export const OrderDay = useCrudSchemas(reactive<CrudSchema[]>([
sort: 'custom',
isSearch: true,
required: true,
value:'',
form:{
component:'Select',
componentProps:{
options:[]
}
options:[],
},
}
},
{
@ -200,6 +202,7 @@ export const OrderDay = useCrudSchemas(reactive<CrudSchema[]>([
field: 'processrouteCode',
sort: 'custom',
form: {
value:"",
component:'Select',
componentProps: {
options: []

15
src/views/mes/processroute/index.vue

@ -126,8 +126,16 @@ const buttonBaseClick = (val, item) => {
} else if (val == 'export') { //
handleExport()
} else if (val == 'refresh') { //
// if (tableObject.params.filters && tableObject.params.filters.length > 0 ) {
// searchFormClick({
// filters: tableObject.params.filters
// })
// } else {
// getList()
// }
getList()
} else if (val == 'filtrate') { //
} else { //
console.log('其他按钮', item)
}
@ -257,12 +265,15 @@ const importSuccess = () => {
}
//
const searchFormClick = (searchData) => {
const searchFormClick = async (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
//await getList()
//console.log('searchFormClick',tableObject.tableList )
//
}
/** 初始化 **/

Loading…
Cancel
Save