| | |
| | | </div> |
| | | </template> |
| | | </span> |
| | | <span slot="priceType" slot-scope="text, record"> |
| | | <template> |
| | | <div> |
| | | <span v-if="record.priceType==1">买涨</span> |
| | | <span v-if="record.priceType==2">买跌</span> |
| | | </div> |
| | | </template> |
| | | </span> |
| | | <template slot="action" slot-scope="text, record"> |
| | | <a slot="action" href="javascript:;" v-if="record.auditStatus==0" @click="geteditStock(record)">{{ '审核' }}</a> |
| | | <a slot="action" href="javascript:;" v-if="record.auditStatus==0" @click="geteditStock(record)">{{ '通过' }}</a> |
| | | <a-divider type="vertical" v-if="record.auditStatus==0" /> |
| | | <a slot="action" href="javascript:;" v-if="record.auditStatus==0" @click="getbhStock(record)">{{ '驳回' }}</a> |
| | | <a-divider type="vertical" v-if="record.auditStatus==0" /> |
| | | <a slot="action" href="javascript:;" @click="getdeleteStock(record,2)">{{ '删除' }}</a> |
| | | </template> |
| | |
| | | /> |
| | | </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 |
| | | placeholder="请选择审核状态" |
| | |
| | | <a-select-option :value="2">驳回</a-select-option> |
| | | </a-select> |
| | | </a-form-item> |
| | | </a-col> --> |
| | | <a-col :md="12" :lg="12" :sm="12"> |
| | | <a-form-item label="下单时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-date-picker |
| | | show-time |
| | | style="width: 100%" |
| | | @change="getendTime" |
| | | v-decorator="['orderTime', { rules: [{ required: true, message: '请选择结束日期' }] }]" |
| | | format="YYYY-MM-DD HH:mm:ss" |
| | | > |
| | | </a-date-picker> |
| | | </a-form-item> |
| | | </a-col> |
| | | </a-row> |
| | | |
| | | <a-row :gutter="48"> |
| | | <a-col :md="12" :lg="12" :sm="12"> |
| | | <a-form-item label="下单时间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-date-picker |
| | | show-time |
| | | style="width: 100%" |
| | | @change="getendTime" |
| | | v-decorator="['orderTime', { rules: [{ required: true, message: '请选择结束日期' }] }]" |
| | | format="YYYY-MM-DD HH:mm:ss" |
| | | > |
| | | </a-date-picker> |
| | | </a-form-item> |
| | | </a-col> |
| | | |
| | | <a-col :md="12" :lg="12" :sm="12"> |
| | | <a-form-item label="是否锁仓" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <a-select |
| | |
| | | </page-header-wrapper> |
| | | </template> |
| | | <script> |
| | | import { getdazongshlist,dazongshcheck,listIntraday,updateIntraday,deleteIntraday,getStockByKeyWords } from '@/api/newshares' |
| | | import { getdazongshlist,dazongshcheck,listIntraday,updateIntraday,deleteIntraday,getStockByKeyWords,rejectIntraday } from '@/api/newshares' |
| | | import { nextagent } from '@/api/home' |
| | | import pick from 'lodash.pick' |
| | | import moment from 'moment' |
| | |
| | | title: '订单状态', |
| | | dataIndex: 'auditStatus', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'auditStatus' }, |
| | | }, |
| | | { |
| | | title: '涨跌类型', |
| | | dataIndex: 'priceType', |
| | | align: 'center', |
| | | scopedSlots: { customRender: 'priceType' }, |
| | | }, |
| | | // { |
| | | // title: '手续费', |
| | |
| | | key: 'action', |
| | | align: 'center', |
| | | fixed: 'right', |
| | | width: 150, |
| | | width: 180, |
| | | scopedSlots: { customRender: 'action' }, |
| | | }, |
| | | ], |
| | |
| | | getendTime(date, dateString) { |
| | | this.ordertime = dateString |
| | | }, |
| | | getbhStock(val) { |
| | | rejectIntraday({ id: val.id }).then((res) => { |
| | | if (res.status==0) { |
| | | this.$message.success(res.msg) |
| | | } else { |
| | | this.$message.error(res.msg) |
| | | } |
| | | this.getlist() |
| | | }) |
| | | }, |
| | | geteditStock(val) { |
| | | this.currentdetail = val |
| | | this.addUserdialog = true |