| | |
| | | " @click.stop="passtHandle(scope.row, 'n')">手动放行</el-button> |
| | | <el-button type="primary" icon="el-icon-edit" size="small" v-if="scope.row.state == '0'" |
| | | @click.stop="passtHandle(scope.row)">一键通过</el-button> |
| | | <el-button type="primary" icon="el-icon-time" size="small" |
| | | @click.stop="updateTimeHandle(scope.row)">修改时间</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | <!-- 弹窗, 新增 / 修改 --> |
| | |
| | | <!-- 取消订单 --> |
| | | <passtpn v-if="passtpnVisible" @refreshDataList="getDataList" ref="passtpnUpdate"> |
| | | </passtpn> |
| | | <!-- 修改时间 --> |
| | | <timeUpdate v-if="timeUpdateVisible" @refreshDataList="getDataList" ref="timeUpdate"> |
| | | </timeUpdate> |
| | | </div> |
| | | </template> |
| | | <script> |
| | |
| | | import otherMsg from "./c2c-order-other-msg"; |
| | | import deletMsg from "./c2c-ord-delet"; |
| | | import passtpn from "./c2c-ord-passtpn"; |
| | | import timeUpdate from "./c2c-order-time-update"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | payMsgVisible: false, |
| | | parametersFlag: false, |
| | | lastVisible: false, |
| | | timeUpdateVisible: false, |
| | | tableOption: tableOption, |
| | | page: { |
| | | total: 0, // 总页数 |
| | |
| | | otherMsg, |
| | | deletMsg, |
| | | passtpn, |
| | | timeUpdate, |
| | | }, |
| | | created() { |
| | | this.getC2cPaymentMethodType(); |
| | |
| | | this.$refs.passtpnUpdate.init(row, n); |
| | | }); |
| | | }, |
| | | updateTimeHandle(row) { |
| | | this.timeUpdateVisible = true; |
| | | this.$nextTick(() => { |
| | | this.$refs.timeUpdate.init(row); |
| | | }); |
| | | }, |
| | | // 删除 |
| | | deleteHandle(id) { |
| | | var userIds = id |