|
@@ -21,7 +21,6 @@ const initData = {
|
|
|
|
|
|
// 表单校验规则
|
|
|
const formRules = {
|
|
|
- sellerId: [{required: true, message: "商户ID不能为空", trigger: "blur"}],
|
|
|
dayMaxPayAmount: [
|
|
|
{required: true, message: "每日限额不能为空", trigger: "blur"}
|
|
|
],
|
|
@@ -160,7 +159,6 @@ defineExpose({open});
|
|
|
v-model="pageData.formData.name"
|
|
|
clearable
|
|
|
placeholder="请输入名称"
|
|
|
-
|
|
|
:readonly="isDetail"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -169,7 +167,6 @@ defineExpose({open});
|
|
|
v-model="pageData.formData.code"
|
|
|
clearable
|
|
|
placeholder="请输入编码"
|
|
|
-
|
|
|
:readonly="isDetail"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -192,7 +189,6 @@ defineExpose({open});
|
|
|
v-model="pageData.formData.appId"
|
|
|
clearable
|
|
|
placeholder="请输入appId"
|
|
|
-
|
|
|
:readonly="isDetail"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -212,12 +208,11 @@ defineExpose({open});
|
|
|
:readonly="isDetail"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="商户号" prop="sellerId">
|
|
|
+ <el-form-item v-if="pageData.formData.type == 1" label="商户号" prop="sellerId">
|
|
|
<el-input
|
|
|
v-model="pageData.formData.sellerId"
|
|
|
clearable
|
|
|
placeholder="请输入商户号"
|
|
|
-
|
|
|
:readonly="isDetail"
|
|
|
/>
|
|
|
</el-form-item>
|
|
@@ -226,7 +221,6 @@ defineExpose({open});
|
|
|
v-model="pageData.formData.dayMaxPayAmount"
|
|
|
clearable
|
|
|
placeholder="请输入每日限额"
|
|
|
-
|
|
|
:readonly="isDetail"
|
|
|
/>(元)
|
|
|
</el-form-item>
|
|
@@ -235,7 +229,6 @@ defineExpose({open});
|
|
|
v-model="pageData.formData.onePayMaxAmount"
|
|
|
clearable
|
|
|
placeholder="请输入单笔限额"
|
|
|
-
|
|
|
:readonly="isDetail"
|
|
|
/>(元)
|
|
|
</el-form-item>
|
|
@@ -244,7 +237,6 @@ defineExpose({open});
|
|
|
v-model="pageData.formData.rate"
|
|
|
clearable
|
|
|
placeholder="请输入统一费率"
|
|
|
-
|
|
|
:readonly="isDetail"
|
|
|
/>(‰)
|
|
|
</el-form-item>
|