This commit is contained in:
姜棚 2021-12-08 17:12:57 +08:00
parent f79c6ce78f
commit cef8c42471
2 changed files with 15 additions and 15 deletions

View File

@ -376,7 +376,7 @@ export const getCodeProduct = (batch_id,id) => {
// //蓝色兄弟映射商品 // //蓝色兄弟映射商品
export const getProductInfoSelect = (params) => { export const getProductInfoSelect = (params) => {
return req('get', baseurl + "/system/market/products?reseller_id=22988",params) return req('get', baseurl + "/product/market/products",params)
} }
// 上传 // 上传

View File

@ -21,12 +21,12 @@ const Column = [
name: 'id', name: 'id',
prop:'id', prop:'id',
type: "normal", type: "normal",
width:'90px' width:'auto'
}, { }, {
title: '兑换码名称', title: '兑换码名称',
prop:'title', prop:'title',
name: 'title', name: 'title',
width:'200px', width:'auto',
type: "solt", type: "solt",
}, { }, {
title: '有效期', title: '有效期',
@ -40,19 +40,19 @@ const Column = [
name: 'plan_title', name: 'plan_title',
type: "normal", type: "normal",
prop:'plan_title', prop:'plan_title',
width:'90px' width:'auto'
}, },
{ {
title: '归属KEY批次ID', title: '归属KEY批次ID',
name: 'key_batch_id', name: 'key_batch_id',
type: "normal", type: "normal",
prop:'key_batch_id', prop:'key_batch_id',
width:'90px', width:'auto',
}, },
{ {
title: '启用/暂停', title: '启用/暂停',
width:'60px', width:'auto',
type: "auto", type: "slot",
prop:'switch' prop:'switch'
}, },
{ {
@ -60,7 +60,7 @@ const Column = [
prop: 'opearo', prop: 'opearo',
name: 'opearo', name: 'opearo',
type: "slot", type: "slot",
width:'120px', width:'auto',
}, },
{ {
@ -68,43 +68,43 @@ const Column = [
name: 'quantity', name: 'quantity',
type: "normal", type: "normal",
prop:'quantity', prop:'quantity',
width:'120px', width:'auto',
}, { }, {
title: '已领取', title: '已领取',
name: 'received', name: 'received',
type: "normal", type: "normal",
prop:'received', prop:'received',
width:'40px', width:'auto',
}, { }, {
title: '已使用', title: '已使用',
name: 'usage', name: 'usage',
type: "normal", type: "normal",
prop:'usage', prop:'usage',
width:'40px', width:'auto',
}, { }, {
title: '剩余数', title: '剩余数',
name: 'stock', name: 'stock',
type: "normal", type: "normal",
prop:'stock', prop:'stock',
width:'40px', width:'auto',
},{ },{
title: '已失效', title: '已失效',
name: 'expired', name: 'expired',
type: "normal", type: "normal",
prop:'expired', prop:'expired',
width:'40px', width:'auto',
},{ },{
title: '已作废', title: '已作废',
name: 'invalid', name: 'invalid',
type: "normal", type: "normal",
prop:'invalid', prop:'invalid',
width:'40px', width:'auto',
},{ },{
title: '状态', title: '状态',
name: 'status', name: 'status',
type: "slot", type: "slot",
prop:'status', prop:'status',
width:'60px', width:'auto',
}, },
]; ];