This commit is contained in:
zmj 2024-05-10 18:13:14 +08:00
commit b079eb9e5d
1 changed files with 16 additions and 9 deletions

View File

@ -29,6 +29,14 @@
{{ form.id }}
</el-descriptions-item>
</el-descriptions>
<el-table :data="form.goods_info" border style="width: 100%; margin-top: 20px;">
<el-table-column prop="id" label="ID" width="120" />
<el-table-column prop="goods_name" label="商品名称"/>
<el-table-column prop="price" label="单价(元)" />
<el-table-column prop="unit_name" label="单位" />
<el-table-column prop="nums" label="数量" />
<el-table-column prop="total" label="合计(元)" />
</el-table>
</el-tab-pane>
<el-tab-pane label="订单" name="second">订单列表</el-tab-pane>
<el-tab-pane label="报价信息" name="third">报价信息</el-tab-pane>
@ -62,7 +70,6 @@ const getDetail = async () => {
const data = await apiOpurchaseclassDetail({
id: route.query.id,
});
console.log(data);
form.value = data;
};
getDetail();