|
@@ -101,51 +101,22 @@
|
|
width="100"
|
|
width="100"
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
|
+ <div class="inputChenge">
|
|
<span v-if="scope.row.procurementPlanType == '现货'">--</span>
|
|
<span v-if="scope.row.procurementPlanType == '现货'">--</span>
|
|
<span
|
|
<span
|
|
v-if="
|
|
v-if="
|
|
- !scope.row.basischange &&
|
|
|
|
|
|
+ scope.row.identification == 'false' &&
|
|
scope.row.basis &&
|
|
scope.row.basis &&
|
|
scope.row.procurementPlanType == '期货'
|
|
scope.row.procurementPlanType == '期货'
|
|
"
|
|
"
|
|
- >{{ '+'+scope.row.basis }}</span
|
|
|
|
|
|
+ >{{scope.row.basis }}</span
|
|
>
|
|
>
|
|
<input
|
|
<input
|
|
- v-if="scope.row.basischange"
|
|
|
|
|
|
+ v-if="scope.row.identification == 'true'&&scope.row.procurementPlanType == '期货'"
|
|
style="width: 60px"
|
|
style="width: 60px"
|
|
- v-model="basis"
|
|
|
|
|
|
+ v-model="scope.row.basis"
|
|
type="text"
|
|
type="text"
|
|
/>
|
|
/>
|
|
- <!--改基差-->
|
|
|
|
- <i
|
|
|
|
- @click="changebasis(scope.row)"
|
|
|
|
- v-if="scope.row.basischange && scope.row.procurementPlanType == '期货'"
|
|
|
|
- class="iconfont icon-dui"
|
|
|
|
- ></i>
|
|
|
|
- <img
|
|
|
|
- v-if="
|
|
|
|
- !scope.row.basischange &&
|
|
|
|
- scope.row.basis &&
|
|
|
|
- scope.row.procurementPlanType == '期货'
|
|
|
|
- "
|
|
|
|
- width="17"
|
|
|
|
- height="18"
|
|
|
|
- style="vertical-align: text-top; position: relative; top: -1px"
|
|
|
|
- src="../../../public/img/edit.png"
|
|
|
|
- @click="editbasis(scope.row)"
|
|
|
|
- alt=""
|
|
|
|
- />
|
|
|
|
- <span v-if="!scope.row.basis">-</span>
|
|
|
|
- </template>
|
|
|
|
- <!-- <template slot-scope="scope">
|
|
|
|
- <div class="inputChenge">
|
|
|
|
- <el-input
|
|
|
|
- v-model="scope.row.basis"
|
|
|
|
- v-if="scope.row.identification == 'true'"
|
|
|
|
- ></el-input>
|
|
|
|
- <div v-if="scope.row.identification == 'false'" class="inputs">
|
|
|
|
- {{ scope.row.basis }}
|
|
|
|
- </div>
|
|
|
|
</div>
|
|
</div>
|
|
<img
|
|
<img
|
|
width="17"
|
|
width="17"
|
|
@@ -153,16 +124,16 @@
|
|
style="vertical-align: text-top; position: relative; top: -1px"
|
|
style="vertical-align: text-top; position: relative; top: -1px"
|
|
src="../../../public/img/edit.png"
|
|
src="../../../public/img/edit.png"
|
|
@click="whether(scope.row)"
|
|
@click="whether(scope.row)"
|
|
- v-if="scope.row.identification == 'false'"
|
|
|
|
|
|
+ v-if="scope.row.identification == 'false'&&scope.row.procurementPlanType == '期货'"
|
|
alt=""
|
|
alt=""
|
|
/>
|
|
/>
|
|
<i
|
|
<i
|
|
class="el-icon-check"
|
|
class="el-icon-check"
|
|
style="line-height: 29px; margin-left: 10px"
|
|
style="line-height: 29px; margin-left: 10px"
|
|
- v-if="scope.row.identification == 'true'"
|
|
|
|
|
|
+ v-if="scope.row.identification == 'true'&&scope.row.procurementPlanType == '期货'"
|
|
@click="varietyClick(scope.row)"
|
|
@click="varietyClick(scope.row)"
|
|
></i>
|
|
></i>
|
|
- </template> -->
|
|
|
|
|
|
+ </template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
<el-table-column
|
|
@@ -271,7 +242,7 @@
|
|
>
|
|
>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<span v-if="scope.row.procurementPlanType == '现货'">--</span>
|
|
<span v-if="scope.row.procurementPlanType == '现货'">--</span>
|
|
- <span v-if="scope.row.salePlanprocurementPlanTypeType == '期货'">{{
|
|
|
|
|
|
+ <span v-if="scope.row.procurementPlanType == '期货'">{{
|
|
scope.row.cumulativeTurnover
|
|
scope.row.cumulativeTurnover
|
|
}}</span>
|
|
}}</span>
|
|
<i
|
|
<i
|
|
@@ -1718,6 +1689,7 @@ export default {
|
|
.toPromise()
|
|
.toPromise()
|
|
.then((response) => {
|
|
.then((response) => {
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
for (var i = 0; i < response.records.length; i++) {
|
|
|
|
+ response.records[i].basischange = false
|
|
response.records[i].identification = 'false'
|
|
response.records[i].identification = 'false'
|
|
response.records[i].openPosition =
|
|
response.records[i].openPosition =
|
|
response.records[i].cumulativeTurnover -
|
|
response.records[i].cumulativeTurnover -
|
|
@@ -2178,7 +2150,7 @@ hr {
|
|
color: #8890b1;
|
|
color: #8890b1;
|
|
}
|
|
}
|
|
.inputChenge {
|
|
.inputChenge {
|
|
- width: 50%;
|
|
|
|
|
|
+ width: 40%;
|
|
display: inline-flex;
|
|
display: inline-flex;
|
|
}
|
|
}
|
|
.price {
|
|
.price {
|