新版交易所前段管理后台
1
5 days ago b4dd0687c7285f3be32860adccfa523a62bfd4c6
src/views/modules/etf-spots/parameters-add-or-update.vue
@@ -1,4 +1,4 @@
<template>
<template>
  <el-dialog
    :title="row ? '修改合约参数' : '新增合约参数'"
    :close-on-click-modal="false"
@@ -102,15 +102,7 @@
        ></el-input>
        <el-input class="spannn" placeholder="%" disabled></el-input>
      </el-form-item>
      <el-form-item label="资金密码" prop="loginSafeword" label-width="110px">
        <el-input
          class="spammm"
          v-model="dataForm.loginSafeword"
          placeholder="请输入登录人资金密码"
          type="password"
        ></el-input>
      </el-form-item>
    </el-form>
</el-form>
    <span slot="footer" class="dialog-footer">
      <el-button @click="visible = false">取消</el-button>
      <el-button type="primary" @click="dataFormSubmit()">确定</el-button>
@@ -160,10 +152,7 @@
        unitAmount: "",
      },
      dataRule: {
        loginSafeword: [
          { required: true, message: "资金密码不能为空", trigger: "blur" },
        ],
        profitRatio: [
profitRatio: [
          { required: true, message: "交割收益不能为空", trigger: "blur" },
        ],
        profitRatioMax: [
@@ -238,7 +227,6 @@
        if (valid) {
          let n = this.$http.adornData({
            //修改
            loginSafeword: encrypt(this.dataForm.loginSafeword),
            profitRatio: this.dataForm.profitRatio,
            profitRatioMax: this.dataForm.profitRatioMax,
            symbol: this.options.value,
@@ -251,7 +239,6 @@
          });
          let m = this.$http.adornData({
            //新增
            loginSafeword: encrypt(this.dataForm.loginSafeword),
            profitRatio: this.dataForm.profitRatio,
            profitRatioMax: this.dataForm.profitRatioMax,
            symbol: this.options.value,