Browse Source

fix: [SBBJ-972] 成本中心文本回显

master
zengqinyuan 1 month ago
parent
commit
980be2fe3d
  1. 4
      src/components/costCenter/index.vue
  2. 1
      src/pages/outLocation/addForm.vue

4
src/components/costCenter/index.vue

@ -85,6 +85,7 @@ function showFullText(text) {
function sure() {
isShowSelectItem.value = false
emits('sure', form1.value)
keyword.value = ''
}
function searchItem() {
@ -101,7 +102,8 @@ function chooseItem(item) {
defineExpose({
isShowSelectItem,
open,
singleColumnList
singleColumnList,
keyword
})
</script>

1
src/pages/outLocation/addForm.vue

@ -421,6 +421,7 @@ async function openSingleNewColumn(fieldName, val, list) {
}
await getSparePartsList()
costCenterRef.value.open(singleColumnList.value)
costCenterRef.value.keyword = ''
}
async function searchItem(keywords) {

Loading…
Cancel
Save