@@ -72,6 +73,10 @@
开启拼团
+
+ 开启秒杀
+
@@ -95,8 +100,9 @@ import { del, onsale } from '@/api/yxStoreProduct'
import eForm from './form'
import eAttr from './attr'
import comForm from '@/views/activity/combination/form'
+import killForm from '@/views/activity/seckill/form'
export default {
- components: { eForm, eAttr, comForm },
+ components: { eForm, eAttr, comForm, killForm },
mixins: [initData],
data() {
return {
@@ -241,6 +247,38 @@ export default {
}
_this.dialog = true
},
+ editD(data) {
+ this.isAdd = false
+ const _this = this.$refs.form4
+ _this.form = {
+ productId: data.id,
+ merId: data.merId,
+ image: data.image,
+ images: data.sliderImage,
+ title: data.storeName,
+ info: data.storeInfo,
+ postage: data.postage,
+ unitName: data.unitName,
+ sort: data.sort,
+ sales: data.sales,
+ stock: data.stock,
+ isShow: data.isShow,
+ status: 1,
+ isHot: data.isHot,
+ description: data.description,
+ isPostage: data.isPostage,
+ people: 0,
+ price: 0.01,
+ effectiveTime: 24,
+ otPrice: data.otPrice,
+ cost: data.cost,
+ num: 1,
+ giveIntegral: 0,
+ isDel: 0,
+ browse: 0
+ }
+ _this.dialog = true
+ },
attr(data) {
console.log(3333)
this.isAttr = false
diff --git a/src/views/shop/order/detail.vue b/src/views/shop/order/detail.vue
index d654579..97a5b2c 100644
--- a/src/views/shop/order/detail.vue
+++ b/src/views/shop/order/detail.vue
@@ -5,7 +5,7 @@
收货信息
- 用户昵称: {{ form.nickname }}
+ 用户昵称:{{ form.nickname }}
收货人: {{ form.realName }}
联系电话: {{ form.userPhone }}
收货地址: {{ form.userAddress }}
diff --git a/src/views/shop/order/index.vue b/src/views/shop/order/index.vue
index a484a74..80f9394 100644
--- a/src/views/shop/order/index.vue
+++ b/src/views/shop/order/index.vue
@@ -80,7 +80,7 @@
@click="refund(scope.row)">
立刻退款
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确定删除本条数据吗?
+
+ 取消
+ 确定
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/shop/set/seckillform.vue b/src/views/shop/set/seckillform.vue
new file mode 100644
index 0000000..741f45d
--- /dev/null
+++ b/src/views/shop/set/seckillform.vue
@@ -0,0 +1,101 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/shop/set/signform.vue b/src/views/shop/set/signform.vue
index ac60a19..33f43fd 100644
--- a/src/views/shop/set/signform.vue
+++ b/src/views/shop/set/signform.vue
@@ -2,10 +2,10 @@
-
+
-
+