|
@@ -7,6 +7,7 @@
|
|
|
<el-tab-pane label="未完成" name="false" />
|
|
|
<el-tab-pane label="已完成" name="ok" />
|
|
|
</el-tabs>
|
|
|
+ <!-- <el-scrollbar class="barHeight" ref="wrapRef" @scroll="handleScroll" v-loading="map.get('getProcessOrders')"> -->
|
|
|
<el-scrollbar class="barHeight" ref="wrapRef" @scroll="handleScroll">
|
|
|
<Order v-for="(item, index) in ordersDataArray" :key="index" @click="setSlectIndex(index)"
|
|
|
:hoverStatus="index == selectIndex ? true : false" :item="item" />
|
|
@@ -24,11 +25,14 @@ import { useProcessStore } from "@/store";
|
|
|
import { useDictionaryStore } from "@/store";
|
|
|
import { getOrders } from "@/api/process";
|
|
|
import { emitter, EventsNames } from "@/utils/common";
|
|
|
+import { useCommonStoreHook } from "@/store";
|
|
|
const dictS = useDictionaryStore();
|
|
|
const store = useProcessStore();
|
|
|
const selectSeqIndex = inject("selectSeqIndex");
|
|
|
const scanStatus = inject("scanStatus");
|
|
|
const ordersSum = ref(0);
|
|
|
+const commonS = useCommonStoreHook();
|
|
|
+const map = commonS.loadingMap;
|
|
|
const emit = defineEmits(["getindex"]);
|
|
|
const ordersDataArray = inject("ordersDataArray");
|
|
|
//获取未完成订单的参数
|