UNPKG

ems-basedata-wdz

Version:

ems-basedata by xianer

24 lines (23 loc) 899 B
export default { // 更新选择业务小类 updateBusinessSmallClass(state, selectBusinessSmallClass = []) { state.selectBusinessSmallClass = selectBusinessSmallClass; }, // 更新大类表单 setBusinessBigClassForm(state, businessBigClassForm = {}) { state.businessBigClassForm = businessBigClassForm; }, // 兄弟组件验证表单,共享一个this setBusinessBigClassFormSelf(state, businessBigClassFormSelf = {}) { state.businessBigClassFormSelf = businessBigClassFormSelf; }, // 更改大类编码是否能编辑状态 // isCategoryCodeReadonly: false; // 不可编辑 // isParentCodeReadonly: false;// 不可编辑 setCategoryCodeReadonly(state, isCategoryCodeReadonly) { state.isCategoryCodeReadonly = isCategoryCodeReadonly; }, setDimensionOperationType(state, data) { state.dimensionOperationType = data; }, };