diff --git a/api/newFun.js b/api/newFun.js
index 322de3e..cd26da2 100644
--- a/api/newFun.js
+++ b/api/newFun.js
@@ -240,4 +240,15 @@ export const editStore = (param) => {
// 会员分类xiangqing
export const storeData = (param) => {
return request.get('store/data', param)
+}
+// 一键新增
+export const collectorList = (param) => {
+ return request.post('goods.collector/list', param)
+}
+export const editCollector = (param) => {
+ return request.post('goods.collector/batch', param)
+}
+// 运费模版
+export const deliveryall = (param) => {
+ return request.post('setting/deliveryall', param)
}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index b8a9e08..89ad462 100644
--- a/pages.json
+++ b/pages.json
@@ -517,6 +517,13 @@
},
{
"path": "goods/oneGrounding",
+ "style": {
+ "navigationBarTitleText": "采集列表",
+ "enablePullDownRefresh": false
+ }
+ },
+ {
+ "path": "goods/addOneGround",
"style": {
"navigationBarTitleText": "一键上架",
"enablePullDownRefresh": false
diff --git a/pages/news/coupon/index.vue b/pages/news/coupon/index.vue
index 2c60d2d..97ae663 100644
--- a/pages/news/coupon/index.vue
+++ b/pages/news/coupon/index.vue
@@ -81,7 +81,7 @@
})
.then(res => {
that.$toast(res.message)
- this.getCoupon()
+ that.getCoupon(that.tabIndex)
})
.finally(() => that.isLoading = false)
},
diff --git a/pages/news/goods/addOneGround.vue b/pages/news/goods/addOneGround.vue
new file mode 100644
index 0000000..c03a288
--- /dev/null
+++ b/pages/news/goods/addOneGround.vue
@@ -0,0 +1,571 @@
+
+
+
+
+ 商品链接*
+
+
+
+
+
+
+ 商品主图*
+
+
+
+ {{ item.name }}
+
+
+
+
+
+ 商品类型*
+
+
+
+ {{ item.name }}
+
+
+
+
+
+ 商品分类*
+
+
+ {{from.categoryIds?category_name:'请选商品分类'}}
+
+
+
+
+ 运费模版*
+
+
+
+ {{template_name?template_name:'请选择运费模版'}}
+
+
+
+
+
+ 商品状态*
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+ 重置
+
+
+ 确定
+
+
+
+
+
+
+
+
+
diff --git a/pages/news/goods/components/category.vue b/pages/news/goods/components/category.vue
new file mode 100644
index 0000000..5ca5b5b
--- /dev/null
+++ b/pages/news/goods/components/category.vue
@@ -0,0 +1,207 @@
+
+
+
+
+
+ 请选择分类
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+ {{ item.name }}
+
+
+
+
+
+
+
+
+ 重置
+
+
+ 确定
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/news/goods/oneGrounding.vue b/pages/news/goods/oneGrounding.vue
index 9146211..b2c739d 100644
--- a/pages/news/goods/oneGrounding.vue
+++ b/pages/news/goods/oneGrounding.vue
@@ -1,695 +1,145 @@
-
-
-
-
- 商品名称*
-
- 元
-
-
-
- 商品分类
-
- 请选择商品分类
+
+
+
+
+
+ 采集数量:{{item.total_count}}
+ 成功数量:{{item.success_count}}
-
-
-
- 商品照片*
- 最多上传100张
-
-
-
-
-
-
- 上传图片
-
-
-
-
-
-
- 商品详情*
-
-
+
+ 采集状态:{{item.status==20?'已采集':'未采集'}}
+ 失败数量:{{item.fail_count}}
-
-
-
-
-
- 上传图片
-
-
-
-
-
-
- 商品素材*
-
-
-
-
-
- 上传图片
-
-
-
-
-
-
-
-
- 多规格
-
-
- 最多添加3个商品规格组,生成SKU数量不能超出50个
-
-
-
- 商品价格*
-
- 元
-
-
-
- 商品原价
-
- 元
-
-
-
- 商品库存*
-
- 件
-
-
-
- 商品重量*
-
- kg
+
+ 开始时间:{{item.start_time}}
-
-
-
-
- 配送方式*
-
-
-
- {{from.delivery_name?from.delivery_name:'请选择配送方式'}}
-
-
-
-
-
- 运费模版*
-
-
-
- {{from.template_name?from.template_name:'请选择运费模版'}}
-
-
-
-
-
- 销售状态*
-
-
+
+ 结束时间:{{item.end_time}}
+
-
- 确认
-
-
-
-
-
- 新增分类
-
- 商品分类
-
-
-
-
- 数码
-
-
- 食品
-
-
- 服饰鞋包
-
-
- 家居百货
-
-
- 美妆/个户
-
-
- 家居百货
-
-
- 美妆/个户
-
-
- 食品
-
-
- 服饰鞋包
-
-
- 家居百货
-
-
- 美妆/个户
-
-
-
-
- 水产肉类/新鲜水果
-
-
-
-
-
+
diff --git a/pages/news3/shopDealerOrder.vue b/pages/news3/shopDealerOrder.vue
index d23195a..b0a3465 100644
--- a/pages/news3/shopDealerOrder.vue
+++ b/pages/news3/shopDealerOrder.vue
@@ -381,7 +381,7 @@
min-height: 100%;
}
-::v-deep .u-empty {
+ ::v-deep .u-empty {
padding: 100rpx 0;
}
@@ -389,7 +389,7 @@
height: 62rpx !important;
line-height: 62rpx !important;
background-color: #fff !important;
- width: 608rpx !important;
+ width: 600rpx !important;
}
.head-info {
@@ -401,13 +401,13 @@
justify-content: space-between;
position: relative;
background-color: #fff !important;
+ border-radius: 28rpx;
::v-deep .uni-input-placeholder {
margin-left: 10upx;
z-index: 10;
background-color: #fff !important;
}
-
.search {
position: absolute;
top: 20upx;