| | |
| | | /> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :md="12" :lg="12" :sm="12"> |
| | | <!-- <a-col :md="12" :lg="12" :sm="12"> |
| | | <a-form-item label="金额模式" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-select |
| | | :value="typeValue" |
| | |
| | | <a-select-option value="1">百分比</a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-col> --> |
| | | </a-row> |
| | | <a-row :gutter="48"> |
| | | <a-col :md="12" :lg="12" :sm="12"> |
| | |
| | | scopedSlots: { customRender: 'type' }, |
| | | }, |
| | | { |
| | | title: '金额/百分比', |
| | | title: '金额', |
| | | dataIndex: 'price', |
| | | align: 'center', |
| | | }, |
| | |
| | | code: '', |
| | | name: '', |
| | | zt: undefined, |
| | | type: undefined, |
| | | type: 0, |
| | | }, |
| | | datalist: [], |
| | | labelCol: { |
| | |
| | | const form = this.$refs.addUserform.form |
| | | |
| | | form.validateFields((errors, values) => { |
| | | values.type = 0 |
| | | if (!errors) { |
| | | if (this.currentdetail != '') { |
| | | this.addUserDialogloading = true |
| | | values.id = this.currentdetail.id |
| | | |
| | | // values.subscriptionTime = this.subscriptionTime |
| | | // values.subscribeTime = this.subscribeTime |
| | | stockupdata(values).then((res) => { |
| | | if (res.status == 0) { |
| | | this.addUserdialog = false |
| | | this.$message.success(res.msg) |
| | | this.$message.success('修改成功') |
| | | form.resetFields() |
| | | this.getlist() |
| | | } else { |