Compare commits
No commits in common. "47249a333f0c144989de8c80e0dc74418341339c" and "a7a79b60045eda45e710b8a5db884442835e2147" have entirely different histories.
47249a333f
...
a7a79b6004
|
@ -8,35 +8,27 @@
|
||||||
<el-button type="primary">Operation</el-button>
|
<el-button type="primary">Operation</el-button>
|
||||||
</template> -->
|
</template> -->
|
||||||
<el-descriptions-item :span="4" label="单据编号">
|
<el-descriptions-item :span="4" label="单据编号">
|
||||||
{{ form.number }}
|
{{form.number}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item :span="2" label="单据金额">
|
<el-descriptions-item :span="2" label="单据金额">
|
||||||
{{ form.total }}
|
{{form.total}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item :span="2" label="抵扣金额">
|
<el-descriptions-item :span="2" label="抵扣金额">
|
||||||
{{ form.deduction_price }}
|
{{form.deduction_price}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item :span="2" label="实际金额">
|
<el-descriptions-item :span="2" label="实际金额">
|
||||||
{{ form.actual }}
|
{{form.actual}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item :span="2" label="实收金额">
|
<el-descriptions-item :span="2" label="实收金额">
|
||||||
{{ form.money }}
|
{{form.money}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="所属商户">
|
<el-descriptions-item label="所属商户">
|
||||||
{{ form.merchant }}
|
{{form.merchant}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="ID">
|
<el-descriptions-item label="ID">
|
||||||
{{ form.id }}
|
{{form.id}}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</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>
|
||||||
<el-tab-pane label="订单" name="second">订单列表</el-tab-pane>
|
<el-tab-pane label="订单" name="second">订单列表</el-tab-pane>
|
||||||
<el-tab-pane label="报价信息" name="third">报价信息</el-tab-pane>
|
<el-tab-pane label="报价信息" name="third">报价信息</el-tab-pane>
|
||||||
|
@ -70,6 +62,7 @@ const getDetail = async () => {
|
||||||
const data = await apiOpurchaseclassDetail({
|
const data = await apiOpurchaseclassDetail({
|
||||||
id: route.query.id,
|
id: route.query.id,
|
||||||
});
|
});
|
||||||
|
console.log(data);
|
||||||
form.value = data;
|
form.value = data;
|
||||||
};
|
};
|
||||||
getDetail();
|
getDetail();
|
||||||
|
|
Loading…
Reference in New Issue