diff --git a/src/api/shop/goods/index.js b/src/api/shop/goods/index.js
index 9c287b4..97cad0f 100644
--- a/src/api/shop/goods/index.js
+++ b/src/api/shop/goods/index.js
@@ -9,3 +9,31 @@ export function shopPushList(params) {
params: params,
})
}
+export function jcookGoodsList(params) {
+ return httpService({
+ url: `/user/shop/jcookGoodsList`,
+ method: 'get',
+ params: params,
+ })
+}
+export function offShelf(params) {
+ return httpService({
+ url: `/user/shop/offShelf`,
+ method: 'post',
+ data: params,
+ })
+}
+export function onShelf(params) {
+ return httpService({
+ url: `/user/shop/onShelf`,
+ method: 'post',
+ data: params,
+ })
+}
+export function jcookGoodsBatchPush(params) {
+ return httpService({
+ url: `/user/shop/jcookGoodsBatchPush`,
+ method: 'post',
+ data: params,
+ })
+}
\ No newline at end of file
diff --git a/src/router/shop.js b/src/router/shop.js
index 0833b76..4390941 100644
--- a/src/router/shop.js
+++ b/src/router/shop.js
@@ -25,6 +25,14 @@ export default [
component: resolve => require(['@/views/Shop/GoodsManage/_goodsList'], resolve),
meta: {title: '商品列表'},
},
+ {
+ path: '/GoodsManage/JcookList',
+ name: "JcookList",
+ title: "jcook商品库",
+ hide: false,
+ component: resolve => require(['@/views/Shop/GoodsManage/_jcookList'], resolve),
+ meta: {title: 'jcook商品库'},
+ },
{
path: '/GoodsManage/GoodsCate',
name: "GoodsCate",
diff --git a/src/views/Operation/clientSet/depend/table.vue b/src/views/Operation/clientSet/depend/table.vue
index 0d2b0a5..5a6bb53 100644
--- a/src/views/Operation/clientSet/depend/table.vue
+++ b/src/views/Operation/clientSet/depend/table.vue
@@ -33,6 +33,9 @@
diff --git a/src/views/Shop/GoodsManage/_jcookList/depend/config.js b/src/views/Shop/GoodsManage/_jcookList/depend/config.js
new file mode 100644
index 0000000..5118f53
--- /dev/null
+++ b/src/views/Shop/GoodsManage/_jcookList/depend/config.js
@@ -0,0 +1,149 @@
+export const columns = [
+ {
+ title: "商品名称",
+ width: "8%",
+ dataIndex: "skuName",
+ },
+ {
+ title: "sku编码",
+ width: "8%",
+ dataIndex: "skuId",
+ },
+ {
+ title: "店铺名",
+ width: "8%",
+ dataIndex: "shopName",
+ },
+ {
+ title: "品牌名",
+ width: "8%",
+ dataIndex: "brandName",
+ },
+ {
+ title: "供应商名",
+ width: "8%",
+ dataIndex: "vendorName",
+ },
+ {
+ title: "一级分类名称",
+ width: "5%",
+ dataIndex: "categoryFirstName",
+ },
+ {
+ title: "二级分类名称",
+ width: "5%",
+ dataIndex: "categorySecondName",
+ },
+ {
+ title: "三级分类名称",
+ width: "5%",
+ dataIndex: "categoryThirdName",
+ },
+ {
+ title: "上架状态",
+ width: "5%",
+ dataIndex: "status",
+ customRender: function (status) {
+ switch (status) {
+ case false:
+ return '下架'
+ break;
+ case true:
+ return '上架'
+ default:
+ break;
+ }
+ }
+ },
+ {
+ title: "app商品库推送状态",
+ width: "5%",
+ dataIndex: "appShopPush",
+ customRender: function (appShopPush) {
+ switch (appShopPush) {
+ case false:
+ return '未推送'
+ break;
+ case true:
+ return '已推送'
+ default:
+ break;
+ }
+ }
+ },
+ {
+ title: "主图url",
+ width: "8%",
+ dataIndex: "mainPhoto",
+ },
+ {
+ title: "供货价",
+ width: "5%",
+ dataIndex: "supplyPrices",
+ },
+ {
+ title: "指导价",
+ width: "5%",
+ dataIndex: "guidePrices",
+ },
+ {
+ title: "更新时间",
+ width: "8%",
+ dataIndex: "updatedAt",
+ },
+ {
+ title: "操作",
+ dataIndex: "action",
+ key: "action",
+ width: "180",
+ fixed: "right",
+ scopedSlots: { customRender: "action" },
+ },
+]
+export const formItem = [
+ {
+ type: 'input',
+ label:'sku编码',
+ prop:'jcookSkuId',
+ placeholder:'请输入'
+ },
+ {
+ type: 'select',
+ label:'上架状态',
+ prop:'status',
+ option:[{ id:0,name:'下架'},{ id:1,name:'上架'},],
+ placeholder:'请选择状态'
+ },
+ {
+ type: 'input',
+ label:'商品名称',
+ prop:'skuName',
+ placeholder:'请输入'
+ },
+ {
+ type: 'input',
+ label:'店铺名',
+ prop:'shopName',
+ placeholder:'请输入'
+ },
+ {
+ type: 'input',
+ label:'供应商名称',
+ prop:'vendorName',
+ placeholder:'请输入'
+ },
+ {
+ type: 'input',
+ label:'品牌名称',
+ prop:'brandName',
+ placeholder:'请输入'
+ },
+]
+export const pagination = {
+ current: 1,
+ total: 0,
+ pageSize: 10,
+ showTotal: (total) => `共 ${total} 条`,
+ showSizeChanger: true,
+ showQuickJumper: true,
+}
\ No newline at end of file
diff --git a/src/views/Shop/GoodsManage/_jcookList/depend/form.js b/src/views/Shop/GoodsManage/_jcookList/depend/form.js
new file mode 100644
index 0000000..1358dae
--- /dev/null
+++ b/src/views/Shop/GoodsManage/_jcookList/depend/form.js
@@ -0,0 +1,21 @@
+export const form = {
+ id:undefined,
+ title:undefined,
+ categoryId:undefined,
+ status:undefined,
+ content:undefined,
+ imgUrls:[]
+}
+export const rules = {
+ title:[{required:true,message:'请输入标题',trigger:'blur'}],
+ categoryId:[{required:true,message:'请选择分类',trigger:'change'}],
+ status:[{required:true,message:'请选择',trigger:'change'}],
+ content:[{required:true,message:'请输入',trigger:'blur'}],
+}
+export const options = {
+ status:[
+ { id:1, name:'未发布' },
+ { id:2, name:'已发布' },
+ ],
+ categoryId:[]
+}
\ No newline at end of file
diff --git a/src/views/Shop/GoodsManage/_jcookList/depend/form.vue b/src/views/Shop/GoodsManage/_jcookList/depend/form.vue
new file mode 100644
index 0000000..50729b0
--- /dev/null
+++ b/src/views/Shop/GoodsManage/_jcookList/depend/form.vue
@@ -0,0 +1,201 @@
+
+
+
+
+ 基本信息
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+
+ 资讯封面图片
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/Shop/GoodsManage/_jcookList/index.vue b/src/views/Shop/GoodsManage/_jcookList/index.vue
new file mode 100644
index 0000000..c7bd893
--- /dev/null
+++ b/src/views/Shop/GoodsManage/_jcookList/index.vue
@@ -0,0 +1,156 @@
+
+
+
jcook商品库
+
+
+
+
+ 上架推送
+
+
+
+
+
+
+ 批量上架
+
+ 批量操作
+
+
+
+ {{ `已选择 ${selectedRowKeys.length} 条` }}
+
+
+
+
+
+
+
+
+