diff --git a/src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts b/src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts index 601678c8e..c01539f50 100644 --- a/src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts +++ b/src/views/wms/basicDataManage/documentSetting/businesstype/businesstype.data.ts @@ -67,6 +67,7 @@ export const Businesstype = useCrudSchemas(reactive([ field: 'itemStatuses', dictType: DICT_TYPE.ITEM_STATUS, dictClass: 'string', + dictAllValue: '全选', dictAllOption:true,// 全选按钮 isTable: true, sort: 'custom', diff --git a/src/views/wms/basicDataManage/documentSetting/businesstype/index.vue b/src/views/wms/basicDataManage/documentSetting/businesstype/index.vue index 74b409a91..2607dfb9e 100644 --- a/src/views/wms/basicDataManage/documentSetting/businesstype/index.vue +++ b/src/views/wms/basicDataManage/documentSetting/businesstype/index.vue @@ -322,7 +322,7 @@ const formsSuccess = async (formType, submitData) => { const onChange = (field, value)=>{ console.log('onChange',field,value) - if(field=='outAreaTypes'||field=='inAreaTypes'||field=='itemTypes'||field=='outInventoryStatuses'||field=='inInventoryStatuses'){ + if(field=='outAreaTypes'||field=='inAreaTypes'||field=='itemTypes'||field=='itemStatuses'||field=='outInventoryStatuses'||field=='inInventoryStatuses'){ //出库区类型范围 入库区类型范围 可用物料类型范围 出库库存状态范围 入库库存状态范围 if(value.length>0){ if(value[value.length-1]=='全选'){