Kaynağa Gözat

跨天场景股票增删修正

Zhangbw 1 ay önce
ebeveyn
işleme
55e7887312
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/pages/admin/shortPool.vue

+ 1 - 1
src/pages/admin/shortPool.vue

@@ -315,7 +315,7 @@ export default {
       var self = this
       var isDuplicate = false
       for (var i = 0; i < this.stockList.length; i++) {
-        if (this.stockList[i].code === item.code) {
+        if (this.stockList[i].code === item.code && this.stockList[i].status === 2) {
           isDuplicate = true
           break
         }