|
|
@ -43,7 +43,8 @@ |
|
|
|
</view> |
|
|
|
<win-scan-pack-and-location ref="scanPopup" @getResult="getScanResult" :allowModifyLocation="false"> </win-scan-pack-and-location> |
|
|
|
<com-message ref="comMessageRef" /> |
|
|
|
<win-scan-location ref="scanLocationCode" title="来源库位" @getLocation="getLocation" :locationAreaTypeList="fromLocationAreaTypeList"></win-scan-location> |
|
|
|
<win-scan-location ref="scanLocationCode" title="来源库位" @getLocation='getLocation' |
|
|
|
:locationAreaTypeList="fromLocationAreaTypeList"></win-scan-location> |
|
|
|
<win-scan-location ref="scanToLocationCode" title="目标库位" @getLocation='getToLocationCode' |
|
|
|
:locationAreaTypeList="toLocationAreaTypeList"></win-scan-location> |
|
|
|
</view> |
|
|
@ -51,7 +52,7 @@ |
|
|
|
|
|
|
|
<script setup lang="ts"> |
|
|
|
import { ref, getCurrentInstance, nextTick } from 'vue' |
|
|
|
import { onLoad, onNavigationBarButtonTap, onReady, onReachBottom, onPullDownRefresh } from '@dcloudio/uni-app' |
|
|
|
import {onLoad, onNavigationBarButtonTap, onReady, onReachBottom, onPullDownRefresh, onShow} from '@dcloudio/uni-app' |
|
|
|
import { putawayRecordSubmit, getPutawayRecommendLocation, |
|
|
|
checkItemCodeAndLocation, |
|
|
|
recommendLocationRemoveExpectin } from '@/api/request2.js' |
|
|
@ -67,14 +68,15 @@ import { getBusinessType, createItemInfo, createDetailInfo, calcHandleQty } from |
|
|
|
import { getManagementPrecisions, getPrecisionStrategyList, getPrecisionStrategyParams } from '@/common/balance.js' |
|
|
|
|
|
|
|
import winScanButton from '@/mycomponents/scan/winScanButton.vue' |
|
|
|
import winScanPack from '@/mycomponents/scan/winScanPack.vue' |
|
|
|
import requiredLocation from '@/mycomponents/location/requiredLocation.vue' |
|
|
|
import WinScanPack from '@/mycomponents/scan/winScanPack.vue' |
|
|
|
import RequiredLocation from '@/mycomponents/location/requiredLocation.vue' |
|
|
|
import comBlankView from '@/mycomponents/common/comBlankView.vue' |
|
|
|
import winScanLocation from '@/mycomponents/scan/winScanLocation.vue' |
|
|
|
import winScanPackAndLocation from '@/mycomponents/scan/winScanPackAndLocation.vue' |
|
|
|
import recordComDetailCard from '@/mycomponents/record/recordComDetailCard.vue' |
|
|
|
import { useCountStore } from '@/store' |
|
|
|
// 获取自定义的store |
|
|
|
import {a} from "unocss-preset-weapp/dist/utilities-322cd311"; |
|
|
|
|
|
|
|
const store = useCountStore() |
|
|
|
const { proxy } = getCurrentInstance() |
|
|
|
const id = ref('') |
|
|
@ -91,9 +93,9 @@ const showToLoaction = ref(true) |
|
|
|
const recommendLocationList = ref([]) // 推荐库位列表 |
|
|
|
const fromWarehouseCode = ref('') // 来源仓库 |
|
|
|
const businessTypeCode = ref('PurchasePutaway') |
|
|
|
const comMessageRef = ref() |
|
|
|
const scanPopup = ref() |
|
|
|
const scanLocationCode = ref() |
|
|
|
const comMessageRef = ref(null) |
|
|
|
const scanPopup = ref(null) |
|
|
|
const scanLocationCode = ref(null) |
|
|
|
const managementList = ref([]) |
|
|
|
const toLocationCode = ref() |
|
|
|
const toWarehouseCode = ref('') |
|
|
@ -254,9 +256,7 @@ const openScanPopup = () => { |
|
|
|
} |
|
|
|
|
|
|
|
const showFromLocationPopup = () => { |
|
|
|
nextTick(() => { |
|
|
|
scanLocationCode.value.openScanPopup() |
|
|
|
}) |
|
|
|
scanLocationCode.value.openScanPopup() |
|
|
|
} |
|
|
|
|
|
|
|
const closeScanPopup = () => { |
|
|
|