quotationDetail.vue 814 B

12345678910111213141516171819202122232425262728293031323334
  1. <!-- 产品记录 -->
  2. <template>
  3. <el-dialog title="产品记录" v-model="visible" width="1400px">
  4. <QuotationList ref="quotationListRef"
  5. :perPrefix=paramsData?.perPrefix :resourceTypeId="paramsData?.id"></QuotationList>
  6. </el-dialog>
  7. </template>
  8. <script setup lang="ts">
  9. import QuotationList from '@/modules/sales/views/business/component/QuotationList.vue'
  10. const visible = ref()
  11. const quotationListRef = ref()
  12. const paramsData = ref()
  13. const open = (data) => {
  14. paramsData.value = data
  15. visible.value = true
  16. }
  17. const cancel = () => {
  18. visible.value = false
  19. }
  20. const refreshPriceData = () => {
  21. quotationListRef.value.getQuotationList()
  22. }
  23. defineExpose({
  24. open
  25. })
  26. </script>
  27. <style lang="scss" scoped>
  28. </style>