|
@@ -515,12 +515,13 @@
|
|
|
placeholder
|
|
|
class="deal"
|
|
|
placeholder="请输入成交价"
|
|
|
+ @change='transaction'
|
|
|
>
|
|
|
<ws-option
|
|
|
- v-for="item in transactionRecordList"
|
|
|
+ v-for="item in transactionRecordList1"
|
|
|
:key="item.constKey"
|
|
|
- :label="item.transactionPrice"
|
|
|
- :value="item.transactionPrice"
|
|
|
+ :label="item.key"
|
|
|
+ :value="item.key"
|
|
|
/>
|
|
|
</ws-select>
|
|
|
</el-form-item>
|
|
@@ -924,7 +925,6 @@ export default {
|
|
|
enter: {
|
|
|
closePositionList: [],
|
|
|
},
|
|
|
- transactionRecordList: [],
|
|
|
taskTypeList: [
|
|
|
{ value: '待审核', type: 1 },
|
|
|
{ value: '执行中', type: 2 },
|
|
@@ -955,6 +955,7 @@ export default {
|
|
|
basis: 0,
|
|
|
replenishlist: {},
|
|
|
closePositionList1: {},
|
|
|
+ transactionRecordList1: [],
|
|
|
transactionRecordList: {},
|
|
|
closePositionList: [],
|
|
|
historyList: [],
|
|
@@ -972,6 +973,15 @@ export default {
|
|
|
this.showType = this.isShow
|
|
|
},
|
|
|
methods: {
|
|
|
+ transaction(e){
|
|
|
+ for (let i = 0; i < this.transactionRecordList1.length; i++) {
|
|
|
+ if(this.transactionRecordList1[i].key==e){
|
|
|
+ if(this.closePositionList1.openPosition>this.transactionRecordList1[i].value){
|
|
|
+ this.closePositionList1.openPosition=this.transactionRecordList1[i].value
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
cancel() {
|
|
|
this.dialogFormVisible8 = false
|
|
|
this.customerlist.cardAddressUrl1 = ''
|
|
@@ -1220,7 +1230,7 @@ export default {
|
|
|
})
|
|
|
.toPromise()
|
|
|
.then((response) => {
|
|
|
- this.transactionRecordList = response
|
|
|
+ this.transactionRecordList1 = response
|
|
|
})
|
|
|
},
|
|
|
unfreeze(item) {
|