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; }