1. fix
This commit is contained in:
2026-05-10 22:41:59 +08:00
parent bf46f05bf8
commit 72e5e62132
2 changed files with 11 additions and 6 deletions

View File

@@ -2,7 +2,7 @@ import request from '@/axios';
export const getList = (current, size, params) => {
return request({
url: '/blade-productinventory/productInventory/list',
url: '/market/merchant-inventory/list',
method: 'get',
params: {
...params,
@@ -14,7 +14,7 @@ export const getList = (current, size, params) => {
export const getDetail = (id) => {
return request({
url: '/blade-productinventory/productInventory/detail',
url: '/market/merchant-inventory/detail',
method: 'get',
params: {
id
@@ -24,7 +24,7 @@ export const getDetail = (id) => {
export const remove = (ids) => {
return request({
url: '/blade-productinventory/productInventory/remove',
url: '/market/merchant-inventory/remove',
method: 'post',
params: {
ids,
@@ -34,7 +34,7 @@ export const remove = (ids) => {
export const add = (row) => {
return request({
url: '/blade-productinventory/productInventory/submit',
url: '/market/merchant-inventory/submit',
method: 'post',
data: row
})
@@ -42,7 +42,7 @@ export const add = (row) => {
export const update = (row) => {
return request({
url: '/blade-productinventory/productInventory/submit',
url: '/market/merchant-inventory/submit',
method: 'post',
data: row
})

View File

@@ -6,6 +6,9 @@ export default {
searchMenuSpan: 6,
border: true,
index: true,
menu: false,
addBtn:false,
delBtn: false,
viewBtn: true,
selection: true,
dialogClickModal: false,
@@ -23,6 +26,7 @@ export default {
label: "用户id",
prop: "userId",
type: "input",
hide: true,
},
{
label: "用户账号",
@@ -30,7 +34,7 @@ export default {
type: "input",
},
{
label: "商品类型: 1-自营商品, 2-企业商品",
label: "商品类型",
prop: "type",
type: "input",
},
@@ -43,6 +47,7 @@ export default {
label: "商品id",
prop: "productId",
type: "input",
hide: true,
},
{
label: "店铺名称",