| | |
| | | </a-date-picker> |
| | | </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-input |
| | | placeholder="请输入预估价格" |
| | |
| | | customRender: (text, row, index) => { |
| | | return text ? moment(text).format('YYYY-MM-DD HH:mm:ss') : '' |
| | | } |
| | | },{ |
| | | }, { |
| | | title: '上市时间', |
| | | dataIndex: 'listDate', |
| | | align: 'center', |
| | |
| | | scopedSlots: { customRender: 'action' } |
| | | } |
| | | ], |
| | | disabledDate:true, |
| | | disabledDate: true, |
| | | // 表头 |
| | | pagination: { |
| | | total: 0, |
| | |
| | | addUserdialog: false, |
| | | addUserDialogloading: false, |
| | | |
| | | fields: ['name', 'code', 'price', 'orderNumber', 'zt', 'subscribeTime', 'subscriptionTime', 'type', 'stockType', 'code','pe','listDate'], |
| | | fields: ['name', 'code', 'price', 'orderNumber', 'zt', 'subscribeTime', 'subscriptionTime', 'type', 'stockType', 'code', 'pe', 'listDate'], |
| | | currentdetail: '', |
| | | subscribeTime: '', |
| | | subscriptionTime: '' |
| | |
| | | geteditStock (val) { |
| | | this.currentdetail = val |
| | | this.addUserdialog = true |
| | | var currentTime = new Date(); |
| | | var currentTime = new Date() |
| | | this.fields.forEach(v => this.addUserform.getFieldDecorator(v)) |
| | | this.addUserform.setFieldsValue(pick(val, this.fields)) |
| | | this.addUserform.setFieldsValue({ subscriptionTime: moment(val.subscriptionTime?val.subscriptionTime:currentTime).format('YYYY-MM-DD HH:mm:ss') }) |
| | | this.addUserform.setFieldsValue({ subscribeTime: moment(val.subscribeTime?val.subscribeTime:currentTime).format('YYYY-MM-DD HH:mm:ss') }) |
| | | this.addUserform.setFieldsValue({ subscriptionTime: moment(val.subscriptionTime ? val.subscriptionTime : currentTime).format('YYYY-MM-DD HH:mm:ss') }) |
| | | this.addUserform.setFieldsValue({ subscribeTime: moment(val.subscribeTime ? val.subscribeTime : currentTime).format('YYYY-MM-DD HH:mm:ss') }) |
| | | // this.subscribeTime = moment(val.subscribeTime).format('YYYY-MM-DD HH:mm:ss') |
| | | // this.subscriptionTime = moment(val.subscriptionTime).format('YYYY-MM-DD HH:mm:ss') |
| | | |
| | | }, |
| | | CanceladdUserdialog () { |
| | | this.addUserdialog = false |
| | |
| | | }, |
| | | OkaddUserdialog () { |
| | | const form = this.$refs.addUserform.form |
| | | |
| | | |
| | | form.validateFields((errors, values) => { |
| | | if (!errors) { |
| | | if (this.currentdetail != '') { |