dengchaochao
2024-07-27 ce3533dad7bebb53ffc730b55e08092b19ae090c
src/components/constract/DeliveryContract/position.vue
@@ -54,7 +54,7 @@
                    <div>{{ $t("message.home.jiaogeshijian") }}</div>
                    <div>{{ $t("message.home.goumaijia") }}</div>
                    <div>{{ $t("message.home.jiesuanjia") }}</div>
                    <!-- <div>{{ $t("message.home.yingkui") }}</div> -->
                    <div v-if="type == 'hisorders'">{{ $t("message.home.yingkui") }}</div>
                    <div class="flex-2">
                      {{ $t("message.home.daoqishijian") }}
                    </div>
@@ -94,12 +94,12 @@
                      <div>{{ item.time_num }} {{ item.time_unit }}</div>
                      <div>{{ item.open_price }}</div>
                      <div>{{ item.close_price }}</div>
                      <!-- <div v-if="item.profit < 0" class="red">
                      <div v-if="type == 'hisorders' && item.profit < 0" class="red">
                        {{ item.profit }}
                      </div>
                      <div v-else class="green">
                      <div v-if="type == 'hisorders' && item.profit >= 0" class="green">
                        {{ item.profit }}
                      </div> -->
                      </div>
                      <!-- <div>{{ item.order_no }}</div>
                            <div v-if="item.state=='submitted'">已提交</div>
@@ -234,6 +234,7 @@
      :typeValue="2"
      :dialogVisible="dialogVisible"
      @closeDialog="handleCloseDetailDialog"
      :showDetail="showDetail"
    ></delivery-detail-dialog>
  </div>
</template>
@@ -292,6 +293,7 @@
      orderNumber: 0,
      isNext: false,
      isTop: false,
      showDetail: {}
    };
  },
  mounted() {
@@ -397,7 +399,8 @@
        order_no: item.order_no,
        symbol: item.symbol,
      };
      bus.emit("showDetail", obj);
      // bus.emit("showDetail", obj);
      this.showDetail = obj
      this.dialogVisible = true;
    },
    //分页