|
@ -14,7 +14,7 @@ |
|
|
<balance-qty-edit ref="qtyEdit" :settingParam="settingParam" @confirm="confirm" :allowEditQty="allowEditQty" :allowEditStatus="true"></balance-qty-edit> |
|
|
<balance-qty-edit ref="qtyEdit" :settingParam="settingParam" @confirm="confirm" :allowEditQty="allowEditQty" :allowEditStatus="true"></balance-qty-edit> |
|
|
<win-scan-location ref="scanLocationCode" title="目标库位" :locationAreaTypeList="locationAreaTypeList" @getLocation="getLocation"></win-scan-location> |
|
|
<win-scan-location ref="scanLocationCode" title="目标库位" :locationAreaTypeList="locationAreaTypeList" @getLocation="getLocation"></win-scan-location> |
|
|
<detail-info-popup ref="detailInfoPopupRef"></detail-info-popup> |
|
|
<detail-info-popup ref="detailInfoPopupRef"></detail-info-popup> |
|
|
<com-message ref="comMessageRef" /> |
|
|
<comMessage ref="comMessageRef"></comMessage> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -47,7 +47,7 @@ const props = defineProps({ |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
watch(()=> props.dataContent, (newName, oldName)=>{ |
|
|
watch(()=> props.dataContent, (newName, oldName)=>{ |
|
|
if (dataContent.value.subList.length > 0) { |
|
|
if (props.dataContent.subList.length > 0) { |
|
|
nextTick(res => { |
|
|
nextTick(res => { |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
if (collapse1.value) { |
|
|
if (collapse1.value) { |
|
@ -68,7 +68,7 @@ const detailOptions = ref([]) |
|
|
const scanOptions = ref([]) |
|
|
const scanOptions = ref([]) |
|
|
const removeOptions = ref([]) |
|
|
const removeOptions = ref([]) |
|
|
const dataList = ref([]) |
|
|
const dataList = ref([]) |
|
|
const comMessageRef = ref('') |
|
|
const comMessageRef = ref(null) |
|
|
const detailInfoPopupRef = ref('') |
|
|
const detailInfoPopupRef = ref('') |
|
|
const qtyEdit = ref('') |
|
|
const qtyEdit = ref('') |
|
|
const scanLocationCode = ref('') |
|
|
const scanLocationCode = ref('') |
|
@ -91,6 +91,7 @@ const openDetailCardPopup = () => { |
|
|
winHint.value.openScanPopup() |
|
|
winHint.value.openScanPopup() |
|
|
} |
|
|
} |
|
|
const swipeClick = (params, item) => { |
|
|
const swipeClick = (params, item) => { |
|
|
|
|
|
console.log(params); |
|
|
let text = '' |
|
|
let text = '' |
|
|
if (item.scaned) { |
|
|
if (item.scaned) { |
|
|
text = scanOptions.value[params[1]].text |
|
|
text = scanOptions.value[params[1]].text |
|
@ -139,7 +140,6 @@ const getLocation = (location, code) => { |
|
|
emit('updateData') |
|
|
emit('updateData') |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 传递给父类 |
|
|
|
|
|
const emit = defineEmits(['updateData', 'removePack', 'openDetail']) |
|
|
const emit = defineEmits(['updateData', 'removePack', 'openDetail']) |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|