Browse Source

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

master
zengqinyuan 1 month 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) {
isShowSelectItem.value = true
singleColumnList.value = list
// singleColumnList.value = list
}
//
function showFullText(text) {
@ -100,7 +100,8 @@ function chooseItem(item) {
}
defineExpose({
isShowSelectItem,
open
open,
singleColumnList
})
</script>

5
src/pages/outLocation/addForm.vue

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

Loading…
Cancel
Save