This commit is contained in:
余同学 2024-12-22 18:01:50 +08:00
parent 79458b216c
commit aa08ee2690
3 changed files with 7 additions and 3 deletions

View File

@ -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: {

View File

@ -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 {

View File

@ -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);