From 72ad898a6c1918bd6212e4271c42c4293d2897c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Tue, 17 Aug 2021 15:46:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BB=A1=E9=A2=9D=E6=B4=BB=E5=8A=A8=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E4=BF=AE=E6=94=B9Cookie=E4=B8=AD=E7=9A=84=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=AF=BC=E8=87=B4=E6=96=B0=E5=A2=9E=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/promotion/fullCut/newFullCut.vue | 226 +++--------------- 1 file changed, 38 insertions(+), 188 deletions(-) diff --git a/seller/src/views/promotion/fullCut/newFullCut.vue b/seller/src/views/promotion/fullCut/newFullCut.vue index 5791f77d..826eb52f 100644 --- a/seller/src/views/promotion/fullCut/newFullCut.vue +++ b/seller/src/views/promotion/fullCut/newFullCut.vue @@ -6,243 +6,87 @@

基本信息

- + - + - +

优惠设置

- + 消费达到当前金额可以参与优惠 - 减现金 - 打折 + 减现金 + 打折 - - + + - - + + 优惠折扣为0-10之间数字,可有一位小数 - 免邮费 - 送优惠券 - 送赠品 - 送积分 - + 免邮费 + 送优惠券 + 送赠品 + 送积分 - + - + - + - 全品类 - 指定商品 + 全品类 + 指定商品 - -
- - + +
+ +
- +
- - + +
- + @@ -256,12 +100,14 @@ import { import { getGoodsSkuListDataSeller } from "@/api/goods"; import { regular } from "@/utils"; import skuSelect from "@/views/lili-dialog"; +import Cookies from "js-cookie"; export default { name: "addFullCut", components: { skuSelect }, data() { + const checkPrice = (rule, value, callback) => { if (!value && value !== 0) { return callback(new Error("面额不能为空")); @@ -285,6 +131,7 @@ export default { } }; return { + Cookies, form: { // 活动表单 discountType: "isFullMinus", scopeType: "ALL", @@ -574,5 +421,8 @@ h4 { margin-left: 10px; color: #999; } +.ivu-form-item{ + margin-bottom: 24px !important; +}