| | |
| | | <template> |
| | | <template> |
| | | <el-dialog |
| | | :title="row ? '修改合约参数' : '新增合约参数'" |
| | | :close-on-click-modal="false" |
| | |
| | | ></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> |
| | |
| | | unitAmount: "", |
| | | }, |
| | | dataRule: { |
| | | loginSafeword: [ |
| | | { required: true, message: "资金密码不能为空", trigger: "blur" }, |
| | | ], |
| | | profitRatio: [ |
| | | profitRatio: [ |
| | | { required: true, message: "交割收益不能为空", trigger: "blur" }, |
| | | ], |
| | | profitRatioMax: [ |
| | |
| | | if (valid) { |
| | | let n = this.$http.adornData({ |
| | | //修改 |
| | | loginSafeword: encrypt(this.dataForm.loginSafeword), |
| | | profitRatio: this.dataForm.profitRatio, |
| | | profitRatioMax: this.dataForm.profitRatioMax, |
| | | symbol: this.options.value, |
| | |
| | | }); |
| | | let m = this.$http.adornData({ |
| | | //新增 |
| | | loginSafeword: encrypt(this.dataForm.loginSafeword), |
| | | profitRatio: this.dataForm.profitRatio, |
| | | profitRatioMax: this.dataForm.profitRatioMax, |
| | | symbol: this.options.value, |