更新工作台页面,优化交易数据展示,修复核销订单金额等数据展示错误,并调整相关API接口路径
This commit is contained in:
parent
5e2708a289
commit
57b6505bf4
|
@ -1,8 +1,8 @@
|
||||||
NODE_ENV = 'development'
|
NODE_ENV = 'development'
|
||||||
|
|
||||||
# Base API
|
Base API
|
||||||
# VITE_NOW_TYPE='dist/store'
|
VITE_NOW_TYPE='dist/store'
|
||||||
# VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
|
VITE_APP_BASE_URL='https://test-multi-store.lihaink.cn'
|
||||||
|
|
||||||
VITE_NOW_TYPE='build/store'
|
# VITE_NOW_TYPE='build/store'
|
||||||
VITE_APP_BASE_URL='https://multi-store.lihaink.cn'
|
# VITE_APP_BASE_URL='https://multi-store.lihaink.cn'
|
||||||
|
|
|
@ -43,11 +43,13 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="商品名称" prop="store_name" show-overflow-tooltip />
|
<el-table-column label="商品名称" prop="store_name" show-overflow-tooltip />
|
||||||
<el-table-column label="商品售价" prop="price" show-overflow-tooltip />
|
<el-table-column label="供货价" prop="purchase" show-overflow-tooltip />
|
||||||
<el-table-column label="商品批发价" prop="wholesale_price" show-overflow-tooltip />
|
<el-table-column label="商户价" prop="cost" show-overflow-tooltip />
|
||||||
|
<el-table-column label="会员价" prop="vip_price" show-overflow-tooltip />
|
||||||
|
<el-table-column label="终端零售价" prop="price" show-overflow-tooltip />
|
||||||
<el-table-column label="销量" prop="sales" show-overflow-tooltip />
|
<el-table-column label="销量" prop="sales" show-overflow-tooltip />
|
||||||
<el-table-column label="库存" prop="stock" show-overflow-tooltip />
|
<el-table-column label="库存" prop="stock" show-overflow-tooltip />
|
||||||
<el-table-column label="状态" prop="engineering_status_text" show-overflow-tooltip>
|
<!-- <el-table-column label="状态" prop="engineering_status_text" show-overflow-tooltip>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-switch v-model="row.status" :active-value="1" :inactive-value="0"
|
<el-switch v-model="row.status" :active-value="1" :inactive-value="0"
|
||||||
@change="changeStatus(row)"></el-switch>
|
@change="changeStatus(row)"></el-switch>
|
||||||
|
@ -59,7 +61,7 @@
|
||||||
库存管理
|
库存管理
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column> -->
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex mt-4 justify-end">
|
<div class="flex mt-4 justify-end">
|
||||||
|
@ -107,13 +109,13 @@ const { pager, getLists, resetParams, resetPage } = usePaging({
|
||||||
})
|
})
|
||||||
|
|
||||||
// 上架&下架
|
// 上架&下架
|
||||||
const changeStatus = (data: any) => {
|
// const changeStatus = (data: any) => {
|
||||||
apiStatus({
|
// apiStatus({
|
||||||
id: data.id,
|
// id: data.id,
|
||||||
}).finally(() => {
|
// }).finally(() => {
|
||||||
getLists()
|
// getLists()
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
|
|
||||||
|
|
||||||
let store_id = useUserStore().userInfo.store_id
|
let store_id = useUserStore().userInfo.store_id
|
||||||
|
|
Loading…
Reference in New Issue