提交 bb429c99 编写于 作者: jq's avatar jq

修改文案添加列表金额

上级 c7ad6dcd
...@@ -9,6 +9,11 @@ export const DIAGNOS_LIST_NEW = [ ...@@ -9,6 +9,11 @@ export const DIAGNOS_LIST_NEW = [
label: '订单ID', label: '订单ID',
showtooltip: false, showtooltip: false,
}, },
{
prop: 'price',
label: '订单金额',
showtooltip: false,
},
{ {
prop: 'diagnoseTypeStr', prop: 'diagnoseTypeStr',
label: '预约类型', label: '预约类型',
......
...@@ -70,12 +70,12 @@ ...@@ -70,12 +70,12 @@
</div> </div>
<div> <div>
<el-form-item <el-form-item
label="订单价格" label="订单筛选"
class="t-b" class="t-b"
> >
<el-select <el-select
v-model="searchParam.price" v-model="searchParam.price"
placeholder="请选择订单价格" placeholder="请选择订单筛选"
style="width: 220px" style="width: 220px"
> >
<el-option <el-option
...@@ -836,7 +836,12 @@ ...@@ -836,7 +836,12 @@
diagnoseList(this.searchParam).then((res) => { diagnoseList(this.searchParam).then((res) => {
this.loading = false; this.loading = false;
if (res.code == '000000') { if (res.code == '000000') {
this.tableData = res.data.list; this.tableData = (res.data.list || []).map(item => {
return {
...item,
price:item.price > 0 ? item.price / 100 : 0
};
});
this.totalRows = res.data.allSize; this.totalRows = res.data.allSize;
} }
}); });
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册