From f33ea20b9f08abe5b1a7af180f6ac0f749e6de4c Mon Sep 17 00:00:00 2001 From: lzhizhao <790086754@qq.com> Date: Fri, 19 Sep 2025 20:42:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../permission/merchant-account/index.vue | 10 +++++----- .../permission/sub-operator/index.vue | 11 ++++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/views/modules/operation-management/permission/merchant-account/index.vue b/src/views/modules/operation-management/permission/merchant-account/index.vue index 875b6f8..b21c223 100644 --- a/src/views/modules/operation-management/permission/merchant-account/index.vue +++ b/src/views/modules/operation-management/permission/merchant-account/index.vue @@ -565,14 +565,14 @@ export default { this.$refs.ruleFormRef.validate(valid => { if (valid) { const marketId = this.form.selectedMarketId || this.marketId - if (!marketId) { - this.$message.error('请选择市场') - return - } + // if (!marketId) { + // this.$message.error('请选择市场') + // return + // } if (this.form.operationType === 'create') { const createData = { - marketId, + marketId: marketId, name: this.form.mobile, mobile: this.form.mobile, remark: '', diff --git a/src/views/modules/operation-management/permission/sub-operator/index.vue b/src/views/modules/operation-management/permission/sub-operator/index.vue index 963d491..8b690a7 100644 --- a/src/views/modules/operation-management/permission/sub-operator/index.vue +++ b/src/views/modules/operation-management/permission/sub-operator/index.vue @@ -304,13 +304,14 @@ export default { this.$refs.ruleFormRef.validate((valid) => { if (valid) { const marketId = this.form.selectedMarketId || this.marketId; - if (!marketId) { - this.$message.error('请选择市场'); - return; - } + // if (!marketId) { + // this.$message.error('请选择市场'); + // return; + // } + console.log(this.form.operationType) if (this.form.operationType === 'create') { - const createData = { ...this.form, marketId }; + const createData = { ...this.form, marketId: marketId }; if (createData.accountId === null) { delete createData.accountId; }