|
|
@@ -10,9 +10,9 @@
|
|
|
</view>
|
|
|
<view class="d-flex a-c">
|
|
|
<view class="min-w-230 flex1">
|
|
|
- <ut-action-sheet v-model="form.instoreType" :tabs="[{ label: '全部', value: '' }, ...pt_fresh_instore_type]" mode="custom" @change="onRefresh" title="选择入库类型">
|
|
|
+ <ut-action-sheet v-model="form.processType" :tabs="[{ label: '全部', value: '' }, ...st_medicine_process_type]" mode="custom" @change="onRefresh" title="选择入库类型">
|
|
|
<view class="d-flex search-select-item a-c">
|
|
|
- <view class="flex1 ov-hd f-s-28 c-333 text-center f-w-5 w-s-no">{{ selectDictLabel(pt_fresh_instore_type, form.instoreType) || '全部' }} </view>
|
|
|
+ <view class="flex1 ov-hd f-s-28 c-333 text-center f-w-5 w-s-no">{{ selectDictLabel(st_medicine_process_type, form.processType) || '全部' }} </view>
|
|
|
<up-icon size="24rpx" color="#333" name="arrow-down-fill" class="mr-5"></up-icon>
|
|
|
</view>
|
|
|
</ut-action-sheet>
|
|
|
@@ -28,7 +28,7 @@
|
|
|
<up-swipe-action-item v-for="(item, index) in list" :key="index" :name="item?.id" :options="optionsActionTemp" @click="clickTempSwipe" class="mb-20 b-radius">
|
|
|
<view class="b-radius bg-#fff pd-20 p-rtv" @click.stop="$u.route({ url: '/plant/storage/fresh-goods/detail/index', params: { id: item.id } })">
|
|
|
<view class="d-flex j-sb a-c li-item-head mb-16">
|
|
|
- <view class="li-left-tag" :class="{ [`bg-instore-${item?.instoreType}`]: true }">{{ item?.seedLevel || '' }}{{ selectDictLabel(pt_fresh_instore_type, item?.instoreType) }}</view>
|
|
|
+ <view class="li-left-tag" :class="{ [`bg-instore-${item?.instoreBizInfo.processType}`]: true }">{{ item?.seedLevel || '' }}{{ selectDictLabel(st_medicine_process_type, item?.instoreBizInfo?.processType) }}</view>
|
|
|
<view class="f-s-22 c-#666">{{ item?.instoreBizInfo?.instoreDate }}</view>
|
|
|
</view>
|
|
|
<view class="d-flex flex1 mb-10">
|
|
|
@@ -100,9 +100,9 @@ import { selectDictListClass } from '@/utils/ruoyi';
|
|
|
import { getStorageRoomNames } from '@/utils/common';
|
|
|
import FreshGoodsBottom from './model/fresh-goods-bottom.vue';
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
|
-const { pt_fresh_instore_type } = toRefs<any>(proxy?.useDict('pt_fresh_instore_type'));
|
|
|
+const { st_medicine_process_type } = toRefs<any>(proxy?.useDict('st_medicine_process_type'));
|
|
|
const list = ref<any[]>();
|
|
|
-const form = ref({ keyword: '', restFlag: '1', instoreType: '', storageType: '5' });
|
|
|
+const form = ref({ keyword: '', restFlag: '1', processType: '', storageType: '5' });
|
|
|
const paging = ref();
|
|
|
const tabs = ref([
|
|
|
{ label: '有库存', value: '1' },
|