fix: 改价和商品分页问题修改
This commit is contained in:
parent
d008be63f4
commit
6e866cac0e
|
@ -46,7 +46,7 @@ export const mer_admin = {
|
|||
},
|
||||
//商品分页
|
||||
getProductPage: (data) => {
|
||||
return $http.post(`/merchant-api/product/page`, data);
|
||||
return $http.post(`/merchant-api/product/page?pageNumber=${data.p.pageNumber}&pageSize=${data.p.pageSize}`, data);
|
||||
},
|
||||
//商品概况
|
||||
getProductOverview: (data) => {
|
||||
|
|
|
@ -266,6 +266,7 @@ export default {
|
|||
新客数量: row.newPeopleCount,
|
||||
支付订单人数: row.payCount,
|
||||
支付订单转化率: row.payConversion,
|
||||
客户复购率: row.repurchaseRate
|
||||
},
|
||||
];
|
||||
const workbook = XLSX.utils.book_new();
|
||||
|
@ -324,4 +325,4 @@ export default {
|
|||
color: #969696;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
@ -103,7 +103,7 @@ export default {
|
|||
render: () => {
|
||||
return (
|
||||
<el-input-number
|
||||
v-model={this.modalData.productSpecificationList[0].salePrice}
|
||||
v-model={this.modalData.productSpecificationList[0].marketPrice}
|
||||
min={0}
|
||||
label="描述文字"
|
||||
></el-input-number>
|
||||
|
@ -128,7 +128,7 @@ export default {
|
|||
},
|
||||
{
|
||||
title: "价格",
|
||||
field: "salePrice",
|
||||
field: "marketPrice",
|
||||
align: "center",
|
||||
type: "jsx",
|
||||
render: ({ row }) => {
|
||||
|
@ -137,7 +137,7 @@ export default {
|
|||
<el-input-number
|
||||
min={0}
|
||||
size="small"
|
||||
v-model={row.salePrice}
|
||||
v-model={row.marketPrice}
|
||||
placeholder="请输入数量"
|
||||
></el-input-number>
|
||||
</div>
|
||||
|
@ -187,4 +187,4 @@ export default {
|
|||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue