info-table1.vue 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <template>
  2. <hc-info-table>
  3. <tr>
  4. <hc-info-table-td center is-title width="120px">清单编号:</hc-info-table-td>
  5. <hc-info-table-td width="auto">{{ infoData?.formNumber }}</hc-info-table-td>
  6. <hc-info-table-td center is-title width="120px">清单名称:</hc-info-table-td>
  7. <hc-info-table-td width="auto">{{ infoData?.formName }}</hc-info-table-td>
  8. <hc-info-table-td center is-title width="120px">是否增补清单:</hc-info-table-td>
  9. <hc-info-table-td width="auto">{{ infoData?.isSupplement === 1 ? '是' : '否' }}</hc-info-table-td>
  10. </tr>
  11. <tr>
  12. <hc-info-table-td center is-title width="120px">清单类型:</hc-info-table-td>
  13. <hc-info-table-td width="auto">{{ infoData?.isSupplement }}</hc-info-table-td>
  14. <hc-info-table-td center is-title width="120px">单位:</hc-info-table-td>
  15. <hc-info-table-td width="auto">{{ infoData?.unit }}</hc-info-table-td>
  16. <hc-info-table-td center is-title width="120px">清单标识:</hc-info-table-td>
  17. <hc-info-table-td width="auto">{{ infoData?.formTag }}</hc-info-table-td>
  18. </tr>
  19. <tr>
  20. <hc-info-table-td center is-title width="120px">中标单价:</hc-info-table-td>
  21. <hc-info-table-td width="auto">{{ infoData?.bidPrice }}</hc-info-table-td>
  22. <hc-info-table-td center is-title width="120px">现行单价:</hc-info-table-td>
  23. <hc-info-table-td width="auto">{{ infoData?.currentPrice }}</hc-info-table-td>
  24. <hc-info-table-td center is-title width="120px">变更后单价:</hc-info-table-td>
  25. <hc-info-table-td width="auto">{{ infoData?.changePrice }}</hc-info-table-td>
  26. </tr>
  27. <tr>
  28. <hc-info-table-td center is-title width="120px">合同数量:</hc-info-table-td>
  29. <hc-info-table-td width="auto">{{ infoData?.contractTotal }}</hc-info-table-td>
  30. <hc-info-table-td center is-title width="120px">变更后数量:</hc-info-table-td>
  31. <hc-info-table-td width="auto">{{ infoData?.changeTotal }}</hc-info-table-td>
  32. <hc-info-table-td center is-title width="120px">专项暂定金:</hc-info-table-td>
  33. <hc-info-table-td width="auto">{{ infoData?.changePrice }}</hc-info-table-td>
  34. </tr>
  35. <tr>
  36. <hc-info-table-td center is-title width="120px">合同金额:</hc-info-table-td>
  37. <hc-info-table-td width="auto">{{ infoData?.contractMoney }}</hc-info-table-td>
  38. <hc-info-table-td center is-title width="120px">变更后金额:</hc-info-table-td>
  39. <hc-info-table-td width="auto">{{ infoData?.changeMoney }}</hc-info-table-td>
  40. <hc-info-table-td center is-title width="120px">章编号:</hc-info-table-td>
  41. <hc-info-table-td width="auto">{{ infoData?.chapterNumber }}</hc-info-table-td>
  42. </tr>
  43. <tr>
  44. <hc-info-table-td center is-title width="120px">备注:</hc-info-table-td>
  45. <hc-info-table-td width="auto" colspan="5">{{ infoData?.remark }}</hc-info-table-td>
  46. </tr>
  47. </hc-info-table>
  48. </template>
  49. <script setup>
  50. import { ref, watch } from 'vue'
  51. //参数
  52. const props = defineProps({
  53. infoData: {
  54. type: Object,
  55. default: () => ({}),
  56. },
  57. })
  58. const infoData = ref(props.infoData)
  59. //监听
  60. watch(() => [
  61. props.infoData,
  62. ], ([InfoData]) => {
  63. console.log(InfoData, 'InfoData')
  64. infoData.value = InfoData
  65. })
  66. </script>