|
@@ -38,7 +38,7 @@ export function useFormState({
|
|
|
defaultValues: {
|
|
|
storageLocationCode: '',
|
|
|
storageLocationName: '',
|
|
|
- storageIsNotDisable: '0',
|
|
|
+ storageIsNotDisable: '',
|
|
|
storageWarehouse: '',
|
|
|
storageMaterialType: [],
|
|
|
storageIsProduct: '',
|
|
@@ -104,7 +104,8 @@ export function useFormInfoValue(id: string) {
|
|
|
function () {
|
|
|
setValue('storageLocationCode', data?.storageLocationCode ?? '');
|
|
|
setValue('storageLocationName', data?.storageLocationName ?? '');
|
|
|
- setValue('storageIsNotDisable', data?.isNotDisable ?? '0');
|
|
|
+ setValue('storageIsNotDisable', data?.isNotDisable ?? '');
|
|
|
+ setValue('storageIsProduct', data?.isProduct ?? '');
|
|
|
setValue('storageWarehouse', data?.warehouseWhere ?? '');
|
|
|
setValue(
|
|
|
'storageMaterialType',
|