更新采购订单
This commit is contained in:
parent
beafe9528b
commit
bfa004a23c
|
@ -8,27 +8,35 @@
|
|||
<el-button type="primary">Operation</el-button>
|
||||
</template> -->
|
||||
<el-descriptions-item :span="4" label="单据编号">
|
||||
{{form.number}}
|
||||
{{ form.number }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="单据金额">
|
||||
{{form.total}}
|
||||
<el-descriptions-item :span="2" label="单据金额">
|
||||
{{ form.total }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="抵扣金额">
|
||||
{{form.deduction_price}}
|
||||
{{ form.deduction_price }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="实际金额">
|
||||
{{form.actual}}
|
||||
{{ form.actual }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item :span="2" label="实收金额">
|
||||
{{form.money}}
|
||||
{{ form.money }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="所属商户">
|
||||
{{form.merchant}}
|
||||
{{ form.merchant }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="ID">
|
||||
{{form.id}}
|
||||
{{ 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();
|
||||
|
|
Loading…
Reference in New Issue