code
This commit is contained in:
		| @ -2031,7 +2031,7 @@ export default { | ||||
|       if (typeof row === 'string') { | ||||
|         this.$refs[row].validate((valid) => { | ||||
|           if (valid) { | ||||
|             cancelOpenOrder({ ...this.cancelForm, exchangeType: row.exchangeType }) | ||||
|             cancelOpenOrder({ ...this.cancelForm }) | ||||
|               .then((response) => { | ||||
|                 if (response.code === 200) { | ||||
|                   this.msgSuccess(response.msg) | ||||
| @ -2045,13 +2045,13 @@ export default { | ||||
|         }) | ||||
|         return false | ||||
|       } | ||||
|       const { orderType, orderSn, apiId, symbol } = row | ||||
|       const { orderType, orderSn, apiId, symbol, exchangeType } = row | ||||
|       this.$confirm('是否确认取消委托为"' + symbol + '"的数据项?', '警告', { | ||||
|         confirmButtonText: '确定', | ||||
|         cancelButtonText: '取消', | ||||
|         type: 'warning' | ||||
|       }).then(function() { | ||||
|         return cancelOpenOrder({ order_type: Number(orderType), order_sn: orderSn, api_id: apiId, symbol }) | ||||
|         return cancelOpenOrder({ order_type: Number(orderType), order_sn: orderSn, api_id: apiId, symbol, exchangeType }) | ||||
|       }).then((response) => { | ||||
|         if (response.code === 200) { | ||||
|           this.msgSuccess(response.msg) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 shilin
					shilin