info-table1.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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?.formTypeName }}</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?.isSpecialFund }}</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">{{ infoData?.isAdjustName }}</hc-info-table-td>
  46. <hc-info-table-td center is-title width="120px">备注:</hc-info-table-td>
  47. <hc-info-table-td width="auto" colspan="3">{{ infoData?.remark }}</hc-info-table-td>
  48. </tr>
  49. </hc-info-table>
  50. </template>
  51. <script setup>
  52. import { ref, watch } from 'vue'
  53. //参数
  54. const props = defineProps({
  55. infoData: {
  56. type: Object,
  57. default: () => ({}),
  58. },
  59. })
  60. const infoData = ref(props.infoData)
  61. //监听
  62. watch(() => [
  63. props.infoData,
  64. ], ([InfoData]) => {
  65. console.log(InfoData, 'InfoData')
  66. infoData.value = InfoData
  67. })
  68. </script>