|
|
@@ -48,7 +48,7 @@
|
|
|
<div class="right-list" v-for="(item,index) in locationList[activeIndex].list"
|
|
|
:class="activeClass(item)">
|
|
|
<div>{{ ownerMap[item.owner] || item.owner }}</div>
|
|
|
- <div class="content">
|
|
|
+ <div class="content" @click="onLotAtt(item)" >
|
|
|
<div class="c-left">
|
|
|
<div class="c-left-count">{{ item.expectedQuantity }}</div>
|
|
|
<!-- <div class="c-left-tips">数量</div>-->
|
|
|
@@ -57,6 +57,9 @@
|
|
|
<div style="font-weight: bold;">{{ item.barcode }}</div>
|
|
|
<div>{{ item.name }}</div>
|
|
|
</div>
|
|
|
+ <div style="width: 10px">
|
|
|
+ <van-icon name="arrow" size="20" color="#666" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<van-field class="input" ref="scanCountRef" label-width="50px" v-model="item.count" type="number" :min="1"
|
|
|
:max="item.expectedQuantity"
|
|
|
@@ -98,6 +101,7 @@
|
|
|
<picking-no-input ref="pickingNoInputRef" @loadData="loadData" />
|
|
|
<input-barcode ref="inputBarcodeRef" @setBarcode="_handlerScan" />
|
|
|
<van-floating-bubble v-if="locationList.length>0" :gap="50" axis="xy" magnetic="x" @click="onContainerNo(containerNo===''?2:scanType)">容器</van-floating-bubble>
|
|
|
+ <lot-att ref="lotAttRef" />
|
|
|
</div>
|
|
|
</template>
|
|
|
<script lang="ts" setup>
|
|
|
@@ -123,6 +127,7 @@ import { containerDef } from '@/views/outbound/picking/list/hooks/containerDef'
|
|
|
import { getCarrierList } from '@/hooks/basic/carrier'
|
|
|
import { basicStore } from '@/store/modules/basic'
|
|
|
import InputBarcode from '@/views/outbound/components/InputBarcode.vue'
|
|
|
+import LotAtt from '@/views/outbound/components/lotAtt.vue'
|
|
|
onUnmounted(() => {
|
|
|
closeListener()
|
|
|
})
|
|
|
@@ -488,6 +493,12 @@ const onSelectMode=(value) => {
|
|
|
inputBarcodeRef.value?.show()
|
|
|
}
|
|
|
}
|
|
|
+const lotAttRef=ref(null)
|
|
|
+const onLotAtt=(item)=>{
|
|
|
+ lotAttRef.value?.show(item)
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
//库位商品拣货完成高亮 allActive
|
|
|
const allPicking = (location) => {
|
|
|
const all = location.list.every(item => item.operationTime);
|