Browse Source

fix: [SBBJ-971]手填库位移动代码

master
zengqinyuan 2 months ago
parent
commit
5b97008f4b
  1. 5
      src/components/costCenter/index.vue
  2. 5
      src/pages/outLocation/addForm.vue

5
src/components/costCenter/index.vue

@ -71,7 +71,7 @@ function closeImagePopup() {
} }
function open(list) { function open(list) {
isShowSelectItem.value = true isShowSelectItem.value = true
singleColumnList.value = list // singleColumnList.value = list
} }
// //
function showFullText(text) { function showFullText(text) {
@ -100,7 +100,8 @@ function chooseItem(item) {
} }
defineExpose({ defineExpose({
isShowSelectItem, isShowSelectItem,
open open,
singleColumnList
}) })
</script> </script>

5
src/pages/outLocation/addForm.vue

@ -435,12 +435,9 @@ async function getSparePartsList(warehouseArea) {
await costCenterMappingApi await costCenterMappingApi
.findList(param) .findList(param)
.then((res) => { .then((res) => {
res.data.map((item) => {
item.value = item.number
item.label = item.name
})
sparePartsList.value = res.data sparePartsList.value = res.data
singleColumnList.value = sparePartsList.value singleColumnList.value = sparePartsList.value
costCenterRef.value.singleColumnList = sparePartsList.value
proxy.$modal.closeLoading() proxy.$modal.closeLoading()
}) })
.catch(() => { .catch(() => {

Loading…
Cancel
Save