<script setup lang="ts">
import { ElForm } from "element-plus";
import BasicPurchas from "./../basic-purchase.vue";
import StatementDetail from "./statement-detail.vue";

defineProps<{
  statementDetail?: Record<string, string>;
}>();
</script>

<template>
  <!-- 显示详情详情 -->
  <div mb-5>
    <StatementDetail :statement-detail="statementDetail" />
  </div>

  <el-form ref="formRef">
    <el-form-item label="采购单信息" prop="cids">
      <BasicPurchas
        :purchase-order-list="statementDetail?.cgdlist || []"
        readonly
      />
    </el-form-item>
  </el-form>
</template>
