From aa08ee2690c8e6fcf1beb1369c57dc24b824e4e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E5=90=8C=E5=AD=A6?= <2495967527@qq.com> Date: Sun, 22 Dec 2024 18:01:50 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/common/home.vue | 2 +- src/views/modules/bank-card/popup/add-or-update.vue | 2 +- src/views/modules/brand/config/popup/add-or-update.vue | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/common/home.vue b/src/views/common/home.vue index 1eb348b..743996c 100644 --- a/src/views/common/home.vue +++ b/src/views/common/home.vue @@ -119,7 +119,7 @@ export default { JSON.parse(sessionStorage.getItem("password")) == "123456" && JSON.parse(sessionStorage.getItem("role")) === "ROLE_BRAND_MANAGER" ) { - this.dialogVisible = true; + this.dialogVisible = false; } }, methods: { diff --git a/src/views/modules/bank-card/popup/add-or-update.vue b/src/views/modules/bank-card/popup/add-or-update.vue index 3e80f4a..6b0cdca 100644 --- a/src/views/modules/bank-card/popup/add-or-update.vue +++ b/src/views/modules/bank-card/popup/add-or-update.vue @@ -653,7 +653,7 @@ export default { } else if (!Number.isInteger(+value)) { callback(new Error("银行卡号必须全为数字")); } else if (value.trim().length < 12 || value.trim().length > 19) { - callback(new Error("银行卡号长度必须在12到19之间")); + callback(new Error("银行卡号长度必须在12到20之间")); } else if (strBin.indexOf(value.substring(0, 2)) === -1) { callback(new Error("银行卡号开头6位不符合规范")); } else { diff --git a/src/views/modules/brand/config/popup/add-or-update.vue b/src/views/modules/brand/config/popup/add-or-update.vue index 93bbd73..90784c9 100644 --- a/src/views/modules/brand/config/popup/add-or-update.vue +++ b/src/views/modules/brand/config/popup/add-or-update.vue @@ -50,7 +50,7 @@ export default { this.isAdd = true; }, update: (row) => { - this.fileList = [] + this.fileList = []; this.modalData = JSON.parse(JSON.stringify(row)); console.log(row); @@ -83,6 +83,7 @@ export default { prop: "logo", type: "Input", width: "300px", + rules: { required: true, message: "请输入品牌宣传语" }, type: "jsx", render: () => { const handleChange = (file, fileList) => { @@ -155,12 +156,14 @@ export default { prop: "tagline", type: "Input", width: "300px", + rules: { required: true, message: "请输入品牌宣传语" }, }, { label: "首页背景", prop: "background", type: "Input", width: "300px", + rules: { required: true, message: "请添加背景首页" }, type: "jsx", render: () => { const handleChange = (file, fileList) => { @@ -215,6 +218,7 @@ export default { type: "Input", width: "300px", type: "jsx", + rules: { required: true, message: "请添加视频" }, render: () => { const handleChange = (file, fileList) => { // console.log(fileList); From ef09010f2be9c2a1476c6653d1ae1ae9bcc949fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E5=90=8C=E5=AD=A6?= <2495967527@qq.com> Date: Mon, 23 Dec 2024 18:18:02 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../brand/config/popup/add-or-update.vue | 2 +- .../logistics-template/popup/add-template.vue | 14 +++++++------- src/views/modules/wallet/index.vue | 19 +++++++++++++++---- src/views/modules/wallet/popup/withdrawal.vue | 1 + 4 files changed, 24 insertions(+), 12 deletions(-) diff --git a/src/views/modules/brand/config/popup/add-or-update.vue b/src/views/modules/brand/config/popup/add-or-update.vue index 90784c9..cb56f78 100644 --- a/src/views/modules/brand/config/popup/add-or-update.vue +++ b/src/views/modules/brand/config/popup/add-or-update.vue @@ -2,7 +2,7 @@
diff --git a/src/views/modules/wallet/index.vue b/src/views/modules/wallet/index.vue index 3596f10..d2b0165 100644 --- a/src/views/modules/wallet/index.vue +++ b/src/views/modules/wallet/index.vue @@ -227,8 +227,15 @@
钱包账单
-
+
订单状态:{{ getBillStatus(item.billStatus) }}
-
{{ item.billTypeName }}:{{item.billAmount}}
+
{{ item.billTypeName }}:{{ item.billAmount }}
余额:{{ item.amountAfterChange }}
@@ -268,7 +275,11 @@ - +
diff --git a/src/views/modules/wallet/popup/withdrawal.vue b/src/views/modules/wallet/popup/withdrawal.vue index caf5948..d099798 100644 --- a/src/views/modules/wallet/popup/withdrawal.vue +++ b/src/views/modules/wallet/popup/withdrawal.vue @@ -127,6 +127,7 @@ export default { console.log(valid); this.$api.wallet.Withdrawal(this.ruleForm).then((res) => { this.$emit("init"); + this.$emit("getWithdrawalRecord"); this.toggle(); }); }