update:
1. fix
This commit is contained in:
@@ -2,7 +2,7 @@ import request from '@/axios';
|
|||||||
|
|
||||||
export const getList = (current, size, params) => {
|
export const getList = (current, size, params) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-productinventory/productInventory/list',
|
url: '/market/merchant-inventory/list',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
...params,
|
...params,
|
||||||
@@ -14,7 +14,7 @@ export const getList = (current, size, params) => {
|
|||||||
|
|
||||||
export const getDetail = (id) => {
|
export const getDetail = (id) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-productinventory/productInventory/detail',
|
url: '/market/merchant-inventory/detail',
|
||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
id
|
id
|
||||||
@@ -24,7 +24,7 @@ export const getDetail = (id) => {
|
|||||||
|
|
||||||
export const remove = (ids) => {
|
export const remove = (ids) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-productinventory/productInventory/remove',
|
url: '/market/merchant-inventory/remove',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
params: {
|
params: {
|
||||||
ids,
|
ids,
|
||||||
@@ -34,7 +34,7 @@ export const remove = (ids) => {
|
|||||||
|
|
||||||
export const add = (row) => {
|
export const add = (row) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-productinventory/productInventory/submit',
|
url: '/market/merchant-inventory/submit',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: row
|
data: row
|
||||||
})
|
})
|
||||||
@@ -42,7 +42,7 @@ export const add = (row) => {
|
|||||||
|
|
||||||
export const update = (row) => {
|
export const update = (row) => {
|
||||||
return request({
|
return request({
|
||||||
url: '/blade-productinventory/productInventory/submit',
|
url: '/market/merchant-inventory/submit',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: row
|
data: row
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ export default {
|
|||||||
searchMenuSpan: 6,
|
searchMenuSpan: 6,
|
||||||
border: true,
|
border: true,
|
||||||
index: true,
|
index: true,
|
||||||
|
menu: false,
|
||||||
|
addBtn:false,
|
||||||
|
delBtn: false,
|
||||||
viewBtn: true,
|
viewBtn: true,
|
||||||
selection: true,
|
selection: true,
|
||||||
dialogClickModal: false,
|
dialogClickModal: false,
|
||||||
@@ -23,6 +26,7 @@ export default {
|
|||||||
label: "用户id",
|
label: "用户id",
|
||||||
prop: "userId",
|
prop: "userId",
|
||||||
type: "input",
|
type: "input",
|
||||||
|
hide: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "用户账号",
|
label: "用户账号",
|
||||||
@@ -30,7 +34,7 @@ export default {
|
|||||||
type: "input",
|
type: "input",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "商品类型: 1-自营商品, 2-企业商品",
|
label: "商品类型",
|
||||||
prop: "type",
|
prop: "type",
|
||||||
type: "input",
|
type: "input",
|
||||||
},
|
},
|
||||||
@@ -43,6 +47,7 @@ export default {
|
|||||||
label: "商品id",
|
label: "商品id",
|
||||||
prop: "productId",
|
prop: "productId",
|
||||||
type: "input",
|
type: "input",
|
||||||
|
hide: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "店铺名称",
|
label: "店铺名称",
|
||||||
|
|||||||
Reference in New Issue
Block a user