订单列表:列表重构 ④ 移除测试数据

(cherry picked from commit ebcbe63d9b)
This commit is contained in:
puhui999
2023-08-22 11:01:20 +08:00
committed by shizhong
parent c01a8f9e99
commit 8a7b6e2be1
4 changed files with 3 additions and 194 deletions

View File

@ -46,9 +46,7 @@
</el-descriptions-item>
<el-descriptions-item label-class-name="no-colon">
<el-button size="small" type="primary">调整价格</el-button>
<!-- TODO 芋艿待实现 -->
<el-button size="small" type="primary" @click="openForm('remark')">备注</el-button>
<!-- TODO 芋艿待实现 -->
<el-button size="small" type="primary" @click="openForm('delivery')">发货</el-button>
<!-- TODO 芋艿待实现 -->
<el-button size="small" type="primary">修改地址</el-button>
@ -354,11 +352,6 @@ const getDetail = async () => {
const id = params.orderId as unknown as number
if (id) {
const res = (await TradeOrderApi.getOrder(id)) as TradeOrderApi.OrderVO
// TODO 测试使用
res.user = {
id: 247,
nickname: '小妮子'
}
orderInfo.value = res
}
}