|
@ -7,7 +7,9 @@ export const CountadjustPlanRules = reactive({ |
|
|
classification: [ |
|
|
classification: [ |
|
|
{ required: true, message: '请选择盘点类型', trigger: 'blur' } |
|
|
{ required: true, message: '请选择盘点类型', trigger: 'blur' } |
|
|
], |
|
|
], |
|
|
|
|
|
type: [ |
|
|
|
|
|
{ required: true, message: '请选择库位类型', trigger: 'blur' } |
|
|
|
|
|
], |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
export const CountadjustPlan = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const CountadjustPlan = useCrudSchemas(reactive<CrudSchema[]>([ |
|
@ -42,29 +44,15 @@ export const CountadjustPlan = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '是否账内库', |
|
|
label: '库存类型', |
|
|
field: 'isInAccount', |
|
|
field: 'type', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
sort: 'custom', |
|
|
|
|
|
dictType: DICT_TYPE.ITEM_ACCOUNT_LOCATION_TYPE, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isSearch: false, |
|
|
|
|
|
isTable: true, |
|
|
isTable: true, |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 140 |
|
|
width: 100 |
|
|
}, |
|
|
} , |
|
|
tableForm: { |
|
|
|
|
|
type: 'Select', |
|
|
|
|
|
inactiveValue: 'FALSE', |
|
|
|
|
|
disabled: true |
|
|
|
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Switch', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
inactiveValue: 'FALSE', |
|
|
|
|
|
activeValue: 'TRUE' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '操作', |
|
|
label: '操作', |
|
|