|
|
@@ -110,7 +110,8 @@ import { formItemBtnStyle } from '@/assets/styles/uview-plus';
|
|
|
import { generateUniqueId } from '@/utils/public';
|
|
|
import { parseTime } from '@/utils/ruoyi';
|
|
|
import SelectWarehouseInput from '@/models/select-warehouse-input/select-warehouse-input.vue';
|
|
|
-
|
|
|
+import { useInfoStore } from '@/store';
|
|
|
+const infoStore = useInfoStore();
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
|
const { pt_fresh_instore_type, pt_warehouse_type, pt_seed_type, pt_seed_source } = toRefs<any>(proxy?.useDict('pt_fresh_instore_type', 'pt_warehouse_type', 'pt_seed_type', 'pt_seed_source'));
|
|
|
// 表单与分页等基础状态(参考 base-edit 风格)
|
|
|
@@ -124,7 +125,7 @@ const form = ref<FreshGoodsInstoreEnum>({
|
|
|
warehouses: [],
|
|
|
instoreBizInfo: {
|
|
|
instoreDate: parseTime(new Date(), '{y}-{m}-{d}'),
|
|
|
- instoreMg: '',
|
|
|
+ instoreMg: infoStore.userInfo?.name || '',
|
|
|
remark: '',
|
|
|
},
|
|
|
});
|