@@ -262,28 +262,28 @@ export default {
shopValidate: {
// 表单验证规则
memberName: [
- { required: true, message: "会员不能为空", trigger: "blur" },
+ { required: true, message: "会员不能为空" },
],
storeName: [
- { required: true, message: "店铺名称不能为空", trigger: "blur" },
+ { required: true, message: "店铺名称不能为空" },
],
companyAddress: [
- { required: true, message: "公司地址不能为空", trigger: "blur" },
+ { required: true, message: "公司地址不能为空" },
],
storeAddressDetail: [
- { required: true, message: "店铺详细地址不能为空", trigger: "blur" },
+ { required: true, message: "店铺详细地址不能为空" },
],
storeDesc: [
- { required: true, message: "店铺简介不能为空", trigger: "blur" },
+ { required: true, message: "店铺简介不能为空" },
],
storeCenter: [
- { required: true, message: "店铺未定位", trigger: "change" },
+ { required: true, message: "店铺未定位" },
],
companyName: [
- { required: true, message: "公司名称不能为空", trigger: "blur" },
+ { required: true, message: "公司名称不能为空", },
],
companyPhone: [
- { required: true, message: "公司电话不能为空", trigger: "blur" },
+ { required: true, message: "公司电话不能为空", },
],
employeeNum: [
{
@@ -302,10 +302,10 @@ export default {
},
],
linkName: [
- { required: true, message: "联系人姓名不能为空", trigger: "blur" },
+ { required: true, message: "联系人姓名不能为空", },
],
linkPhone: [
- { required: true, message: "联系人手机号不能为空", trigger: "blur" },
+ { required: true, message: "联系人手机号不能为空", },
{
type: "string",
pattern: /^1[3|4|5|6|7|8][0-9]{9}$/,
@@ -314,32 +314,32 @@ export default {
},
],
companyEmail: [
- { required: true, message: "邮箱不能为空", trigger: "blur" },
- { type: "email", message: "邮箱格式错误", trigger: "blur" },
+ { required: true, message: "邮箱不能为空", },
+ { type: "email", message: "邮箱格式错误", },
],
licenseNum: [
- { required: true, message: "营业执照号不能为空", trigger: "blur" },
+ { required: true, message: "营业执照号不能为空", },
],
scope: [
- { required: true, message: "法定经营范围不能为空", trigger: "blur" },
+ { required: true, message: "法定经营范围不能为空", },
],
legalName: [
- { required: true, message: "法人姓名不能为空", trigger: "blur" },
+ { required: true, message: "法人姓名不能为空", },
],
legalId: [
- { required: true, message: "法人证件号不能为空", trigger: "blur" },
+ { required: true, message: "法人证件号不能为空", },
],
settlementBankAccountName: [
- { required: true, message: "银行开户名不能为空", trigger: "blur" },
+ { required: true, message: "银行开户名不能为空", },
],
settlementBankAccountNum: [
- { required: true, message: "银行账号不能为空", trigger: "blur" },
+ { required: true, message: "银行账号不能为空", },
],
settlementBankBranchName: [
- { required: true, message: "银行支行名称不能为空", trigger: "blur" },
+ { required: true, message: "银行支行名称不能为空", },
],
settlementBankJointName: [
- { required: true, message: "支行联行号不能为空", trigger: "blur" },
+ { required: true, message: "支行联行号不能为空", },
],
salesConsigneeMobile: [
{
diff --git a/seller/src/config/index.js b/seller/src/config/index.js
index ec12ba69..4a006259 100644
--- a/seller/src/config/index.js
+++ b/seller/src/config/index.js
@@ -18,14 +18,14 @@ export default {
* @description api请求基础路径
*/
api_dev: {
- common: 'https://common-api.pickmall.cn',
- buyer: 'https://buyer-api.pickmall.cn',
- seller: 'https://store-api.pickmall.cn',
- manager: 'https://admin-api.pickmall.cn',
- // common: 'http://192.168.0.109:8890',
- // buyer: 'http://192.168.0.109:8888',
- // seller: 'http://192.168.0.109:8889',
- // manager: 'http://192.168.0.109:8887'
+ // common: 'https://common-api.pickmall.cn',
+ // buyer: 'https://buyer-api.pickmall.cn',
+ // seller: 'https://store-api.pickmall.cn',
+ // manager: 'https://admin-api.pickmall.cn',
+ common: 'http://192.168.0.106:8890',
+ buyer: 'http://192.168.0.106:8888',
+ seller: 'http://192.168.0.106:8889',
+ manager: 'http://192.168.0.106:8887'
},
api_prod: {
diff --git a/seller/src/views/goods/goods-seller/addGoods.scss b/seller/src/views/goods/goods-seller/addGoods.scss
index 54f0259f..a1b9d609 100644
--- a/seller/src/views/goods/goods-seller/addGoods.scss
+++ b/seller/src/views/goods/goods-seller/addGoods.scss
@@ -77,10 +77,6 @@
}
}
-/*平铺*/
-div.base-info-item > div {
- margin-left: 5%;
-}
div.base-info-item {
h4 {
@@ -94,13 +90,15 @@ div.base-info-item {
line-height: 40px;
text-align: left;
}
-
+ >div{
+ padding-left: 5%;
+ }
.form-item-view {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: space-between;
- padding-left: 80px;
+ // padding-left: 80px;
.layout {
margin-bottom: 20px;
diff --git a/seller/src/views/goods/goods-seller/goodsOperation.vue b/seller/src/views/goods/goods-seller/goodsOperation.vue
index fdc33182..ed3fc207 100644
--- a/seller/src/views/goods/goods-seller/goodsOperation.vue
+++ b/seller/src/views/goods/goods-seller/goodsOperation.vue
@@ -74,7 +74,7 @@
-
+
-
+
diff --git a/seller/src/views/main-components/shrinkable-menu/styles/menu.scss b/seller/src/views/main-components/shrinkable-menu/styles/menu.scss
index 9169a5dc..3fc8c569 100644
--- a/seller/src/views/main-components/shrinkable-menu/styles/menu.scss
+++ b/seller/src/views/main-components/shrinkable-menu/styles/menu.scss
@@ -3,9 +3,7 @@
width: 180px;
display: flex;
}
-.ivu-menu-vertical .ivu-menu-item-group-title {
- padding-left: 5px;
-}
+
.ivu-btn-text:hover {
background-color: rgba(255,255,255,.2) !important;
}
@@ -21,3 +19,8 @@
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu), .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu){
color: #ed3f14;
}
+/deep/.ivu-menu-vertical .ivu-menu-item-group-title {
+ height: 40px;
+ line-height: 40px;
+ padding-left: 20px;
+}
\ No newline at end of file
diff --git a/seller/src/views/my-components/lili/editor.vue b/seller/src/views/my-components/lili/editor.vue
index 97c7b855..c8e65270 100644
--- a/seller/src/views/my-components/lili/editor.vue
+++ b/seller/src/views/my-components/lili/editor.vue
@@ -90,7 +90,6 @@ export default {
initEditor() {
let that = this;
this.editor = new E(`#${this.id}`);
-
// 编辑内容绑定数据
this.editor.config.onchange = (html) => {
if (this.openXss) {
@@ -195,6 +194,7 @@ export default {
});
},
setData(value) {
+ // 设置数据
if (!this.editor) {
this.initEditor();
}
@@ -204,15 +204,14 @@ export default {
this.$emit("input", this.data);
this.$emit("on-change", this.data);
}
- },
+ }
},
watch: {
value: {
immediate: true,
handler: function (val) {
-
this.setData(val);
- }
+ },
},
},
mounted() {
@@ -231,6 +230,10 @@ export default {
color: #333;
}
}
+.w-e-toolbar {
+ // 给工具栏换行
+ flex-wrap: wrap;
+}
.e-code {
top: 6px;
left: 976px;
diff --git a/seller/src/views/promotion/coupon/coupon.vue b/seller/src/views/promotion/coupon/coupon.vue
index 5fae1965..a26b98c5 100644
--- a/seller/src/views/promotion/coupon/coupon.vue
+++ b/seller/src/views/promotion/coupon/coupon.vue
@@ -79,13 +79,11 @@ export default {
{
title: "活动名称",
key: "promotionName",
- minWidth: 100,
fixed: "left",
},
{
title: "优惠券名称",
key: "couponName",
- minWidth: 100,
tooltip: true,
},
{
@@ -107,18 +105,16 @@ export default {
{
title: "领取数量/总数量",
key: "publishNum",
- width: 130,
render: (h, params) => {
return h(
"div",
- params.row.receivedNum + "/" + params.row.publishNum
+ params.row.receivedNum + "/" + (params.row.publishNum === 0 ? '无限制' : params.row.publishNum)
);
},
},
{
title: "优惠券类型",
key: "couponType",
- width: 120,
render: (h, params) => {
let text = "未知";
if (params.row.couponType === "DISCOUNT") {
@@ -195,8 +191,7 @@ export default {
text
),
]);
- },
- minWidth: 70,
+ }
},
{
title: "操作",
diff --git a/seller/src/views/promotion/coupon/couponPublish.vue b/seller/src/views/promotion/coupon/couponPublish.vue
index 76d1c966..c0ba3b3e 100644
--- a/seller/src/views/promotion/coupon/couponPublish.vue
+++ b/seller/src/views/promotion/coupon/couponPublish.vue
@@ -180,11 +180,11 @@ export default {
],
publishNum: [
{ required: true, message: "请输入发放数量" },
- { pattern: regular.integer, message: "请输入正整数" },
+ { pattern: regular.Integer, message: "请输入正整数" },
],
couponLimitNum: [
{ required: true, message: "请输入领取限制" },
- { pattern: regular.integer, message: "请输入正整数" },
+ { pattern: regular.Integer, message: "请输入正整数" },
],
description: [{ required: true, message: "请输入范围描述" }],
},
diff --git a/seller/src/views/promotion/live/addLive.vue b/seller/src/views/promotion/live/addLive.vue
index 7c2e9993..22d51d12 100644
--- a/seller/src/views/promotion/live/addLive.vue
+++ b/seller/src/views/promotion/live/addLive.vue
@@ -277,6 +277,7 @@ export default {
// 将数据回调到liveform里面
if (result.success) {
+ console.log(result);
let data = result.result;
for (let key in data) {
this.liveForm[key] = data[key];
@@ -494,11 +495,12 @@ export default {
this.$refs["liveForm"].validate((valid) => {
if (valid) {
// 需判断当前是否是添加商品
- if (this.$route.query.id && this.liveData.length != 0) {
+ if (this.$route.query.id) {
this.spinShow = true;
this.liveForm.commodityList = JSON.stringify(
this.liveForm.commodityList
);
+ delete this.liveForm.updateTime
// 将当前直播间修改
editLive(this.liveForm).then((res) => {
if (res.success) {
From 872a5d198237e9bbc2b35560e37b2cc5f62b85c3 Mon Sep 17 00:00:00 2001
From: mabo
Date: Wed, 7 Jul 2021 16:03:48 +0800
Subject: [PATCH 3/4] =?UTF-8?q?=E5=B7=A6=E4=BE=A7=E8=8F=9C=E5=8D=95?=
=?UTF-8?q?=E9=80=89=E4=B8=AD=E8=AE=BE=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../shrinkable-menu/shrinkable-menu.vue | 12 ++++--------
seller/src/config/index.js | 16 ++++++++--------
.../shrinkable-menu/shrinkable-menu.vue | 3 +++
3 files changed, 15 insertions(+), 16 deletions(-)
diff --git a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue
index 43783fa2..dbe7e4ec 100644
--- a/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue
+++ b/manager/src/views/main-components/shrinkable-menu/shrinkable-menu.vue
@@ -1,5 +1,3 @@
-
-